diff --git a/public/cdn/wf-design/index.umd.min.js b/public/cdn/wf-design/index.umd.min.js index 3ae68d5..2842947 100644 --- a/public/cdn/wf-design/index.umd.min.js +++ b/public/cdn/wf-design/index.umd.min.js @@ -162,12 +162,12 @@ t.read=function(e,t,n,i,o){var r,s,a=8*o-i-1,l=(1<>1,h=-7,d=n?o-1:0,u= onClosed=${this._onClosed.bind(this)} ...${{...o}} /> - `,this._current.container)},hoe.prototype.open=function(e,t,n,i){if(!e)throw new Error("target is missing");if(!t)throw new Error("providers for <"+t+"> not found");if(!n)throw new Error("position is missing");this.isOpen()&&this.close();const{entries:o,headerEntries:r}=this._getContext(e,t);this._current={position:n,className:t,target:e,entries:o,headerEntries:r,container:this._createContainer({provider:t}),options:i},this._emit("open"),this._bindAutoClose(),this._render()},hoe.prototype._getContext=function(e,t){const n=this._getProviders(t);if(!n||!n.length)throw new Error("provider for <"+t+"> not found");const i=this._getEntries(e,n),o=this._getHeaderEntries(e,n);return{entries:i,headerEntries:o,empty:!(Object.keys(i).length||Object.keys(o).length)}},hoe.prototype.close=function(){this.isOpen()&&(this._emit("close"),this.reset(),this._current=null)},hoe.prototype.reset=function(){const e=this._current.container;bie(null,e),P2(e)},hoe.prototype._emit=function(e,t){this._eventBus.fire("popupMenu."+e,t)},hoe.prototype._onOpened=function(){this._emit("opened")},hoe.prototype._onClosed=function(){this._emit("closed")},hoe.prototype._createContainer=function(e){var t=this._canvas,n=t.getContainer();const i=I2(`
`);return n.appendChild(i),i},hoe.prototype._bindAutoClose=function(){this._eventBus.once(loe,this.close,this)},hoe.prototype._unbindAutoClose=function(){this._eventBus.off(loe,this.close,this)},hoe.prototype._updateScale=function(){var e,t,n=this._canvas.zoom(),i=this._config.scale,o=n;return!0!==i&&(!1===i?(e=1,t=1):(e=i.min,t=i.max),v1(e)&&nt&&(o=t)),o},hoe.prototype._ensureVisible=function(e,t){var n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect(),o={},r=t.x,s=t.y;return t.x+i.width>n.width&&(o.x=!0),t.y+i.height>n.height&&(o.y=!0),o.x&&o.y?(r=t.x-i.width,s=t.y-i.height):o.x?(r=t.x-i.width,s=t.y):o.y&&t.y0?c(e,t.target):c(t.target,e);return{id:t.target.id,distance:i,weight:n}})),u=h.concat(d).reduce((function(e,t){return e[t.id+"__weight_"+t.weight]=t,e}),{}),p=B1(u,(function(e,t){var n=t.distance,i=t.weight;return n<0||n>a||(e[String(n)]||(e[String(n)]=0),e[String(n)]+=1*i,(!e.distance||e[e.distance]t.top&&(n=n.concat("n")),e.rightt.left&&(n=n.concat("e")),n}function $oe(e){e.invoke(Koe,this)}function qoe(e){boe.call(this,e);var t=this;this.addRule("element.autoResize",(function(e){return t.canResize(e.elements,e.target)}))}function Joe(e,t){qoe.call(this,e),this._modeling=t}Koe.$inject=["eventBus","elementRegistry","modeling","rules"],l1(Koe,Wee),Koe.prototype._getOptimalBounds=function(e,t){var n=this.getOffset(t),i=this.getPadding(t),o=w5(q4(e)),r=w5(t),s={};return o.top-r.topo.threshold)){if($1(r,{x:ire(u.x+l.x),y:ire(u.y+l.y),dx:0,dy:0},{originalEvent:e}),!1===a("start"))return f();o.active=!0,o.keepSelection||(r.previousSelection=n.get(),n.select(null)),o.cursor&&jte(o.cursor),t.addMarker(t.getRootElement(),ore)}oee(e),o.active&&($1(r,{x:ire(p.x+l.x),y:ire(p.y+l.y),dx:ire(g.x),dy:ire(g.y)},{originalEvent:e}),a("move"))}function h(e){var t,n=!0;o.active&&(e&&(o.payload.originalEvent=e,oee(e)),n=a("end")),!1===n&&a("rejected"),t=v(!0!==n),a("ended",t)}function d(e){Ete("Escape",e)&&(rre(e),f())}function u(t){var n;o.active&&(n=Kte(e),setTimeout(n,400),rre(t)),h(t)}function p(e){c(e)}function g(e){var t=o.payload;t.hoverGfx=e.gfx,t.hover=e.element,a("hover")}function m(e){a("out");var t=o.payload;t.hoverGfx=null,t.hover=null}function f(e){var t;if(o){var n=o.active;n&&a("cancel"),t=v(e),n&&a("canceled",t)}}function v(i){var r,s;a("cleanup"),Qte(),s=o.trapClick?u:h,A2.unbind(document,"mousemove",c),A2.unbind(document,"dragstart",rre),A2.unbind(document,"selectstart",rre),A2.unbind(document,"mousedown",s,!0),A2.unbind(document,"mouseup",s,!0),A2.unbind(document,"keyup",d),A2.unbind(document,"touchstart",p,!0),A2.unbind(document,"touchcancel",f,!0),A2.unbind(document,"touchmove",c,!0),A2.unbind(document,"touchend",h,!0),e.off("element.hover",g),e.off("element.out",m),t.removeMarker(t.getRootElement(),ore);var v=o.payload.previousSelection;return!1!==i&&v&&!n.get().length&&l(v),r=o,o=null,r}function b(t,n,i,l){o&&f(!1),"string"===typeof n&&(l=i,i=n,n=null),l=$1({},r,l||{});var v,b,y,_,w,C=l.data||{};_=l.trapClick?u:h,t?(v=iee(t)||t,b=ree(t),oee(t),"dragstart"===v.type&&rre(v)):(v=null,b={x:0,y:0}),y=s(b),n||(n=y),w=sre(v),o=$1({prefix:i,data:C,payload:{},globalStart:b,displacement:Yte(n,y),localStart:y,isTouch:w},l),l.manual||(w?(A2.bind(document,"touchstart",p,!0),A2.bind(document,"touchcancel",f,!0),A2.bind(document,"touchmove",c,!0),A2.bind(document,"touchend",h,!0)):(A2.bind(document,"mousemove",c),A2.bind(document,"dragstart",rre),A2.bind(document,"selectstart",rre),A2.bind(document,"mousedown",_,!0),A2.bind(document,"mouseup",_,!0)),A2.bind(document,"keyup",d),e.on("element.hover",g),e.on("element.out",m)),a("init"),l.autoActivate&&c(t,!0)}e.on("diagram.destroy",f),this.init=b,this.move=c,this.hover=g,this.out=m,this.end=h,this.cancel=f,this.context=function(){return o},this.setOptions=function(e){$1(r,e)}}lre.$inject=["eventBus","canvas","selection","elementRegistry"];var cre={__depends__:[nre,kee],dragging:["type",lre]};function hre(e,t,n){this._canvas=n,this._opts=$1({scrollThresholdIn:[20,20,20,20],scrollThresholdOut:[0,0,0,0],scrollRepeatTimeout:15,scrollStep:10},e);var i=this;t.on("drag.move",(function(e){var t=i._toBorderPoint(e);i.startScroll(t)})),t.on(["drag.cleanup"],(function(){i.stopScroll()}))}function dre(e,t,n){return tf-3&&(n=S5(o.target,m),s===f-2?"intersect"===n&&(p.pop(),p[p.length-1]=m):"intersect"!==n&&p.push(d)),i.newWaypoints=o.waypoints=a(o,p),c(i,v,e),i.newSegmentStartIndex=r+v,l(e)})),t.on("connectionSegment.move.hover",(function(e){e.context.hover=e.hover,n.addMarker(e.hover,rse)})),t.on(["connectionSegment.move.out","connectionSegment.move.cleanup"],(function(e){var t=e.context.hover;t&&n.removeMarker(t,rse)})),t.on("connectionSegment.move.cleanup",(function(e){var t=e.context,i=t.connection;t.draggerGfx&&$2(t.draggerGfx),n.removeMarker(i,sse)})),t.on(["connectionSegment.move.cancel","connectionSegment.move.end"],(function(e){var t=e.context,n=t.connection;n.waypoints=t.originalWaypoints,l(e)})),t.on("connectionSegment.move.end",(function(e){var t=e.context,n=t.connection,i=t.newWaypoints,o=t.newSegmentStartIndex;i=i.map((function(e){return{original:e.original,x:Math.round(e.x),y:Math.round(e.y)}}));var s=h(i,o),l=s.waypoints,c=a(n,l),d=s.segmentOffset,u={segmentMove:{segmentStartIndex:t.segmentStartIndex,newSegmentStartIndex:o+d}};r.updateWaypoints(n,c,u)}))}use.$inject=["injector","eventBus","canvas","dragging","graphicsFactory","modeling"];var pse=Math.abs,gse=Math.round;function mse(e,t,n){var i,o;for(n=void 0===n?10:n,i=0;ie-Ese)return t-i+e}return t}function n(e,t){return e.waypoints?Ore(t,e):e.width?{x:Ase(e.width/2+e.x),y:Ase(e.height/2+e.y)}:void 0}function i(e){var t=e.context,i=t.snapPoints,o=t.connection,r=o.waypoints,s=t.segmentStart,a=t.segmentStartIndex,l=t.segmentEnd,c=t.segmentEndIndex,h=t.axis;if(i)return i;var d=[r[a-1],s,l,r[c+1]];return a<2&&d.unshift(n(o.source,e)),c>r.length-3&&d.unshift(n(o.target,e)),t.snapPoints=i={horizontal:[],vertical:[]},L1(d,(function(e){e&&(e=e.original||e,"y"===h&&i.horizontal.push(e.y),"x"===h&&i.vertical.push(e.x))})),i}function o(e){var t=e.snapPoints,n=e.connection.waypoints,i=e.bendpointIndex;if(t)return t;var o=[n[i-1],n[i+1]];return e.snapPoints=t={horizontal:[],vertical:[]},L1(o,(function(e){e&&(e=e.original||e,t.horizontal.push(e.y),t.vertical.push(e.x))})),t}e.on("connectionSegment.move.move",1500,(function(e){var n,o,r=i(e),s=e.x,a=e.y;if(r){n=t(r.vertical,s),o=t(r.horizontal,a);var l=s-n,c=a-o;$1(e,{dx:e.dx-l,dy:e.dy-c,x:n,y:o}),(l||-1!==r.vertical.indexOf(s))&&_se(e,"x",n),(c||-1!==r.horizontal.indexOf(a))&&_se(e,"y",o)}})),e.on(["connect.hover","connect.move","connect.end"],1500,(function(e){var t=e.context,i=t.hover,o=i&&n(i,e);v5(i)&&o&&o.x&&o.y&&(_se(e,"x",o.x),_se(e,"y",o.y))})),e.on(["bendpoint.move.move","bendpoint.move.end"],1500,(function(e){var i,r,s=e.context,a=o(s),l=s.hover,c=l&&n(l,e),h=e.x,d=e.y;if(a){i=t(c?a.vertical.concat([c.x]):a.vertical,h),r=t(c?a.horizontal.concat([c.y]):a.horizontal,d);var u=h-i,p=d-r;$1(e,{dx:e.dx-u,dy:e.dy-p,x:e.x-u,y:e.y-p}),(u||-1!==a.vertical.indexOf(h))&&_se(e,"x",i),(p||-1!==a.horizontal.indexOf(d))&&_se(e,"y",r)}}))}xse.$inject=["eventBus"];var Sse={__depends__:[cre,gre],__init__:["bendpoints","bendpointSnapping","bendpointMovePreview"],bendpoints:["type",Wre],bendpointMove:["type",Gre],bendpointMovePreview:["type",ose],connectionSegmentMove:["type",use],bendpointSnapping:["type",xse]};function Dse(e,t,n,i){function o(e,t){return i.allowed("connection.create",{source:e,target:t})}function r(e,t){return o(t,e)}e.on("connect.hover",(function(e){var t,n=e.context,i=n.start,s=e.hover;if(n.hover=s,t=n.canExecute=o(i,s),!b1(t)){if(!1!==t)return n.source=i,void(n.target=s);t=n.canExecute=r(i,s),b1(t)||!1!==t&&(n.source=s,n.target=i)}})),e.on(["connect.out","connect.cleanup"],(function(e){var t=e.context;t.hover=null,t.source=null,t.target=null,t.canExecute=!1})),e.on("connect.end",(function(e){var t=e.context,i=t.canExecute,o=t.connectionStart,r={x:e.x,y:e.y},s=t.source,a=t.target;if(!i)return!1;var l=null,c={connectionStart:kse(t)?r:o,connectionEnd:kse(t)?o:r};_1(i)&&(l=i),t.connection=n.connect(s,a,l,c)})),this.start=function(e,n,i,o){_1(i)||(o=i,i=x5(n)),t.init(e,"connect",{autoActivate:o,data:{shape:n,context:{start:n,connectionStart:i}}})}}function kse(e){var t=e.hover,n=e.source,i=e.target;return t&&n&&t===n&&n!==i}Dse.$inject=["eventBus","dragging","modeling","rules"];var Lse=1100,Mse=900,Bse="connect-ok",Nse="connect-not-ok";function Ise(e,t,n){var i=e.get("connectionPreview",!1);i&&t.on("connect.move",(function(e){var t=e.context,n=t.canExecute,o=t.hover,r=t.source,s=t.start,a=t.startPosition,l=t.target,c=t.connectionStart||a,h=t.connectionEnd||{x:e.x,y:e.y},d=c,u=h;kse(t)&&(d=h,u=c),i.drawPreview(t,n,{source:r||s,target:l||o,connectionStart:d,connectionEnd:u})})),t.on("connect.hover",Mse,(function(e){var t=e.context,i=e.hover,o=t.canExecute;null!==o&&n.addMarker(i,o?Bse:Nse)})),t.on(["connect.out","connect.cleanup"],Lse,(function(e){var t=e.hover;t&&(n.removeMarker(t,Bse),n.removeMarker(t,Nse))})),i&&t.on("connect.cleanup",(function(e){i.cleanUp(e.context)}))}Ise.$inject=["injector","eventBus","canvas"];var Tse={__depends__:[kee,gre,cre],__init__:["connectPreview"],connect:["type",Dse],connectPreview:["type",Ise]},Rse="djs-connection-preview";function Pse(e,t,n,i){this._canvas=t,this._graphicsFactory=n,this._elementFactory=i,this._connectionDocking=e.get("connectionDocking",!1),this._layouter=e.get("layouter",!1)}function Fse(e){var t={};return function(n){var i=JSON.stringify(n),o=t[i];return o||(o=t[i]=e.apply(null,arguments)),o}}function Ose(e){return _1(e)?e:{}}Pse.$inject=["injector","canvas","graphicsFactory","elementFactory"],Pse.prototype.drawPreview=function(e,t,n){n=n||{};var i,o=e.connectionPreviewGfx,r=e.getConnection,s=n.source,a=n.target,l=n.waypoints,c=n.connectionStart,h=n.connectionEnd,d=n.noLayout,u=n.noCropping,p=n.noNoop,g=this;o||(o=e.connectionPreviewGfx=this.createConnectionPreviewGfx()),q2(o),r||(r=e.getConnection=Fse((function(e,t,n){return g.getConnection(e,t,n)}))),t&&(i=r(t,s,a)),i?(i.waypoints=l||[],this._layouter&&!d&&(i.waypoints=this._layouter.layoutConnection(i,{source:s,target:a,connectionStart:c,connectionEnd:h,waypoints:n.waypoints||i.waypoints})),i.waypoints&&i.waypoints.length||(i.waypoints=[s?x5(s):c,a?x5(a):h]),this._connectionDocking&&(s||a)&&!u&&(i.waypoints=this._connectionDocking.getCroppedWaypoints(i,s,a)),this._graphicsFactory.drawConnection(o,i)):!p&&this.drawNoopPreview(o,n)},Pse.prototype.drawNoopPreview=function(e,t){var n=t.source,i=t.target,o=t.connectionStart||x5(n),r=t.connectionEnd||x5(i),s=this.cropWaypoints(o,r,n,i),a=this.createNoopConnection(s[0],s[1]);z2(e,a)},Pse.prototype.cropWaypoints=function(e,t,n,i){var o=this._graphicsFactory,r=n&&o.getShapePath(n),s=i&&o.getShapePath(i),a=o.getConnectionPath({waypoints:[e,t]});return e=n&&D5(r,a,!0)||e,t=i&&D5(s,a,!1)||t,[e,t]},Pse.prototype.cleanUp=function(e){e&&e.connectionPreviewGfx&&$2(e.connectionPreviewGfx)},Pse.prototype.getConnection=function(e){var t=Ose(e);return this._elementFactory.createConnection(t)},Pse.prototype.createConnectionPreviewGfx=function(){var e=n4("g");return U2(e,{pointerEvents:"none"}),G2(e).add(Rse),z2(this._canvas.getActiveLayer(),e),e},Pse.prototype.createNoopConnection=function(e,t){return W4([e,t],{stroke:"#333",strokeDasharray:[1],strokeWidth:2,"pointer-events":"none"})};var zse={__init__:["connectionPreview"],connectionPreview:["type",Pse]},Vse=Math.min,Wse=Math.max;function Hse(e){e.preventDefault()}function jse(e){e.stopPropagation()}function Qse(e){return e.nodeType===Node.TEXT_NODE}function Use(e){return[].slice.call(e)}function Kse(e){this.container=e.container,this.parent=I2('
'),this.content=T2("[contenteditable]",this.parent),this.keyHandler=e.keyHandler||function(){},this.resizeHandler=e.resizeHandler||function(){},this.autoResize=Y1(this.autoResize,this),this.handlePaste=Y1(this.handlePaste,this)}function Gse(e){return e.replace(/\r\n|\r|\n/g,"\n")}function Yse(e,t){this._eventBus=e,this._providers=[],this._textbox=new Kse({container:t.getContainer(),keyHandler:Y1(this._handleKey,this),resizeHandler:Y1(this._handleResize,this)})}Kse.prototype.create=function(e,t,n,i){var o=this,r=this.parent,s=this.content,a=this.container;i=this.options=i||{},t=this.style=t||{};var l=J1(t,["width","height","maxWidth","maxHeight","minWidth","minHeight","left","top","backgroundColor","position","overflow","border","wordWrap","textAlign","outline","transform"]);$1(r.style,{width:e.width+"px",height:e.height+"px",maxWidth:e.maxWidth+"px",maxHeight:e.maxHeight+"px",minWidth:e.minWidth+"px",minHeight:e.minHeight+"px",left:e.x+"px",top:e.y+"px",backgroundColor:"#ffffff",position:"absolute",overflow:"visible",border:"1px solid #ccc",boxSizing:"border-box",wordWrap:"normal",textAlign:"center",outline:"none"},l);var c=J1(t,["fontFamily","fontSize","fontWeight","lineHeight","padding","paddingTop","paddingRight","paddingBottom","paddingLeft"]);return $1(s.style,{boxSizing:"border-box",width:"100%",outline:"none",wordWrap:"break-word"},c),i.centerVertically&&$1(s.style,{position:"absolute",top:"50%",transform:"translate(0, -50%)"},c),s.innerText=n,A2.bind(s,"keydown",this.keyHandler),A2.bind(s,"mousedown",jse),A2.bind(s,"paste",o.handlePaste),i.autoResize&&A2.bind(s,"input",this.autoResize),i.resizable&&this.resizable(t),a.appendChild(r),this.setSelection(s.lastChild,s.lastChild&&s.lastChild.length),r},Kse.prototype.handlePaste=function(e){var t,n=this.options,i=this.style;if(e.preventDefault(),t=e.clipboardData?e.clipboardData.getData("text/plain"):window.clipboardData.getData("Text"),this.insertText(t),n.autoResize){var o=this.autoResize(i);o&&this.resizeHandler(o)}},Kse.prototype.insertText=function(e){e=Gse(e);var t=document.execCommand("insertText",!1,e);t||this._insertTextIE(e)},Kse.prototype._insertTextIE=function(e){var t,n,i=this.getSelection(),o=i.startContainer,r=i.endContainer,s=i.startOffset,a=i.endOffset,l=i.commonAncestorContainer,c=Use(l.childNodes);if(Qse(l)){var h=o.textContent;o.textContent=h.substring(0,s)+e+h.substring(a),t=o,n=s+e.length}else if(o===this.content&&r===this.content){var d=document.createTextNode(e);this.content.insertBefore(d,c[s]),t=d,n=d.textContent.length}else{var u=c.indexOf(o),p=c.indexOf(r);c.forEach((function(t,n){n===u?t.textContent=o.textContent.substring(0,s)+e+r.textContent.substring(a):n>u&&n<=p&&P2(t)})),t=o,n=s+e.length}t&&void 0!==n&&setTimeout((function(){self.setSelection(t,n)}))},Kse.prototype.autoResize=function(){var e=this.parent,t=this.content,n=parseInt(this.style.fontSize)||12;if(t.scrollHeight>e.offsetHeight||t.scrollHeight');var d=function(e){Hse(e),jse(e),a=e.clientX,l=e.clientY;var n=t.getBoundingClientRect();c=n.width,h=n.height,A2.bind(document,"mousemove",u),A2.bind(document,"mouseup",p)},u=function(n){Hse(n),jse(n);var d=Vse(Wse(c+n.clientX-a,i),r),u=Vse(Wse(h+n.clientY-l,o),s);t.style.width=d+"px",t.style.height=u+"px",e.resizeHandler({width:c,height:h,dx:n.clientX-a,dy:n.clientY-l})},p=function(e){Hse(e),jse(e),A2.unbind(document,"mousemove",u,!1),A2.unbind(document,"mouseup",p,!1)};A2.bind(n,"mousedown",d)}$1(n.style,{position:"absolute",bottom:"0px",right:"0px",cursor:"nwse-resize",width:"0",height:"0",borderTop:(parseInt(this.style.fontSize)/4||3)+"px solid transparent",borderRight:(parseInt(this.style.fontSize)/4||3)+"px solid #ccc",borderBottom:(parseInt(this.style.fontSize)/4||3)+"px solid #ccc",borderLeft:(parseInt(this.style.fontSize)/4||3)+"px solid transparent"}),t.appendChild(n)},Kse.prototype.destroy=function(){var e=this.parent,t=this.content,n=this.resizeHandle;t.innerText="",e.removeAttribute("style"),t.removeAttribute("style"),A2.unbind(t,"keydown",this.keyHandler),A2.unbind(t,"mousedown",jse),A2.unbind(t,"input",this.autoResize),A2.unbind(t,"paste",this.handlePaste),n&&(n.removeAttribute("style"),P2(n)),P2(e)},Kse.prototype.getValue=function(){return this.content.innerText.trim()},Kse.prototype.getSelection=function(){var e=window.getSelection(),t=e.getRangeAt(0);return t},Kse.prototype.setSelection=function(e,t){var n=document.createRange();null===e?n.selectNodeContents(this.content):(n.setStart(e,t),n.setEnd(e,t));var i=window.getSelection();i.removeAllRanges(),i.addRange(n)},Yse.$inject=["eventBus","canvas"],Yse.prototype.registerProvider=function(e){this._providers.push(e)},Yse.prototype.isActive=function(e){return!(!this._active||e&&this._active.element!==e)},Yse.prototype.cancel=function(){this._active&&(this._fire("cancel"),this.close())},Yse.prototype._fire=function(e,t){this._eventBus.fire("directEditing."+e,t||{active:this._active})},Yse.prototype.close=function(){this._textbox.destroy(),this._fire("deactivate"),this._active=null,this.resizable=void 0},Yse.prototype.complete=function(){var e=this._active;if(e){var t,n=e.context.bounds,i=this.$textbox.getBoundingClientRect(),o=this.getValue(),r=e.context.text;o===r&&i.height===n.height&&i.width===n.width||(t=this._textbox.container.getBoundingClientRect(),e.provider.update(e.element,o,e.context.text,{x:i.left-t.left,y:i.top-t.top,width:i.width,height:i.height})),this._fire("complete"),this.close()}},Yse.prototype.getValue=function(){return this._textbox.getValue()},Yse.prototype._handleKey=function(e){e.stopPropagation();var t=e.keyCode||e.charCode;return 27===t?(e.preventDefault(),this.cancel()):13!==t||e.shiftKey?void 0:(e.preventDefault(),this.complete())},Yse.prototype._handleResize=function(e){this._fire("resize",e)},Yse.prototype.activate=function(e){var t;this.isActive()&&this.cancel();var n=S1(this._providers,(function(n){return(t=n.activate(e))?n:null}));return t&&(this.$textbox=this._textbox.create(t.bounds,t.style,t.text,t.options),this._active={element:e,context:t,provider:n},t.options&&t.options.resizable&&(this.resizable=!0),this._fire("activate")),!!t};var $se={__depends__:[fee],__init__:["directEditing"],directEditing:["type",Yse]},qse=["marker-start","marker-mid","marker-end"],Jse=["circle","ellipse","line","path","polygon","polyline","path","rect"];function Xse(e,t,n,i){this._elementRegistry=e,this._canvas=n,this._styles=i,this._clonedMarkers={};var o=this;t.on("drag.cleanup",(function(){L1(o._clonedMarkers,(function(e){$2(e)})),o._clonedMarkers={}}))}function Zse(e,t,n){var i=eae(U2(e,t));return T2("marker#"+i,n||document)}function eae(e){return e.match(/url\(['"]?#([^'"]*)['"]?\)/)[1]}function tae(e){return"url(#"+e+")"}function nae(e){return-1!==Jse.indexOf(e.nodeName)}Xse.$inject=["elementRegistry","eventBus","canvas","styles"],Xse.prototype.getGfx=function(e){return this._elementRegistry.getGraphics(e)},Xse.prototype.addDragger=function(e,t,n){n=n||this.getGfx(e);var i=J2(n),o=n.getBoundingClientRect();return this._cloneMarkers(u3(i)),U2(i,this._styles.cls("djs-dragger",[],{x:o.top,y:o.left})),z2(t,i),i},Xse.prototype.addFrame=function(e,t){var n=n4("rect",{class:"djs-resize-overlay",width:e.width,height:e.height,x:e.x,y:e.y});return z2(t,n),n},Xse.prototype._cloneMarkers=function(e){var t=this;if(e.childNodes)for(var n=0;n=120&&$1(h,{"lane-divide-two":{group:"lane-divide",className:"bpmn-icon-lane-divide-two",title:c("Divide into two Lanes"),action:{click:f(2)}}}),e.height>=180&&$1(h,{"lane-divide-three":{group:"lane-divide",className:"bpmn-icon-lane-divide-three",title:c("Divide into three Lanes"),action:{click:f(3)}}})),$1(h,{"lane-insert-below":{group:"lane-insert-below",className:"bpmn-icon-lane-insert-below",title:c("Add Lane below"),action:{click:function(e,t){n.addLane(t,"bottom")}}}})}u9(d,"bpmn:FlowNode")&&(u9(d,"bpmn:EventBasedGateway")?$1(h,{"append.receive-task":m("bpmn:ReceiveTask","bpmn-icon-receive-task",c("Append ReceiveTask")),"append.message-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-message",c("Append MessageIntermediateCatchEvent"),{eventDefinitionType:"bpmn:MessageEventDefinition"}),"append.timer-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-timer",c("Append TimerIntermediateCatchEvent"),{eventDefinitionType:"bpmn:TimerEventDefinition"}),"append.condition-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-condition",c("Append ConditionIntermediateCatchEvent"),{eventDefinitionType:"bpmn:ConditionalEventDefinition"}),"append.signal-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-signal",c("Append SignalIntermediateCatchEvent"),{eventDefinitionType:"bpmn:SignalEventDefinition"})}):Tle(d,"bpmn:BoundaryEvent","bpmn:CompensateEventDefinition")?$1(h,{"append.compensation-activity":m("bpmn:Task","bpmn-icon-task",c("Append compensation activity"),{isForCompensation:!0})}):u9(d,"bpmn:EndEvent")||d.isForCompensation||Tle(d,"bpmn:IntermediateThrowEvent","bpmn:LinkEventDefinition")||W9(d)||$1(h,{"append.end-event":m("bpmn:EndEvent","bpmn-icon-end-event-none",c("Append EndEvent")),"append.gateway":m("bpmn:ExclusiveGateway","bpmn-icon-gateway-none",c("Append Gateway")),"append.append-task":m("bpmn:Task","bpmn-icon-task",c("Append Task")),"append.intermediate-event":m("bpmn:IntermediateThrowEvent","bpmn-icon-intermediate-event-none",c("Append Intermediate/Boundary Event"))})),s.isEmpty(e,"bpmn-replace")||$1(h,{replace:{group:"edit",className:"bpmn-icon-screw-wrench",title:c("Change type"),action:{click:function(e,t){var n=$1(g(t),{cursor:{x:e.x,y:e.y}});s.open(t,"bpmn-replace",n,{title:c("Change element"),width:300,search:!0})}}}}),u9(d,"bpmn:SequenceFlow")&&$1(h,{"append.text-annotation":m("bpmn:TextAnnotation","bpmn-icon-text-annotation")}),p9(d,["bpmn:FlowNode","bpmn:InteractionNode","bpmn:DataObjectReference","bpmn:DataStoreReference"])&&$1(h,{"append.text-annotation":m("bpmn:TextAnnotation","bpmn-icon-text-annotation"),connect:{group:"connect",className:"bpmn-icon-connection-multi",title:c("Connect using "+(d.isForCompensation?"":"Sequence/MessageFlow or ")+"Association"),action:{click:u,dragstart:u}}}),u9(d,"bpmn:TextAnnotation")&&$1(h,{connect:{group:"connect",className:"bpmn-icon-connection-multi",title:c("Connect using Association"),action:{click:u,dragstart:u}}}),p9(d,["bpmn:DataObjectReference","bpmn:DataStoreReference"])&&$1(h,{connect:{group:"connect",className:"bpmn-icon-connection-multi",title:c("Connect using DataInputAssociation"),action:{click:u,dragstart:u}}}),u9(d,"bpmn:Group")&&$1(h,{"append.text-annotation":m("bpmn:TextAnnotation","bpmn-icon-text-annotation")});var b=a.allowed("elements.delete",{elements:[e]});return y1(b)&&(b=b[0]===e),b&&$1(h,{delete:{group:"edit",className:"bpmn-icon-trash",title:c("Remove"),action:{click:p}}}),h};var Ple={__depends__:[$se,Hne,kee,Tse,mae,hle],__init__:["contextPadProvider"],contextPadProvider:["type",Ile]},Fle={horizontal:["x","width"],vertical:["y","height"]},Ole=5;function zle(e,t){this._modeling=e,this._filters=[],this.registerFilter((function(e){var n=t.allowed("elements.distribute",{elements:e});return y1(n)?n:n?e:[]}))}zle.$inject=["modeling","rules"],zle.prototype.registerFilter=function(e){if("function"!==typeof e)throw new Error("the filter has to be a function");this._filters.push(e)},zle.prototype.trigger=function(e,t){var n,i,o=this._modeling;if(!(e.length<3)&&(this._setOrientation(t),i=this._filterElements(e),n=this._createGroups(i),!(n.length<=2)))return o.distributeElements(n,this._axis,this._dimension),n},zle.prototype._filterElements=function(e){var t=this._filters,n=this._axis,i=this._dimension,o=[].concat(e);return t.length?(L1(t,(function(e){o=e(o,n,i)})),o):e},zle.prototype._createGroups=function(e){var t=[],n=this,i=this._axis,o=this._dimension;if(!i)throw new Error('must have a defined "axis" and "dimension"');var r=W1(e,i);return L1(r,(function(e,r){var s,a=n._findRange(e,i,o),l=t[t.length-1];l&&n._hasIntersection(l.range,a)?t[t.length-1].elements.push(e):(s={range:a,elements:[e]},t.push(s))})),t},zle.prototype._setOrientation=function(e){var t=Fle[e];this._axis=t[0],this._dimension=t[1]},zle.prototype._hasIntersection=function(e,t){return Math.max(e.min,e.max)>=Math.min(t.min,t.max)&&Math.min(e.min,e.max)<=Math.max(t.min,t.max)},zle.prototype._findRange=function(e){var t=e[this._axis],n=e[this._dimension];return{min:t+Ole,max:t+n-Ole}};var Vle={__init__:["distributeElements"],distributeElements:["type",zle]};function Wle(e){boe.call(this,e)}Wle.$inject=["eventBus"],l1(Wle,boe),Wle.prototype.init=function(){this.addRule("elements.distribute",(function(e){var t=e.elements;return t=k1(t,(function(e){var t=p9(e,["bpmn:Association","bpmn:BoundaryEvent","bpmn:DataInputAssociation","bpmn:DataOutputAssociation","bpmn:Lane","bpmn:MessageFlow","bpmn:SequenceFlow","bpmn:TextAnnotation"]);return!(e.labelTarget||t)})),t=j4(t),!(t.length<3)&&t}))};var Hle={horizontal:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201800%201800%22%3E%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bstroke-linejoin%3Around%22%20d%3D%22M450%20400V150h900v250%22%2F%3E%3Crect%20x%3D%22150%22%20y%3D%22450%22%20width%3D%22600%22%20height%3D%221200%22%20rx%3D%221%22%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%22%2F%3E%3Crect%20x%3D%221050%22%20y%3D%22450%22%20width%3D%22600%22%20height%3D%22800%22%20rx%3D%221%22%20style%3D%22fill%3AcurrentColor%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bopacity%3A.5%22%2F%3E%3C%2Fsvg%3E",vertical:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201800%201800%22%3E%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bstroke-linejoin%3Around%22%20d%3D%22M400%201350H150V450h250%22%2F%3E%3Crect%20x%3D%22450%22%20y%3D%22150%22%20width%3D%221200%22%20height%3D%22600%22%20rx%3D%221%22%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%22%2F%3E%3Crect%20x%3D%22450%22%20y%3D%221050%22%20width%3D%22800%22%20height%3D%22600%22%20rx%3D%221%22%20style%3D%22fill%3AcurrentColor%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bopacity%3A.5%22%2F%3E%3C%2Fsvg%3E"},jle=Hle,Qle=900;function Ule(e,t,n,i){this._distributeElements=t,this._translate=n,this._popupMenu=e,this._rules=i,e.registerProvider("align-elements",Qle,this)}Ule.$inject=["popupMenu","distributeElements","translate","rules"],Ule.prototype.getPopupMenuEntries=function(e){var t={};return this._isAllowed(e)&&$1(t,this._getEntries(e)),t},Ule.prototype._isAllowed=function(e){return this._rules.allowed("elements.distribute",{elements:e})},Ule.prototype._getEntries=function(e){var t=this._distributeElements,n=this._translate,i=this._popupMenu,o={"distribute-elements-horizontal":{group:"distribute",title:n("Distribute elements horizontally"),className:"bjs-align-elements-menu-entry",imageUrl:jle["horizontal"],action:function(n,o){t.trigger(e,"horizontal"),i.close()}},"distribute-elements-vertical":{group:"distribute",title:n("Distribute elements vertically"),imageUrl:jle["vertical"],action:function(n,o){t.trigger(e,"vertical"),i.close()}}};return o};var Kle={__depends__:[doe,Vle],__init__:["bpmnDistributeElements","distributeElementsMenuProvider"],bpmnDistributeElements:["type",Wle],distributeElementsMenuProvider:["type",Ule]},Gle="is not a registered action",Yle="is already registered";function $le(e,t){this._actions={};var n=this;e.on("diagram.init",(function(){n._registerDefaultActions(t),e.fire("editorActions.init",{editorActions:n})}))}function qle(e,t){return new Error(e+" "+t)}$le.$inject=["eventBus","injector"],$le.prototype._registerDefaultActions=function(e){var t=e.get("commandStack",!1),n=e.get("modeling",!1),i=e.get("selection",!1),o=e.get("zoomScroll",!1),r=e.get("copyPaste",!1),s=e.get("canvas",!1),a=e.get("rules",!1),l=e.get("keyboardMove",!1),c=e.get("keyboardMoveSelection",!1);t&&(this.register("undo",(function(){t.undo()})),this.register("redo",(function(){t.redo()}))),r&&i&&this.register("copy",(function(){var e=i.get();if(e.length)return r.copy(e)})),r&&this.register("paste",(function(){r.paste()})),o&&this.register("stepZoom",(function(e){o.stepZoom(e.value)})),s&&this.register("zoom",(function(e){s.zoom(e.value)})),n&&i&&a&&this.register("removeSelection",(function(){var e=i.get();if(e.length){var t,o=a.allowed("elements.delete",{elements:e});!1!==o&&(t=y1(o)?o:e,t.length&&n.removeElements(t.slice()))}})),l&&this.register("moveCanvas",(function(e){l.moveCanvas(e)})),c&&this.register("moveSelection",(function(e){c.moveSelection(e.direction,e.accelerated)}))},$le.prototype.trigger=function(e,t){if(!this._actions[e])throw qle(e,Gle);return this._actions[e](t)},$le.prototype.register=function(e,t){var n=this;if("string"===typeof e)return this._registerAction(e,t);L1(e,(function(e,t){n._registerAction(t,e)}))},$le.prototype._registerAction=function(e,t){if(this.isRegistered(e))throw qle(e,Yle);this._actions[e]=t},$le.prototype.unregister=function(e){if(!this.isRegistered(e))throw qle(e,Gle);this._actions[e]=void 0},$le.prototype.getActions=function(){return Object.keys(this._actions)},$le.prototype.isRegistered=function(e){return!!this._actions[e]};var Jle={__init__:["editorActions"],editorActions:["type",$le]};function Xle(e){e.invoke($le,this)}l1(Xle,$le),Xle.$inject=["injector"],Xle.prototype._registerDefaultActions=function(e){$le.prototype._registerDefaultActions.call(this,e);var t=e.get("canvas",!1),n=e.get("elementRegistry",!1),i=e.get("selection",!1),o=e.get("spaceTool",!1),r=e.get("lassoTool",!1),s=e.get("handTool",!1),a=e.get("globalConnect",!1),l=e.get("distributeElements",!1),c=e.get("alignElements",!1),h=e.get("directEditing",!1),d=e.get("searchPad",!1),u=e.get("modeling",!1),p=e.get("contextPad",!1);t&&n&&i&&this._registerAction("selectElements",(function(){var e=t.getRootElement(),o=n.filter((function(t){return t!==e}));return i.select(o),o})),o&&this._registerAction("spaceTool",(function(){o.toggle()})),r&&this._registerAction("lassoTool",(function(){r.toggle()})),s&&this._registerAction("handTool",(function(){s.toggle()})),a&&this._registerAction("globalConnectTool",(function(){a.toggle()})),i&&l&&this._registerAction("distributeElements",(function(e){var t=i.get(),n=e.type;t.length&&l.trigger(t,n)})),i&&c&&this._registerAction("alignElements",(function(e){var t=i.get(),n=[],o=e.type;t.length&&(n=k1(t,(function(e){return!u9(e,"bpmn:Lane")})),c.trigger(n,o))})),i&&u&&this._registerAction("setColor",(function(e){var t=i.get();t.length&&u.setColor(t,e)})),i&&h&&this._registerAction("directEditing",(function(){var e=i.get();e.length&&h.activate(e[0])})),d&&this._registerAction("find",(function(){d.toggle()})),t&&u&&this._registerAction("moveToOrigin",(function(){var e,i,o=t.getRootElement();i=u9(o,"bpmn:Collaboration")?n.filter((function(e){return u9(e.parent,"bpmn:Collaboration")})):n.filter((function(e){return e!==o&&!u9(e.parent,"bpmn:SubProcess")})),e=q4(i),u.moveElements(i,{x:-e.x,y:-e.y},o)})),i&&p&&this._registerAction("replaceElement",(function(e){p.triggerEntry("replace","click",e)}))};var Zle={__depends__:[Jle],editorActions:["type",Xle]};function ece(e){e.on(["create.init","shape.move.init"],(function(e){var t=e.context,n=e.shape;p9(n,["bpmn:Participant","bpmn:SubProcess","bpmn:TextAnnotation"])&&(t.gridSnappingContext||(t.gridSnappingContext={}),t.gridSnappingContext.snapLocation="top-left")}))}ece.$inject=["eventBus"];var tce=10;function nce(e,t,n){return n||(n="round"),Math[n](e/t)*t}var ice=1200,oce=800;function rce(e,t,n){var i=!n||!1!==n.active;this._eventBus=t;var o=this;t.on("diagram.init",oce,(function(){o.setActive(i)})),t.on(["create.move","create.end","bendpoint.move.move","bendpoint.move.end","connect.move","connect.end","connectionSegment.move.move","connectionSegment.move.end","resize.move","resize.end","shape.move.move","shape.move.end"],ice,(function(t){var n=t.originalEvent;if(!(!o.active||n&&Ate(n))){var i=t.context,r=i.gridSnappingContext;r||(r=i.gridSnappingContext={}),["x","y"].forEach((function(n){var i={},r=ace(t,n,e);r&&(i.offset=r);var s=sce(t,n);s&&$1(i,s),yse(t,n)||o.snapEvent(t,n,i)}))}}))}function sce(e,t){var n=e.context,i=n.createConstraints,o=n.resizeConstraints||{},r=n.gridSnappingContext,s=r.snapConstraints;if(s&&s[t])return s[t];s||(s=r.snapConstraints={}),s[t]||(s[t]={});var a=n.direction;i&&(lce(t)?(s.x.min=i.left,s.x.max=i.right):(s.y.min=i.top,s.y.max=i.bottom));var l=o.min,c=o.max;return l&&(lce(t)?hce(a)?s.x.max=l.left:s.x.min=l.right:cce(a)?s.y.max=l.top:s.y.min=l.bottom),c&&(lce(t)?hce(a)?s.x.min=c.left:s.x.max=c.right:cce(a)?s.y.min=c.top:s.y.max=c.bottom),s[t]}function ace(e,t,n){var i=e.context,o=e.shape,r=i.gridSnappingContext,s=r.snapLocation,a=r.snapOffset;return a&&w1(a[t])?a[t]:(a||(a=r.snapOffset={}),w1(a[t])||(a[t]=0),o?(n.get(o.id)||(lce(t)?a[t]+=o[t]+o.width/2:a[t]+=o[t]+o.height/2),s?("x"===t?/left/.test(s)?a[t]-=o.width/2:/right/.test(s)&&(a[t]+=o.width/2):/top/.test(s)?a[t]-=o.height/2:/bottom/.test(s)&&(a[t]+=o.height/2),a[t]):a[t]):a[t])}function lce(e){return"x"===e}function cce(e){return-1!==e.indexOf("n")}function hce(e){return-1!==e.indexOf("w")}function dce(e,t){Wee.call(this,e),this._gridSnapping=t;var n=this;this.preExecute("shape.resize",(function(e){var t=e.context,i=t.hints||{},o=i.autoResize;if(o){var r=t.shape,s=t.newBounds;A1(o)?t.newBounds=n.snapComplex(s,o):t.newBounds=n.snapSimple(r,s)}}))}rce.prototype.snapEvent=function(e,t,n){var i=this.snapValue(e[t],n);_se(e,t,i)},rce.prototype.getGridSpacing=function(){return tce},rce.prototype.snapValue=function(e,t){var n,i,o=0;return t&&t.offset&&(o=t.offset),e+=o,e=nce(e,tce),t&&t.min&&(n=t.min,w1(n)&&(n=nce(n+o,tce,"ceil"),e=Math.max(e,n))),t&&t.max&&(i=t.max,w1(i)&&(i=nce(i+o,tce,"floor"),e=Math.min(e,i))),e-=o,e},rce.prototype.isActive=function(){return this.active},rce.prototype.setActive=function(e){this.active=e,this._eventBus.fire("gridSnapping.toggle",{active:e})},rce.prototype.toggleActive=function(){this.setActive(!this.active)},rce.$inject=["elementRegistry","eventBus","config.gridSnapping"],dce.$inject=["eventBus","gridSnapping","modeling"],l1(dce,Wee),dce.prototype.snapSimple=function(e,t){var n=this._gridSnapping;return t.width=n.snapValue(t.width,{min:t.width}),t.height=n.snapValue(t.height,{min:t.height}),t.x=e.x+e.width/2-t.width/2,t.y=e.y+e.height/2-t.height/2,t},dce.prototype.snapComplex=function(e,t){return/w|e/.test(t)&&(e=this.snapHorizontally(e,t)),/n|s/.test(t)&&(e=this.snapVertically(e,t)),e},dce.prototype.snapHorizontally=function(e,t){var n=this._gridSnapping,i=/w/.test(t),o=/e/.test(t),r={};return r.width=n.snapValue(e.width,{min:e.width}),o&&(i?(r.x=n.snapValue(e.x,{max:e.x}),r.width+=n.snapValue(e.x-r.x,{min:e.x-r.x})):e.x=e.x+e.width-r.width),$1(e,r),e},dce.prototype.snapVertically=function(e,t){var n=this._gridSnapping,i=/n/.test(t),o=/s/.test(t),r={};return r.height=n.snapValue(e.height,{min:e.height}),i&&(o?(r.y=n.snapValue(e.y,{max:e.y}),r.height+=n.snapValue(e.y-r.y,{min:e.y-r.y})):e.y=e.y+e.height-r.height),$1(e,r),e};var uce=2e3;function pce(e,t){e.on(["spaceTool.move","spaceTool.end"],uce,(function(e){var n=e.context;if(n.initialized){var i,o=n.axis;"x"===o?(i=t.snapValue(e.dx),e.x=e.x+i-e.dx,e.dx=i):(i=t.snapValue(e.dy),e.y=e.y+i-e.dy,e.dy=i)}}))}pce.$inject=["eventBus","gridSnapping"];var gce={__init__:["gridSnappingResizeBehavior","gridSnappingSpaceToolBehavior"],gridSnappingResizeBehavior:["type",dce],gridSnappingSpaceToolBehavior:["type",pce]},mce={__depends__:[gce],__init__:["gridSnapping"],gridSnapping:["type",rce]},fce=2e3;function vce(e,t){e.on("autoPlace",fce,(function(e){var n=e.source,i=x5(n),o=e.shape,r=Ooe(n,o);return["x","y"].forEach((function(e){var n={};r[e]!==i[e]&&(r[e]>i[e]?n.min=r[e]:n.max=r[e],u9(o,"bpmn:TextAnnotation")&&(bce(e)?n.offset=-o.width/2:n.offset=-o.height/2),r[e]=t.snapValue(r[e],n))})),r}))}function bce(e){return"x"===e}vce.$inject=["eventBus","gridSnapping"];var yce=1750;function _ce(e,t,n){t.on(["create.start","shape.move.start"],yce,(function(t){var i=t.context,o=i.shape,r=e.getRootElement();if(u9(o,"bpmn:Participant")&&u9(r,"bpmn:Process")&&r.children.length){var s=i.createConstraints;s&&(o.width=n.snapValue(o.width,{min:o.width}),o.height=n.snapValue(o.height,{min:o.height}))}}))}_ce.$inject=["canvas","eventBus","gridSnapping"];var wce=3e3;function Cce(e,t,n){Wee.call(this,e),this._gridSnapping=t;var i=this;this.postExecuted(["connection.create","connection.layout"],wce,(function(e){var t=e.context,o=t.connection,r=t.hints||{},s=o.waypoints;r.connectionStart||r.connectionEnd||!1===r.createElementsBehavior||Ace(s)&&n.updateWaypoints(o,i.snapMiddleSegments(s))}))}function Ace(e){return e.length>3}function Ece(e){return"h"===e}function xce(e){return"v"===e}function Sce(e,t,n){var i=d5(t,n),o={};return Ece(i)&&(o.y=e.snapValue(t.y)),xce(i)&&(o.x=e.snapValue(t.x)),("x"in o||"y"in o)&&(t=$1({},t,o),n=$1({},n,o)),[t,n]}Cce.$inject=["eventBus","gridSnapping","modeling"],l1(Cce,Wee),Cce.prototype.snapMiddleSegments=function(e){var t,n=this._gridSnapping;e=e.slice();for(var i=1;i5&&U2(r,{x:o.x,width:o.width}),o.height>5&&U2(r,{y:o.y,height:o.height}),e.canExecute?G2(r).remove(Jce):G2(r).add(Jce)}function o(e){var n=e.shape,i=e.frame;i&&$2(e.frame),t.removeMarker(n,qce)}e.on("resize.move",Xce,(function(e){i(e.context)})),e.on("resize.cleanup",(function(e){o(e.context)}))}Zce.$inject=["eventBus","canvas","previewSupport"];var ehe=-6,the=8,nhe=20,ihe="djs-resizer",ohe=["n","w","s","e","nw","ne","se","sw"];function rhe(e,t,n,i){this._resize=i,this._canvas=t;var o=this;e.on("selection.changed",(function(e){var t=e.newSelection;o.removeResizers(),1===t.length&&L1(t,Y1(o.addResizer,o))})),e.on("shape.changed",(function(e){var t=e.element;n.isSelected(t)&&(o.removeResizers(),o.addResizer(t))}))}function she(e){var t={x:0,y:0};return-1!==e.indexOf("e")?t.x=-ehe:-1!==e.indexOf("w")&&(t.x=ehe),-1!==e.indexOf("s")?t.y=-ehe:-1!==e.indexOf("n")&&(t.y=ehe),t}rhe.prototype.makeDraggable=function(e,t,n){var i=this._resize;function o(t){lee(t)&&i.activate(t,e,n)}A2.bind(t,"mousedown",o),A2.bind(t,"touchstart",o)},rhe.prototype._createResizer=function(e,t,n,i){var o=this._getResizersParent(),r=she(i),s=n4("g");G2(s).add(ihe),G2(s).add(ihe+"-"+e.id),G2(s).add(ihe+"-"+i),z2(o,s);var a=n4("rect");U2(a,{x:-the/2+r.x,y:-the/2+r.y,width:the,height:the}),G2(a).add(ihe+"-visual"),z2(s,a);var l=n4("rect");return U2(l,{x:-nhe/2+r.x,y:-nhe/2+r.y,width:nhe,height:nhe}),G2(l).add(ihe+"-hit"),z2(s,l),g3(s,t,n),s},rhe.prototype.createResizer=function(e,t){var n=Yce(e,t),i=this._createResizer(e,n.x,n.y,t);this.makeDraggable(e,i,t)},rhe.prototype.addResizer=function(e){var t=this;!v5(e)&&this._resize.canResize({shape:e})&&L1(ohe,(function(n){t.createResizer(e,n)}))},rhe.prototype.removeResizers=function(){var e=this._getResizersParent();q2(e)},rhe.prototype._getResizersParent=function(){return this._canvas.getLayer("resizers")},rhe.$inject=["eventBus","canvas","selection","resize"];var ahe={__depends__:[gre,cre,iae],__init__:["resize","resizePreview","resizeHandles"],resize:["type",Kce],resizePreview:["type",Zce],resizeHandles:["type",rhe]},lhe=2e3;function che(e,t,n,i,o,r,s){function a(e,t){(t||p9(e,["bpmn:Task","bpmn:TextAnnotation","bpmn:Participant"])||hhe(e))&&i.activate(e)}this._bpmnFactory=t,this._canvas=n,this._modeling=o,this._textRenderer=s,i.registerProvider(this),e.on("element.dblclick",(function(e){a(e.element,!0)})),e.on(["autoPlace.start","canvas.viewbox.changing","drag.init","element.mousedown","popupMenu.open","root.set","selection.changed"],(function(){i.isActive()&&i.complete()})),e.on(["shape.remove","connection.remove"],lhe,(function(e){i.isActive(e.element)&&i.cancel()})),e.on(["commandStack.changed"],(function(e){i.isActive()&&i.cancel()})),e.on("directEditing.activate",(function(e){r.removeResizers()})),e.on("create.end",500,(function(e){var t=e.context,n=t.shape,i=e.context.canExecute,o=e.isTouch;o||i&&(t.hints&&!1===t.hints.createElementsBehavior||a(n))})),e.on("autoPlace.end",500,(function(e){a(e.shape)}))}function hhe(e){return u9(e,"bpmn:SubProcess")&&!z9(e)}function dhe(e){return u9(e,"bpmn:SubProcess")&&z9(e)}function uhe(e){return u9(e,"bpmn:Participant")&&!z9(e)}function phe(e){return u9(e,"bpmn:Participant")&&z9(e)}function ghe(e){return!e||!e.trim()}che.$inject=["eventBus","bpmnFactory","canvas","directEditing","modeling","resizeHandles","textRenderer"],che.prototype.activate=function(e){var t=i7(e);if(void 0!==t){var n={text:t},i=this.getEditingBBox(e);$1(n,i);var o={};return(p9(e,["bpmn:Task","bpmn:Participant","bpmn:Lane","bpmn:CallActivity"])||hhe(e))&&$1(o,{centerVertically:!0}),Y9(e)&&$1(o,{autoResize:!0}),u9(e,"bpmn:TextAnnotation")&&$1(o,{resizable:!0,autoResize:!0}),$1(n,{options:o}),n}},che.prototype.getEditingBBox=function(e){var t=this._canvas,n=e.label||e,i=t.getAbsoluteBBox(n),o={x:i.x+i.width/2,y:i.y+i.height/2},r={x:i.x,y:i.y},s=t.zoom(),a=this._textRenderer.getDefaultStyle(),l=this._textRenderer.getExternalStyle(),c=l.fontSize*s,h=l.lineHeight,d=a.fontSize*s,u=a.lineHeight,p={fontFamily:this._textRenderer.getDefaultStyle().fontFamily,fontWeight:this._textRenderer.getDefaultStyle().fontWeight};(u9(e,"bpmn:Lane")||phe(e))&&($1(r,{width:i.height,height:30*s,x:i.x-i.height/2+15*s,y:o.y-30*s/2}),$1(p,{fontSize:d+"px",lineHeight:u,paddingTop:7*s+"px",paddingBottom:7*s+"px",paddingLeft:5*s+"px",paddingRight:5*s+"px",transform:"rotate(-90deg)"})),(p9(e,["bpmn:Task","bpmn:CallActivity"])||uhe(e)||hhe(e))&&($1(r,{width:i.width,height:i.height}),$1(p,{fontSize:d+"px",lineHeight:u,paddingTop:7*s+"px",paddingBottom:7*s+"px",paddingLeft:5*s+"px",paddingRight:5*s+"px"})),dhe(e)&&($1(r,{width:i.width,x:i.x}),$1(p,{fontSize:d+"px",lineHeight:u,paddingTop:7*s+"px",paddingBottom:7*s+"px",paddingLeft:5*s+"px",paddingRight:5*s+"px"}));var g=90*s,m=7*s,f=4*s;if(n.labelTarget&&($1(r,{width:g,height:i.height+m+f,x:o.x-g/2,y:i.y-m}),$1(p,{fontSize:c+"px",lineHeight:h,paddingTop:m+"px",paddingBottom:f+"px"})),Y9(n)&&!$9(n)&&!e7(n)){var v=X9(e),b=t.getAbsoluteBBox({x:v.x,y:v.y,width:0,height:0}),y=c+m+f;$1(r,{width:g,height:y,x:b.x-g/2,y:b.y-y/2}),$1(p,{fontSize:c+"px",lineHeight:h,paddingTop:m+"px",paddingBottom:f+"px"})}return u9(e,"bpmn:TextAnnotation")&&($1(r,{width:i.width,height:i.height,minWidth:30*s,minHeight:10*s}),$1(p,{textAlign:"left",paddingTop:5*s+"px",paddingBottom:7*s+"px",paddingLeft:7*s+"px",paddingRight:5*s+"px",fontSize:d+"px",lineHeight:u})),{bounds:r,style:p}},che.prototype.update=function(e,t,n,i){var o,r;u9(e,"bpmn:TextAnnotation")&&(r=this._canvas.getAbsoluteBBox(e),o={x:e.x,y:e.y,width:e.width/r.width*i.width,height:e.height/r.height*i.height}),ghe(t)&&(t=null),this._modeling.updateLabel(e,t,o)};var mhe="djs-element-hidden",fhe="djs-label-hidden";function vhe(e,t,n){var i,o,r,s=this,a=t.getDefaultLayer();e.on("directEditing.activate",(function(e){var l=e.active;if(i=l.element.label||l.element,u9(i,"bpmn:TextAnnotation")){o=t.getAbsoluteBBox(i),r=n4("g");var c=n.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:i.width,containerHeight:i.height,position:{mx:0,my:0}}),h=s.path=n4("path");U2(h,{d:c,strokeWidth:2,stroke:bhe(i)}),z2(r,h),z2(a,r),m3(r,i.x,i.y)}u9(i,"bpmn:TextAnnotation")||i.labelTarget?t.addMarker(i,mhe):(u9(i,"bpmn:Task")||u9(i,"bpmn:CallActivity")||u9(i,"bpmn:SubProcess")||u9(i,"bpmn:Participant"))&&t.addMarker(i,fhe)})),e.on("directEditing.resize",(function(e){if(u9(i,"bpmn:TextAnnotation")){var t=e.height,r=e.dy,a=Math.max(i.height/o.height*(t+r),0),l=n.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:i.width,containerHeight:a,position:{mx:0,my:0}});U2(s.path,{d:l})}})),e.on(["directEditing.complete","directEditing.cancel"],(function(e){var n=e.active;n&&(t.removeMarker(n.element.label||n.element,mhe),t.removeMarker(i,fhe)),i=void 0,o=void 0,r&&($2(r),r=void 0)}))}function bhe(e,t){var n=m9(e);return n.get("stroke")||t||"black"}vhe.$inject=["eventBus","canvas","pathMap"];var yhe={__depends__:[zee,ahe,$se],__init__:["labelEditingProvider","labelEditingPreview"],labelEditingProvider:["type",che],labelEditingPreview:["type",vhe]},_he=["top","bottom","left","right"],whe=10;function Che(e,t){function n(e){if($9(e)){var t=xhe(e);t&&i(e,t)}}function i(e,n){var i=x5(e),o=e.label,r=x5(o);if(o.parent){var s,a=w5(e);switch(n){case"top":s={x:i.x,y:a.top-whe-o.height/2};break;case"left":s={x:a.left-whe-o.width/2,y:i.y};break;case"bottom":s={x:i.x,y:a.bottom+whe+o.height/2};break;case"right":s={x:a.right+whe+o.width/2,y:i.y};break}var l=Yte(s,r);t.moveShape(o,l)}}Wee.call(this,e),this.postExecuted(["connection.create","connection.layout","connection.updateWaypoints"],(function(e){var t=e.context,i=t.connection,o=i.source,r=i.target,s=t.hints||{};!1!==s.createElementsBehavior&&(n(o),n(r))})),this.postExecuted(["label.create"],(function(e){var t=e.context,i=t.shape,o=t.hints||{};!1!==o.createElementsBehavior&&n(i.labelTarget)})),this.postExecuted(["elements.create"],(function(e){var t=e.context,i=t.elements,o=t.hints||{};!1!==o.createElementsBehavior&&i.forEach((function(e){n(e)}))}))}function Ahe(e){var t,n=e.host,i=x5(e),o=S5(i,n);t=o.indexOf("-")>=0?o.split("-"):[o];var r=_he.filter((function(e){return-1===t.indexOf(e)}));return r}function Ehe(e){var t=x5(e),n=[].concat(e.incoming.map((function(e){return e.waypoints[e.waypoints.length-2]})),e.outgoing.map((function(e){return e.waypoints[1]}))).map((function(e){return She(t,e)}));return n}function xhe(e){var t=x5(e.label),n=x5(e),i=She(n,t);if(Dhe(i)){var o=Ehe(e);if(e.host){var r=Ahe(e);o=o.concat(r)}var s=_he.filter((function(e){return-1===o.indexOf(e)}));if(-1===s.indexOf(i))return s[0]}}function She(e,t){return S5(t,e,5)}function Dhe(e){return-1!==_he.indexOf(e)}function khe(e){Wee.call(this,e),this.preExecute("shape.append",(function(e){var t=e.source,n=e.shape;e.position||(u9(n,"bpmn:TextAnnotation")?e.position={x:t.x+t.width/2+75,y:t.y-50-n.height/2}:e.position={x:t.x+t.width+80+n.width/2,y:t.y+t.height/2})}),!0)}function Lhe(e,t){e.invoke(Wee,this),this.postExecute("shape.move",(function(e){var n=e.newParent,i=e.shape,o=k1(i.incoming.concat(i.outgoing),(function(e){return u9(e,"bpmn:Association")}));L1(o,(function(e){t.moveConnection(e,{x:0,y:0},n)}))}),!0)}l1(Che,Wee),Che.$inject=["eventBus","modeling"],l1(khe,Wee),khe.$inject=["eventBus"],l1(Lhe,Wee),Lhe.$inject=["injector","modeling"];var Mhe=500;function Bhe(e,t){t.invoke(Wee,this),this._bpmnReplace=e;var n=this;this.postExecuted("elements.create",Mhe,(function(e){var t=e.elements;t=t.filter((function(e){var t=e.host;return Ihe(e,t)})),1===t.length&&t.map((function(e){return t.indexOf(e)})).forEach((function(i){var o=t[i];e.elements[i]=n._replaceShape(t[i],o)}))}),!0),this.preExecute("elements.move",Mhe,(function(e){var t=e.shapes,i=e.newHost;if(1===t.length){var o=t[0];Ihe(o,i)&&(e.shapes=[n._replaceShape(o,i)])}}),!0)}function Nhe(e){var t=g9(e),n=t.eventDefinitions;return n&&n[0]}function Ihe(e,t){return!e7(e)&&p9(e,["bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"])&&!!t}function The(e,t){function n(e){return k1(e.attachers,(function(e){return u9(e,"bpmn:BoundaryEvent")}))}Wee.call(this,e),this.postExecute("connection.create",(function(e){var i=e.context.source,o=e.context.target,r=n(o);u9(i,"bpmn:EventBasedGateway")&&u9(o,"bpmn:ReceiveTask")&&r.length>0&&t.removeElements(r)})),this.postExecute("connection.reconnect",(function(e){var i=e.context.oldSource,o=e.context.newSource;u9(i,"bpmn:Gateway")&&u9(o,"bpmn:EventBasedGateway")&&L1(o.outgoing,(function(e){var i=e.target,o=n(i);u9(i,"bpmn:ReceiveTask")&&o.length>0&&t.removeElements(o)}))}))}function Rhe(e){e.invoke(Wee,this),this.preExecute("shape.create",1500,(function(e){var t=e.context,n=t.parent,i=t.shape;u9(n,"bpmn:Lane")&&!u9(i,"bpmn:Lane")&&(t.parent=dle(n,"bpmn:Participant"))}))}function Phe(e,t){Wee.call(this,e),this.preExecute("shape.create",(function(e){var n=e.context,i=n.shape;if(u9(i,"bpmn:DataObjectReference")&&"label"!==i.type){var o=t.create("bpmn:DataObject");i.businessObject.dataObjectRef=o}}))}Bhe.$inject=["bpmnReplace","injector"],l1(Bhe,Wee),Bhe.prototype._replaceShape=function(e,t){var n=Nhe(e),i={type:"bpmn:BoundaryEvent",host:t};return n&&(i.eventDefinitionType=n.$type),this._bpmnReplace.replaceElement(e,i,{layoutConnection:!1})},The.$inject=["eventBus","modeling"],l1(The,Wee),Rhe.$inject=["injector"],l1(Rhe,Wee),Phe.$inject=["eventBus","bpmnFactory"],l1(Phe,Wee);var Fhe=20,Ohe=20,zhe=30,Vhe=2e3;function Whe(e,t,n){function i(){var t=e.getRootElement();return u9(t,"bpmn:Collaboration")?t:n.makeCollaboration()}Wee.call(this,t),t.on(["create.start","shape.move.start"],Vhe,(function(t){var n=t.context,i=n.shape,o=e.getRootElement();if(u9(i,"bpmn:Participant")&&u9(o,"bpmn:Process")&&o.children.length){var r=o.children.filter((function(e){return!u9(e,"bpmn:Group")&&!e7(e)&&!Qhe(e)}));if(r.length){var s=q4(r),a=Hhe(i,s);$1(i,a),n.createConstraints=jhe(i,s)}}})),t.on("create.start",Vhe,(function(n){var i=n.context,o=i.shape,r=e.getRootElement(),s=e.getGraphics(r);function a(e){e.element=r,e.gfx=s}u9(o,"bpmn:Participant")&&u9(r,"bpmn:Process")&&(t.on("element.hover",Vhe,a),t.once("create.cleanup",(function(){t.off("element.hover",a)})))})),this.preExecute("elements.create",Vhe,(function(e){var t,n=e.elements,o=e.parent,r=Uhe(n);r&&u9(o,"bpmn:Process")&&(e.parent=i(),t=e.hints=e.hints||{},t.participant=r,t.process=o,t.processRef=g9(r).get("processRef"))}),!0),this.preExecute("shape.create",(function(e){var t=e.parent,n=e.shape;u9(n,"bpmn:Participant")&&u9(t,"bpmn:Process")&&(e.parent=i(),e.process=t,e.processRef=g9(n).get("processRef"))}),!0),this.execute("shape.create",(function(e){var t=e.hints||{},n=e.process||t.process,i=e.shape,o=t.participant;!n||o&&i!==o||g9(i).set("processRef",g9(n))}),!0),this.revert("shape.create",(function(e){var t=e.hints||{},n=e.process||t.process,i=e.processRef||t.processRef,o=e.shape,r=t.participant;!n||r&&o!==r||g9(o).set("processRef",i)}),!0),this.postExecute("shape.create",(function(e){var t=e.hints||{},i=e.process||e.hints.process,o=e.shape,r=t.participant;if(i){var s=i.children.slice();r?o===r&&n.moveElements(s,{x:0,y:0},r):n.moveElements(s,{x:0,y:0},o)}}),!0)}function Hhe(e,t){t={width:t.width+2*Fhe+zhe,height:t.height+2*Ohe};var n=Math.max(e.width,t.width),i=Math.max(e.height,t.height);return{x:-n/2,y:-i/2,width:n,height:i}}function jhe(e,t){return t=w5(t),{bottom:t.top+e.height/2-Ohe,left:t.right-e.width/2+Fhe,top:t.bottom-e.height/2+Ohe,right:t.left+e.width/2-Fhe-zhe}}function Qhe(e){return!!e.waypoints}function Uhe(e){return S1(e,(function(e){return u9(e,"bpmn:Participant")}))}Whe.$inject=["canvas","eventBus","modeling"],l1(Whe,Wee);var Khe="__targetRef_placeholder";function Ghe(e,t){function n(e,t,n){var i=e.get("dataInputAssociations");return S1(i,(function(e){return e!==n&&e.targetRef===t}))}function i(e,n){var i=e.get("properties"),o=S1(i,(function(e){return e.name===Khe}));return!o&&n&&(o=t.create("bpmn:Property",{name:Khe}),s5(i,o)),o}function o(e,t){var o=i(e);o&&(n(e,o,t)||r5(e.get("properties"),o))}function r(e){var t,n=e.context,r=n.connection,s=r.businessObject,a=r.target,l=a&&a.businessObject,c=n.newTarget,h=c&&c.businessObject,d=n.oldTarget||n.target,u=d&&d.businessObject,p=r.businessObject;u&&u!==l&&o(u,s),h&&h!==l&&o(h,s),l?(t=i(l,!0),p.targetRef=t):p.targetRef=null}Wee.call(this,e),this.executed(["connection.create","connection.delete","connection.move","connection.reconnect"],Yhe(r)),this.reverted(["connection.create","connection.delete","connection.move","connection.reconnect"],Yhe(r))}function Yhe(e){return function(t){var n=t.context,i=n.connection;if(u9(i,"bpmn:DataInputAssociation"))return e(t)}}function $he(e){this._bpmnUpdater=e}function qhe(e,t,n,i){function o(){return n.filter((function(e){return u9(e,"bpmn:Participant")&&g9(e).processRef}))[0]}function r(e){return e.children.filter((function(e){return u9(e,"bpmn:DataStoreReference")&&!e.labelTarget}))}function s(e,n){var i=e.businessObject||e;if(n=n||o(),n){var r=n.businessObject||n;t.execute("dataStore.updateContainment",{dataStoreBo:i,dataStoreDi:m9(e),newSemanticParent:r.processRef||r,newDiParent:m9(n)})}}Wee.call(this,i),t.registerHandler("dataStore.updateContainment",$he),this.preExecute("shape.create",(function(e){var t=e.context,n=t.shape;u9(n,"bpmn:DataStoreReference")&&"label"!==n.type&&(t.hints||(t.hints={}),t.hints.autoResize=!1)})),this.preExecute("elements.move",(function(e){var t=e.context,n=t.shapes,i=n.filter((function(e){return u9(e,"bpmn:DataStoreReference")}));i.length&&(t.hints||(t.hints={}),t.hints.autoResize=n.filter((function(e){return!u9(e,"bpmn:DataStoreReference")})))})),this.postExecute("shape.create",(function(e){var t=e.context,n=t.shape,i=n.parent;u9(n,"bpmn:DataStoreReference")&&"label"!==n.type&&u9(i,"bpmn:Collaboration")&&s(n)})),this.postExecute("shape.move",(function(e){var t=e.context,n=t.shape,i=t.oldParent,o=n.parent;if(!u9(i,"bpmn:Collaboration")&&u9(n,"bpmn:DataStoreReference")&&"label"!==n.type&&u9(o,"bpmn:Collaboration")){var r=u9(i,"bpmn:Participant")?i:Xhe(i,"bpmn:Participant");s(n,r)}})),this.postExecute("shape.delete",(function(t){var n=t.context,i=n.shape,o=e.getRootElement();p9(i,["bpmn:Participant","bpmn:SubProcess"])&&u9(o,"bpmn:Collaboration")&&r(o).filter((function(e){return Jhe(e,i)})).forEach((function(e){s(e)}))})),this.postExecute("canvas.updateRoot",(function(e){var t=e.context,n=t.oldRoot,i=t.newRoot,o=r(n);o.forEach((function(e){u9(i,"bpmn:Process")&&s(e,i)}))}))}function Jhe(e,t){var n=e.businessObject||e,i=t.businessObject||t;while(n.$parent){if(n.$parent===i.processRef||i)return!0;n=n.$parent}return!1}function Xhe(e,t){while(e.parent){if(u9(e.parent,t))return e.parent;e=e.parent}}Ghe.$inject=["eventBus","bpmnFactory"],l1(Ghe,Wee),$he.$inject=["bpmnUpdater"],$he.prototype.execute=function(e){var t=e.dataStoreBo,n=e.dataStoreDi,i=e.newSemanticParent,o=e.newDiParent;return e.oldSemanticParent=t.$parent,e.oldDiParent=n.$parent,this._bpmnUpdater.updateSemanticParent(t,i),this._bpmnUpdater.updateDiParent(n,o),[]},$he.prototype.revert=function(e){var t=e.dataStoreBo,n=e.dataStoreDi,i=e.oldSemanticParent,o=e.oldDiParent;return this._bpmnUpdater.updateSemanticParent(t,i),this._bpmnUpdater.updateDiParent(n,o),[]},qhe.$inject=["canvas","commandStack","elementRegistry","eventBus"],l1(qhe,Wee);var Zhe=500;function ede(e,t){function n(e,n){var i,o,r,s=Mle(n),a=[],l=[];(K4(s,(function(t){return t.y>e.y?l.push(t):a.push(t),t.children})),s.length)&&(i=l.length&&a.length?e.height/2:e.height,a.length&&(o=t.calculateAdjustments(a,"y",i,e.y-10),t.makeSpace(o.movingShapes,o.resizingShapes,{x:0,y:i},"s")),l.length&&(r=t.calculateAdjustments(l,"y",-i,e.y+e.height+10),t.makeSpace(r.movingShapes,r.resizingShapes,{x:0,y:-i},"n")))}Wee.call(this,e),this.postExecuted("shape.delete",Zhe,(function(e){var t=e.context,i=t.hints,o=t.shape,r=t.oldParent;u9(o,"bpmn:Lane")&&(i&&i.nested||n(o,r))}))}ede.$inject=["eventBus","spaceTool"],l1(ede,Wee);var tde=500;function nde(e,t){t.invoke(Wee,this),this._bpmnReplace=e;var n=this;this.postExecuted("elements.create",tde,(function(e){var t=e.elements;t.filter((function(e){var t=e.host;return ode(e,t)})).map((function(e){return t.indexOf(e)})).forEach((function(i){e.elements[i]=n._replaceShape(t[i])}))}),!0),this.preExecute("elements.move",tde,(function(e){var t=e.shapes,i=e.newHost;t.forEach((function(e,o){var r=e.host;ode(e,rde(t,r)?r:i)&&(t[o]=n._replaceShape(e))}))}),!0)}function ide(e){var t=g9(e),n=t.eventDefinitions;return n&&n[0]}function ode(e,t){return!e7(e)&&u9(e,"bpmn:BoundaryEvent")&&!t}function rde(e,t){return-1!==e.indexOf(t)}function sde(e,t,n){function i(e,i,o){var r,s,a,l,c,h,d,u,p=i.waypoints,g=e.outgoing.slice(),m=e.incoming.slice();u=w1(o.width)?x5(o):o;var f=Cre(p,u);if(f){if(r=p.slice(0,f.index),s=p.slice(f.index+(f.bendpoint?1:0)),!r.length||!s.length)return;a=f.bendpoint?p[f.index]:u,1!==r.length&&ade(e,r[r.length-1])||r.push(lde(a)),1!==s.length&&ade(e,s[0])||s.unshift(lde(a))}l=i.source,c=i.target,t.canConnect(l,e,i)&&(n.reconnectEnd(i,e,r||u),h=i),t.canConnect(e,c,i)&&(h?d=n.connect(e,c,{type:i.type,waypoints:s}):(n.reconnectStart(i,e,s||u),d=i));var v=[].concat(h&&k1(m,(function(e){return e.source===h.source}))||[],d&&k1(g,(function(e){return e.target===d.target}))||[]);v.length&&n.removeElements(v)}Wee.call(this,e),this.preExecute("elements.move",(function(e){var n=e.newParent,i=e.shapes,o=e.delta,r=i[0];if(r&&n){n&&n.waypoints&&(e.newParent=n=n.parent);var s=x5(r),a={x:s.x+o.x,y:s.y+o.y},l=S1(n.children,(function(e){var n=t.canInsert(i,e);return n&&Cre(e.waypoints,a)}));l&&(e.targetFlow=l,e.position=a)}}),!0),this.postExecuted("elements.move",(function(e){var t=e.shapes,n=e.targetFlow,o=e.position;n&&i(t[0],n,o)}),!0),this.preExecute("shape.create",(function(e){var n=e.parent,i=e.shape;t.canInsert(i,n)&&(e.targetFlow=n,e.parent=n.parent)}),!0),this.postExecuted("shape.create",(function(e){var t=e.shape,n=e.targetFlow,o=e.position;n&&i(t,n,o)}),!0)}function ade(e,t){var n=t.x,i=t.y;return n>=e.x&&n<=e.x+e.width&&i>=e.y&&i<=e.y+e.height}function lde(e){return $1({},e)}function cde(e,t){Wee.call(this,e),this.preExecuted("connection.create",(function(e){var n=e.context,i=n.connection,o=n.source,r=n.target,s=n.hints;if((!s||!1!==s.createElementsBehavior)&&hde(i)){var a=[];a=u9(o,"bpmn:EventBasedGateway")?r.incoming.filter(hde):r.incoming.filter((function(e){return hde(e)&&u9(e.source,"bpmn:EventBasedGateway")})),a.forEach((function(e){t.removeConnection(e)}))}})),this.preExecuted("shape.replace",(function(e){var n=e.context,i=n.newShape;if(u9(i,"bpmn:EventBasedGateway")){var o=i.outgoing.filter(hde).reduce((function(e,t){return e.includes(t.target)?e:e.concat(t.target)}),[]);o.forEach((function(e){e.incoming.filter(hde).forEach((function(n){const o=e.incoming.filter(hde).filter((function(e){return e.source===i}));(n.source!==i||o.length>1)&&t.removeConnection(n)}))}))}}))}function hde(e){return u9(e,"bpmn:SequenceFlow")}nde.$inject=["bpmnReplace","injector"],l1(nde,Wee),nde.prototype._replaceShape=function(e){var t,n=ide(e);return t=n?{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:n.$type}:{type:"bpmn:IntermediateThrowEvent"},this._bpmnReplace.replaceElement(e,t,{layoutConnection:!1})},l1(sde,Wee),sde.$inject=["eventBus","bpmnRules","modeling"],cde.$inject=["eventBus","modeling"],l1(cde,Wee);var dde=1500,ude=2e3;function pde(e,t,n){t.on(["create.hover","create.move","create.out","create.end","shape.move.hover","shape.move.move","shape.move.out","shape.move.end"],dde,(function(t){var i=t.context,o=i.shape||t.shape,r=t.hover;u9(r,"bpmn:Lane")&&!p9(o,["bpmn:Lane","bpmn:Participant"])&&(t.hover=Ble(r),t.hoverGfx=e.getGraphics(t.hover));var s=n.getRootElement();r!==s&&(o.labelTarget||u9(o,"bpmn:Group"))&&(t.hover=s,t.hoverGfx=e.getGraphics(t.hover))})),t.on(["connect.hover","connect.out","connect.end","connect.cleanup","global-connect.hover","global-connect.out","global-connect.end","global-connect.cleanup"],dde,(function(t){var n=t.hover;u9(n,"bpmn:Lane")&&(t.hover=Ble(n)||n,t.hoverGfx=e.getGraphics(t.hover))})),t.on(["bendpoint.move.hover"],dde,(function(t){var n=t.context,i=t.hover,o=n.type;u9(i,"bpmn:Lane")&&/reconnect/.test(o)&&(t.hover=Ble(i)||i,t.hoverGfx=e.getGraphics(t.hover))})),t.on(["connect.start"],dde,(function(e){var t=e.context,n=t.start;u9(n,"bpmn:Lane")&&(t.start=Ble(n)||n)})),t.on("shape.move.start",ude,(function(e){var t=e.shape;u9(t,"bpmn:Lane")&&(e.shape=Ble(t)||t)}))}function gde(e){return e.create("bpmn:Category")}function mde(e){return e.create("bpmn:CategoryValue")}function fde(e,t,n){return s5(t.get("categoryValue"),e),e.$parent=t,s5(n.get("rootElements"),t),t.$parent=n,e}function vde(e){var t=e.$parent;return t&&(r5(t.get("categoryValue"),e),e.$parent=null),e}function bde(e){var t=e.$parent;return t&&(r5(t.get("rootElements"),e),e.$parent=null),e}pde.$inject=["elementRegistry","eventBus","canvas"];var yde=770;function _de(e,t,n,i,o,r){function s(){return n.filter((function(e){return u9(e,"bpmn:Group")}))}function a(e,t){return e.some((function(e){var n=g9(e),i=n.categoryValueRef&&n.categoryValueRef.$parent;return i===t}))}function l(e,t){return e.some((function(e){var n=g9(e);return n.categoryValueRef===t}))}function c(e,t,n){var i=s().filter((function(e){return e.businessObject!==n}));t&&!a(i,t)&&bde(t),e&&!l(i,e)&&vde(e)}function h(e,n){return fde(e,n,t.getDefinitions())}function d(n,i){var o=g9(n),r=o.categoryValueRef;r||(r=o.categoryValueRef=i.categoryValue=i.categoryValue||mde(e));var s=r.$parent;s||(s=r.$parent=i.category=i.category||gde(e)),h(r,s,t.getDefinitions())}function u(e,t){var n=t.category,i=t.categoryValue,o=g9(e);i?(o.categoryValueRef=null,c(i,n,o)):c(null,o.categoryValueRef.$parent,o)}function p(t,n){var i=e.create(t.$type);return r.copyElement(t,i,null,n)}o.invoke(Wee,this),this.execute("label.create",(function(e){var t=e.context,n=t.labelTarget;u9(n,"bpmn:Group")&&d(n,t)})),this.revert("label.create",(function(e){var t=e.context,n=t.labelTarget;u9(n,"bpmn:Group")&&u(n,t)})),this.execute("shape.delete",(function(e){var t=e.context,n=t.shape,i=g9(n);if(u9(n,"bpmn:Group")&&!n.labelTarget){var o,r=t.categoryValue=i.categoryValueRef;r&&(o=t.category=r.$parent,c(r,o,i),i.categoryValueRef=null)}})),this.reverted("shape.delete",(function(e){var t=e.context,n=t.shape;if(u9(n,"bpmn:Group")&&!n.labelTarget){var i=t.category,o=t.categoryValue,r=g9(n);o&&(r.categoryValueRef=o,h(o,i))}})),this.execute("shape.create",(function(e){var t=e.context,n=t.shape;u9(n,"bpmn:Group")&&!n.labelTarget&&g9(n).categoryValueRef&&d(n,t)})),this.reverted("shape.create",(function(e){var t=e.context,n=t.shape;u9(n,"bpmn:Group")&&!n.labelTarget&&g9(n).categoryValueRef&&u(n,t)})),i.on("copyPaste.copyElement",yde,(function(e){var t=e.descriptor,n=e.element;if(u9(n,"bpmn:Group")&&!n.labelTarget){var i=g9(n);if(i.categoryValueRef){var o=i.categoryValueRef;t.categoryValue=p(o,!0),o.$parent&&(t.category=p(o.$parent,!0))}}})),i.on("copyPaste.pasteElement",yde,(function(e){var t=e.descriptor,n=t.businessObject,i=t.categoryValue,o=t.category;i&&(i=n.categoryValueRef=p(i)),o&&(i.$parent=p(o)),delete t.category,delete t.categoryValue}))}function wde(e,t,n,i){var o,r,s,a,l;return o=(i.y-n.y)*(t.x-e.x)-(i.x-n.x)*(t.y-e.y),0==o?null:(r=e.y-n.y,s=e.x-n.x,l=(i.x-n.x)*r-(i.y-n.y)*s,a=l/o,{x:Math.round(e.x+a*(t.x-e.x)),y:Math.round(e.y+a*(t.y-e.y))})}function Cde(e){function t(e,t,n){var i,o={x:n.x,y:n.y-50},r={x:n.x-50,y:n.y},s=wde(e,t,n,o),a=wde(e,t,n,r);i=s&&a?Ade(s,n)>Ade(a,n)?a:s:s||a,e.original=i}function n(e){var n=e.waypoints;t(n[0],n[1],x5(e.source)),t(n[n.length-1],n[n.length-2],x5(e.target))}e.on("bpmnElement.added",(function(e){var t=e.element;t.waypoints&&n(t)}))}function Ade(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Ede(e){Wee.call(this,e);var t=["bpmn:Participant","bpmn:Lane"];this.executed(["shape.move","shape.create","shape.resize"],(function(e){var n=e.context.shape,i=g9(n),o=m9(n);p9(i,t)&&!o.get("isHorizontal")&&o.set("isHorizontal",!0)}))}_de.$inject=["bpmnFactory","bpmnjs","elementRegistry","eventBus","injector","moddleCopy"],l1(_de,Wee),Cde.$inject=["eventBus"],Ede.$inject=["eventBus"],l1(Ede,Wee);var xde=Math.sqrt,Sde=Math.min,Dde=Math.max,kde=Math.abs;function Lde(e){return Math.pow(e,2)}function Mde(e,t){return xde(Lde(e.x-t.x)+Lde(e.y-t.y))}function Bde(e,t){var n,i,o,r,s,a,l,c,h,d,u,p=0;for(p=0;p line intersections");1===l.length&&(c={type:"bendpoint",position:l[0],segmentIndex:p,bendpointIndex:Fde(n,l[0])?p:p+1}),2===l.length&&(s=Rde(l[0],l[1]),c={type:"segment",position:s,segmentIndex:p,relativeLocation:Mde(n,s)/Mde(n,i)}),h=Mde(c.position,e),(!u||d>h)&&(u=c,d=h)}return u}function Nde(e,t,n,i){var o=t.x-e.x,r=t.y-e.y,s=n.x-e.x,a=n.y-e.y,l=o*o+r*r,c=o*s+r*a,h=s*s+a*a-i*i,d=c/l,u=h/l,p=d*d-u;if(p<0&&p>-1e-6&&(p=0),p<0)return[];var g=xde(p),m=-d+g,f=-d-g,v={x:e.x-o*m,y:e.y-r*m};if(0===p)return[v];var b={x:e.x-o*f,y:e.y-r*f};return[v,b].filter((function(n){return Ide(n,e,t)}))}function Ide(e,t,n){return Tde(e.x,t.x,n.x)&&Tde(e.y,t.y,n.y)}function Tde(e,t,n){return e>=Sde(t,n)-Pde&&e<=Dde(t,n)+Pde}function Rde(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}}var Pde=.1;function Fde(e,t){return kde(e.x-t.x)<=Pde&&kde(e.y-t.y)<=Pde}function Ode(e,t,n,i){var o=n.segmentIndex,r=t.length-e.length;if(i.segmentMove){var s=i.segmentMove.segmentStartIndex,a=i.segmentMove.newSegmentStartIndex;return o===s?a:o>=a?o+r=h&&(l=c?o+1:o-1),ot.length-2||null===c)return s;var h=Hde(n,l),d=Hde(t,c),u=a.position,p=jde(h,u),g=Wde(h,d);if("bendpoint"===a.type){var m=t.length-n.length,f=a.bendpointIndex,v=n[f];if(-1!==t.indexOf(v))return s;if(0===m){var b=t[f];return o=b.x-a.position.x,r=b.y-a.position.y,{delta:{x:o,y:r},point:{x:e.x+o,y:e.y+r}}}m<0&&0!==f&&f{const t=g9(e.context.element);t===e.context.moddleElement&&o(e)}),this.postExecute(["shape.create","connection.create"],(function(e){var n=e.context,i=n.hints||{};if(!1!==i.createElementsBehavior){var o=n.shape||n.connection;!e7(o)&&Y9(o)&&i7(o)&&t.updateLabel(o,i7(o))}})),this.postExecute("shape.delete",(function(e){var n=e.context,i=n.labelTarget,o=n.hints||{};i&&!1!==o.unsetLabel&&t.updateLabel(i,null,null,{removeShape:!1})})),this.postExecute(["connection.layout","connection.updateWaypoints"],(function(e){var n=e.context,i=n.hints||{};if(!1!==i.labelBehavior){var o,s=n.connection,a=s.label;a&&a.parent&&(o=r(e),t.moveShape(a,o))}})),this.postExecute(["shape.replace"],(function(e){var t=e.context,n=t.newShape,i=t.oldShape,o=g9(n);o&&Y9(o)&&i.label&&n.label&&(n.label.x=i.label.x,n.label.y=i.label.y)})),this.postExecute("shape.resize",(function(e){var n=e.context,i=n.shape,o=n.newBounds,r=n.oldBounds;if($9(i)){var s=i.label,a=x5(s),l=nue(r),c=tue(a,l),h=eue(c,r,o);t.moveShape(s,h)}}))}function eue(e,t,n){var i=Ude(e,t,n);return _5(Yte(i,e))}function tue(e,t){if(t.length){var n=iue(e,t);return Dre(e,n)}}function nue(e){return[[{x:e.x,y:e.y},{x:e.x+(e.width||0),y:e.y}],[{x:e.x+(e.width||0),y:e.y},{x:e.x+(e.width||0),y:e.y+(e.height||0)}],[{x:e.x,y:e.y+(e.height||0)},{x:e.x+(e.width||0),y:e.y+(e.height||0)}],[{x:e.x,y:e.y},{x:e.x,y:e.y+(e.height||0)}]]}function iue(e,t){var n=t.map((function(t){return{line:t,distance:kre(e,t)}})),i=W1(n,"distance");return i[0].line}function oue(e,t,n,i){return zde(e,t,n,i).point}function rue(e,t){function n(e,t){var n=e.context,i=n.connection,o=$1({},n.hints),r=n.newWaypoints||i.waypoints,s=n.oldWaypoints;return"undefined"===typeof o.startChanged&&(o.startChanged=!!o.connectionStart),"undefined"===typeof o.endChanged&&(o.endChanged=!!o.connectionEnd),oue(t,r,s,o)}Wee.call(this,e),this.postExecute(["connection.layout","connection.updateWaypoints"],(function(e){var i=e.context,o=i.connection,r=o.outgoing,s=o.incoming;s.forEach((function(i){var o=i.waypoints[i.waypoints.length-1],r=n(e,o),s=[].concat(i.waypoints.slice(0,-1),[r]);t.updateWaypoints(i,s)})),r.forEach((function(i){var o=i.waypoints[0],r=n(e,o),s=[].concat([r],i.waypoints.slice(1));t.updateWaypoints(i,s)}))})),this.postExecute(["connection.move"],(function(e){var n=e.context,i=n.connection,o=i.outgoing,r=i.incoming,s=n.delta;r.forEach((function(e){var n=e.waypoints[e.waypoints.length-1],i={x:n.x+s.x,y:n.y+s.y},o=[].concat(e.waypoints.slice(0,-1),[i]);t.updateWaypoints(e,o)})),o.forEach((function(e){var n=e.waypoints[0],i={x:n.x+s.x,y:n.y+s.y},o=[].concat([i],e.waypoints.slice(1));t.updateWaypoints(e,o)}))}))}function sue(e,t,n){var i=due(e),o=uue(i,t),r=i[0];return o.length?o[o.length-1]:Ude(r.original||r,n,t)}function aue(e,t,n){var i=due(e),o=uue(i,t),r=i[i.length-1];return o.length?o[0]:Ude(r.original||r,n,t)}function lue(e,t,n){var i=due(e),o=hue(t,n),r=i[0];return Ude(r.original||r,o,t)}function cue(e,t,n){var i=due(e),o=hue(t,n),r=i[i.length-1];return Ude(r.original||r,o,t)}function hue(e,t){return{x:e.x-t.x,y:e.y-t.y,width:e.width,height:e.height}}function due(e){var t=e.waypoints;if(!t.length)throw new Error("connection#"+e.id+": no waypoints");return t}function uue(e,t){var n=T1(e,gue);return k1(n,(function(e){return pue(e,t)}))}function pue(e,t){return"intersect"===S5(t,e,1)}function gue(e){return e.original||e}function mue(e,t){Wee.call(this,e),this.postExecute("shape.replace",(function(e){var n=e.oldShape,i=e.newShape;if(fue(n,i)){var o=vue(n);o.incoming.forEach((function(e){var o=aue(e,i,n);t.reconnectEnd(e,i,o)})),o.outgoing.forEach((function(e){var o=sue(e,i,n);t.reconnectStart(e,i,o)}))}}),!0)}function fue(e,t){return u9(e,"bpmn:Participant")&&z9(e)&&u9(t,"bpmn:Participant")&&!z9(t)}function vue(e){var t=Y4([e],!1),n=[],i=[];return t.forEach((function(t){t!==e&&(t.incoming.forEach((function(e){u9(e,"bpmn:MessageFlow")&&n.push(e)})),t.outgoing.forEach((function(e){u9(e,"bpmn:MessageFlow")&&i.push(e)})))}),[]),{incoming:n,outgoing:i}}l1(Zde,Wee),Zde.$inject=["eventBus","modeling","bpmnFactory","textRenderer"],l1(rue,Wee),rue.$inject=["eventBus","modeling"],mue.$inject=["eventBus","modeling"],l1(mue,Wee);var bue="flow elements must be children of pools/participants";function yue(e,t,n){function i(e,n,i){t.add({position:{x:e.x+5,y:e.y+5},type:"error",timeout:i||2e3,html:"
"+n+"
"})}e.on(["shape.move.rejected","create.rejected"],(function(e){var t=e.context,o=t.shape,r=t.target;u9(r,"bpmn:Collaboration")&&u9(o,"bpmn:FlowNode")&&i(e,n(bue))}))}function _ue(e,t){Wee.call(this,e),this.preExecute("shape.resize",(function(e){var n=e.shape,i=m9(n),o=i&&i.get("label"),r=o&&o.get("bounds");r&&t.updateModdleProperties(n,o,{bounds:void 0})}),!0)}function wue(e,t,n){Wee.call(this,e),this.preExecute("shape.delete",(function(e){var i=e.context.shape;if(1===i.incoming.length&&1===i.outgoing.length){var o=i.incoming[0],r=i.outgoing[0];if(u9(o,"bpmn:SequenceFlow")&&u9(r,"bpmn:SequenceFlow")&&t.canConnect(o.source,r.target,o)){var s=Aue(o.waypoints,r.waypoints);n.reconnectEnd(o,r.target,s)}}}))}function Cue(e){return e.original||e}function Aue(e,t){var n=wde(Cue(e[e.length-2]),Cue(e[e.length-1]),Cue(t[1]),Cue(t[0]));return n?[].concat(e.slice(0,e.length-1),[n],t.slice(1)):[Cue(e[0]),Cue(t[t.length-1])]}function Eue(e,t){Wee.call(this,e),this.preExecute("shape.delete",(function(e){var t=e.shape,n=t.parent;u9(t,"bpmn:Participant")&&(e.collaborationRoot=n)}),!0),this.postExecute("shape.delete",(function(e){var n=e.collaborationRoot;n&&!n.businessObject.participants.length&&t.makeProcess()}),!0)}function xue(e,t,n,i){Wee.call(this,e);var o=i.get("dragging",!1);function r(e){var i,o,r=e.source,s=e.target,a=e.parent;a&&(u9(e,"bpmn:SequenceFlow")&&(n.canConnectSequenceFlow(r,s)||(o=!0),n.canConnectMessageFlow(r,s)&&(i="bpmn:MessageFlow")),u9(e,"bpmn:MessageFlow")&&(n.canConnectMessageFlow(r,s)||(o=!0),n.canConnectSequenceFlow(r,s)&&(i="bpmn:SequenceFlow")),u9(e,"bpmn:Association")&&!n.canConnectAssociation(r,s)&&(o=!0),o&&t.removeConnection(e),i&&t.connect(r,s,{type:i,waypoints:e.waypoints.slice()}))}function s(e){var i,r,s=e.context,l=s.connection,c=s.newSource||l.source,h=s.newTarget||l.target;i=n.canConnect(c,h),i&&i.type!==l.type&&(r=t.connect(c,h,{type:i.type,waypoints:l.waypoints.slice()}),t.removeConnection(l),s.connection=r,o&&a(l,r))}function a(e,t){var n,i=o.context(),r=i&&i.payload.previousSelection;r&&r.length&&(n=r.indexOf(e),-1!==n&&r.splice(n,1,t))}this.postExecuted("elements.move",(function(e){var t=e.closure,n=t.allConnections;L1(n,r)}),!0),this.preExecute("connection.reconnect",s),this.postExecuted("element.updateProperties",(function(e){var n,i=e.context,o=i.properties,r=i.element,s=r.businessObject;o.default&&(n=S1(r.outgoing,H1({id:r.businessObject.default.id})),n&&t.updateProperties(n,{conditionExpression:void 0})),o.conditionExpression&&s.sourceRef.default===s&&t.updateProperties(r.source,{default:void 0})}))}function Sue(e,t,n,i,o,r){i.invoke(Wee,this),this._bpmnReplace=e,this._elementRegistry=n,this._selection=r,this.postExecuted(["elements.create"],500,(function(e){var n=e.context,i=n.parent,o=n.elements,r=B1(o,(function(e,n){var o=t.canReplace([n],n.host||n.parent||i);return o?e.concat(o.replacements):e}),[]);r.length&&this._replaceElements(o,r)}),this),this.postExecuted(["elements.move"],500,(function(e){var n=e.context,i=n.newParent,o=n.newHost,r=[];L1(n.closure.topLevel,(function(e){r=W9(e)?r.concat(e.children):r.concat(e)})),1===r.length&&o&&(i=o);var s=t.canReplace(r,i);s&&this._replaceElements(r,s.replacements,o)}),this),this.postExecute(["shape.replace"],1500,(function(e){var n,i=e.context,o=i.oldShape,r=i.newShape,s=o.attachers;s&&s.length&&(n=t.canReplace(s,r),this._replaceElements(s,n.replacements))}),this),this.postExecuted(["shape.replace"],1500,(function(e){var t=e.context,n=t.oldShape,i=t.newShape;o.unclaimId(n.businessObject.id,n.businessObject),o.updateProperties(i,{id:n.id})}))}yue.$inject=["eventBus","tooltips","translate"],l1(_ue,Wee),_ue.$inject=["eventBus","modeling"],l1(wue,Wee),wue.$inject=["eventBus","bpmnRules","modeling"],Eue.$inject=["eventBus","modeling"],l1(Eue,Wee),l1(xue,Wee),xue.$inject=["eventBus","modeling","bpmnRules","injector"],l1(Sue,Wee),Sue.prototype._replaceElements=function(e,t){var n=this._elementRegistry,i=this._bpmnReplace,o=this._selection;L1(t,(function(t){var o={type:t.newElementType},r=n.get(t.oldElementId),s=e.indexOf(r);e[s]=i.replaceElement(r,o,{select:!1})})),t&&o.select(e)},Sue.$inject=["bpmnReplace","bpmnRules","elementRegistry","injector","modeling","selection"];var Due=1500,kue={width:140,height:120},Lue={width:300,height:60},Mue={width:300,height:150},Bue={width:140,height:120},Nue={width:50,height:30};function Iue(e){e.on("resize.start",Due,(function(e){var t=e.context,n=t.shape,i=t.direction,o=t.balanced;(u9(n,"bpmn:Lane")||u9(n,"bpmn:Participant"))&&(t.resizeConstraints=Que(n,i,o)),u9(n,"bpmn:Participant")&&(t.minDimensions=Mue),u9(n,"bpmn:SubProcess")&&z9(n)&&(t.minDimensions=Bue),u9(n,"bpmn:TextAnnotation")&&(t.minDimensions=Nue)}))}Iue.$inject=["eventBus"];var Tue=Math.abs,Rue=Math.min,Pue=Math.max;function Fue(e,t,n,i){var o=e[t];e[t]=void 0===o?n:i(n,o)}function Oue(e,t,n){return Fue(e,t,n,Rue)}function zue(e,t,n){return Fue(e,t,n,Pue)}var Vue=20,Wue=50,Hue=20,jue=20;function Que(e,t,n){var i=Ble(e),o=!0,r=!0,s=Lle(i,[i]),a=w5(e),l={},c={};/e/.test(t)?c.right=a.left+Lue.width:/w/.test(t)&&(c.left=a.right-Lue.width),s.forEach((function(e){var i=w5(e);/n/.test(t)&&(i.topa.bottom+10&&(r=!1),n&&Tue(a.bottom-i.top)<10&&Oue(l,"bottom",i.bottom-Lue.height),Tue(a.bottom-i.bottom)<5&&zue(c,"bottom",i.top+Lue.height))}));var h=i.children.filter((function(e){return!e.hidden&&!e.waypoints&&(u9(e,"bpmn:FlowElement")||u9(e,"bpmn:Artifact"))}));return h.forEach((function(e){var n=w5(e);o&&/n/.test(t)&&Oue(c,"top",n.top-Hue),/e/.test(t)&&zue(c,"right",n.right+Vue),r&&/s/.test(t)&&zue(c,"bottom",n.bottom+jue),/w/.test(t)&&Oue(c,"left",n.left-Wue)})),{min:c,max:l}}var Uue=1001;function Kue(e,t){e.on("resize.start",Uue+500,(function(e){var t=e.context,n=t.shape;(u9(n,"bpmn:Lane")||u9(n,"bpmn:Participant"))&&(t.balanced=!hee(e))})),e.on("resize.end",Uue,(function(e){var n=e.context,i=n.shape,o=n.canExecute,r=n.newBounds;if(u9(i,"bpmn:Lane")||u9(i,"bpmn:Participant"))return o&&(r=y5(r),t.resizeLane(i,r,n.balanced)),!1}))}Kue.$inject=["eventBus","modeling"];var Gue=500;function Yue(e,t,n,i,o){function r(e){return p9(e,["bpmn:ReceiveTask","bpmn:SendTask"])||$ue(e,["bpmn:ErrorEventDefinition","bpmn:EscalationEventDefinition","bpmn:MessageEventDefinition","bpmn:SignalEventDefinition"])}function s(t){var n=e.getDefinitions(),i=n.get("rootElements");return!!S1(i,H1({id:t.id}))}function a(e){return u9(e,"bpmn:ErrorEventDefinition")?"errorRef":u9(e,"bpmn:EscalationEventDefinition")?"escalationRef":u9(e,"bpmn:MessageEventDefinition")?"messageRef":u9(e,"bpmn:SignalEventDefinition")?"signalRef":void 0}function l(e){if(p9(e,["bpmn:ReceiveTask","bpmn:SendTask"]))return e.get("messageRef");var t=e.get("eventDefinitions"),n=t[0];return n.get(a(n))}function c(e,t){if(p9(e,["bpmn:ReceiveTask","bpmn:SendTask"]))return e.set("messageRef",t);var n=e.get("eventDefinitions"),i=n[0];return i.set(a(i),t)}n.invoke(Wee,this),this.executed(["shape.create","element.updateProperties","element.updateModdleProperties"],(function(t){var n=t.shape||t.element;if(r(n)){var i,o=g9(n),a=l(o);a&&!s(a)&&(i=e.getDefinitions().get("rootElements"),s5(i,a),t.addedRootElement=a)}}),!0),this.reverted(["shape.create","element.updateProperties","element.updateModdleProperties"],(function(t){var n=t.addedRootElement;if(n){var i=e.getDefinitions().get("rootElements");r5(i,n)}}),!0),t.on("copyPaste.copyElement",(function(e){var t=e.descriptor,n=e.element;if(!n.labelTarget&&r(n)){var i=g9(n),o=l(i);o&&(t.referencedRootElement=o)}})),t.on("copyPaste.pasteElement",Gue,(function(e){var t=e.descriptor,n=t.businessObject,r=t.referencedRootElement;r&&(s(r)||(r=i.copyElement(r,o.create(r.$type))),c(n,r),delete t.referencedRootElement)}))}function $ue(e,t){return y1(t)||(t=[t]),I1(t,(function(t){return H9(e,t)}))}Yue.$inject=["bpmnjs","eventBus","injector","moddleCopy","bpmnFactory"],l1(Yue,Wee);var que=Math.max;function Jue(e){e.on("spaceTool.getMinDimensions",(function(e){var t=e.shapes,n=e.axis,i=e.start,o={};return L1(t,(function(e){var t=e.id;u9(e,"bpmn:Participant")&&(Xue(n)?o[t]=Mue:o[t]={width:Mue.width,height:Zue(e,i)}),u9(e,"bpmn:SubProcess")&&z9(e)&&(o[t]=Bue),u9(e,"bpmn:TextAnnotation")&&(o[t]=Nue),u9(e,"bpmn:Group")&&(o[t]=kue)})),o}))}function Xue(e){return"x"===e}function Zue(e,t){var n;return epe(e)?(n=tpe(e,t),que(Mue.height,n)):Mue.height}function epe(e){return!!Mle(e).length}function tpe(e,t){var n,i=Mle(e);return n=npe(i,t),e.height-n.height+Lue.height}function npe(e,t){var n,i,o;for(n=0;n=i.y&&t<=i.y+i.height)return o=Mle(i),o.length?npe(o,t):i}Jue.$inject=["eventBus"];var ipe=400,ope=600,rpe={x:180,y:160};function spe(e,t,n,i,o,r,s){Wee.call(this,t),this._canvas=e,this._eventBus=t,this._modeling=n,this._elementFactory=i,this._bpmnFactory=o,this._bpmnjs=r,this._elementRegistry=s;var a=this;function l(e){return u9(e,"bpmn:SubProcess")&&!z9(e)}function c(t){var n=t.shape,i=t.newRootElement,o=g9(n);i=a._addDiagram(i||o),t.newRootElement=e.addRootElement(i)}function h(t){var n=t.shape,i=g9(n);a._removeDiagram(i);var o=t.newRootElement=s.get(Jee(i));e.removeRootElement(o)}this.executed("shape.create",(function(e){var t=e.shape;l(t)&&c(e)}),!0),this.postExecuted("shape.create",(function(e){var t=e.shape,n=e.newRootElement;n&&t.children&&(a._showRecursively(t.children),a._moveChildrenToShape(t,n))}),!0),this.reverted("shape.create",(function(e){var t=e.shape;l(t)&&h(e)}),!0),this.preExecuted("shape.delete",(function(e){var t=e.shape;if(l(t)){var i=s.get(Jee(t));i&&n.removeElements(i.children.slice())}}),!0),this.executed("shape.delete",(function(e){var t=e.shape;l(t)&&h(e)}),!0),this.reverted("shape.delete",(function(e){var t=e.shape;l(t)&&c(e)}),!0),this.preExecuted("shape.replace",(function(t){var n=t.oldShape,i=t.newShape;l(n)&&l(i)&&(t.oldRoot=e.removeRootElement(Jee(n)))}),!0),this.postExecuted("shape.replace",(function(t){var i=t.newShape,o=t.oldRoot,r=e.findRoot(Jee(i));if(o&&r){var s=o.children;n.moveElements(s,{x:0,y:0},r)}}),!0),this.executed("element.updateProperties",(function(e){var t=e.element;if(u9(t,"bpmn:SubProcess")){var n=e.properties,i=e.oldProperties,o=i.id,r=n.id;if(o!==r){if(Zee(t))return s.updateId(t,Xee(r)),void s.updateId(o,r);var a=s.get(Xee(o));a&&s.updateId(Xee(o),Xee(r))}}}),!0),this.reverted("element.updateProperties",(function(e){var t=e.element;if(u9(t,"bpmn:SubProcess")){var n=e.properties,i=e.oldProperties,o=i.id,r=n.id;if(o!==r){if(Zee(t))return s.updateId(t,Xee(o)),void s.updateId(r,o);var a=s.get(Xee(r));a&&s.updateId(a,Xee(o))}}}),!0),t.on("element.changed",(function(e){var n=e.element;if(Zee(n)){var i=n,o=s.get(qee(i));o&&o!==i&&t.fire("element.changed",{element:o})}})),this.executed("shape.toggleCollapse",ipe,(function(e){var t=e.shape;u9(t,"bpmn:SubProcess")&&(z9(t)?h(e):(c(e),a._showRecursively(t.children)))}),!0),this.reverted("shape.toggleCollapse",ipe,(function(e){var t=e.shape;u9(t,"bpmn:SubProcess")&&(z9(t)?h(e):(c(e),a._showRecursively(t.children)))}),!0),this.postExecuted("shape.toggleCollapse",ope,(function(e){var t=e.shape;if(u9(t,"bpmn:SubProcess")){var n=e.newRootElement;n&&(z9(t)?a._moveChildrenToShape(n,t):a._moveChildrenToShape(t,n))}}),!0),t.on("copyPaste.createTree",(function(e){var t=e.element,n=e.children;if(l(t)){var i=Jee(t),o=s.get(i);o&&n.push.apply(n,o.children)}})),t.on("copyPaste.copyElement",(function(e){var t=e.descriptor,n=e.element,i=e.elements,o=n.parent,r=u9(m9(o),"bpmndi:BPMNPlane");if(r){var s=qee(o),a=S1(i,(function(e){return e.id===s}));a&&(t.parent=a.id)}})),t.on("copyPaste.pasteElement",(function(e){var t=e.descriptor;t.parent&&(l(t.parent)||t.parent.hidden)&&(t.hidden=!0)}))}function ape(e,t){e.invoke(Wee,this),this.postExecuted("shape.replace",(function(e){var n=e.context.oldShape,i=e.context.newShape;if(u9(i,"bpmn:SubProcess")&&(u9(n,"bpmn:Task")||u9(n,"bpmn:CallActivity"))&&z9(i)){var o=lpe(i);t.createShape({type:"bpmn:StartEvent"},o,i)}}))}function lpe(e){return{x:e.x+e.width/6,y:e.y+e.height/2}}function cpe(e,t){Wee.call(this,e),this.postExecuted("shape.toggleCollapse",1500,(function(e){var n=e.shape;if(!z9(n)){var i=Y4(n);i.forEach((function(e){var t=e.incoming.slice(),n=e.outgoing.slice();L1(t,(function(e){o(e,!0)})),L1(n,(function(e){o(e,!1)}))}))}function o(e,o){-1!==i.indexOf(e.source)&&-1!==i.indexOf(e.target)||(o?t.reconnectEnd(e,n,x5(n)):t.reconnectStart(e,n,x5(n)))}}),!0)}l1(spe,Wee),spe.prototype._moveChildrenToShape=function(e,t){var n,i=this._modeling,o=e.children;if(o){o=o.concat(o.reduce((function(t,n){return n.label&&n.label.parent!==e?t.concat(n.label):t}),[]));var r=o.filter((function(e){return!e.hidden}));if(r.length){var s=q4(r);if(t.x){var a=x5(t),l=x5(s);n={x:a.x-l.x,y:a.y-l.y}}else n={x:rpe.x-s.x,y:rpe.y-s.y};i.moveElements(o,n,t,{autoResize:!1})}else i.moveElements(o,{x:0,y:0},t,{autoResize:!1})}},spe.prototype._showRecursively=function(e,t){var n=this,i=[];return e.forEach((function(e){e.hidden=!!t,i=i.concat(e),e.children&&(i=i.concat(n._showRecursively(e.children,e.collapsed||t)))})),i},spe.prototype._addDiagram=function(e){var t=this._bpmnjs,n=t.getDefinitions().diagrams;return e.businessObject||(e=this._createNewDiagram(e)),n.push(e.di.$parent),e},spe.prototype._createNewDiagram=function(e){var t=this._bpmnFactory,n=this._elementFactory,i=t.create("bpmndi:BPMNPlane",{bpmnElement:e}),o=t.create("bpmndi:BPMNDiagram",{plane:i});i.$parent=o;var r=n.createRoot({id:Jee(e),type:e.$type,di:i,businessObject:e,collapsed:!0});return r},spe.prototype._removeDiagram=function(e){var t=this._bpmnjs,n=t.getDefinitions().diagrams,i=S1(n,(function(t){return t.plane.bpmnElement.id===e.id}));return n.splice(n.indexOf(i),1),i},spe.$inject=["canvas","eventBus","modeling","elementFactory","bpmnFactory","bpmnjs","elementRegistry"],ape.$inject=["injector","modeling"],l1(ape,Wee),l1(cpe,Wee),cpe.$inject=["eventBus","modeling"];var hpe=500;function dpe(e,t,n){function i(e){e.length&&e.forEach((function(e){"label"!==e.type||e.businessObject.name||(e.hidden=!0)}))}function o(e,t){var n,i,o=e.children,r=t;return n=upe(o).concat([e]),i=Ele(n),i?(r.width=Math.max(i.width,r.width),r.height=Math.max(i.height,r.height),r.x=i.x+(i.width-r.width)/2,r.y=i.y+(i.height-r.height)/2):(r.x=e.x+(e.width-r.width)/2,r.y=e.y+(e.height-r.height)/2),r}function r(e,t){return{x:e.x+(e.width-t.width)/2,y:e.y+(e.height-t.height)/2,width:t.width,height:t.height}}Wee.call(this,e),this.executed(["shape.toggleCollapse"],hpe,(function(e){var t=e.context,n=t.shape;u9(n,"bpmn:SubProcess")&&(n.collapsed?m9(n).isExpanded=!1:(i(n.children),m9(n).isExpanded=!0))})),this.reverted(["shape.toggleCollapse"],hpe,(function(e){var t=e.context,n=t.shape;n.collapsed?m9(n).isExpanded=!1:m9(n).isExpanded=!0})),this.postExecuted(["shape.toggleCollapse"],hpe,(function(e){var i,s=e.context.shape,a=t.getDefaultSize(s);i=s.collapsed?r(s,a):o(s,a),n.resizeShape(s,i,null,{autoResize:!s.collapsed&&"nwse"})}))}function upe(e){return e.filter((function(e){return!e.hidden}))}function ppe(e,t,n,i){t.invoke(Wee,this),this.preExecute("shape.delete",(function(e){var t=e.context,o=t.shape,r=o.businessObject;e7(o)||(u9(o,"bpmn:Participant")&&z9(o)&&n.ids.unclaim(r.processRef.id),i.unclaimId(r.id,r))})),this.preExecute("connection.delete",(function(e){var t=e.context,n=t.connection,o=n.businessObject;i.unclaimId(o.id,o)})),this.preExecute("canvas.updateRoot",(function(){var t=e.getRootElement(),i=t.businessObject;u9(t,"bpmn:Collaboration")&&n.ids.unclaim(i.id)}))}function gpe(e,t){Wee.call(this,e),this.preExecute("connection.delete",(function(e){var n=e.context,i=n.connection,o=i.source;mpe(i,o)&&t.updateProperties(o,{default:null})}))}function mpe(e,t){if(!u9(e,"bpmn:SequenceFlow"))return!1;var n=g9(t),i=g9(e);return n.get("default")===i}l1(dpe,Wee),dpe.$inject=["eventBus","elementFactory","modeling"],l1(ppe,Wee),ppe.$inject=["canvas","injector","moddle","modeling"],l1(gpe,Wee),gpe.$inject=["eventBus","modeling"];var fpe=500,vpe=5e3;function bpe(e,t,n){var i;function o(){return i=i||new ype,i.enter(),i}function r(){if(!i)throw new Error(n("out of bounds release"));return i}function s(){if(!i)throw new Error(n("out of bounds release"));var e=i.leave();return e&&(t.updateLaneRefs(i.flowNodes,i.lanes),i=null),e}Wee.call(this,e);var a=["spaceTool","lane.add","lane.resize","lane.split","elements.create","elements.delete","elements.move","shape.create","shape.delete","shape.move","shape.resize"];this.preExecute(a,vpe,(function(e){o()})),this.postExecuted(a,fpe,(function(e){s()})),this.preExecute(["shape.create","shape.move","shape.delete","shape.resize"],(function(e){var t=e.context,n=t.shape,i=r();n.labelTarget||(u9(n,"bpmn:Lane")&&i.addLane(n),u9(n,"bpmn:FlowNode")&&i.addFlowNode(n))}))}function ype(){this.flowNodes=[],this.lanes=[],this.counter=0,this.addLane=function(e){this.lanes.push(e)},this.addFlowNode=function(e){this.flowNodes.push(e)},this.enter=function(){this.counter++},this.leave=function(){return this.counter--,!this.counter}}bpe.$inject=["eventBus","modeling","translate"],l1(bpe,Wee);var _pe={__init__:["adaptiveLabelPositioningBehavior","appendBehavior","associationBehavior","attachEventBehavior","boundaryEventBehavior","createBehavior","createDataObjectBehavior","createParticipantBehavior","dataInputAssociationBehavior","dataStoreBehavior","deleteLaneBehavior","detachEventBehavior","dropOnFlowBehavior","eventBasedGatewayBehavior","fixHoverBehavior","groupBehavior","importDockingFix","isHorizontalFix","labelBehavior","layoutConnectionBehavior","messageFlowBehavior","modelingFeedback","removeElementBehavior","removeEmbeddedLabelBoundsBehavior","removeParticipantBehavior","replaceConnectionBehavior","replaceElementBehaviour","resizeBehavior","resizeLaneBehavior","rootElementReferenceBehavior","spaceToolBehavior","subProcessPlaneBehavior","subProcessStartEventBehavior","toggleCollapseConnectionBehaviour","toggleElementCollapseBehaviour","unclaimIdBehavior","updateFlowNodeRefsBehavior","unsetDefaultFlowBehavior"],adaptiveLabelPositioningBehavior:["type",Che],appendBehavior:["type",khe],associationBehavior:["type",Lhe],attachEventBehavior:["type",Bhe],boundaryEventBehavior:["type",The],createBehavior:["type",Rhe],createDataObjectBehavior:["type",Phe],createParticipantBehavior:["type",Whe],dataInputAssociationBehavior:["type",Ghe],dataStoreBehavior:["type",qhe],deleteLaneBehavior:["type",ede],detachEventBehavior:["type",nde],dropOnFlowBehavior:["type",sde],eventBasedGatewayBehavior:["type",cde],fixHoverBehavior:["type",pde],groupBehavior:["type",_de],importDockingFix:["type",Cde],isHorizontalFix:["type",Ede],labelBehavior:["type",Zde],layoutConnectionBehavior:["type",rue],messageFlowBehavior:["type",mue],modelingFeedback:["type",yue],removeElementBehavior:["type",wue],removeEmbeddedLabelBoundsBehavior:["type",_ue],removeParticipantBehavior:["type",Eue],replaceConnectionBehavior:["type",xue],replaceElementBehaviour:["type",Sue],resizeBehavior:["type",Iue],resizeLaneBehavior:["type",Kue],rootElementReferenceBehavior:["type",Yue],spaceToolBehavior:["type",Jue],subProcessPlaneBehavior:["type",spe],subProcessStartEventBehavior:["type",ape],toggleCollapseConnectionBehaviour:["type",cpe],toggleElementCollapseBehaviour:["type",dpe],unclaimIdBehavior:["type",ppe],unsetDefaultFlowBehavior:["type",gpe],updateFlowNodeRefsBehavior:["type",bpe]};function wpe(e,t){var n=S5(e,t,-15);return"intersect"!==n?n:null}function Cpe(e){boe.call(this,e)}function Ape(e){return Epe(e)?null:p9(e,["bpmn:FlowNode","bpmn:InteractionNode","bpmn:DataObjectReference","bpmn:DataStoreReference","bpmn:Group","bpmn:TextAnnotation"])}function Epe(e){return!e||e7(e)}function xpe(e,t){return e===t}function Spe(e){do{if(u9(e,"bpmn:Process"))return g9(e);if(u9(e,"bpmn:Participant"))return g9(e).processRef||g9(e)}while(e=e.parent)}function Dpe(e){return u9(e,"bpmn:TextAnnotation")}function kpe(e){return u9(e,"bpmn:Group")&&!e.labelTarget}function Lpe(e){return u9(e,"bpmn:BoundaryEvent")&&Ppe(e,"bpmn:CompensateEventDefinition")}function Mpe(e){return g9(e).isForCompensation}function Bpe(e,t){var n=Spe(e),i=Spe(t);return n===i}function Npe(e){return u9(e,"bpmn:InteractionNode")&&!u9(e,"bpmn:BoundaryEvent")&&(!u9(e,"bpmn:Event")||u9(e,"bpmn:ThrowEvent")&&Fpe(e,"bpmn:MessageEventDefinition"))}function Ipe(e){return u9(e,"bpmn:InteractionNode")&&!Mpe(e)&&(!u9(e,"bpmn:Event")||u9(e,"bpmn:CatchEvent")&&Fpe(e,"bpmn:MessageEventDefinition"))&&!(u9(e,"bpmn:BoundaryEvent")&&!Ppe(e,"bpmn:MessageEventDefinition"))}function Tpe(e){var t=e;while(t=t.parent){if(u9(t,"bpmn:FlowElementsContainer"))return g9(t);if(u9(t,"bpmn:Participant"))return g9(t).processRef}return null}function Rpe(e,t){var n=Tpe(e),i=Tpe(t);return n===i}function Ppe(e,t){var n=g9(e);return!!S1(n.eventDefinitions||[],(function(e){return u9(e,t)}))}function Fpe(e,t){var n=g9(e);return(n.eventDefinitions||[]).every((function(e){return u9(e,t)}))}function Ope(e){return u9(e,"bpmn:FlowNode")&&!u9(e,"bpmn:EndEvent")&&!W9(e)&&!(u9(e,"bpmn:IntermediateThrowEvent")&&Ppe(e,"bpmn:LinkEventDefinition"))&&!Lpe(e)&&!Mpe(e)}function zpe(e){return u9(e,"bpmn:FlowNode")&&!u9(e,"bpmn:StartEvent")&&!u9(e,"bpmn:BoundaryEvent")&&!W9(e)&&!(u9(e,"bpmn:IntermediateCatchEvent")&&Ppe(e,"bpmn:LinkEventDefinition"))&&!Mpe(e)}function Vpe(e){return u9(e,"bpmn:ReceiveTask")||u9(e,"bpmn:IntermediateCatchEvent")&&(Ppe(e,"bpmn:MessageEventDefinition")||Ppe(e,"bpmn:TimerEventDefinition")||Ppe(e,"bpmn:ConditionalEventDefinition")||Ppe(e,"bpmn:SignalEventDefinition"))}function Wpe(e){return e.waypoints}function Hpe(e){var t=[];while(e)e=e.parent,e&&t.push(e);return t}function jpe(e,t){var n=Hpe(t);return-1!==n.indexOf(e)}function Qpe(e,t,n){if(Epe(e)||Epe(t))return null;if(!u9(n,"bpmn:DataAssociation")){if(age(e,t))return{type:"bpmn:MessageFlow"};if(lge(e,t))return{type:"bpmn:SequenceFlow"}}var i=cge(e,t);return i||(Lpe(e)&&Mpe(t)?{type:"bpmn:Association",associationDirection:"One"}:!!sge(e,t)&&{type:"bpmn:Association"})}function Upe(e,t){return!(!e7(e)&&!kpe(e))||!(u9(t,"bpmn:Participant")&&!z9(t))&&(u9(e,"bpmn:Participant")?u9(t,"bpmn:Process")||u9(t,"bpmn:Collaboration"):p9(e,["bpmn:DataInput","bpmn:DataOutput"])&&e.parent?t===e.parent:u9(e,"bpmn:Lane")?u9(t,"bpmn:Participant")||u9(t,"bpmn:Lane"):!(u9(e,"bpmn:BoundaryEvent")&&!Kpe(e))&&(u9(e,"bpmn:FlowElement")&&!u9(e,"bpmn:DataStoreReference")?u9(t,"bpmn:FlowElementsContainer")?z9(t):p9(t,["bpmn:Participant","bpmn:Lane"]):u9(e,"bpmn:DataStoreReference")&&u9(t,"bpmn:Collaboration")?I1(g9(t).get("participants"),(function(e){return!!e.get("processRef")})):p9(e,["bpmn:Artifact","bpmn:DataAssociation","bpmn:DataStoreReference"])?p9(t,["bpmn:Collaboration","bpmn:Lane","bpmn:Participant","bpmn:Process","bpmn:SubProcess"]):!!u9(e,"bpmn:MessageFlow")&&(u9(t,"bpmn:Collaboration")||e.source.parent==t||e.target.parent==t)))}function Kpe(e){return g9(e).cancelActivity&&(qpe(e)||Jpe(e))}function Gpe(e){return!e7(e)&&u9(e,"bpmn:BoundaryEvent")}function Ype(e){return u9(e,"bpmn:Lane")}function $pe(e){return!!Gpe(e)||(!(!u9(e,"bpmn:IntermediateThrowEvent")||!qpe(e))||u9(e,"bpmn:IntermediateCatchEvent")&&Jpe(e))}function qpe(e){var t=g9(e);return t&&!(t.eventDefinitions&&t.eventDefinitions.length)}function Jpe(e){return Xpe(e,["bpmn:MessageEventDefinition","bpmn:TimerEventDefinition","bpmn:SignalEventDefinition","bpmn:ConditionalEventDefinition"])}function Xpe(e,t){return t.some((function(t){return Ppe(e,t)}))}function Zpe(e){return u9(e,"bpmn:ReceiveTask")&&S1(e.incoming,(function(e){return u9(e.source,"bpmn:EventBasedGateway")}))}function ege(e,t,n,i){if(Array.isArray(e)||(e=[e]),1!==e.length)return!1;var o=e[0];return!e7(o)&&(!!$pe(o)&&(!W9(t)&&(!(!u9(t,"bpmn:Activity")||Mpe(t))&&(!(i&&!wpe(i,t))&&(!Zpe(t)&&"attach")))))}function tge(e,t,n){if(!t)return!1;var i={replacements:[]};return L1(e,(function(e){W9(t)||u9(e,"bpmn:StartEvent")&&"label"!==e.type&&Upe(e,t)&&(V9(e)||i.replacements.push({oldElementId:e.id,newElementType:"bpmn:StartEvent"}),(j9(e)||Q9(e)||U9(e))&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:StartEvent"}),Xpe(e,["bpmn:MessageEventDefinition","bpmn:TimerEventDefinition","bpmn:SignalEventDefinition","bpmn:ConditionalEventDefinition"])&&u9(t,"bpmn:SubProcess")&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:StartEvent"})),u9(t,"bpmn:Transaction")||Ppe(e,"bpmn:CancelEventDefinition")&&"label"!==e.type&&(u9(e,"bpmn:EndEvent")&&Upe(e,t)&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:EndEvent"}),u9(e,"bpmn:BoundaryEvent")&&ege(e,t,null,n)&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:BoundaryEvent"}))})),!!i.replacements.length&&i}function nge(e,t){return!I1(e,Ype)&&(!t||e.every((function(e){return Upe(e,t)})))}function ige(e,t,n,i){return!!t&&(!(!e7(e)&&!kpe(e))||!xpe(n,t)&&((!n||!jpe(n,t))&&(Upe(e,t,i)||hge(e,t,i))))}function oge(e,t){return u9(e,"bpmn:SubProcess")?z9(e)&&(!t||t.width>=100&&t.height>=80):u9(e,"bpmn:Lane")?!t||t.width>=130&&t.height>=60:u9(e,"bpmn:Participant")?!t||t.width>=250&&t.height>=50:!!Dpe(e)||!!kpe(e)}function rge(e,t){var n=Dpe(e),i=Dpe(t);return(n||i)&&n!==i}function sge(e,t){return!(!Lpe(e)||!Mpe(t))||!jpe(t,e)&&!jpe(e,t)&&(!!rge(e,t)||!!cge(e,t))}function age(e,t){return!(pge(e)&&!pge(t))&&(Npe(e)&&Ipe(t)&&!Bpe(e,t))}function lge(e,t){return Ope(e)&&zpe(t)&&Rpe(e,t)&&!(u9(e,"bpmn:EventBasedGateway")&&!Vpe(t))}function cge(e,t){return p9(e,["bpmn:DataObjectReference","bpmn:DataStoreReference"])&&p9(t,["bpmn:Activity","bpmn:ThrowEvent"])?{type:"bpmn:DataInputAssociation"}:!(!p9(t,["bpmn:DataObjectReference","bpmn:DataStoreReference"])||!p9(e,["bpmn:Activity","bpmn:CatchEvent"]))&&{type:"bpmn:DataOutputAssociation"}}function hge(e,t,n){if(!t)return!1;if(Array.isArray(e)){if(1!==e.length)return!1;e=e[0]}return t.source!==e&&t.target!==e&&(p9(t,["bpmn:SequenceFlow","bpmn:MessageFlow"])&&!e7(t)&&u9(e,"bpmn:FlowNode")&&!u9(e,"bpmn:BoundaryEvent")&&Upe(e,t.parent,n))}function dge(e,t){return e&&t&&-1!==e.indexOf(t)}function uge(e,t){return!!e7(t)||!(u9(t,"bpmn:Lane")&&!dge(e,t.parent))}function pge(e){return dle(e,"bpmn:Process")||dle(e,"bpmn:Collaboration")}l1(Cpe,boe),Cpe.$inject=["eventBus"],Cpe.prototype.init=function(){this.addRule("connection.start",(function(e){var t=e.source;return Ape(t)})),this.addRule("connection.create",(function(e){var t=e.source,n=e.target,i=e.hints||{},o=i.targetParent,r=i.targetAttach;if(r)return!1;o&&(n.parent=o);try{return Qpe(t,n)}finally{o&&(n.parent=null)}})),this.addRule("connection.reconnect",(function(e){var t=e.connection,n=e.source,i=e.target;return Qpe(n,i,t)})),this.addRule("connection.updateWaypoints",(function(e){return{type:e.connection.type}})),this.addRule("shape.resize",(function(e){var t=e.shape,n=e.newBounds;return oge(t,n)})),this.addRule("elements.create",(function(e){var t=e.elements,n=e.position,i=e.target;return!(Wpe(i)&&!hge(t,i,n))&&N1(t,(function(e){return Wpe(e)?Qpe(e.source,e.target,e):e.host?ege(e,e.host,null,n):ige(e,i,null,n)}))})),this.addRule("elements.move",(function(e){var t=e.target,n=e.shapes,i=e.position;return ege(n,t,null,i)||tge(n,t,i)||nge(n,t,i)||hge(n,t,i)})),this.addRule("shape.create",(function(e){return ige(e.shape,e.target,e.source,e.position)})),this.addRule("shape.attach",(function(e){return ege(e.shape,e.target,null,e.position)})),this.addRule("element.copy",(function(e){var t=e.element,n=e.elements;return uge(n,t)}))},Cpe.prototype.canConnectMessageFlow=age,Cpe.prototype.canConnectSequenceFlow=lge,Cpe.prototype.canConnectDataAssociation=cge,Cpe.prototype.canConnectAssociation=sge,Cpe.prototype.canMove=nge,Cpe.prototype.canAttach=ege,Cpe.prototype.canReplace=tge,Cpe.prototype.canDrop=Upe,Cpe.prototype.canInsert=hge,Cpe.prototype.canCreate=ige,Cpe.prototype.canConnect=Qpe,Cpe.prototype.canResize=oge,Cpe.prototype.canCopy=uge;var gge={__depends__:[gre],__init__:["bpmnRules"],bpmnRules:["type",Cpe]},mge=2e3;function fge(e,t){function n(){var e=t.getRootElements();L1(e,(function(e){var t,n,i=m9(e);t=Y4([e],!1),t=k1(t,(function(t){return t!==e&&!t.labelTarget})),n=T1(t,m9),i.set("planeElement",n)}))}e.on("saveXML.start",mge,n)}fge.$inject=["eventBus","canvas"];var vge={__init__:["bpmnDiOrdering"],bpmnDiOrdering:["type",fge]};function bge(e){Wee.call(this,e);var t=this;this.preExecute(["shape.create","connection.create"],(function(e){var n=e.context,i=n.shape||n.connection,o=n.parent,r=t.getOrdering(i,o);r&&(void 0!==r.parent&&(n.parent=r.parent),n.parentIndex=r.index)})),this.preExecute(["shape.move","connection.move"],(function(e){var n=e.context,i=n.shape||n.connection,o=n.newParent||i.parent,r=t.getOrdering(i,o);r&&(void 0!==r.parent&&(n.newParent=r.parent),n.newParentIndex=r.index)}))}function yge(e,t,n){bge.call(this,e);var i=[{type:"bpmn:SubProcess",order:{level:6}},{type:"bpmn:SequenceFlow",order:{level:9,containers:["bpmn:Participant","bpmn:FlowElementsContainer"]}},{type:"bpmn:DataAssociation",order:{level:9,containers:["bpmn:Collaboration","bpmn:FlowElementsContainer"]}},{type:"bpmn:MessageFlow",order:{level:9,containers:["bpmn:Collaboration"]}},{type:"bpmn:Association",order:{level:6,containers:["bpmn:Participant","bpmn:FlowElementsContainer","bpmn:Collaboration"]}},{type:"bpmn:BoundaryEvent",order:{level:8}},{type:"bpmn:Group",order:{level:10,containers:["bpmn:Collaboration","bpmn:FlowElementsContainer"]}},{type:"bpmn:FlowElement",order:{level:5}},{type:"bpmn:Participant",order:{level:-2}},{type:"bpmn:Lane",order:{level:-1}}];function o(e){if(e.labelTarget)return{level:10};var t=S1(i,(function(t){return p9(e,[t.type])}));return t&&t.order||{level:1}}function r(e){var t=e.order;if(t||(e.order=t=o(e)),!t)throw new Error("no order for <"+e.id+">");return t}function s(e,t,n){var i=t;while(i){if(p9(i,n))break;i=i.parent}if(!i)throw new Error("no parent for <"+e.id+"> in <"+(t&&t.id)+">");return i}this.getOrdering=function(e,n){if(e.labelTarget)return{parent:t.findRoot(n)||t.getRootElement(),index:-1};var i=r(e);i.containers&&(n=s(e,n,i.containers));var o=n.children.indexOf(e),a=D1(n.children,(function(t){return!(!e.labelTarget&&t.labelTarget)&&i.level0)return"e";if(t<0)return"w"}if("y"===e){if(t>0)return"s";if(t<0)return"n"}return null}function Sge(e,t){var n=[];return L1(e.concat(t),(function(i){var o=i.incoming,r=i.outgoing;L1(o.concat(r),(function(i){var o=i.source,r=i.target;(Dge(e,o)||Dge(e,r)||Dge(t,o)||Dge(t,r))&&(Dge(n,i)||n.push(i))}))})),n}function Dge(e,t){return-1!==e.indexOf(t)}function kge(e,t,n){var i=e.x,o=e.y,r=e.width,s=e.height,a=n.x,l=n.y;switch(t){case"n":return{x:i,y:o+l,width:r,height:s-l};case"s":return{x:i,y:o,width:r,height:s+l};case"w":return{x:i+a,y:o,width:r-a,height:s};case"e":return{x:i,y:o,width:r+a,height:s};default:throw new Error("unknown direction: "+t)}}var Lge=Math.abs,Mge=Math.round,Bge={x:"width",y:"height"},Nge="crosshair",Ige={n:"top",w:"left",s:"bottom",e:"right"},Tge=1500,Rge={n:"s",w:"e",s:"n",e:"w"},Pge=20;function Fge(e,t,n,i,o,r,s){this._canvas=e,this._dragging=t,this._eventBus=n,this._modeling=i,this._rules=o,this._toolManager=r,this._mouse=s;var a=this;r.registerTool("space",{tool:"spaceTool.selection",dragging:"spaceTool"}),n.on("spaceTool.selection.end",(function(e){n.once("spaceTool.selection.ended",(function(){a.activateMakeSpace(e.originalEvent)}))})),n.on("spaceTool.move",Tge,(function(e){var t=e.context,n=t.initialized;n||(n=t.initialized=a.init(e,t)),n&&zge(e)})),n.on("spaceTool.end",(function(e){var t=e.context,i=t.axis,o=t.direction,r=t.movingShapes,s=t.resizingShapes,l=t.start;if(t.initialized){zge(e);var c={x:0,y:0};c[i]=Mge(e["d"+i]),a.makeSpace(r,s,c,o,l),n.once("spaceTool.ended",(function(e){a.activateSelection(e.originalEvent,!0,!0)}))}}))}function Oge(e){return{top:e.top-Pge,right:e.right+Pge,bottom:e.bottom+Pge,left:e.left-Pge}}function zge(e){var t,n,i=e.context,o=i.spaceToolConstraints;o&&(w1(o.left)&&(t=Math.max(e.x,o.left),e.dx=e.dx+t-e.x,e.x=t),w1(o.right)&&(t=Math.min(e.x,o.right),e.dx=e.dx+t-e.x,e.x=t),w1(o.top)&&(n=Math.max(e.y,o.top),e.dy=e.dy+n-e.y,e.y=n),w1(o.bottom)&&(n=Math.min(e.y,o.bottom),e.dy=e.dy+n-e.y,e.y=n))}function Vge(e,t,n,i,o){var r=e.movingShapes,s=e.resizingShapes;if(s.length){var a,l,c={};return L1(s,(function(e){var h,d,u,p,g,m,f,v=e.attachers,b=e.children,y=w5(e),_=k1(b,(function(e){return!v5(e)&&!b5(e)&&!Wge(r,e)&&!Wge(s,e)})),w=k1(b,(function(e){return!v5(e)&&!b5(e)&&Wge(r,e)})),C=[],A=[];_.length&&(d=Oge(w5(q4(_))),h=i-y[Ige[n]]+d[Ige[n]],"n"===n?c.bottom=l=w1(l)?Math.min(l,h):h:"w"===n?c.right=l=w1(l)?Math.min(l,h):h:"s"===n?c.top=a=w1(a)?Math.max(a,h):h:"e"===n&&(c.left=a=w1(a)?Math.max(a,h):h)),w.length&&(u=Oge(w5(q4(w))),h=i-u[Ige[Rge[n]]]+y[Ige[Rge[n]]],"n"===n?c.bottom=l=w1(l)?Math.min(l,h):h:"w"===n?c.right=l=w1(l)?Math.min(l,h):h:"s"===n?c.top=a=w1(a)?Math.max(a,h):h:"e"===n&&(c.left=a=w1(a)?Math.max(a,h):h)),v&&v.length&&(v.forEach((function(e){Wge(r,e)?C.push(e):A.push(e)})),C.length&&(p=w5(q4(C.map(x5))),g=y[Ige[Rge[n]]]-(p[Ige[Rge[n]]]-i)),A.length&&(m=w5(q4(A.map(x5))),f=m[Ige[n]]-(y[Ige[n]]-i)),"n"===n?(h=Math.min(g||1/0,f||1/0),c.bottom=l=w1(l)?Math.min(l,h):h):"w"===n?(h=Math.min(g||1/0,f||1/0),c.right=l=w1(l)?Math.min(l,h):h):"s"===n?(h=Math.max(g||-1/0,f||-1/0),c.top=a=w1(a)?Math.max(a,h):h):"e"===n&&(h=Math.max(g||-1/0,f||-1/0),c.left=a=w1(a)?Math.max(a,h):h));var E=o&&o[e.id];E&&("n"===n?(h=i+e[Bge[t]]-E[Bge[t]],c.bottom=l=w1(l)?Math.min(l,h):h):"w"===n?(h=i+e[Bge[t]]-E[Bge[t]],c.right=l=w1(l)?Math.min(l,h):h):"s"===n?(h=i-e[Bge[t]]+E[Bge[t]],c.top=a=w1(a)?Math.max(a,h):h):"e"===n&&(h=i-e[Bge[t]]+E[Bge[t]],c.left=a=w1(a)?Math.max(a,h):h))})),c}}function Wge(e,t){return-1!==e.indexOf(t)}function Hge(e){return!!e.host}Fge.$inject=["canvas","dragging","eventBus","modeling","rules","toolManager","mouse"],Fge.prototype.activateSelection=function(e,t,n){this._dragging.init(e,"spaceTool.selection",{autoActivate:t,cursor:Nge,data:{context:{reactivate:n}},trapClick:!1})},Fge.prototype.activateMakeSpace=function(e){this._dragging.init(e,"spaceTool",{autoActivate:!0,cursor:Nge,data:{context:{}}})},Fge.prototype.makeSpace=function(e,t,n,i,o){return this._modeling.createSpace(e,t,n,i,o)},Fge.prototype.init=function(e,t){var n=Lge(e.dx)>Lge(e.dy)?"x":"y",i=e["d"+n],o=e[n]-i;if(Lge(i)<5)return!1;i<0&&(i*=-1),hee(e)&&(i*=-1);var r=xge(n,i),s=this._canvas.getRootElement(),a=Y4(s,!0),l=this.calculateAdjustments(a,n,i,o),c=this._eventBus.fire("spaceTool.getMinDimensions",{axis:n,direction:r,shapes:l.resizingShapes,start:o}),h=Vge(l,n,r,o,c);return $1(t,l,{axis:n,direction:r,spaceToolConstraints:h,start:o}),jte("resize-"+("x"===n?"ew":"ns")),!0},Fge.prototype.calculateAdjustments=function(e,t,n,i){var o=this._rules,r=[],s=[],a=[],l=[];function c(e){r.includes(e)||r.push(e);var t=e.label;t&&!r.includes(t)&&r.push(t)}function h(e){s.includes(e)||s.push(e)}L1(e,(function(e){if(e.parent&&!b5(e))if(v5(e))l.push(e);else{var r=e[t],s=r+e[Bge[t]];Hge(e)&&(n>0&&x5(e)[t]>i||n<0&&x5(e)[t]0&&r>i||n<0&&si&&o.allowed("shape.resize",{shape:e})&&h(e)}})),L1(r,(function(e){var t=e.attachers;t&&L1(t,(function(e){c(e)}))}));var d=r.concat(s);return L1(a,(function(e){var t=e.host;Wge(d,t)&&c(e)})),d=r.concat(s),L1(l,(function(e){var t=e.source,n=e.target,i=e.label;Wge(d,t)&&Wge(d,n)&&i&&c(i)})),{movingShapes:r,resizingShapes:s}},Fge.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();this.activateSelection(e,!!e)},Fge.prototype.isActive=function(){var e=this._dragging.context();return!!e&&/^spaceTool/.test(e.prefix)};var jge="djs-dragging",Qge="djs-resizing",Uge=250,Kge=Math.max;function Gge(e,t,n,i,o){function r(e,t){L1(e,(function(e){o.addDragger(e,t),n.addMarker(e,jge)}))}e.on("spaceTool.selection.start",(function(e){var t=n.getLayer("space"),o=e.context,r={x:"M 0,-10000 L 0,10000",y:"M -10000,0 L 10000,0"},s=n4("g");U2(s,i.cls("djs-crosshair-group",["no-events"])),z2(t,s);var a=n4("path");U2(a,"d",r.x),G2(a).add("djs-crosshair"),z2(s,a);var l=n4("path");U2(l,"d",r.y),G2(l).add("djs-crosshair"),z2(s,l),o.crosshairGroup=s})),e.on("spaceTool.selection.move",(function(e){var t=e.context.crosshairGroup;m3(t,e.x,e.y)})),e.on("spaceTool.selection.cleanup",(function(e){var t=e.context,n=t.crosshairGroup;n&&$2(n)})),e.on("spaceTool.move",Uge,(function(e){var s=e.context,a=s.line,l=s.axis,c=s.movingShapes,h=s.resizingShapes;if(s.initialized){if(!s.dragGroup){var d=n.getLayer("space");a=n4("path"),U2(a,"d","M0,0 L0,0"),G2(a).add("djs-crosshair"),z2(d,a),s.line=a;var u=n4("g");U2(u,i.cls("djs-drag-group",["no-events"])),z2(n.getActiveLayer(),u),r(c,u);var p=s.movingConnections=t.filter((function(e){var t=!1;L1(c,(function(n){L1(n.outgoing,(function(n){e===n&&(t=!0)}))}));var n=!1;L1(c,(function(t){L1(t.incoming,(function(t){e===t&&(n=!0)}))}));var i=!1;L1(h,(function(t){L1(t.outgoing,(function(t){e===t&&(i=!0)}))}));var o=!1;return L1(h,(function(t){L1(t.incoming,(function(t){e===t&&(o=!0)}))})),v5(e)&&(t||i)&&(n||o)}));r(p,u),s.dragGroup=u}if(!s.frameGroup){var g=n4("g");U2(g,i.cls("djs-frame-group",["no-events"])),z2(n.getActiveLayer(),g);var m=[];L1(h,(function(e){var t=o.addFrame(e,g),i=t.getBBox();m.push({element:t,initialBounds:i}),n.addMarker(e,Qge)})),s.frameGroup=g,s.frames=m}var f={x:"M"+e.x+", -10000 L"+e.x+", 10000",y:"M -10000, "+e.y+" L 10000, "+e.y};U2(a,{d:f[l]});var v={x:"y",y:"x"},b={x:e.dx,y:e.dy};b[v[s.axis]]=0,m3(s.dragGroup,b.x,b.y),L1(s.frames,(function(e){var t,n,i=e.element,o=e.initialBounds;"e"===s.direction?U2(i,{width:Kge(o.width+b.x,5)}):(t=Kge(o.width-b.x,5),U2(i,{width:t,x:o.x+o.width-t})),"s"===s.direction?U2(i,{height:Kge(o.height+b.y,5)}):(n=Kge(o.height-b.y,5),U2(i,{height:n,y:o.y+o.height-n}))}))}})),e.on("spaceTool.cleanup",(function(e){var t=e.context,i=t.movingShapes,o=t.movingConnections,r=t.resizingShapes,s=t.line,a=t.dragGroup,l=t.frameGroup;L1(i,(function(e){n.removeMarker(e,jge)})),L1(o,(function(e){n.removeMarker(e,jge)})),a&&($2(s),$2(a)),L1(r,(function(e){n.removeMarker(e,Qge)})),l&&$2(l)}))}Gge.$inject=["eventBus","elementRegistry","canvas","styles","previewSupport"];var Yge={__init__:["spaceToolPreview"],__depends__:[cre,gre,Ege,iae,_ae],spaceTool:["type",Fge],spaceToolPreview:["type",Gge]};function $ge(e){e.invoke(Fge,this)}$ge.$inject=["injector"],l1($ge,Fge),$ge.prototype.calculateAdjustments=function(e,t,n,i){var o=Fge.prototype.calculateAdjustments.call(this,e,t,n,i);return o.resizingShapes=o.resizingShapes.filter((function(e){return!u9(e,"bpmn:TextAnnotation")})),o};var qge={__depends__:[Yge],spaceTool:["type",$ge]};function Jge(e,t){this._handlerMap={},this._stack=[],this._stackIdx=-1,this._currentExecution={actions:[],dirty:[],trigger:null},this._injector=t,this._eventBus=e,this._uid=1,e.on(["diagram.destroy","diagram.clear"],(function(){this.clear(!1)}),this)}Jge.$inject=["eventBus","injector"],Jge.prototype.execute=function(e,t){if(!e)throw new Error("command required");this._currentExecution.trigger="execute";const n={command:e,context:t};this._pushAction(n),this._internalExecute(n),this._popAction()},Jge.prototype.canExecute=function(e,t){const n={command:e,context:t},i=this._getHandler(e);let o=this._fire(e,"canExecute",n);if(void 0===o){if(!i)return!1;i.canExecute&&(o=i.canExecute(t))}return o},Jge.prototype.clear=function(e){this._stack.length=0,this._stackIdx=-1,!1!==e&&this._fire("changed",{trigger:"clear"})},Jge.prototype.undo=function(){let e,t=this._getUndoAction();if(t){this._currentExecution.trigger="undo",this._pushAction(t);while(t){if(this._internalUndo(t),e=this._getUndoAction(),!e||e.id!==t.id)break;t=e}this._popAction()}},Jge.prototype.redo=function(){let e,t=this._getRedoAction();if(t){this._currentExecution.trigger="redo",this._pushAction(t);while(t){if(this._internalExecute(t,!0),e=this._getRedoAction(),!e||e.id!==t.id)break;t=e}this._popAction()}},Jge.prototype.register=function(e,t){this._setHandler(e,t)},Jge.prototype.registerHandler=function(e,t){if(!e||!t)throw new Error("command and handlerCls must be defined");const n=this._injector.instantiate(t);this.register(e,n)},Jge.prototype.canUndo=function(){return!!this._getUndoAction()},Jge.prototype.canRedo=function(){return!!this._getRedoAction()},Jge.prototype._getRedoAction=function(){return this._stack[this._stackIdx+1]},Jge.prototype._getUndoAction=function(){return this._stack[this._stackIdx]},Jge.prototype._internalUndo=function(e){const t=e.command,n=e.context,i=this._getHandler(t);this._atomicDo(()=>{this._fire(t,"revert",e),i.revert&&this._markDirty(i.revert(n)),this._revertedAction(e),this._fire(t,"reverted",e)})},Jge.prototype._fire=function(e,t,n){arguments.length<3&&(n=t,t=null);const i=t?[e+"."+t,t]:[e];let o;n=this._eventBus.createEvent(n);for(const r of i)if(o=this._eventBus.fire("commandStack."+r,n),n.cancelBubble)break;return o},Jge.prototype._createId=function(){return this._uid++},Jge.prototype._atomicDo=function(e){const t=this._currentExecution;t.atomic=!0;try{e()}finally{t.atomic=!1}},Jge.prototype._internalExecute=function(e,t){const n=e.command,i=e.context,o=this._getHandler(n);if(!o)throw new Error("no command handler registered for <"+n+">");this._pushAction(e),t||(this._fire(n,"preExecute",e),o.preExecute&&o.preExecute(i),this._fire(n,"preExecuted",e)),this._atomicDo(()=>{this._fire(n,"execute",e),o.execute&&this._markDirty(o.execute(i)),this._executedAction(e,t),this._fire(n,"executed",e)}),t||(this._fire(n,"postExecute",e),o.postExecute&&o.postExecute(i),this._fire(n,"postExecuted",e)),this._popAction()},Jge.prototype._pushAction=function(e){const t=this._currentExecution,n=t.actions,i=n[0];if(t.atomic)throw new Error("illegal invocation in or phase (action: "+e.command+")");e.id||(e.id=i&&i.id||this._createId()),n.push(e)},Jge.prototype._popAction=function(){const e=this._currentExecution,t=e.trigger,n=e.actions,i=e.dirty;n.pop(),n.length||(this._eventBus.fire("elements.changed",{elements:z1("id",i.reverse())}),i.length=0,this._fire("changed",{trigger:t}),e.trigger=null)},Jge.prototype._markDirty=function(e){const t=this._currentExecution;e&&(e=y1(e)?e:[e],t.dirty=t.dirty.concat(e))},Jge.prototype._executedAction=function(e,t){const n=++this._stackIdx;t||this._stack.splice(n,this._stack.length,e)},Jge.prototype._revertedAction=function(e){this._stackIdx--},Jge.prototype._getHandler=function(e){return this._handlerMap[e]},Jge.prototype._setHandler=function(e,t){if(!e||!t)throw new Error("command and handler required");if(this._handlerMap[e])throw new Error("overriding handler for command <"+e+">");this._handlerMap[e]=t};var Xge={commandStack:["type",Jge]},Zge=new Lee("tt");function eme(e){var t=I2('
');return l2(t,{position:"absolute",width:"0",height:"0"}),e.insertBefore(t,e.firstChild),t}function tme(e,t,n){l2(e,{left:t+"px",top:n+"px"})}function nme(e,t){e.style.display=!1===t?"none":""}var ime="djs-tooltip",ome="."+ime;function rme(e,t){this._eventBus=e,this._canvas=t,this._ids=Zge,this._tooltipDefaults={show:{minZoom:.7,maxZoom:5}},this._tooltips={},this._tooltipRoot=eme(t.getContainer());var n=this;k2.bind(this._tooltipRoot,ome,"mousedown",(function(e){e.stopPropagation()})),k2.bind(this._tooltipRoot,ome,"mouseover",(function(e){n.trigger("mouseover",e)})),k2.bind(this._tooltipRoot,ome,"mouseout",(function(e){n.trigger("mouseout",e)})),this._init()}rme.$inject=["eventBus","canvas"],rme.prototype.add=function(e){if(!e.position)throw new Error("must specifiy tooltip position");if(!e.html)throw new Error("must specifiy tooltip html");var t=this._ids.next();return e=$1({},this._tooltipDefaults,e,{id:t}),this._addTooltip(e),e.timeout&&this.setTimeout(e),t},rme.prototype.trigger=function(e,t){var n=t.delegateTarget||t.target,i=this.get(c2(n,"data-tooltip-id"));i&&("mouseover"===e&&i.timeout&&this.clearTimeout(i),"mouseout"===e&&i.timeout&&(i.timeout=1e3,this.setTimeout(i)))},rme.prototype.get=function(e){return"string"!==typeof e&&(e=e.id),this._tooltips[e]},rme.prototype.clearTimeout=function(e){if(e=this.get(e),e){var t=e.removeTimer;t&&(clearTimeout(t),e.removeTimer=null)}},rme.prototype.setTimeout=function(e){if(e=this.get(e),e){this.clearTimeout(e);var t=this;e.removeTimer=setTimeout((function(){t.remove(e)}),e.timeout)}},rme.prototype.remove=function(e){var t=this.get(e);t&&(P2(t.html),P2(t.htmlContainer),delete t.htmlContainer,delete this._tooltips[t.id])},rme.prototype.show=function(){nme(this._tooltipRoot)},rme.prototype.hide=function(){nme(this._tooltipRoot,!1)},rme.prototype._updateRoot=function(e){var t=e.scale||1,n=e.scale||1,i="matrix("+t+",0,0,"+n+","+-1*e.x*t+","+-1*e.y*n+")";this._tooltipRoot.style.transform=i,this._tooltipRoot.style["-ms-transform"]=i},rme.prototype._addTooltip=function(e){var t,n=e.id,i=e.html,o=this._tooltipRoot;i.get&&i.constructor.prototype.jquery&&(i=i.get(0)),A1(i)&&(i=I2(i)),t=I2('
'),l2(t,{position:"absolute"}),t.appendChild(i),e.type&&d2(t).add("djs-tooltip-"+e.type),e.className&&d2(t).add(e.className),e.htmlContainer=t,o.appendChild(t),this._tooltips[n]=e,this._updateTooltip(e)},rme.prototype._updateTooltip=function(e){var t=e.position,n=e.htmlContainer;tme(n,t.x,t.y)},rme.prototype._updateTooltipVisibilty=function(e){L1(this._tooltips,(function(t){var n=t.show,i=t.htmlContainer,o=!0;n&&((n.minZoom>e.scale||n.maxZoomt:/n|w/.test(n)?e[i] required");var o=e.changed||this._getVisualReferences(n).concat(t),r=e.oldProperties||Cfe(n,R1(i));return Afe(n,i),e.oldProperties=r,e.changed=o,o},wfe.prototype.revert=function(e){var t=e.oldProperties,n=e.moddleElement,i=e.changed;return Afe(n,t),i},wfe.prototype._getVisualReferences=function(e){var t=this._elementRegistry;return u9(e,"bpmn:DataObject")?Efe(e,t):[]};var xfe="default",Sfe="id",Dfe="di",kfe={width:0,height:0};function Lfe(e,t,n,i,o){this._elementRegistry=e,this._moddle=t,this._translate=n,this._modeling=i,this._textRenderer=o}function Mfe(e,t){return Sfe in e&&e[Sfe]!==t[Sfe]}function Bfe(e,t){var n=R1(t),i=e.businessObject,o=m9(e);return B1(n,(function(e,n){return e[n]=n!==Dfe?i.get(n):Nfe(o,R1(t.di)),e}),{})}function Nfe(e,t){return B1(t,(function(t,n){return t[n]=e&&e.get(n),t}),{})}function Ife(e,t){var n=e.businessObject,i=m9(e);L1(t,(function(e,t){t!==Dfe?n.set(t,e):i&&Tfe(i,e)}))}function Tfe(e,t){L1(t,(function(t,n){e.set(n,t)}))}Lfe.$inject=["elementRegistry","moddle","translate","modeling","textRenderer"],Lfe.prototype.execute=function(e){var t=e.element,n=[t],i=this._translate;if(!t)throw new Error(i("element required"));var o=this._elementRegistry,r=this._moddle.ids,s=t.businessObject,a=Pfe(e.properties),l=e.oldProperties||Bfe(t,a);return Mfe(a,s)&&(r.unclaim(s[Sfe]),o.updateId(t,a[Sfe]),r.claim(a[Sfe],s)),xfe in a&&(a[xfe]&&n.push(o.get(a[xfe].id)),s[xfe]&&n.push(o.get(s[xfe].id))),Ife(t,a),e.oldProperties=l,e.changed=n,n},Lfe.prototype.postExecute=function(e){var t=e.element,n=t.label,i=n&&g9(n).name;if(i){var o=this._textRenderer.getExternalLabelBounds(n,i);this._modeling.resizeShape(n,o,kfe)}},Lfe.prototype.revert=function(e){var t=e.element,n=e.properties,i=e.oldProperties,o=t.businessObject,r=this._elementRegistry,s=this._moddle.ids;return Ife(t,i),Mfe(n,o)&&(s.unclaim(n[Sfe]),r.updateId(t,i[Sfe]),s.claim(i[Sfe],o)),e.changed};var Rfe=["default"];function Pfe(e){var t=$1({},e);return Rfe.forEach((function(n){n in e&&(t[n]=g9(t[n]))})),t}function Ffe(e,t){this._canvas=e,this._modeling=t}function Ofe(e,t){this._modeling=e,this._spaceTool=t}function zfe(e,t){this._modeling=e,this._translate=t}function Vfe(e,t){this._modeling=e,this._spaceTool=t}Ffe.$inject=["canvas","modeling"],Ffe.prototype.execute=function(e){var t=this._canvas,n=e.newRoot,i=n.businessObject,o=t.getRootElement(),r=o.businessObject,s=r.$parent,a=m9(o);return t.setRootElement(n),t.removeRootElement(o),s5(s.rootElements,i),i.$parent=s,r5(s.rootElements,r),r.$parent=null,o.di=null,a.bpmnElement=i,n.di=a,e.oldRoot=o,[]},Ffe.prototype.revert=function(e){var t=this._canvas,n=e.newRoot,i=n.businessObject,o=e.oldRoot,r=o.businessObject,s=i.$parent,a=m9(n);return t.setRootElement(o),t.removeRootElement(n),r5(s.rootElements,i),i.$parent=null,s5(s.rootElements,r),r.$parent=s,n.di=null,a.bpmnElement=r,o.di=a,[]},Ofe.$inject=["modeling","spaceTool"],Ofe.prototype.preExecute=function(e){var t=this._spaceTool,n=this._modeling,i=e.shape,o=e.location,r=Ble(i),s=r===i,a=s?i:i.parent,l=Mle(a);l.length||n.createShape({type:"bpmn:Lane"},{x:i.x+kle,y:i.y,width:i.width-kle,height:i.height},a);var c=[];K4(r,(function(e){return c.push(e),e.label&&c.push(e.label),e===i?[]:k1(e.children,(function(e){return e!==i}))}));var h="top"===o?-120:120,d="top"===o?i.y:i.y+i.height,u=d+("top"===o?10:-10),p="top"===o?"n":"s",g=t.calculateAdjustments(c,"y",h,u);t.makeSpace(g.movingShapes,g.resizingShapes,{x:0,y:h},p,u),e.newLane=n.createShape({type:"bpmn:Lane"},{x:i.x+(s?kle:0),y:d-("top"===o?120:0),width:i.width-(s?kle:0),height:120},a)},zfe.$inject=["modeling","translate"],zfe.prototype.preExecute=function(e){var t=this._modeling,n=this._translate,i=e.shape,o=e.count,r=Mle(i),s=r.length;if(s>o)throw new Error(n("more than {count} child lanes",{count:o}));var a,l,c,h,d,u=Math.round(i.height/o);for(d=0;d0||h.bottom<0?-n:n,s=a.calculateAdjustments(u,"y",r,i),a.makeSpace(s.movingShapes,s.resizingShapes,{x:0,y:n},o)),(h.left||h.right)&&(n=h.right||h.left,i=e.x+(h.right?e.width:0)+(h.right?-10:100),o=h.right?"e":"w",r=h.left>0||h.right<0?-n:n,s=a.calculateAdjustments(p,"x",r,i),a.makeSpace(s.movingShapes,s.resizingShapes,{x:n,y:0},o))};var Wfe="flowNodeRef",Hfe="lanes";function jfe(e){this._elementRegistry=e}function Qfe(e){this._moddle=e}jfe.$inject=["elementRegistry"],jfe.prototype._computeUpdates=function(e,t){var n=[],i=[],o={},r=[];function s(e,t){var n=w5(t),i={x:e.x+e.width/2,y:e.y+e.height/2};return i.x>n.left&&i.xn.top&&i.y: must be specified as : with start/end in { h,v,t,r,b,l }");if(Sve(n)){var i=cve(e,t,n),o=hve(e,t,n),r=dve(i,o);return[].concat(i.waypoints,r.waypoints,o.waypoints)}return pve(e,t,n)}function mve(e,t,n){var i=gve(e,t,n);return i.unshift(e),i.push(t),Lve(i)}function fve(e,t,n,i,o){var r=o&&o.preferredLayouts||[],s=M1(r,"straight")[0]||"h:h",a=rve[s]||0,l=S5(e,t,a),c=Eve(l,s);n=n||x5(e),i=i||x5(t);var h=c.split(":"),d=kve(n,e,h[0],Dve(l)),u=kve(i,t,h[1],l);return mve(d,u,c)}function vve(e,t,n,i,o,r){y1(n)&&(o=n,r=i,n=x5(e),i=x5(t)),r=$1({preferredLayouts:[]},r),o=o||[];var s,a=r.preferredLayouts,l=-1!==a.indexOf("straight");return s=l&&_ve(e,t,n,i,r),s||(s=r.connectionEnd&&Cve(t,e,i,o),s||(s=r.connectionStart&&wve(e,t,n,o),s||(!r.connectionStart&&!r.connectionEnd&&o&&o.length?o:fve(e,t,n,i,r))))}function bve(e,t,n){return e>=t&&e<=n}function yve(e,t,n){var i={x:"width",y:"height"};return bve(t[e],n[e],n[e]+n[i[e]])}function _ve(e,t,n,i,o){var r,s,a={};return s=S5(e,t),/^(top|bottom|left|right)$/.test(s)?(/top|bottom/.test(s)&&(r="x"),/left|right/.test(s)&&(r="y"),"target"===o.preserveDocking?yve(r,i,e)?(a[r]=i[r],[{x:void 0!==a.x?a.x:n.x,y:void 0!==a.y?a.y:n.y,original:{x:void 0!==a.x?a.x:n.x,y:void 0!==a.y?a.y:n.y}},{x:i.x,y:i.y}]):null:yve(r,n,t)?(a[r]=n[r],[{x:n.x,y:n.y},{x:void 0!==a.x?a.x:i.x,y:void 0!==a.y?a.y:i.y,original:{x:void 0!==a.x?a.x:i.x,y:void 0!==a.y?a.y:i.y}}]):null):null}function wve(e,t,n,i){return Ave(e,t,n,i)}function Cve(e,t,n,i){var o=i.slice().reverse();return o=Ave(e,t,n,o),o?o.reverse():null}function Ave(e,t,n,i){function o(e){return e.length<3||!(e.length>4)&&!!S1(e,(function(t,n){var i=e[n-1];return i&&l5(t,i)<3}))}function r(e,t,n){var i=d5(t,e);switch(i){case"v":return{x:n.x,y:e.y};case"h":return{x:e.x,y:n.y}}return{x:e.x,y:e.y}}function s(e,t,n){var i;for(i=e.length-2;0!==i;i--)if(p5(e[i],t,ove)||p5(e[i],n,ove))return e.slice(i);return e}if(o(i))return null;var a,l=i[0],c=i.slice();return c[0]=n,c[1]=r(c[1],l,n),a=s(c,e,t),a!==c&&(c=Ave(e,t,n,a)),c&&d5(c)?null:c}function Eve(e,t){if(Sve(t))return t;switch(e){case"intersect":return"t:t";case"top":case"bottom":return"v:v";case"left":case"right":return"h:h";default:return t}}function xve(e){return e&&/^h|v|t|r|b|l:h|v|t|r|b|l$/.test(e)}function Sve(e){return e&&/t|r|b|l/.test(e)}function Dve(e){return{top:"bottom",bottom:"top",left:"right",right:"left","top-left":"bottom-right","bottom-right":"top-left","top-right":"bottom-left","bottom-left":"top-right"}[e]}function kve(e,t,n,i){if("h"===n&&(n=/left/.test(i)?"l":"r"),"v"===n&&(n=/top/.test(i)?"t":"b"),"t"===n)return{original:e,x:e.x,y:t.y};if("r"===n)return{original:e,x:t.x+t.width,y:e.y};if("b"===n)return{original:e,x:e.x,y:t.y+t.height};if("l"===n)return{original:e,x:t.x,y:e.y};throw new Error("unexpected dockingDirection: <"+n+">")}function Lve(e){return e.reduce((function(t,n,i){var o=t[t.length-1],r=e[i+1];return c5(o,r,n,0)||t.push(n),t}),[])}var Mve=-10,Bve=40,Nve={top:"bottom","top-right":"bottom-left","top-left":"bottom-right",right:"left",bottom:"top","bottom-right":"top-left","bottom-left":"top-right",left:"right"},Ive={top:"t",right:"r",bottom:"b",left:"l"};function Tve(){}function Rve(e){var t=e.host;return S5(x5(e),t,Mve)}function Pve(e,t){return{preferredLayouts:["straight","v:v"],preserveDocking:Fve(e,t)}}function Fve(e,t){return u9(t,"bpmn:Participant")?"source":u9(e,"bpmn:Participant")?"target":Hve(t)?"source":Hve(e)||u9(t,"bpmn:Event")?"target":u9(e,"bpmn:Event")?"source":null}function Ove(e){return{preferredLayouts:["straight","h:h"],preserveDocking:zve(e)}}function zve(e){return Hve(e)?"target":"source"}function Vve(e,t){return e?e.original||e:x5(t)}function Wve(e,t){return u9(t,"bpmn:Activity")&&u9(e,"bpmn:BoundaryEvent")&&t.businessObject.isForCompensation}function Hve(e){return u9(e,"bpmn:SubProcess")&&z9(e)}function jve(e,t){return e===t}function Qve(e,t){return-1!==t.indexOf(e)}function Uve(e){var t=/right|left/.exec(e);return t&&t[0]}function Kve(e){var t=/top|bottom/.exec(e);return t&&t[0]}function Gve(e,t){return Nve[e]===t}function Yve(e,t){var n=Uve(e),i=Nve[n];return-1!==t.indexOf(i)}function $ve(e,t){var n=Kve(e),i=Nve[n];return-1!==t.indexOf(i)}function qve(e){return"right"===e||"left"===e}function Jve(e,t){var n=t.waypoints,i=n&&n.length&&S5(n[0],e);return"top"===i?["t:r"]:"right"===i?["r:b"]:"left"===i?["l:t"]:["b:l"]}function Xve(e,t,n){var i,o,r=x5(e),s=x5(t),a=Rve(e),l=jve(e.host,t),c=Qve(a,["top","right","bottom","left"]),h=S5(s,r,{x:e.width/2+t.width/2,y:e.height/2+t.height/2});return l?Zve(a,c,e,t,n):(i=nbe(a,h,c),o=ibe(a,h,c),[i+":"+o])}function Zve(e,t,n,i,o){var r,s=t?e:Kve(e),a=Ive[s];return r=t?qve(e)?ebe("y",n,i,o)?"h":"b":ebe("x",n,i,o)?"v":"l":"v",[a+":"+r]}function ebe(e,t,n,i){var o=Bve;return!(tbe(e,i,n,o)||tbe(e,i,{x:n.x+n.width,y:n.y+n.height},o)||tbe(e,i,x5(t),o))}function tbe(e,t,n,i){return Math.abs(t[e]-n[e])
'),c2(o,"data-group",i),e.appendChild(o));var r=t.html||(t.separator?'
':'
'),s=I2(r);if(o.appendChild(s),!t.separator&&(c2(s,"data-action",n),t.title&&c2(s,"title",t.title),t.className&&Ibe(s,t.className),t.imageUrl)){var a=I2("");c2(a,"src",t.imageUrl),s.appendChild(a)}})),this.open()},Nbe.prototype.trigger=function(e,t,n){var i,o,r=t.delegateTarget||t.target;return r?(i=c2(r,"data-action"),o=t.originalEvent||t,this.triggerEntry(i,e,o,n)):t.preventDefault()},Nbe.prototype.triggerEntry=function(e,t,n,i){var o,r,s=this._entries;if(o=s[e],o&&(r=o.action,!1!==this._eventBus.fire("palette.trigger",{entry:o,event:n}))){if(C1(r)){if("click"===t)return r(n,i)}else if(r[t])return r[t](n,i);n.preventDefault()}},Nbe.prototype._layoutChanged=function(){this._toggleState({})},Nbe.prototype._needsCollapse=function(e,t){var n=50,i=46*Object.keys(t).length;return e=i.x&&n.yi.x&&n.y<=i.y?{x:i.x,y:n.y,width:n.x-i.x,height:i.y-n.y}:n.x<=i.x&&n.y>i.y||n.x=i.y?{x:n.x,y:i.y,width:i.x-n.x,height:n.y-i.y}:n.x>=i.x&&n.y>i.y||n.x>i.x&&n.y>=i.y?{x:i.x,y:i.y,width:n.x-i.x,height:n.y-i.y}:{x:i.x,y:i.y,width:0,height:0},t}Fbe.$inject=["eventBus","canvas","dragging","elementRegistry","selection","toolManager","mouse"],Fbe.prototype.activateLasso=function(e,t){this._dragging.init(e,"lasso",{autoActivate:t,cursor:Pbe,data:{context:{}}})},Fbe.prototype.activateSelection=function(e,t){this._dragging.init(e,"lasso.selection",{trapClick:!1,autoActivate:t,cursor:Pbe,data:{context:{}}})},Fbe.prototype.select=function(e,t){var n=J4(e,t);this._selection.select(F1(n))},Fbe.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();this.activateSelection(e,!!e)},Fbe.prototype.isActive=function(){var e=this._dragging.context();return e&&/^lasso/.test(e.prefix)};var zbe={__depends__:[Ege,_ae],__init__:["lassoTool"],lassoTool:["type",Fbe]},Vbe=1500,Wbe="grab";function Hbe(e,t,n,i,o,r){this._dragging=n,this._mouse=r;var s=this,a=i.get("keyboard",!1);o.registerTool("hand",{tool:"hand",dragging:"hand.move"}),e.on("element.mousedown",Vbe,(function(e){if(hee(e))return s.activateMove(e.originalEvent,!0),!1})),a&&a.addListener(Vbe,(function(e){if(jbe(e.keyEvent)&&!s.isActive()){var t=s._mouse.getLastMoveEvent();s.activateMove(t,!!t)}}),"keyboard.keydown"),a&&a.addListener(Vbe,(function(e){jbe(e.keyEvent)&&s.isActive()&&s.toggle()}),"keyboard.keyup"),e.on("hand.end",(function(t){var n=t.originalEvent.target;if(!t.hover&&!(n instanceof SVGElement))return!1;e.once("hand.ended",(function(){s.activateMove(t.originalEvent,{reactivate:!0})}))})),e.on("hand.move.move",(function(e){var n=t.viewbox().scale;t.scroll({dx:e.dx*n,dy:e.dy*n})})),e.on("hand.move.end",(function(t){var n=t.context,i=n.reactivate;return!hee(t)&&i&&e.once("hand.move.ended",(function(e){s.activateHand(e.originalEvent,!0,!0)})),!1}))}function jbe(e){return Ete("Space",e)}Hbe.$inject=["eventBus","canvas","dragging","injector","toolManager","mouse"],Hbe.prototype.activateMove=function(e,t,n){"object"===typeof t&&(n=t,t=!1),this._dragging.init(e,"hand.move",{autoActivate:t,cursor:Wbe,data:{context:n||{}}})},Hbe.prototype.activateHand=function(e,t,n){this._dragging.init(e,"hand",{trapClick:!1,autoActivate:t,cursor:Wbe,data:{context:{reactivate:n}}})},Hbe.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();this.activateHand(e,!!e)},Hbe.prototype.isActive=function(){var e=this._dragging.context();return!!e&&/^(hand|hand\.move)$/.test(e.prefix)};var Qbe={__depends__:[Ege,_ae],__init__:["handTool"],handTool:["type",Hbe]},Ube="connect-ok",Kbe="connect-not-ok";function Gbe(e,t,n,i,o,r,s){var a=this;this._dragging=t,this._rules=r,this._mouse=s,o.registerTool("global-connect",{tool:"global-connect",dragging:"global-connect.drag"}),e.on("global-connect.hover",(function(e){var t=e.context,n=e.hover,o=t.canStartConnect=a.canStartConnect(n);null!==o&&(t.startTarget=n,i.addMarker(n,o?Ube:Kbe))})),e.on(["global-connect.out","global-connect.cleanup"],(function(e){var t=e.context.startTarget,n=e.context.canStartConnect;t&&i.removeMarker(t,n?Ube:Kbe)})),e.on(["global-connect.ended"],(function(t){var i=t.context,o=i.startTarget,r={x:t.x,y:t.y},s=a.canStartConnect(o);if(s)return e.once("element.out",(function(){e.once(["connect.ended","connect.canceled"],(function(){e.fire("global-connect.drag.ended")})),n.start(null,o,r)})),!1}))}Gbe.$inject=["eventBus","dragging","connect","canvas","toolManager","rules","mouse"],Gbe.prototype.start=function(e,t){this._dragging.init(e,"global-connect",{autoActivate:t,trapClick:!1,data:{context:{}}})},Gbe.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();return this.start(e,!!e)},Gbe.prototype.isActive=function(){var e=this._dragging.context();return e&&/^global-connect/.test(e.prefix)},Gbe.prototype.canStartConnect=function(e){return this._rules.allowed("connection.start",{source:e})};var Ybe={__depends__:[Tse,gre,cre,Ege,_ae],globalConnect:["type",Gbe]};function $be(e,t,n,i,o,r,s,a){this._palette=e,this._create=t,this._elementFactory=n,this._spaceTool=i,this._lassoTool=o,this._handTool=r,this._globalConnect=s,this._translate=a,e.registerProvider(this)}$be.$inject=["palette","create","elementFactory","spaceTool","lassoTool","handTool","globalConnect","translate"],$be.prototype.getPaletteEntries=function(){var e={},t=this._create,n=this._elementFactory,i=this._spaceTool,o=this._lassoTool,r=this._handTool,s=this._globalConnect,a=this._translate;function l(e,i,o,r,s){function l(i){var o=n.createShape($1({type:e},s));if(s){var r=m9(o);r.isExpanded=s.isExpanded}t.start(i,o)}var c=e.replace(/^bpmn:/,"");return{group:i,className:o,title:r||a("Create {type}",{type:c}),action:{dragstart:l,click:l}}}function c(e){var i=n.createShape({type:"bpmn:SubProcess",x:0,y:0,isExpanded:!0}),o=n.createShape({type:"bpmn:StartEvent",x:40,y:82,parent:i});t.start(e,[i,o],{hints:{autoSelect:[i]}})}function h(e){t.start(e,n.createParticipantShape())}return $1(e,{"hand-tool":{group:"tools",className:"bpmn-icon-hand-tool",title:a("Activate the hand tool"),action:{click:function(e){r.activateHand(e)}}},"lasso-tool":{group:"tools",className:"bpmn-icon-lasso-tool",title:a("Activate the lasso tool"),action:{click:function(e){o.activateSelection(e)}}},"space-tool":{group:"tools",className:"bpmn-icon-space-tool",title:a("Activate the create/remove space tool"),action:{click:function(e){i.activateSelection(e)}}},"global-connect-tool":{group:"tools",className:"bpmn-icon-connection-multi",title:a("Activate the global connect tool"),action:{click:function(e){s.start(e)}}},"tool-separator":{group:"tools",separator:!0},"create.start-event":l("bpmn:StartEvent","event","bpmn-icon-start-event-none",a("Create StartEvent")),"create.intermediate-event":l("bpmn:IntermediateThrowEvent","event","bpmn-icon-intermediate-event-none",a("Create Intermediate/Boundary Event")),"create.end-event":l("bpmn:EndEvent","event","bpmn-icon-end-event-none",a("Create EndEvent")),"create.exclusive-gateway":l("bpmn:ExclusiveGateway","gateway","bpmn-icon-gateway-none",a("Create Gateway")),"create.task":l("bpmn:Task","activity","bpmn-icon-task",a("Create Task")),"create.data-object":l("bpmn:DataObjectReference","data-object","bpmn-icon-data-object",a("Create DataObjectReference")),"create.data-store":l("bpmn:DataStoreReference","data-store","bpmn-icon-data-store",a("Create DataStoreReference")),"create.subprocess-expanded":{group:"activity",className:"bpmn-icon-subprocess-expanded",title:a("Create expanded SubProcess"),action:{dragstart:c,click:c}},"create.participant-expanded":{group:"collaboration",className:"bpmn-icon-participant",title:a("Create Pool/Participant"),action:{dragstart:h,click:h}},"create.group":l("bpmn:Group","artifact","bpmn-icon-group",a("Create Group"))}),e};var qbe={__depends__:[Rbe,mae,qge,zbe,Qbe,Ybe,G7],__init__:["paletteProvider"],paletteProvider:["type",$be]},Jbe=250;function Xbe(e,t,n,i,o){function r(e){var r=e.canExecute.replacements;L1(r,(function(r){var s=r.oldElementId,a={type:r.newElementType};if(!e.visualReplacements[s]){var l=t.get(s);$1(a,{x:l.x,y:l.y});var c=n.createShape(a);i.addShape(c,l.parent);var h=T2('[data-element-id="'+Kee(l.id)+'"]',e.dragGroup);h&&U2(h,{display:"none"});var d=o.addDragger(c,e.dragGroup);e.visualReplacements[s]=d,i.removeShape(c)}}))}function s(e){var t=e.visualReplacements;L1(t,(function(n,i){var o=T2('[data-element-id="'+Kee(i)+'"]',e.dragGroup);o&&U2(o,{display:"inline"}),n.remove(),t[i]&&delete t[i]}))}Wee.call(this,e),e.on("shape.move.move",Jbe,(function(e){var t=e.context,n=t.canExecute;t.visualReplacements||(t.visualReplacements={}),n&&n.replacements?r(t):s(t)}))}Xbe.$inject=["eventBus","elementRegistry","elementFactory","canvas","previewSupport"],l1(Xbe,Wee);var Zbe={__depends__:[iae],__init__:["bpmnReplacePreview"],bpmnReplacePreview:["type",Xbe]},eye=1250,tye=40,nye=20,iye=10,oye=20,rye=["x","y"],sye=Math.abs;function aye(e){e.on(["connect.hover","connect.move","connect.end"],eye,(function(e){var t=e.context,n=t.canExecute,i=t.start,o=t.hover,r=t.source,s=t.target;e.originalEvent&&Ate(e.originalEvent)||(t.initialConnectionStart||(t.initialConnectionStart=t.connectionStart),n&&o&&lye(e,o,mye(o)),o&&pye(n,["bpmn:Association","bpmn:DataInputAssociation","bpmn:DataOutputAssociation","bpmn:SequenceFlow"])?(t.connectionStart=bse(i),p9(o,["bpmn:Event","bpmn:Gateway"])&&dye(e,bse(o)),p9(o,["bpmn:Task","bpmn:SubProcess"])&&cye(e,o),u9(r,"bpmn:BoundaryEvent")&&s===r.host&&hye(e)):uye(n,"bpmn:MessageFlow")?(u9(i,"bpmn:Event")&&(t.connectionStart=bse(i)),u9(o,"bpmn:Event")&&dye(e,bse(o))):t.connectionStart=t.initialConnectionStart)}))}function lye(e,t,n){rye.forEach((function(i){var o=gye(i,t);e[i]t[i]+o-n&&_se(e,i,t[i]+o-n)}))}function cye(e,t){var n=bse(t);rye.forEach((function(i){fye(e,t,i)&&_se(e,i,n[i])}))}function hye(e){var t=e.context,n=t.source,i=t.target;if(!vye(t)){var o=bse(n),r=S5(o,i,-10),s=[];/top|bottom/.test(r)&&s.push("x"),/left|right/.test(r)&&s.push("y"),s.forEach((function(t){var n,i=e[t];sye(i-o[t])o[t]?o[t]+tye:o[t]-tye,_se(e,t,n))}))}}function dye(e,t){_se(e,"x",t.x),_se(e,"y",t.y)}function uye(e,t){return e&&e.type===t}function pye(e,t){return I1(t,(function(t){return uye(e,t)}))}function gye(e,t){return"x"===e?t.width:t.height}function mye(e){return u9(e,"bpmn:Task")?iye:nye}function fye(e,t,n){return e[n]>t[n]+oye&&e[n]=e.x||o&&o<=e.x)&&_se(e,"x",e.x),(i&&i>=e.y||r&&r<=e.y)&&_se(e,"y",e.y)}}function Lye(e,t){return-1!==e.indexOf(t)}function Mye(e,t,n){return t?{x:e.x-n.x,y:e.y-n.y}:{x:e.x,y:e.y}}l1(Eye,wye),Eye.$inject=["eventBus","injector"],Eye.prototype.initSnap=function(e){var t=wye.prototype.initSnap.call(this,e),n=e.shape,i=!!this._elementRegistry.get(n.id);return L1(n.outgoing,(function(n){var o=n.waypoints[0];o=o.original||o,t.setSnapOrigin(n.id+"-docking",Mye(o,i,e))})),L1(n.incoming,(function(n){var o=n.waypoints[n.waypoints.length-1];o=o.original||o,t.setSnapOrigin(n.id+"-docking",Mye(o,i,e))})),u9(n,"bpmn:Participant")&&t.setSnapLocations(["top-left","bottom-right","mid"]),t},Eye.prototype.addSnapTargetPoints=function(e,t,n){wye.prototype.addSnapTargetPoints.call(this,e,t,n);var i=this.getSnapTargets(t,n);L1(i,(function(n){(Dye(n)||Sye([t,n],"bpmn:TextAnnotation"))&&(e.add("top-left",fse(n)),e.add("bottom-right",vse(n)))}));var o=this._elementRegistry;return L1(t.incoming,(function(n){if(o.get(t.id)){Lye(i,n.source)||e.add("mid",x5(n.source));var r=n.waypoints[0];e.add(n.id+"-docking",r.original||r)}})),L1(t.outgoing,(function(n){if(o.get(t.id)){Lye(i,n.target)||e.add("mid",x5(n.target));var r=n.waypoints[n.waypoints.length-1];e.add(n.id+"-docking",r.original||r)}})),u9(n,"bpmn:SequenceFlow")&&(e=this.addSnapTargetPoints(e,t,n.parent)),e},Eye.prototype.getSnapTargets=function(e,t){return wye.prototype.getSnapTargets.call(this,e,t).filter((function(e){return!u9(e,"bpmn:Lane")}))};var Bye=1250;function Nye(e,t){var n=this;e.on(["resize.start"],(function(e){n.initSnap(e)})),e.on(["resize.move","resize.end"],Bye,(function(e){var i=e.context,o=i.shape,r=o.parent,s=i.direction,a=i.snapContext;if((!e.originalEvent||!Ate(e.originalEvent))&&!yse(e)){var l=a.pointsForTarget(r);l.initialized||(l=n.addSnapTargetPoints(l,o,r,s),l.initialized=!0),Pye(s)&&_se(e,"x",e.x),Fye(s)&&_se(e,"y",e.y),t.snap(e,l)}})),e.on(["resize.cleanup"],(function(){t.hide()}))}function Iye(e,t){var n=x5(e),i=w5(e),o={x:n.x,y:n.y};return-1!==t.indexOf("n")?o.y=i.top:-1!==t.indexOf("s")&&(o.y=i.bottom),-1!==t.indexOf("e")?o.x=i.right:-1!==t.indexOf("w")&&(o.x=i.left),o}function Tye(e,t){return e.host===t}function Rye(e){return!!e.hidden}function Pye(e){return"n"===e||"s"===e}function Fye(e){return"e"===e||"w"===e}Nye.prototype.initSnap=function(e){var t=e.context,n=t.shape,i=t.direction,o=t.snapContext;o||(o=t.snapContext=new bye);var r=Iye(n,i);return o.setSnapOrigin("corner",{x:r.x-e.x,y:r.y-e.y}),o},Nye.prototype.addSnapTargetPoints=function(e,t,n,i){var o=this.getSnapTargets(t,n);return L1(o,(function(t){e.add("corner",vse(t)),e.add("corner",fse(t))})),e.add("corner",Iye(t,i)),e},Nye.$inject=["eventBus","snapping"],Nye.prototype.getSnapTargets=function(e,t){return wse(t).filter((function(t){return!Tye(t,e)&&!v5(t)&&!Rye(t)&&!b5(t)}))};var Oye=7,zye=1e3;function Vye(e){this._canvas=e,this._asyncHide=G1(Y1(this.hide,this),zye)}Vye.$inject=["canvas"],Vye.prototype.snap=function(e,t){var n=e.context,i=n.snapContext,o=i.getSnapLocations(),r={x:yse(e,"x"),y:yse(e,"y")};L1(o,(function(n){var o=i.getSnapOrigin(n),s={x:e.x+o.x,y:e.y+o.y};if(L1(["x","y"],(function(e){var i;r[e]||(i=t.snap(s,n,e,Oye),void 0!==i&&(r[e]={value:i,originValue:i-o[e]}))})),r.x&&r.y)return!1})),this.showSnapLine("vertical",r.x&&r.x.value),this.showSnapLine("horizontal",r.y&&r.y.value),L1(["x","y"],(function(t){var n=r[t];_1(n)&&_se(e,t,n.originValue)}))},Vye.prototype._createLine=function(e){var t=this._canvas.getLayer("snap"),n=n4("path");return U2(n,{d:"M0,0 L0,0"}),G2(n).add("djs-snap-line"),z2(t,n),{update:function(t){w1(t)?U2(n,"horizontal"===e?{d:"M-100000,"+t+" L+100000,"+t,display:""}:{d:"M "+t+",-100000 L "+t+", +100000",display:""}):U2(n,{display:"none"})}}},Vye.prototype._createSnapLines=function(){this._snapLines={horizontal:this._createLine("horizontal"),vertical:this._createLine("vertical")}},Vye.prototype.showSnapLine=function(e,t){var n=this.getSnapLine(e);n&&n.update(t),this._asyncHide()},Vye.prototype.getSnapLine=function(e){return this._snapLines||this._createSnapLines(),this._snapLines[e]},Vye.prototype.hide=function(){L1(this._snapLines,(function(e){e.update()}))};var Wye={__init__:["createMoveSnapping","resizeSnapping","snapping"],createMoveSnapping:["type",wye],resizeSnapping:["type",Nye],snapping:["type",Vye]},Hye={__depends__:[Wye],__init__:["connectSnapping","createMoveSnapping"],connectSnapping:["type",aye],createMoveSnapping:["type",Eye]};function jye(e,t,n,i){this._open=!1,this._results=[],this._eventMaps=[],this._canvas=e,this._eventBus=t,this._overlays=n,this._selection=i,this._container=I2(jye.BOX_HTML),this._searchInput=T2(jye.INPUT_SELECTOR,this._container),this._resultsContainer=T2(jye.RESULTS_CONTAINER_SELECTOR,this._container),this._canvas.getContainer().appendChild(this._container),t.on(["canvas.destroy","diagram.destroy"],this.close,this)}function Qye(e){var t=6,n=e.width+2*t,i=e.height+2*t,o={width:n+"px",height:i+"px"},r=I2('
');return l2(r,o),{position:{bottom:i-t,right:n-t},show:!0,html:r}}function Uye(e,t,n){var i=Kye(t),o=I2(n);o.innerHTML=i,e.appendChild(o)}function Kye(e){var t="";return e.forEach((function(e){e.matched?t+=''+Yee(e.matched)+"":t+=Yee(e.normal)})),""!==t?t:null}jye.$inject=["canvas","eventBus","overlays","selection"],jye.prototype._bindEvents=function(){var e=this;function t(t,n,i,o){e._eventMaps.push({el:t,type:i,listener:k2.bind(t,n,i,o)})}t(document,"html","click",(function(t){e.close()})),t(this._container,jye.INPUT_SELECTOR,"click",(function(e){e.stopPropagation(),e.delegateTarget.focus()})),t(this._container,jye.RESULT_SELECTOR,"mouseover",(function(t){t.stopPropagation(),e._scrollToNode(t.delegateTarget),e._preselect(t.delegateTarget)})),t(this._container,jye.RESULT_SELECTOR,"click",(function(t){t.stopPropagation(),e._select(t.delegateTarget)})),t(this._container,jye.INPUT_SELECTOR,"keydown",(function(e){Ete("ArrowUp",e)&&e.preventDefault(),Ete("ArrowDown",e)&&e.preventDefault()})),t(this._container,jye.INPUT_SELECTOR,"keyup",(function(t){if(Ete("Escape",t))return e.close();if(Ete("Enter",t)){var n=e._getCurrentResult();return n?e._select(n):e.close()}return Ete("ArrowUp",t)?e._scrollToDirection(!0):Ete("ArrowDown",t)?e._scrollToDirection():void(Ete(["ArrowLeft","ArrowRight"],t)||e._search(t.delegateTarget.value))}))},jye.prototype._unbindEvents=function(){this._eventMaps.forEach((function(e){k2.unbind(e.el,e.type,e.listener)}))},jye.prototype._search=function(e){var t=this;if(this._clearResults(),e&&""!==e){var n=this._searchProvider.find(e);if(n.length){n.forEach((function(e){var n=e.element.id,i=t._createResultNode(e,n);t._results[n]={element:e.element,node:i}}));var i=T2(jye.RESULT_SELECTOR,this._resultsContainer);this._scrollToNode(i),this._preselect(i)}}},jye.prototype._scrollToDirection=function(e){var t=this._getCurrentResult();if(t){var n=e?t.previousElementSibling:t.nextElementSibling;n&&(this._scrollToNode(n),this._preselect(n))}},jye.prototype._scrollToNode=function(e){if(e&&e!==this._getCurrentResult()){var t=e.offsetTop,n=this._resultsContainer.scrollTop,i=t-this._resultsContainer.clientHeight+e.clientHeight;t0&&Uye(n,e.primaryTokens,jye.RESULT_PRIMARY_HTML),Uye(n,e.secondaryTokens,jye.RESULT_SECONDARY_HTML),c2(n,jye.RESULT_ID_ATTRIBUTE,t),this._resultsContainer.appendChild(n),n},jye.prototype.registerProvider=function(e){this._searchProvider=e},jye.prototype.open=function(){if(!this._searchProvider)throw new Error("no search provider registered");this.isOpen()||(this._bindEvents(),this._open=!0,d2(this._container).add("open"),this._searchInput.focus(),this._eventBus.fire("searchPad.opened"))},jye.prototype.close=function(){this.isOpen()&&(this._unbindEvents(),this._open=!1,d2(this._container).remove("open"),this._clearResults(),this._searchInput.value="",this._searchInput.blur(),this._resetOverlay(),this._eventBus.fire("searchPad.closed"))},jye.prototype.toggle=function(){this.isOpen()?this.close():this.open()},jye.prototype.isOpen=function(){return this._open},jye.prototype._preselect=function(e){var t=this._getCurrentResult();if(e!==t){t&&d2(t).remove(jye.RESULT_SELECTED_CLASS);var n=c2(e,jye.RESULT_ID_ATTRIBUTE),i=this._results[n].element;d2(e).add(jye.RESULT_SELECTED_CLASS),this._resetOverlay(i),this._canvas.scrollToElement(i,{top:400}),this._selection.select(i),this._eventBus.fire("searchPad.preselected",i)}},jye.prototype._select=function(e){var t=c2(e,jye.RESULT_ID_ATTRIBUTE),n=this._results[t].element;this.close(),this._resetOverlay(),this._canvas.scrollToElement(n,{top:400}),this._selection.select(n),this._eventBus.fire("searchPad.selected",n)},jye.prototype._resetOverlay=function(e){if(this._overlayId&&this._overlays.remove(this._overlayId),e){var t=q4(e),n=Qye(t);this._overlayId=this._overlays.add(e,n)}},jye.CONTAINER_SELECTOR=".djs-search-container",jye.INPUT_SELECTOR=".djs-search-input input",jye.RESULTS_CONTAINER_SELECTOR=".djs-search-results",jye.RESULT_SELECTOR=".djs-search-result",jye.RESULT_SELECTED_CLASS="djs-search-result-selected",jye.RESULT_SELECTED_SELECTOR="."+jye.RESULT_SELECTED_CLASS,jye.RESULT_ID_ATTRIBUTE="data-result-id",jye.RESULT_HIGHLIGHT_CLASS="djs-search-highlight",jye.OVERLAY_CLASS="djs-search-overlay",jye.BOX_HTML='
',jye.RESULT_HTML='
',jye.RESULT_PRIMARY_HTML='
',jye.RESULT_SECONDARY_HTML='

';var Gye={__depends__:[Fee,kee],searchPad:["type",jye]};function Yye(e,t,n){this._elementRegistry=e,this._canvas=n,t.registerProvider(this)}function $ye(e){var t=k1(e,(function(e){return!!e.matched}));return t.length>0}function qye(e,t){var n=[],i=e;if(!e)return n;e=e.toLowerCase(),t=t.toLowerCase();var o=e.indexOf(t);return o>-1?(0!==o&&n.push({normal:i.substr(0,o)}),n.push({matched:i.substr(o,t.length)}),t.length+o';function Zye(e){O9.call(this,e)}function e_e(e,t,n,i,o,r,s,a){this._palette=e,this._create=t,this._elementFactory=n,this._spaceTool=i,this._lassoTool=o,this._handTool=r,this._globalConnect=s,this._translate=a,e.registerProvider(this)}function t_e(e,t,n,i,o,r,s,a,l,c,h,d){e=e||{},i.registerProvider(this),this._contextPad=i,this._modeling=o,this._elementFactory=r,this._connect=s,this._create=a,this._popupMenu=l,this._canvas=c,this._rules=h,this._translate=d,!1!==e.autoPlace&&(this._autoPlace=t.get("autoPlace",!1)),n.on("create.end",250,(function(e){const t=e.context,n=t.shape;if(hee(e)&&i.isOpen(n)){var o=i.getEntries(n);o.replace&&o.replace.action.click(e,n)}}))}function n_e(e,t,n){const i=e.$instanceOf(t);let o=!1;const r=e.eventDefinitions||[];return L1(r,(function(e){e.$type===n&&(o=!0)})),i&&o}l1(Zye,O9),Zye.Viewer=vte,Zye.NavigatedViewer=cne,Zye.prototype.createDiagram=function(){return this.importXML(Xye)},Zye.prototype.createDiagram=s9(Zye.prototype.createDiagram),Zye.prototype._interactionModules=[Wte,Xte,Cne,lne],Zye.prototype._modelingModules=[_oe,Uoe,ure,Xoe,Sse,Tse,zse,Ple,Tae,mae,Kle,Zle,kce,Nce,Tce,Qce,yhe,sbe,Abe,qbe,Zbe,ahe,Hye,Jye],Zye.prototype._modules=[].concat(vte.prototype._modules,Zye.prototype._interactionModules,Zye.prototype._modelingModules),e_e.$inject=["palette","create","elementFactory","spaceTool","lassoTool","handTool","globalConnect","translate"],e_e.prototype.getPaletteEntries=function(){const e={},t=this._create,n=this._elementFactory,i=this._spaceTool,o=this._lassoTool,r=this._handTool,s=this._globalConnect,a=this._translate;function l(e,i,o,r,s){function l(i){const o=n.createShape($1({type:e},s));s&&(o.businessObject.di.isExpanded=s.isExpanded),t.start(i,o)}const c=e.replace(/^bpmn:/,"");return{group:i,className:o,title:r||a("Create {type}",{type:c}),action:{dragstart:l,click:l}}}function c(e){const i=n.createShape({type:"bpmn:SubProcess",x:0,y:0,isExpanded:!0}),o=n.createShape({type:"bpmn:StartEvent",x:40,y:82,parent:i});t.start(e,[i,o],{hints:{autoSelect:[o]}})}function h(e){t.start(e,n.createParticipantShape())}return $1(e,{"hand-tool":{group:"tools",className:"bpmn-icon-hand-tool",title:a("Activate the hand tool"),action:{click:function(e){r.activateHand(e)}}},"lasso-tool":{group:"tools",className:"bpmn-icon-lasso-tool",title:a("Activate the lasso tool"),action:{click:function(e){o.activateSelection(e)}}},"space-tool":{group:"tools",className:"bpmn-icon-space-tool",title:a("Activate the create/remove space tool"),action:{click:function(e){i.activateSelection(e)}}},"global-connect-tool":{group:"tools",className:"bpmn-icon-connection-multi",title:a("Activate the global connect tool"),action:{click:function(e){s.toggle(e)}}},"tool-separator":{group:"tools",separator:!0},"create.start-event":l("bpmn:StartEvent","event","bpmn-icon-start-event-none",a("Create StartEvent")),"create.intermediate-event":l("bpmn:IntermediateThrowEvent","event","bpmn-icon-intermediate-event-none",a("Create Intermediate/Boundary Event")),"create.end-event":l("bpmn:EndEvent","event","bpmn-icon-end-event-none",a("Create EndEvent")),"create.exclusive-gateway":l("bpmn:ExclusiveGateway","gateway","bpmn-icon-gateway-xor",a("Create Exclusive Gateway")),"create.parallel-gateway":l("bpmn:ParallelGateway","gateway","bpmn-icon-gateway-parallel",a("Create Parallel Gateway")),"create.UserTask":l("bpmn:UserTask","activity","bpmn-icon-user-task",a("Create UserTask")),"create.subprocess-expanded":{group:"activity",className:"bpmn-icon-subprocess-expanded",title:a("Create expanded SubProcess"),action:{dragstart:c,click:c}},"create.participant-expanded":{group:"collaboration",className:"bpmn-icon-participant",title:a("Create Pool/Participant"),action:{dragstart:h,click:h}}}),e},t_e.$inject=["config.contextPad","injector","eventBus","contextPad","modeling","elementFactory","connect","create","popupMenu","canvas","rules","translate"],t_e.prototype.getContextPadEntries=function(e){const t=this._contextPad,n=this._modeling,i=this._elementFactory,o=this._connect,r=this._create,s=this._popupMenu,a=this._canvas,l=this._rules,c=this._autoPlace,h=this._translate,d={};if("label"===e.type)return d;const u=e.businessObject;function p(e,t){o.start(e,t)}function g(){n.removeElements([e])}function m(e){const n=5,i=a.getContainer(),o=t.getPad(e).html,r=i.getBoundingClientRect(),s=o.getBoundingClientRect(),l=s.top-r.top,c=s.left-r.left,h={x:c,y:l+s.height+n};return h}function f(e,t,n,o){function s(t,n){const s=i.createShape($1({type:e},o));r.start(t,s,{source:n})}"string"!==typeof n&&(o=n,n=h("Append {type}",{type:e.replace(/^bpmn:/,"")}));const a=c?function(t,n){const r=i.createShape($1({type:e},o));c.append(n,r)}:s;return{group:"model",className:t,title:n,action:{dragstart:s,click:a}}}function v(e){return function(i,o){n.splitLane(o,e),t.open(o,!0)}}if(p9(u,["bpmn:Lane","bpmn:Participant"])&&z9(u)){const t=Mle(e);$1(d,{"lane-insert-above":{group:"lane-insert-above",className:"bpmn-icon-lane-insert-above",title:h("Add Lane above"),action:{click:function(e,t){n.addLane(t,"top")}}}}),t.length<2&&(e.height>=120&&$1(d,{"lane-divide-two":{group:"lane-divide",className:"bpmn-icon-lane-divide-two",title:h("Divide into two Lanes"),action:{click:v(2)}}}),e.height>=180&&$1(d,{"lane-divide-three":{group:"lane-divide",className:"bpmn-icon-lane-divide-three",title:h("Divide into three Lanes"),action:{click:v(3)}}})),$1(d,{"lane-insert-below":{group:"lane-insert-below",className:"bpmn-icon-lane-insert-below",title:h("Add Lane below"),action:{click:function(e,t){n.addLane(t,"bottom")}}}})}if(u9(u,"bpmn:FlowNode"))if(u9(u,"bpmn:EventBasedGateway")){var b="0d9a60fe0131dff70d665020f5b0cdee";$1(d,{"append.receive-task":f("bpmn:ReceiveTask","bpmn-icon-receive-task"),"append.message-intermediate-event":f("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-message",h("Append MessageIntermediateCatchEvent"),{eventDefinitionType:"bpmn:MessageEventDefinition"}),"append.timer-intermediate-event":f("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-timer",h("Append TimerIntermediateCatchEvent"),{eventDefinitionType:"bpmn:TimerEventDefinition"}),"append.condition-intermediate-event":f("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-condition",h("Append ConditionIntermediateCatchEvent"),{eventDefinitionType:"bpmn:ConditionalEventDefinition"}),"append.signal-intermediate-event":f("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-signal",h("Append SignalIntermediateCatchEvent"),{eventDefinitionType:"bpmn:SignalEventDefinition"})}),b.trim()}else n_e(u,"bpmn:BoundaryEvent","bpmn:CompensateEventDefinition")?$1(d,{"append.compensation-activity":f("bpmn:Task","bpmn-icon-task",h("Append compensation activity"),{isForCompensation:!0})}):u9(u,"bpmn:EndEvent")||u.isForCompensation||n_e(u,"bpmn:IntermediateThrowEvent","bpmn:LinkEventDefinition")||W9(u)||$1(d,{"append.end-event":f("bpmn:EndEvent","bpmn-icon-end-event-none",h("Append EndEvent")),"append.gateway":f("bpmn:ExclusiveGateway","bpmn-icon-gateway-none",h("Append Gateway")),"append.user-task":f("bpmn:UserTask","bpmn-icon-user-task",h("Append UserTask")),"append.intermediate-event":f("bpmn:IntermediateThrowEvent","bpmn-icon-intermediate-event-none",h("Append Intermediate/Boundary Event")),"append.timer-intermediate-event":f("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-timer",h("Append TimerIntermediateCatchEvent"),{eventDefinitionType:"bpmn:TimerEventDefinition"})});s.isEmpty(e,"bpmn-replace")||$1(d,{replace:{group:"edit",className:"bpmn-icon-screw-wrench",title:h("Change type"),action:{click:function(e,t){var n=$1(m(t),{cursor:{x:e.x,y:e.y}});s.open(t,"bpmn-replace",n)}}}}),p9(u,["bpmn:FlowNode","bpmn:InteractionNode","bpmn:DataObjectReference","bpmn:DataStoreReference"])&&$1(d,{"append.text-annotation":f("bpmn:TextAnnotation","bpmn-icon-text-annotation"),connect:{group:"connect",className:"bpmn-icon-connection-multi",title:h("Connect using "+(u.isForCompensation?"":"Sequence/MessageFlow or ")+"Association"),action:{click:p,dragstart:p}}}),p9(u,["bpmn:DataObjectReference","bpmn:DataStoreReference"])&&$1(d,{connect:{group:"connect",className:"bpmn-icon-connection-multi",title:h("Connect using DataInputAssociation"),action:{click:p,dragstart:p}}});let y=l.allowed("elements.delete",{elements:[e]});return y1(y)&&(y=y[0]===e),y&&$1(d,{delete:{group:"edit",className:"bpmn-icon-trash",title:h("Remove"),action:{click:g}}}),d};var i_e={__init__:["paletteProvider","contextPadProvider"],paletteProvider:["type",e_e],contextPadProvider:["type",t_e]};function o_e(e){Zye.call(this,e),this._customElements=[]}l1(o_e,Zye),o_e.prototype._modules=[].concat(o_e.prototype._modules,[i_e]);var r_e={"Create {type}":"创建 {type}","Create StartEvent":"开始节点","Create EndEvent":"结束节点","Create Task":"任务节点","Create UserTask":"用户任务节点","Create expanded SubProcess":"扩展子过程","Create IntermediateThrowEvent/BoundaryEvent":"中间抛出事件/边界事件","Create Pool/Participant":"池/参与者","Create Gateway":"网关","Create Exclusive Gateway":"互斥网关","Create Parallel Gateway":"并行网关","Create Inclusive Gateway":"相容网关","Create Group":"创建组","Create DataObjectReference":"数据对象引用","Create DataStoreReference":"数据存储引用","Create Intermediate/Boundary Event":"中间/边界事件","Activate the global connect tool":"激活全局连接工具","Append {type}":"添加 {type}","Add Lane above":"在上面添加道","Divide into two Lanes":"分割成两个道","Divide into three Lanes":"分割成三个道","Add Lane below":"在下面添加道","Append compensation activity":"追加补偿活动","Change type":"修改类型","Append element":"添加元素","Create element":"创建元素","Connect using Association":"使用关联连接","Connect using Sequence/MessageFlow or Association":"使用顺序/消息流或者关联连接","Connect using DataInputAssociation":"使用数据输入关联连接",Remove:"移除","Activate the hand tool":"激活抓手工具","Activate the lasso tool":"激活套索工具","Activate the create/remove space tool":"激活创建/删除空间工具","Parallel Multi Instance":"并行多重事件","Sequential Multi Instance":"时序多重事件",DataObjectReference:"数据对象参考",DataStoreReference:"数据存储参考",Loop:"循环","Ad-hoc":"即席",Task:"任务","Send Task":"发送任务","Receive Task":"接收任务","User Task":"用户任务","Manual Task":"手工任务","Business Rule Task":"业务规则任务","Service Task":"服务任务","Script Task":"脚本任务","Call Activity":"调用活动","Sub Process (collapsed)":"子流程(折叠的)","Sub Process (expanded)":"子流程(展开的)","Start Event":"开始事件",StartEvent:"开始事件","Intermediate Throw Event":"中间事件","End Event":"结束事件",EndEvent:"结束事件","Message Start Event":"消息开始事件","Timer Start Event":"定时开始事件","Conditional Start Event":"条件开始事件","Signal Start Event":"信号开始事件","Error Start Event":"错误开始事件","Escalation Start Event":"升级开始事件","Compensation Start Event":"补偿开始事件","Message Start Event (non-interrupting)":"消息开始事件(非中断)","Timer Start Event (non-interrupting)":"定时开始事件(非中断)","Conditional Start Event (non-interrupting)":"条件开始事件(非中断)","Signal Start Event (non-interrupting)":"信号开始事件(非中断)","Escalation Start Event (non-interrupting)":"升级开始事件(非中断)","Message Intermediate Catch Event":"消息中间捕获事件","Message Intermediate Throw Event":"消息中间抛出事件","Timer Intermediate Catch Event":"定时中间捕获事件","Escalation Intermediate Throw Event":"升级中间抛出事件","Conditional Intermediate Catch Event":"条件中间捕获事件","Link Intermediate Catch Event":"链接中间捕获事件","Link Intermediate Throw Event":"链接中间抛出事件","Compensation Intermediate Throw Event":"补偿中间抛出事件","Signal Intermediate Catch Event":"信号中间捕获事件","Signal Intermediate Throw Event":"信号中间抛出事件","Message End Event":"消息结束事件","Escalation End Event":"定时结束事件","Error End Event":"错误结束事件","Cancel End Event":"取消结束事件","Compensation End Event":"补偿结束事件","Signal End Event":"信号结束事件","Terminate End Event":"终止结束事件","Message Boundary Event":"消息边界事件","Message Boundary Event (non-interrupting)":"消息边界事件(非中断)","Timer Boundary Event":"定时边界事件","Timer Boundary Event (non-interrupting)":"定时边界事件(非中断)","Escalation Boundary Event":"升级边界事件","Escalation Boundary Event (non-interrupting)":"升级边界事件(非中断)","Conditional Boundary Event":"条件边界事件","Conditional Boundary Event (non-interrupting)":"条件边界事件(非中断)","Error Boundary Event":"错误边界事件","Cancel Boundary Event":"取消边界事件","Signal Boundary Event":"信号边界事件","Signal Boundary Event (non-interrupting)":"信号边界事件(非中断)","Compensation Boundary Event":"补偿边界事件","Boundary Event":"边界事件","Exclusive Gateway":"互斥网关","Parallel Gateway":"并行网关","Inclusive Gateway":"相容网关","Complex Gateway":"复杂网关","Event based Gateway":"事件网关",Transaction:"转运","Sub Process":"子流程","Event Sub Process":"事件子流程","Collapsed Pool":"折叠池","Expanded Pool":"展开池",Gateways:"网关",Tasks:"任务",Events:"事件","Sub Processes":"子流程",Data:"数据",Participants:"参与者","Data Store Reference":"数据存储参考","Data Object Reference":"数据对象参考","Default Flow":"默认流转","Conditional Flow":"条件流转","Sequence Flow":"顺序流转","no parent for {element} in {parent}":"在{parent}里,{element}没有父类","no shape type specified":"没有指定的形状类型","flow elements must be children of pools/participants":"流元素必须是池/参与者的子类","out of bounds release":"out of bounds release","more than {count} child lanes":"子道大于{count} ","element required":"元素不能为空","diagram not part of bpmn:Definitions":"流程图不符合bpmn规范","no diagram to display":"没有可展示的流程图","no process or collaboration to display":"没有可展示的流程/协作","element {element} referenced by {referenced}#{property} not yet drawn":"由{referenced}#{property}引用的{element}元素仍未绘制","already rendered {element}":"{element} 已被渲染","failed to import {element}":"导入{element}失败","Append EndEvent":"追加结束事件节点","Append Gateway":"追加网关节点","Append UserTask":"追加用户任务节点","Append Intermediate/Boundary Event":"追加中间或边界事件","Append TextAnnotation":"追加文本批注","{errors} Errors, {warnings} Warnings":"{errors} 错误,{warnings} 警告","Process is missing end event":"流程缺少结束节点","Process is missing start event":"流程缺少开始节点","Element is not connected":"元素缺少连接","Start event is missing event definition":"缺少事件定义","Event has multiple event definitions":"多个事件定义","Sequence flow is missing condition":"缺少流转条件","Flow splits implicitly":"流转方向未知","Incoming flows do not join":"使用网关确定统一的入口","SequenceFlow is a duplicate":"重复的连线","Duplicate incoming sequence flows":"入口连线重复","Duplicate outgoing sequence flows":"出口连线重复","Gateway forks and joins":"允许一进多出、多进一出。禁止多进多出","Open minimap":"小地图","Close minimap":"关闭小地图","Token Simulation":"流程模拟","Play/Pause Simulation":"开始/暂停","Pause Simulation":"暂停","Play Simulation":"开始","Set animation speed":"设置速度",Slow:"慢",Normal:"正常",Fast:"快",Finished:"结束","Reset Simulation":"重置","Toggle Simulation Log":"显示日志","Simulation Log":"日志","No Entries":"暂无日志",Process:"流程",SubProcess:"子流程",started:"启动",finished:"结束",canceled:"取消"};function s_e(e,t){return t=t||{},e=r_e[e]||e,e.replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}function a_e(e,t){var n=e.get("editorActions",!1);n&&n.register({toggleLinting:function(){t.toggle()}})}a_e.$inject=["injector","linting"];var l_e=n("fea7"),c_e='',h_e='',d_e='',u_e=-7,p_e=-7,g_e=500,m_e={resolver:{resolveRule:function(){return null}},config:{}},f_e={error:c_e,warning:h_e,success:d_e,inactive:d_e};function v_e(e,t,n,i,o,r,s){this._bpmnjs=e,this._canvas=t,this._elementRegistry=i,this._eventBus=o,this._overlays=r,this._translate=s,this._issues={},this._active=n&&n.active||!1,this._linterConfig=m_e,this._overlayIds={};var a=this;o.on(["import.done","elements.changed","linting.configChanged","linting.toggle"],g_e,(function(e){a.isActive()&&a.update()})),o.on("linting.toggle",(function(e){const t=e.active;t||(a._clearIssues(),a._updateButton())})),o.on("diagram.clear",(function(){a._clearIssues()}));var l=n&&n.bpmnlint;l&&o.once("diagram.init",(function(){if(a.getLinterConfig()===m_e)try{a.setLinterConfig(l)}catch(e){}})),this._init()}v_e.prototype.setLinterConfig=function(e){if(!e.config||!e.resolver)throw new Error("Expected linterConfig = { config, resolver }");this._linterConfig=e,this._eventBus.fire("linting.configChanged")},v_e.prototype.getLinterConfig=function(){return this._linterConfig},v_e.prototype._init=function(){this._createButton(),this._updateButton()},v_e.prototype.isActive=function(){return this._active},v_e.prototype._formatIssues=function(e){const t=B1(e,(function(e,t,n){return e.concat(t.map((function(e){return e.rule=n,e})))}),[]);return O1(t,(function(e){return e.id}))},v_e.prototype.toggle=function(e){return e="undefined"===typeof e?!this.isActive():e,this._setActive(e),e},v_e.prototype._setActive=function(e){this._active!==e&&(this._active=e,this._eventBus.fire("linting.toggle",{active:e}))},v_e.prototype.update=function(){var e=this,t=this._bpmnjs.getDefinitions();if(t){var n=this._lintStart=Math.random();this.lint().then((function(t){if(e._lintStart===n){t=e._formatIssues(t);var i={},o={},r={};for(var s in e._issues)t[s]||(i[s]=e._issues[s]);for(var a in t)e._issues[a]?t[a]!==e._issues[a]&&(o[a]=t[a]):r[a]=t[a];i=$1(i,o),r=$1(r,o),e._clearOverlays(),e._createIssues(r),e._issues=t,e._updateButton(),e._fireComplete(t)}}))}},v_e.prototype._fireComplete=function(e){this._eventBus.fire("linting.completed",{issues:e})},v_e.prototype._createIssues=function(e){for(var t in e)this._createElementIssues(t,e[t])},v_e.prototype._createElementIssues=function(e,t){var n=this._elementRegistry.get(e);if(n){var i,o;n===this._canvas.getRootElement()?(i="bottom-right",o={top:20,left:150}):(i="top-right",o={top:u_e,left:p_e});var r=O1(t,(function(e){return e.category})),s=r.error,a=r.warn;if(s||a){var l=I2('
'),c="3e71c4bfc16d37db4cb08e89b9e366f8",h=I2(s?'
'+c_e+"
":'
'+h_e+"
"),d=I2('
'),u=I2('
'),p=I2('
'),g=I2("
    ");l.appendChild(h),l.appendChild(d),d.appendChild(u),u.appendChild(p),p.appendChild(g),c.length,s&&this._addErrors(g,s),a&&this._addWarnings(g,a),this._overlayIds[e]=this._overlays.add(n,"linting",{position:o,html:l,scale:{min:.9}})}}},v_e.prototype._addErrors=function(e,t){var n=this;t.forEach((function(t){n._addEntry(e,"error",t)}))},v_e.prototype._addWarnings=function(e,t){var n=this;t.forEach((function(t){n._addEntry(e,"warning",t)}))},v_e.prototype._addEntry=function(e,t,n){var i=n.rule,o=this._translate(n.message),r=f_e[t],s=I2('
  • '+r+''+Yee(o)+"
  • ");e.appendChild(s)},v_e.prototype._clearOverlays=function(){this._overlays.remove({type:"linting"}),this._overlayIds={}},v_e.prototype._clearIssues=function(){this._issues={},this._clearOverlays()},v_e.prototype._setButtonState=function(e,t,n){var i=this._button,o=f_e[e],r=o+""+this._translate("{errors} Errors, {warnings} Warnings",{errors:t.toString(),warnings:n.toString()})+"";["error","inactive","success","warning"].forEach((function(t){e===t?i.classList.add("bjsl-button-"+t):i.classList.remove("bjsl-button-"+t)})),i.innerHTML=r},v_e.prototype._updateButton=function(){if(this.isActive()){var e=0,t=0;for(var n in this._issues)this._issues[n].forEach((function(n){"error"===n.category?e++:"warn"===n.category&&t++}));var i=(e?"error":t&&"warning")||"success";this._setButtonState(i,e,t)}else this._setButtonState("inactive",0,0)},v_e.prototype._createButton=function(){var e=this;this._button=I2(''),this._button.addEventListener("click",(function(){e.toggle()})),this._canvas.getContainer().appendChild(this._button)},v_e.prototype.lint=function(){var e=this._bpmnjs.getDefinitions(),t=new l_e["Linter"](this._linterConfig);return t.lint(e)},v_e.$inject=["bpmnjs","canvas","config.linting","elementRegistry","eventBus","overlays","translate"];var b_e={__init__:["linting","lintingEditorActions"],linting:["type",v_e],lintingEditorActions:["type",a_e]},y_e=function(){function e(e,t){if(!__e(e))return;const n=e.outgoing||[];n.forEach(n=>{const i=!w_e(n)&&!C_e(e,n);i&&t.report(n.id,"Sequence flow is missing condition")})}return{check:e}};function __e(e){const t=e["default"],n=e.outgoing||[];return t||n.find(w_e)}function w_e(e){return!!e.conditionExpression}function C_e(e,t){return e["default"]===t}function A_e(e,t){return-1===t.indexOf(":")&&(t="bpmn:"+t),"function"===typeof e.$instanceOf?e.$instanceOf(t):e.$type===t}function E_e(e,t){return t.some((function(t){return A_e(e,t)}))}var x_e=Object.freeze({__proto__:null,is:A_e,isAny:E_e});const{is:S_e,isAny:D_e}=x_e;var k_e=function(){function e(e){const t=e.flowElements||[];return t.some(e=>S_e(e,"bpmn:EndEvent"))}function t(t,n){if(D_e(t,["bpmn:Process","bpmn:SubProcess"])&&!e(t)){const e=S_e(t,"bpmn:SubProcess")?"Sub process":"Process";n.report(t.id,e+" is missing end event")}}return{check:t}};const{is:L_e}=x_e;var M_e=function(){function e(e,t){if(!L_e(e,"bpmn:SubProcess")||!e.triggeredByEvent)return;const n=e.flowElements||[];n.forEach((function(e){if(!L_e(e,"bpmn:StartEvent"))return!1;const n=e.eventDefinitions||[];0===n.length&&t.report(e.id,"Start event is missing event definition")}))}return{check:e}};const{isAny:B_e}=x_e;var N_e=function(){function e(e,t){if(!B_e(e,["bpmn:Task","bpmn:Event"]))return;const n=e.incoming||[];n.length>1&&t.report(e.id,"Incoming flows do not join")}return{check:e}};const{is:I_e}=x_e;function T_e(e){return function(){function t(t,n){I_e(t,e)&&n.report(t.id,"Element has disallowed type <"+e+">")}return{check:t}}}var R_e=T_e,P_e={disallowNodeType:R_e};const F_e=P_e.disallowNodeType;var O_e=F_e("bpmn:ComplexGateway");const{isAny:z_e}=x_e;var V_e=function(){function e(e,t){if(!z_e(e,["bpmn:Task","bpmn:Gateway","bpmn:SubProcess","bpmn:Event"])||e.triggeredByEvent||e.isForCompensation)return;if(j_e(e))return;const n=e.incoming||[],i=e.outgoing||[];n.length||i.length||t.report(e.id,"Element is not connected")}return{check:e}};function W_e(e){var t=e.eventDefinitions;return!!A_e(e,"bpmn:BoundaryEvent")&&(!(!t||1!==t.length)&&A_e(t[0],"bpmn:CompensateEventDefinition"))}function H_e(e){return e.isForCompensation}function j_e(e){var t=W_e(e),n=H_e(e);return t||n}const{is:Q_e}=x_e;var U_e=function(){const e={},t={},n={};function i(i,o){if(!Q_e(i,"bpmn:SequenceFlow"))return;const r=K_e(i);if(r in e){o.report(i.id,"SequenceFlow is a duplicate");const e=i.sourceRef.id,r=i.targetRef.id;t[e]||(o.report(e,"Duplicate outgoing sequence flows"),t[e]=!0),n[r]||(o.report(r,"Duplicate incoming sequence flows"),n[r]=!0)}else e[r]=i}return{check:i}};function K_e(e){const t=e.conditionExpression,n=t?t.body:"",i=e.sourceRef?e.sourceRef.id:e.id,o=e.targetRef?e.targetRef.id:e.id;return i+"#"+o+"#"+n}const{is:G_e}=x_e;var Y_e=function(){function e(e,t){if(!G_e(e,"bpmn:Gateway"))return;const n=e.incoming||[],i=e.outgoing||[];n.length>1&&i.length>1&&t.report(e.id,"Gateway forks and joins")}return{check:e}};const{isAny:$_e}=x_e;var q_e=function(){function e(e,t){if(!$_e(e,["bpmn:Task","bpmn:Event"]))return;const n=e.outgoing||[],i=n.filter(t=>!J_e(t)&&!X_e(e,t));i.length>1&&t.report(e.id,"Flow splits implicitly")}return{check:e}};function J_e(e){return!!e.conditionExpression}function X_e(e,t){return e["default"]===t}const Z_e=P_e.disallowNodeType;var ewe=Z_e("bpmn:InclusiveGateway");const{is:twe}=x_e;var nwe=function(){function e(e,t){if(!twe(e,"bpmn:FlowElementsContainer"))return;const n=e.flowElements||[],i=n.filter((function(e){if(!twe(e,"bpmn:StartEvent"))return!1;const t=e.eventDefinitions||[];return 0===t.length}));if(i.length>1){const n=twe(e,"bpmn:SubProcess")?"Sub process":"Process";t.report(e.id,n+" has multiple blank start events")}}return{check:e}};const{is:iwe}=x_e;var owe=function(){function e(e,t){if(!iwe(e,"bpmn:Event"))return;const n=e.eventDefinitions||[];n.length>1&&t.report(e.id,"Event has multiple event definitions")}return{check:e}};const{is:rwe,isAny:swe}=x_e;var awe=function(){function e(e){const t=e.flowElements||[];return t.some(e=>rwe(e,"bpmn:StartEvent"))}function t(t,n){if(swe(t,["bpmn:Process","bpmn:SubProcess"])&&!e(t)){const e=rwe(t,"bpmn:SubProcess")?"Sub process":"Process";n.report(t.id,e+" is missing start event")}}return{check:t}};const{is:lwe}=x_e;var cwe=function(){function e(e,t){if(!lwe(e,"bpmn:SubProcess")||e.triggeredByEvent)return;const n=e.flowElements||[];n.forEach((function(e){if(!lwe(e,"bpmn:StartEvent"))return!1;const n=e.eventDefinitions||[];n.length>0&&t.report(e.id,"Start event must be blank")}))}return{check:e}};const{is:hwe}=x_e;var dwe=function(){function e(e,t){if(!hwe(e,"bpmn:Gateway"))return;const n=e.incoming||[],i=e.outgoing||[];1===n.length&&1===i.length&&t.report(e.id,"Gateway is superfluous. It only has one source and target.")}return{check:e}},uwe={};function pwe(){}pwe.prototype.resolveRule=function(e,t){const n=uwe[e+"/"+t];if(!n)throw new Error("cannot resolve rule <"+e+"/"+t+">");return n},pwe.prototype.resolveConfig=function(e,t){throw new Error("cannot resolve config <"+t+"> in <"+e+">")};var gwe=new pwe,mwe={"conditional-flows":"error","end-event-required":"error","event-sub-process-typed-start-event":"error","fake-join":"warn","no-complex-gateway":"error","no-disconnected":"error","no-duplicate-sequence-flows":"error","no-gateway-join-fork":"error","no-implicit-split":"error","single-blank-start-event":"error","single-event-definition":"error","start-event-required":"error","sub-process-blank-start-event":"error","superfluous-gateway":"warning"},fwe={rules:mwe},vwe={resolver:gwe,config:fwe};uwe["bpmnlint/conditional-flows"]=y_e,uwe["bpmnlint/end-event-required"]=k_e,uwe["bpmnlint/event-sub-process-typed-start-event"]=M_e,uwe["bpmnlint/fake-join"]=N_e,uwe["bpmnlint/no-complex-gateway"]=O_e,uwe["bpmnlint/no-disconnected"]=V_e,uwe["bpmnlint/no-duplicate-sequence-flows"]=U_e,uwe["bpmnlint/no-gateway-join-fork"]=Y_e,uwe["bpmnlint/no-implicit-split"]=q_e,uwe["bpmnlint/no-inclusive-gateway"]=ewe,uwe["bpmnlint/single-blank-start-event"]=nwe,uwe["bpmnlint/single-event-definition"]=owe,uwe["bpmnlint/start-event-required"]=awe,uwe["bpmnlint/sub-process-blank-start-event"]=cwe,uwe["bpmnlint/superfluous-gateway"]=dwe;var bwe=vwe,ywe=50,_we={min:.2,max:4},wwe=10,Cwe=.1,Awe=250;function Ewe(e,t,n,i,o){var r=this;function s(e){r._state._svgClientRect&&!Iwe(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect());var t=Dwe({x:e.clientX-r._state._svgClientRect.left,y:e.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox);kwe(t,r._canvas),r._update()}function a(e){return function(t){r._state._svgClientRect&&!Iwe(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect()),e&&s(t);var n=Dwe({x:t.clientX-r._state._svgClientRect.left,y:t.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox),o=i.viewbox(),a=Swe(n,o),h=r._viewportDom.getBoundingClientRect(),d={x:t.clientX-h.left+1,y:t.clientY-h.top+1};$1(r._state,{cachedViewbox:o,initialDragPosition:{x:t.clientX,y:t.clientY},isDragging:!0,offsetViewport:a,offsetViewportDom:d,viewportClientRect:r._viewport.getBoundingClientRect(),parentClientRect:r._parent.getBoundingClientRect()}),A2.bind(document,"mousemove",l),A2.bind(document,"mouseup",c)}}function l(e){if(r._state.isDragging){r._state._svgClientRect&&!Iwe(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect());var t=r._state.offsetViewportDom,n=r._state.viewportClientRect,i=r._state.parentClientRect;$1(r._viewportDom.style,{top:e.clientY-t.y-i.top+"px",left:e.clientX-t.x-i.left+"px"});var o=Owe(i,{top:e.clientY-t.y-i.top,left:e.clientX-t.x-i.left,width:n.width,height:n.height});$1(r._overlay.style,{clipPath:o});var s=Dwe({x:e.clientX-r._state._svgClientRect.left,y:e.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox);kwe({x:s.x-r._state.offsetViewport.x,y:s.y-r._state.offsetViewport.y},r._canvas)}}function c(e){r._state.isDragging&&(r._state.initialDragPosition.x===e.clientX&&r._state.initialDragPosition.y===e.clientY&&s(e),r._update(),$1(r._state,{cachedViewbox:null,initialDragPosition:null,isDragging:!1,offsetViewport:null,offsetViewportDom:null}),A2.unbind(document,"mousemove",l),A2.unbind(document,"mouseup",c))}this._canvas=i,this._elementRegistry=o,this._eventBus=n,this._injector=t,this._state={isOpen:void 0,isDragging:!1,initialDragPosition:null,offsetViewport:null,cachedViewbox:null,dragger:null,svgClientRect:null,parentClientRect:null,zoomDelta:0},this._init(),this.toggle(e&&e.open||!0),A2.bind(this._svg,"click",(function(e){e.preventDefault(),e.stopPropagation(),s(e)})),A2.bind(this._viewportDom,"mousedown",a(!1)),A2.bind(this._svg,"mousedown",a(!0)),A2.bind(this._parent,"wheel",(function(e){if(e.preventDefault(),e.stopPropagation(),e.ctrlKey&&(r._state._svgClientRect&&!Iwe(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect()),Twe(e,r._state._svgClientRect))){var t=0===e.deltaMode?.02:.32,n=Math.sqrt(Math.pow(e.deltaY,2)+Math.pow(e.deltaX,2))*Rwe(e.deltaY)*-t;if(r._state.zoomDelta+=n,Math.abs(r._state.zoomDelta)>Cwe){var o=n>0?1:-1,s=Math.log(i.zoom())/Math.log(10),a=Pwe(_we,2*wwe),l=Math.round(s/a)*a;l+=a*o;var c=Math.pow(10,l);i.zoom(Fwe(_we,c),h),r._state.zoomDelta=0;var h=Dwe({x:e.clientX-r._state._svgClientRect.left,y:e.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox);kwe(h,r._canvas),r._update()}}})),A2.bind(this._toggle,"click",(function(e){e.preventDefault(),e.stopPropagation(),r.toggle()})),n.on(["shape.added","connection.added"],(function(e){var t=e.element;r._addElement(t),r._update()})),n.on(["shape.removed","connection.removed"],(function(e){var t=e.element;r._removeElement(t),r._update()})),n.on("elements.changed",Awe,(function(e){var t=e.elements;t.forEach((function(e){r._updateElement(e)})),r._update()})),n.on("element.updateId",(function(e){var t=e.element,n=e.newId;r._updateElementId(t,n)})),n.on("canvas.viewbox.changed",(function(){r._state.isDragging||r._update()})),n.on("canvas.resized",(function(){document.body.contains(r._parent)&&(r._state.isDragging||r._update(),r._state._svgClientRect=r._svg.getBoundingClientRect())}))}function xwe(e){return e.waypoints}function Swe(e,t){var n={x:t.x+t.width/2,y:t.y+t.height/2};return{x:e.x-n.x,y:e.y-n.y}}function Dwe(e,t,n){var i=t.getBoundingClientRect(),o=Lwe(n,i.width/i.height),r=Mwe(e.x,0,i.width,o.x,o.x+o.width),s=Mwe(e.y,0,i.height,o.y,o.y+o.height);return{x:r,y:s}}function kwe(e,t){var n=t.viewbox(),i=n.width,o=n.height;t.viewbox({x:e.x-i/2,y:e.y-o/2,width:i,height:o})}function Lwe(e,t){var n=e.width/e.height,i=$1({},{x:e.x,y:e.y,width:e.width,height:e.height});if(n>t){var o=i.width*(1/t),r=i.y-(o-i.height)/2;$1(i,{y:r,height:o})}else if(nt.left&&e.xt.top&&e.yc?Nwe(r,s,c):Nwe(r,s,s.childNodes.length-1):this._elementsGroup.appendChild(r),xwe(e)?(t=e.parent,n=0,i=0,"undefined"!==typeof t.x&&"undefined"!==typeof t.y&&(n=-t.x,i=-t.y),U2(r,{transform:"translate("+n+" "+i+")"})):(n=e.x,i=e.y,s&&(t=e.parent,n-=t.x,i-=t.y),U2(r,{transform:"translate("+n+" "+i+")"})),e.children&&e.children.length&&e.children.forEach((function(e){o._addElement(e)})),r}},Ewe.prototype._removeElement=function(e){var t=this._svg.getElementById(e.id);t&&$2(t)},Ewe.prototype._createElement=function(e){var t,n=this._elementRegistry.getGraphics(e);if(n&&(t=u3(n),t)){var i=J2(t);return U2(i,{id:e.id}),i}};var Rwe=Math.sign||function(e){return e>=0?1:-1};function Pwe(e,t){var n=Math.log(e.min)/Math.log(10),i=Math.log(e.max)/Math.log(10),o=Math.abs(n)+Math.abs(i);return o/t}function Fwe(e,t){return Math.max(e.min,Math.min(e.max,t))}function Owe(e,t){var n=[zwe(t.left,t.top),zwe(t.left+t.width,t.top),zwe(t.left+t.width,t.top+t.height),zwe(t.left,t.top+t.height),zwe(t.left,e.height),zwe(e.width,e.height),zwe(e.width,0),zwe(0,0),zwe(0,e.height),zwe(t.left,e.height)].join(", ");return"polygon("+n+")"}function zwe(e,t){return e+"px "+t+"px"}function Vwe(e){return N1(e,(function(e){return _1(e)?Vwe(e):w1(e)&&isFinite(e)}))}var Wwe={__init__:["minimap"],minimap:["type",Ewe]};const Hwe=1,jwe=2,Qwe=4,Uwe=8,Kwe=16,Gwe=32,Ywe=64,$we=128,qwe=256,Jwe=512,Xwe=Hwe|jwe|Qwe,Zwe=Hwe|Uwe,eCe=Object.freeze({ACTIVATED:Hwe,RUNNING:jwe,ENDING:Qwe,ENDED:Uwe,DESTROYED:Kwe,FAILED:Gwe,TERMINATED:Ywe,CANCELED:$we,COMPLETED:qwe,COMPENSABLE:Jwe,ACTIVE:Xwe,NOT_DEAD:Zwe}),tCe={};function nCe(e,t){throw new Error(`illegal transition: ${e.name} -> ${t}`)}function iCe(e,t){return e===tCe?t:e}class oCe{constructor(e,t,{start:n,cancel:i,complete:o,destroy:r,fail:s,terminate:a,compensable:l}={}){this.name=e,this.traits=t,this._start=iCe(n,this),this._compensable=iCe(l,this),this._cancel=iCe(i,this),this._complete=iCe(o,this),this._destroy=iCe(r,this),this._fail=iCe(s,this),this._terminate=iCe(a,this)}hasTrait(e){return 0!==(this.traits&e)}complete(){return this._complete||nCe(this,"complete")}destroy(){return this._destroy||nCe(this,"destroy")}cancel(){return this._cancel||nCe(this,"cancel")}fail(){return this._fail||nCe(this,"fail")}terminate(){return this._terminate||nCe(this,"terminate")}compensable(){return this._compensable||nCe(this,"compensable")}start(){return this._start||nCe(this,"start")}}const rCe=new oCe("failed",eCe.DESTROYED|eCe.FAILED),sCe=new oCe("terminated",eCe.DESTROYED|eCe.TERMINATED),aCe=new oCe("completed",eCe.DESTROYED|eCe.COMPLETED),lCe=new oCe("terminating",eCe.ENDING|eCe.TERMINATED,{destroy:sCe}),cCe=new oCe("canceling",eCe.ENDING|eCe.FAILED|eCe.CANCELED,{destroy:rCe,complete:tCe,terminate:lCe}),hCe=new oCe("completing",eCe.ENDING|eCe.COMPLETED,{destroy:aCe,cancel:cCe,terminate:lCe}),dCe=new oCe("failing",eCe.ENDING|eCe.FAILED,{cancel:cCe,complete:hCe,destroy:rCe,terminate:lCe}),uCe=new oCe("compensable:failing",eCe.ENDING|eCe.FAILED,{complete:tCe,terminate:lCe,destroy:rCe}),pCe=new oCe("compensable:completed",eCe.ENDED|eCe.COMPLETED,{cancel:cCe,fail:uCe,destroy:aCe,compensable:tCe}),gCe=new oCe("compensable:completing",eCe.ENDING|eCe.COMPLETED,{destroy:pCe,terminate:lCe,compensable:tCe}),mCe=new oCe("compensable:running",eCe.RUNNING|eCe.COMPENSABLE,{cancel:cCe,complete:gCe,compensable:tCe,destroy:pCe,fail:dCe,terminate:lCe}),fCe=new oCe("running",eCe.RUNNING,{cancel:cCe,complete:hCe,compensable:mCe,destroy:sCe,fail:dCe,terminate:lCe}),vCe=new oCe("activated",eCe.ACTIVATED,{start:fCe,destroy:sCe}),bCe=Object.freeze({ACTIVATED:vCe,RUNNING:fCe,CANCELING:cCe,COMPLETING:hCe,COMPLETED:aCe,FAILING:dCe,FAILED:rCe,TERMINATING:lCe,TERMINATED:sCe});class yCe{constructor(e,t,n=null,i=null){this.id=e,this.element=t,this.parent=n,this.initiator=i,this.subscriptions=new Set,this.children=[],this.state=bCe.ACTIVATED}get running(){return this.hasTrait(eCe.RUNNING)}get destroyed(){return this.hasTrait(eCe.DESTROYED)}get completed(){return this.hasTrait(eCe.COMPLETED)}get canceled(){return this.hasTrait(eCe.CANCELED)}get failed(){return this.hasTrait(eCe.FAILED)}hasTrait(e){return this.state.hasTrait(e)}start(){return this.state=this.state.start(),this}compensable(){return this.state=this.state.compensable(),this}fail(e){return this.failed||(this.state=this.state.fail(),this.failInitiator=e),this}cancel(e){return this.canceled||(this.state=this.state.cancel(),this.cancelInitiator=e),this}terminate(e){return this.state=this.state.terminate(),this.terminateInitiator=e,this}complete(){return this.state=this.state.complete(),this}destroy(e){return this.state=this.state.destroy(),this.destroyInitiator=e,this}getTokens(){return this.children.filter(e=>!e.destroyed).length}getTokensByElement(e){return this.children.filter(t=>!t.destroyed&&t.element===e).length}}function _Ce(e,t){const n=[];for(const i of e)t(i)&&n.push(i);return n}function wCe(e,t){for(const n of e)if(t(n))return n;return null}function CCe(e,t){return["type","name","ref","iref"].every(n=>!(n in e)||e[n]===t[n])}function ACe(e){return e.filter(e=>u9(e,"bpmn:SequenceFlow"))}function ECe(e){return u9(e,"bpmn:MessageFlow")}function xCe(e){return u9(e,"bpmn:SequenceFlow")}function SCe(e){return LCe(e)&&PCe(e,"bpmn:LinkEventDefinition")}function DCe(e){return LCe(e)&&PCe(e,"bpmn:CompensateEventDefinition")}function kCe(e){return u9(e,"bpmn:Activity")&&e.businessObject.isForCompensation}function LCe(e){return(u9(e,"bpmn:CatchEvent")||u9(e,"bpmn:ReceiveTask"))&&!NCe(e)}function MCe(e){return u9(e,"bpmn:BoundaryEvent")&&!NCe(e)}function BCe(e){return u9(e,"bpmn:StartEvent")&&!NCe(e)}function NCe(e){return!!e.labelTarget}function ICe(e){return g9(e).triggeredByEvent}function TCe(e){return u9(e,"bpmn:StartEvent")&&g9(e).isInterrupting||u9(e,"bpmn:BoundaryEvent")&&g9(e).cancelActivity}function RCe(e,t){return t.some(t=>u9(e,t))}function PCe(e,t){return I1(g9(e).eventDefinitions,e=>u9(e,t))}function FCe(e,t,n){const i=e.get("scopeIds",!1)||new u1([32,36]),o={},r={},s=new OCe,a=new Set,l=[],c=new Set,h=new Set;function d(e,t){if(l.push([t,e]),1!==l.length)return;let n;while(n=l[0]){const[e,t]=n;t.destroyed||e(),l.shift()}I("tick")}function u(e){return r[e.type]||s}function p(e){const{element:t,parentScope:n,initiator:i=null}=e,o=e.scope||O({element:t,parent:n,initiator:i});return d(o,(function(){o.running||o.start(),M("signal",{...e,scope:o}),u(t).signal({...e,scope:o}),o.parent&&N(o.parent)})),o}function g(e){const{element:t,scope:n,initiator:i=n}=e,o=O({element:t,parent:n,initiator:i});return d(o,(function(){o.running||o.start(),M("enter",e),u(t).enter({...e,initiator:i,scope:o}),N(n)})),o}function m(e){const{element:t,scope:n,initiator:i=n}=e;d(n,(function(){M("exit",e),u(t).exit({...e,initiator:i}),n.running&&n.complete(),L(n,i),n.parent&&N(n.parent)}))}function f(e){const{event:t,initiator:n,scope:i}=e,o=_(t),r=i.subscriptions,s=_Ce(r,e=>CCe(o,e.event)),a=s.filter(e=>!e.event.interrupting),l=s.filter(e=>e.event.interrupting);if(!l.length)return a.map(e=>e.triggerFn(n)).flat();const c=l.find(e=>!e.event.boundary)||l[0],h=_Ce(r,e=>e.event.persistent||zCe(e.event,c.event));return r.forEach(e=>{h.includes(e)||e.remove()}),[c.triggerFn(n)].flat().filter(e=>e)}function v(e,t,n){t=_(t);const i=t.element,o={scope:e,event:t,element:i,triggerFn:n,remove(){b(o)}};return h.add(o),e.subscriptions.add(o),i&&B(i),o}function b(e){const{scope:t,event:n}=e;h.delete(e),t.subscriptions.delete(e),n.element&&B(n.element)}function y(e){return u9(e,"bpmn:StartEvent")||u9(e,"bpmn:IntermediateCatchEvent")||u9(e,"bpmn:ReceiveTask")||WCe(e)?g9(e).name||e.id:null}function _(e){if(!e.businessObject)return e;const t=TCe(e),i=MCe(e),o=y(e),r={element:e,interrupting:t,boundary:i,...o?{iref:o}:{}},s=HCe(e)[0];if(!s)return{...r,type:VCe(e)?"message":"none"};if(u9(s,"bpmn:LinkEventDefinition"))return{...r,type:"link",name:s.name};if(u9(s,"bpmn:SignalEventDefinition"))return{...r,type:"signal",ref:s.signalRef};if(u9(s,"bpmn:TimerEventDefinition"))return{...r,type:"timer"};if(u9(s,"bpmn:ConditionalEventDefinition"))return{...r,type:"condition"};if(u9(s,"bpmn:EscalationEventDefinition"))return{...r,type:"escalation",ref:s.escalationRef};if(u9(s,"bpmn:CancelEventDefinition"))return{...r,type:"cancel"};if(u9(s,"bpmn:ErrorEventDefinition"))return{...r,type:"error",ref:s.errorRef};if(u9(s,"bpmn:MessageEventDefinition"))return{...r,type:"message",ref:s.messageRef};if(u9(s,"bpmn:CompensateEventDefinition")){let t=s.activityRef&&n.get(s.activityRef.id);return t||(t=BCe(e)&&ICe(e.parent)?e.parent.parent:MCe(e)?e.host:e.parent),{...r,type:"compensate",ref:t,persistent:!0}}throw new Error("unknown event definition",s)}function w(e,t=!0){const{element:n,parent:o,initiator:r}=e;t&&M("createScope",{element:n,scope:o});const s=new yCe(i.next(),n,o,r);return o&&o.children.push(s),c.add(s),t&&I("createScope",{scope:s}),B(n),o&&B(o.element),s}function C(e){if("function"===typeof e)return e;const{event:t,element:n,scope:i}=e,o=e.elements||n&&[n],r=t&&_(t);return e=>(!r||CCe(r,e.event))&&(!o||o.includes(e.element))&&(!i||i===e.scope)}function A(e){const t="function"===e?e:C(e);return e=>Array.from(e.subscriptions).some(t)}function E(e){if("function"===typeof e)return e;const{element:t,waitsOnElement:n,parent:i,trait:o=eCe.RUNNING,subscribedTo:r}=e,s=r?A(r):()=>!0;return e=>(!t||e.element===t)&&(!i||e.parent===i)&&(!n||e.getTokensByElement(n)>0)&&e.hasTrait(o)&&s(e)}function x(e){return _Ce(h,C(e))}function S(e){return wCe(h,C(e))}function D(e){return _Ce(c,E(e))}function k(e){return wCe(c,E(e))}function L(e,t=null){if(!e.destroyed){e.destroy(t);for(const t of e.subscriptions){const n=t.event.traits||eCe.ACTIVE;e.hasTrait(n)||b(t)}if(e.destroyed){for(const n of e.children)n.destroyed||L(n,t);M("destroyScope",{element:e.element,scope:e}),c.delete(e),I("destroyScope",{scope:e})}B(e.element),e.parent&&B(e.parent.element)}}function M(e,t){I("trace",{...t,action:e})}function B(e){a.add(e),l.length||I("tick")}function N(e){I("scopeChanged",{scope:e})}function I(e,n={}){return t.fire("tokenSimulation.simulator."+e,n)}function T(e,n){t.on("tokenSimulation.simulator."+e,n)}function R(e,n){t.off("tokenSimulation.simulator."+e,n)}function P(e,t){const n=z(e);o[e.id||e]={...n,...t},B(e)}function F(){const e=[];return n.forEach(t=>{if(!RCe(t,["bpmn:Process","bpmn:Participant"]))return;const n=w({element:t},!1);e.push(n);const i=t.children.filter(BCe);for(const e of i){const i={..._(e),interrupting:!1};v(n,i,n=>p({element:t,startEvent:e,initiator:n}))}}),e}function O(e){const{element:t}=e,n=w(e),{children:i=[],attachers:o=[]}=t;for(const r of i)if(ICe(r)){const e=r.children.filter(e=>BCe(e)&&!DCe(e));for(const t of e)v(n,t,e=>p({element:r,parentScope:n,startEvent:t,initiator:e}))}for(const r of o)MCe(r)&&!DCe(r)&&v(n,r,e=>p({element:r,parentScope:n.parent,hostScope:n,initiator:e}));return n}function z(e){return o[e.id||e]||{}}function V(e,t){if(!t.length)return;const n={type:"all-completed",persistent:!1},i=new Set(t),o=t=>{i.delete(t.scope),0===i.size&&(R("destroyScope",o),f({scope:e,event:n}))};return T("destroyScope",o),n}function W(e,t=!0){P(e,{wait:t})}function H(){for(const e of c)L(e);for(const e of F())c.add(e);I("tick"),I("reset")}T("tick",(function(){for(const e of a)I("elementChanged",{element:e});a.clear()})),this.createScope=w,this.destroyScope=L,this.findScope=k,this.findScopes=D,this.findSubscription=S,this.findSubscriptions=x,this.waitAtElement=W,this.waitForScopes=V,this.setConfig=P,this.getConfig=z,this.signal=p,this.enter=g,this.exit=m,this.subscribe=v,this.trigger=f,this.reset=H,this.on=T,this.off=R,this.registerBehavior=function(e,t){r[e]=t}}function OCe(){this.signal=function(e){},this.exit=function(e){},this.enter=function(e){}}function zCe(e,t){return e.type===t.type&&e.boundary&&!t.boundary}function VCe(e){return u9(e,"bpmn:ReceiveTask")||e.incoming.some(e=>u9(e,"bpmn:MessageFlow"))}function WCe(e){if(!MCe(e))return!1;const t=HCe(e);return!t[0]||RCe(t[0],["bpmn:ConditionalEventDefinition","bpmn:TimerEventDefinition"])}function HCe(e){return e.businessObject.get("eventDefinitions")||[]}function jCe(e,t){this._simulator=e,this._activityBehavior=t,e.registerBehavior("bpmn:StartEvent",this)}function QCe(e,t,n){this._intermediateThrowEventBehavior=n,this._scopeBehavior=t,e.registerBehavior("bpmn:EndEvent",this)}function UCe(e,t,n){this._simulator=e,this._activityBehavior=t,this._scopeBehavior=n,e.registerBehavior("bpmn:BoundaryEvent",this)}function KCe(e,t){this._activityBehavior=t,this._simulator=e,e.registerBehavior("bpmn:IntermediateCatchEvent",this),e.registerBehavior("bpmn:ReceiveTask",this)}function GCe(e,t,n){this._simulator=e,this._activityBehavior=t,this._eventBehaviors=n,e.registerBehavior("bpmn:IntermediateThrowEvent",this),e.registerBehavior("bpmn:SendTask",this)}function YCe(e){this._simulator=e,e.registerBehavior("bpmn:ExclusiveGateway",this)}function $Ce(e,t){this._simulator=e,this._activityBehavior=t,e.registerBehavior("bpmn:ParallelGateway",this)}function qCe(e){this._simulator=e,e.registerBehavior("bpmn:EventBasedGateway",this)}function JCe(e){return e.outgoing.map(e=>e.target).filter(e=>RCe(e,["bpmn:IntermediateCatchEvent","bpmn:ReceiveTask"]))}function XCe(e,t,n){this._simulator=e,this._scopeBehavior=t,this._transactionBehavior=n;const i=["bpmn:BusinessRuleTask","bpmn:CallActivity","bpmn:ManualTask","bpmn:ScriptTask","bpmn:ServiceTask","bpmn:Task","bpmn:UserTask"];for(const o of i)e.registerBehavior(o,this)}function ZCe(e){return e&&e[0]}function eAe(e){return e&&e[e.length-1]}function tAe(e,t,n,i,o){this._simulator=e,this._activityBehavior=t,this._scopeBehavior=n,this._transactionBehavior=i,this._elementRegistry=o,e.registerBehavior("bpmn:SubProcess",this),e.registerBehavior("bpmn:Transaction",this),e.registerBehavior("bpmn:AdHocSubProcess",this)}function nAe(e){return u9(e,"bpmn:Transaction")}FCe.$inject=["injector","eventBus","elementRegistry"],jCe.prototype.signal=function(e){this._simulator.exit(e)},jCe.prototype.exit=function(e){this._activityBehavior.exit(e)},jCe.$inject=["simulator","activityBehavior"],QCe.$inject=["simulator","scopeBehavior","intermediateThrowEventBehavior"],QCe.prototype.enter=function(e){this._intermediateThrowEventBehavior.enter(e)},QCe.prototype.signal=function(e){this._intermediateThrowEventBehavior.signal(e)},QCe.prototype.exit=function(e){const{scope:t}=e;this._scopeBehavior.tryExit(t.parent,t)},UCe.prototype.signal=function(e){const{element:t,scope:n,hostScope:i=this._simulator.findScope({parent:n.parent,element:t.host})}=e;if(!i)throw new Error("host scope not found");const o=g9(t).cancelActivity;if(o){this._scopeBehavior.interrupt(i,n);const t=this._scopeBehavior.tryExit(i,n);if(t){const n=this._simulator.subscribe(i,t,t=>(n.remove(),this._simulator.exit(e)));return}}this._simulator.exit(e)},UCe.prototype.exit=function(e){this._activityBehavior.exit(e)},UCe.$inject=["simulator","activityBehavior","scopeBehavior"],KCe.$inject=["simulator","activityBehavior"],KCe.prototype.signal=function(e){return this._simulator.exit(e)},KCe.prototype.enter=function(e){const{element:t}=e;return this._activityBehavior.signalOnEvent(e,t)},KCe.prototype.exit=function(e){this._activityBehavior.exit(e)},GCe.prototype.enter=function(e){const{element:t}=e,n=this._eventBehaviors.get(t);if(n){const t=n(e);if(t)return this._activityBehavior.signalOnEvent(e,t)}this._activityBehavior.enter(e)},GCe.prototype.signal=function(e){this._activityBehavior.signal(e)},GCe.prototype.exit=function(e){this._activityBehavior.exit(e)},GCe.$inject=["simulator","activityBehavior","eventBehaviors"],YCe.prototype.enter=function(e){this._simulator.exit(e)},YCe.prototype.exit=function(e){const{element:t,scope:n}=e,i=ACe(t.outgoing);if(1===i.length)return this._simulator.enter({element:i[0],scope:n.parent});const{activeOutgoing:o}=this._simulator.getConfig(t),r=i.find(e=>e===o);if(!r)throw new Error("no outgoing configured");return this._simulator.enter({element:r,scope:n.parent})},YCe.$inject=["simulator"],$Ce.prototype.enter=function(e){const{scope:t,element:n}=e,i=ACe(n.incoming),{parent:o}=t,r=this._simulator.findScopes({parent:o,element:n});if(r.length===i.length){for(const e of r)e!==t&&this._simulator.destroyScope(e.complete(),t);this._simulator.exit(e)}},$Ce.prototype.exit=function(e){this._activityBehavior.exit(e)},$Ce.$inject=["simulator","activityBehavior"],qCe.$inject=["simulator"],qCe.prototype.enter=function(e){const{element:t,scope:n}=e,i=n.parent,o=JCe(t),r=o.map(e=>this._simulator.subscribe(i,e,t=>(r.forEach(e=>e.remove()),this._simulator.destroyScope(n,t),this._simulator.signal({element:e,parentScope:i,initiator:t}))))},XCe.$inject=["simulator","scopeBehavior","transactionBehavior"],XCe.prototype.signal=function(e){const t=this._triggerMessages(e);if(t)return this.signalOnEvent(e,t);this._simulator.exit(e)},XCe.prototype.enter=function(e){const{element:t}=e,n=this.waitAtElement(t);if(n)return this.signalOnEvent(e,n);const i=this._triggerMessages(e);if(i)return this.signalOnEvent(e,i);this._simulator.exit(e)},XCe.prototype.exit=function(e){const{element:t,scope:n}=e,i=n.parent,o=!n.failed;o&&!ICe(t)&&this._transactionBehavior.registerCompensation(n);const r=o?t.outgoing.filter(xCe):[];r.forEach(e=>this._simulator.enter({element:e,scope:i})),0===r.length&&this._scopeBehavior.tryExit(i,n)},XCe.prototype.signalOnEvent=function(e,t){const{scope:n,element:i}=e,o=this._simulator.subscribe(n,t,e=>(o.remove(),this._simulator.signal({scope:n,element:i,initiator:e})))},XCe.prototype.waitAtElement=function(e){const t=this._simulator.getConfig(e).wait;return t&&{element:e,type:"continue",interrupting:!1,boundary:!1}},XCe.prototype._getMessageContexts=function(e,t=null){const n=t?e=>e.referencePoint.x>t.x:()=>!0,i=(e,t)=>e.referencePoint.x-t.referencePoint.x;return[...e.incoming.filter(ECe).map(e=>({incoming:e,referencePoint:eAe(e.waypoints)})),...e.outgoing.filter(ECe).map(e=>({outgoing:e,referencePoint:ZCe(e.waypoints)}))].sort(i).filter(n)},XCe.prototype._triggerMessages=function(e){const{element:t,initiator:n,scope:i}=e;let o=i.messageContexts;o||(o=i.messageContexts=this._getMessageContexts(t));const r=n&&n.element;if(!ECe(r)||i.expectedIncoming===r)while(o.length){const{incoming:e,outgoing:r}=o.shift();if(e){if(!n)continue;return i.expectedIncoming=e,{element:t,type:"message",name:e.id,interrupting:!1,boundary:!1}}this._simulator.signal({element:r})}},tAe.$inject=["simulator","activityBehavior","scopeBehavior","transactionBehavior","elementRegistry"],tAe.prototype.signal=function(e){this._start(e)},tAe.prototype.enter=function(e){const{element:t}=e,n=this._activityBehavior.waitAtElement(t);if(n)return this._activityBehavior.signalOnEvent(e,n);this._start(e)},tAe.prototype.exit=function(e){const{scope:t}=e,n=t.parent;n.failInitiator===t&&n.complete(),this._activityBehavior.exit(e)},tAe.prototype._start=function(e){const{element:t,startEvent:n,scope:i}=e,o=i.parent;if(ICe(t)){if(!n)throw new Error("missing : required for event sub-process")}else if(n)throw new Error("unexpected : not allowed for sub-process");if(o.destroyed)throw new Error(`target scope <${o.id}> destroyed`);nAe(t)&&this._transactionBehavior.setup(e),n&&TCe(n)&&this._scopeBehavior.interrupt(o,i);const r=n?[n]:this._findStarts(t);for(const s of r)this._simulator.signal({element:s,parentScope:i,initiator:i})},tAe.prototype._findStarts=function(e){return e=this._elementRegistry.get(e.id+"_plane")||e,e.children.filter(e=>{if(NCe(e))return!1;const t=e.incoming.find(e=>u9(e,"bpmn:SequenceFlow"));return!t&&(!kCe(e)&&(!ICe(e)&&RCe(e,["bpmn:Activity","bpmn:StartEvent","bpmn:EndEvent"])))})};const iAe={type:"cancel",interrupting:!0,boundary:!1,persistent:!0};function oAe(e,t){this._simulator=e,this._scopeBehavior=t}function rAe(e){throw new Error(`no transaction context for <${e.id}>`)}function sAe(e,t){this._simulator=e,this._scopeBehavior=t,e.registerBehavior("bpmn:SequenceFlow",this)}function aAe(e){this._simulator=e,e.registerBehavior("bpmn:MessageFlow",this)}function lAe(e,t){return"label"!==e.type&&(Array.isArray(t)||(t=[t]),t.some((function(t){return u9(e,t)})))}function cAe(e,t){return S1(g9(e).eventDefinitions,e=>lAe(e,t))}function hAe(e,t){return I1(g9(e).eventDefinitions,e=>lAe(e,t))}function dAe(e,t,n){this._simulator=e,this._elementRegistry=t,this._scopeBehavior=n}function uAe(e){return cAe(e,"bpmn:LinkEventDefinition")}function pAe(e){while(ICe(e.parent.element))e=e.parent;return e.parent}oAe.$inject=["simulator","scopeBehavior"],oAe.prototype.setup=function(e){const{scope:t}=e,n=this._simulator.subscribe(t,iAe,e=>(n.remove(),this.cancel({scope:t,initiator:e}))),i={type:"compensate",ref:t.element,persistent:!0,traits:eCe.NOT_DEAD},o=this._simulator.subscribe(t,i,e=>t.canceled?(o.remove(),this.compensate({scope:t,element:t.element,initiator:e})):this._simulator.trigger({event:iAe,scope:t}))},oAe.prototype.cancel=function(e){const{scope:t,initiator:n}=e;if(!t.destroyed)return t.cancel(n),this._simulator.trigger({event:{type:"compensate",ref:t.element},initiator:n,scope:t}),this._simulator.trigger({scope:t,initiator:n,event:iAe})},oAe.prototype.registerCompensation=function(e){const{element:t}=e,n=t.children.filter(ICe).map(e=>e.children.find(e=>BCe(e)&&DCe(e))).filter(e=>e),i=t.attachers.filter(DCe);if(!n.length&&!i.length)return;const o=this.findTransactionScope(e.parent);u9(o.element,"bpmn:Transaction")||this.makeCompensable(o);for(const r of n){const n={element:r,type:"compensate",persistent:!0,interrupting:!0,ref:t,traits:eCe.NOT_DEAD},i=r.parent,o=this._simulator.subscribe(e,n,t=>(o.remove(),this._simulator.signal({initiator:t,element:i,startEvent:r,parentScope:e})))}for(const r of i){const e={element:r,type:"compensate",persistent:!0,ref:t,traits:eCe.NOT_DEAD},n=r.outgoing.map(e=>e.target).find(kCe);if(!n)continue;const i=this._simulator.subscribe(o,e,e=>(i.remove(),this._simulator.enter({initiator:e,element:n,scope:o})))}},oAe.prototype.makeCompensable=function(e){if(e.hasTrait(eCe.COMPENSABLE)||!e.parent)return;const t={type:"compensate",ref:e.element,interrupting:!0,persistent:!0,traits:eCe.NOT_DEAD};e.compensable();const n=this._simulator.subscribe(e,t,t=>(n.remove(),e.fail(t),this.compensate({scope:e,element:e.element,initiator:t}),this._scopeBehavior.tryExit(e,t),e)),i=e.parent;if(!i)return;const o=this._simulator.subscribe(i,t,n=>(o.remove(),this._simulator.trigger({scope:e,event:t,initiator:n})));this.makeCompensable(i)},oAe.prototype.findTransactionScope=function(e){let t=e;while(t){const e=t.element;if(u9(e,"bpmn:SubProcess")&&!ICe(e))return t;if(RCe(e,["bpmn:Transaction","bpmn:Process","bpmn:Participant"]))return t;t=t.parent}throw rAe(e)},oAe.prototype.compensate=function(e){const{scope:t,element:n}=e,i=_Ce(t.subscriptions,e=>CCe({type:"compensate"},e.event)),o=i.filter(e=>e.event.ref===n),r=i.filter(e=>e.event.ref!==n);for(const s of o)this._scopeBehavior.preExit(t,e=>this._simulator.trigger(s));for(const s of r.reverse())this._scopeBehavior.preExit(t,e=>this._simulator.trigger(s))},sAe.prototype.enter=function(e){this._simulator.exit(e)},sAe.prototype.exit=function(e){const{element:t,scope:n}=e;this._simulator.enter({element:t.target,scope:n.parent})},sAe.$inject=["simulator","scopeBehavior"],aAe.$inject=["simulator"],aAe.prototype.signal=function(e){this._simulator.exit(e)},aAe.prototype.exit=function(e){const{element:t,scope:n}=e,i=t.target,o=LCe(i)?i:{type:"message",element:t,name:t.id},r=this._simulator.findSubscription({event:o,elements:[i,i.parent]});r&&this._simulator.trigger({event:o,initiator:n,scope:r.scope})},dAe.$inject=["simulator","elementRegistry","scopeBehavior"],dAe.prototype.get=function(e){const t={"bpmn:LinkEventDefinition":e=>{const{element:t,scope:n}=e,i=uAe(t),o=n.parent,r=o.element,s=r.children.filter(e=>SCe(e)&&uAe(e).name===i.name);for(const a of s)this._simulator.signal({element:a,parentScope:o,initiator:n})},"bpmn:SignalEventDefinition":e=>{const{element:t,scope:n}=e,i=this._simulator.findSubscriptions({event:t}),o=new Set;for(const r of i){const e=r.scope;o.has(e)||(o.add(e),this._simulator.trigger({event:t,scope:e,initiator:n}))}},"bpmn:EscalationEventDefinition":e=>{const{element:t,scope:n}=e,i=this._simulator.findScopes({subscribedTo:{event:t},trait:eCe.ACTIVE});let o=n;while(o=o.parent)if(i.includes(o)){this._simulator.trigger({event:t,scope:o,initiator:n});break}},"bpmn:ErrorEventDefinition":e=>{const{element:t,scope:n}=e;this._simulator.trigger({event:t,initiator:n,scope:pAe(n)})},"bpmn:TerminateEventDefinition":e=>{const{scope:t}=e;this._scopeBehavior.terminate(t.parent,t)},"bpmn:CancelEventDefinition":e=>{const{scope:t,element:n}=e;this._simulator.trigger({event:n,initiator:t,scope:pAe(t)})},"bpmn:CompensateEventDefinition":e=>{const{scope:t,element:n}=e;return this._simulator.waitForScopes(t,this._simulator.trigger({event:n,scope:pAe(t)}))}},n=Object.entries(t).find(t=>hAe(e,t[0]));return n&&n[1]};const gAe={type:"pre-exit",persistent:!0,interrupting:!0,boundary:!1},mAe={type:"exit",interrupting:!0,boundary:!1,persistent:!0};function fAe(e){this._simulator=e}function vAe(e){return"function"===typeof e?e:t=>t===e}function bAe(e,t){this._simulator=e,this._scopeBehavior=t,e.registerBehavior("bpmn:Process",this),e.registerBehavior("bpmn:Participant",this)}fAe.$inject=["simulator"],fAe.prototype.isFinished=function(e,t=null){return t=vAe(t),e.children.every(e=>e.destroyed||e.completed||t(e))},fAe.prototype.destroyChildren=function(e,t,n=null){n=vAe(n),e.children.filter(e=>!e.destroyed&&!n(e)).map(e=>{this._simulator.destroyScope(e,t)})},fAe.prototype.terminate=function(e,t){this.destroyChildren(e,t),e.terminate(t),this.tryExit(e,t)},fAe.prototype.interrupt=function(e,t){this.destroyChildren(e,t,t),e.fail(t)},fAe.prototype.tryExit=function(e,t){if(!e)throw new Error("missing ");if(t||(t=e),!this.isFinished(e,t))return mAe;const n=this._simulator.findSubscriptions({event:gAe,scope:e});for(const i of n){const{event:e,scope:n}=i,o=this._simulator.trigger({event:e,scope:n,initiator:t});if(o.length)return mAe}this._simulator.trigger({event:mAe,scope:e,initiator:t}),this.exit({scope:e,initiator:t})},fAe.prototype.exit=function(e){const{scope:t,initiator:n}=e;if(!n)throw new Error("missing ");this._simulator.exit({element:t.element,scope:t,initiator:n})},fAe.prototype.preExit=function(e,t){const n=this._simulator.subscribe(e,gAe,e=>(n.remove(),t(e)));return n},bAe.prototype.signal=function(e){const{startEvent:t,scope:n}=e;if(!t)throw new Error("missing ");this._simulator.signal({element:t,parentScope:n})},bAe.prototype.exit=function(e){const{scope:t,initiator:n}=e;this._scopeBehavior.destroyChildren(t,n)},bAe.$inject=["simulator","scopeBehavior"];var yAe={__init__:["startEventBehavior","endEventBehavior","boundaryEventBehavior","intermediateCatchEventBehavior","intermediateThrowEventBehavior","exclusiveGatewayBehavior","parallelGatewayBehavior","eventBasedGatewayBehavior","subProcessBehavior","sequenceFlowBehavior","messageFlowBehavior","processBehavior"],startEventBehavior:["type",jCe],endEventBehavior:["type",QCe],boundaryEventBehavior:["type",UCe],intermediateCatchEventBehavior:["type",KCe],intermediateThrowEventBehavior:["type",GCe],exclusiveGatewayBehavior:["type",YCe],parallelGatewayBehavior:["type",$Ce],eventBasedGatewayBehavior:["type",qCe],activityBehavior:["type",XCe],subProcessBehavior:["type",tAe],sequenceFlowBehavior:["type",sAe],messageFlowBehavior:["type",aAe],eventBehaviors:["type",dAe],scopeBehavior:["type",fAe],processBehavior:["type",bAe],transactionBehavior:["type",oAe]};const _Ae=5e3;var wAe={__depends__:[yAe],__init__:[["eventBus","simulator",function(e,t){e.on(["tokenSimulation.toggleMode","tokenSimulation.resetSimulation"],_Ae,e=>{t.reset()})}]],simulator:["type",FCe]};function CAe(e,t){e.invoke(aAe,this),this._animation=t}function AAe(e,t){e.invoke(sAe,this),this._animation=t}l1(CAe,aAe),CAe.$inject=["injector","animation"],CAe.prototype.signal=function(e){const{element:t,scope:n}=e;this._animation.animate(t,n,()=>{aAe.prototype.signal.call(this,e)})},l1(AAe,sAe),AAe.$inject=["injector","animation"],AAe.prototype.enter=function(e){const{element:t,scope:n}=e;this._animation.animate(t,n,()=>{sAe.prototype.enter.call(this,e)})};var EAe={sequenceFlowBehavior:["type",AAe],messageFlowBehavior:["type",CAe]};const xAe="tokenSimulation.toggleMode",SAe="tokenSimulation.playSimulation",DAe="tokenSimulation.pauseSimulation",kAe="tokenSimulation.resetSimulation",LAe="tokenSimulation.animationCreated",MAe="tokenSimulation.animationSpeedChanged",BAe="tokenSimulation.simulator.elementChanged",NAe="tokenSimulation.simulator.destroyScope",IAe="tokenSimulation.simulator.scopeChanged",TAe="tokenSimulation.simulator.createScope",RAe="tokenSimulation.scopeFilterChanged",PAe="tokenSimulation.simulator.trace",FAe=e=>!0;function OAe(e,t){this._eventBus=e,this._simulator=t,this._filter=FAe,e.on([xAe,kAe],()=>{this._filter=FAe}),e.on(NAe,e=>{const{scope:t}=e;this._scope===t&&t.parent&&this.toggle(t.parent)}),e.on(TAe,e=>{const{scope:t}=e;t.parent||!this._scope||zAe(this._scope,t)||this.toggle(null)})}function zAe(e,t){do{if(e===t)return!0}while(t=t.parent);return!1}OAe.prototype.toggle=function(e){const t=this._scope!==e;this._scope=t?e:null,this._filter=this._scope?e=>zAe(this._scope,e):e=>!0,this._eventBus.fire(RAe,{filter:this._filter,scope:this._scope})},OAe.prototype.isShown=function(e){return"string"===typeof e&&(e=this._simulator.findScope(t=>t.id===e)),e&&this._filter(e)},OAe.prototype.findScope=function(e){return this._simulator.findScopes(e).filter(e=>this.isShown(e))[0]},OAe.$inject=["eventBus","simulator"];var VAe={scopeFilter:["type",OAe]};n("7d5d");const WAe=getComputedStyle(document.documentElement),HAe=WAe.getPropertyValue("--token-simulation-green-base-44"),jAe=WAe.getPropertyValue("--token-simulation-white");function QAe(){}function UAe(e,t){return 2===t.length?$Ae:1===e?GAe:e===t.length-1?YAe:KAe}const KAe=function(e){return e},GAe=function(e){return 1-Math.cos(e*Math.PI/2)},YAe=function(e){return Math.sin(e*Math.PI/2)},$Ae=function(e){return-Math.cos(e*Math.PI)/2+.5},qAe=20;function JAe(e,t,n){this._eventBus=t,this._scopeFilter=n,this._canvas=e,this._animations=new Set,this._speed=1,t.on(kAe,()=>{this.clearAnimations()}),t.on(DAe,()=>{this.pause()}),t.on(SAe,()=>{this.play()}),t.on(RAe,e=>{this.each(e=>{this._scopeFilter.isShown(e.scope)?e.show():e.hide()})}),t.on(NAe,e=>{const{scope:t}=e;this.clearAnimations(t)})}function XAe(e,t,n){this.gfx=e,this.waypoints=t,this.done=n,this._paused=!0,this._t=0,this._parts=[],this.create()}function ZAe(e){return Math.log(e)*eEe(250,300)}function eEe(e,t){return e+Math.floor(Math.random()*(t-e))}function tEe(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}JAe.prototype.animate=function(e,t,n){this.createAnimation(e,t,n)},JAe.prototype.pause=function(){this.each(e=>e.pause())},JAe.prototype.play=function(){this.each(e=>e.play())},JAe.prototype.each=function(e){this._animations.forEach(e)},JAe.prototype.createAnimation=function(e,t,n=QAe){const i=this._getGroup(t);if(!i)return;const o=this._createTokenGfx(i,t),r=new XAe(o,e.waypoints,()=>{this._animations.delete(r),n()});return r.setSpeed(this.getAnimationSpeed()),this._scopeFilter.isShown(t)||r.hide(),r.scope=t,r.element=e,this._animations.add(r),this._eventBus.fire(LAe,{animation:r}),r.play(),r},JAe.prototype.setAnimationSpeed=function(e){this._speed=e,this.each(t=>t.setSpeed(e)),this._eventBus.fire(MAe,{speed:e})},JAe.prototype.getAnimationSpeed=function(){return this._speed},JAe.prototype.clearAnimations=function(e){this.each(t=>{e&&t.scope!==e||t.remove()})},JAe.prototype._createTokenGfx=function(e,t){const n=n4(this._getTokenSVG(t).trim());return O2(n,e)},JAe.prototype._getTokenSVG=function(e){const t=e.colors||{primary:HAe,auxiliary:jAe};return`\n \n \n 1\n \n `},JAe.prototype._getGroup=function(e){var t,n,i=this._canvas;"findRoot"in i?(n=i.findRoot(e.element),t=i._findPlaneForRoot(n).layer):t=T2(".viewport",i._svg);var o=T2(".bts-animation-tokens",t);return o||(o=n4(''),O2(o,t)),o},JAe.$inject=["canvas","eventBus","scopeFilter"],XAe.prototype.pause=function(){this._paused=!0},XAe.prototype.play=function(){this._paused&&(this._paused=!1,this.tick(0)),this.schedule()},XAe.prototype.schedule=function(){if(this._paused)return;if(this._scheduled)return;const e=Date.now();this._scheduled=!0,requestAnimationFrame(()=>{this._scheduled=!1,this._paused||(this.tick((Date.now()-e)*this._speed),this.schedule())})},XAe.prototype.tick=function(e){const t=this._t=this._t+e,n=this._parts.find(e=>e.startTime<=t&&e.endTime>t);if(!n)return this.remove();const i=t-n.startTime,o=n.length*n.easing(i/n.duration),r=n.startLength+o,s=this._path.getPointAtLength(r);this.move(s.x,s.y)},XAe.prototype.move=function(e,t){U2(this.gfx,"transform",`translate(${e}, ${t})`)},XAe.prototype.create=function(){const e=this.waypoints,t=e.reduce((t,n,i)=>{const o=e[i-1];if(o){const r=t[t.length-1],s=r&&r.endLength||0,a=tEe(o,n);t.push({startLength:s,endLength:s+a,length:a,easing:UAe(i,e)})}return t},[]),n=t.reduce((function(e,t){return e+t.length}),0),i=e.reduce((e,t,n)=>{const i=t.x-qAe/2,o=t.y-qAe/2;return e.push([n>0?"L":"M",i,o]),e},[]).flat().join(" "),o=ZAe(n);this._parts=t.reduce((e,t,i)=>{const r=o/n*t.length,s=i>0?e[i-1].endTime:0,a=s+r;return[...e,{...t,startTime:s,endTime:a,duration:r}]},[]),this._path=n4(``),this._t=0},XAe.prototype.show=function(){U2(this.gfx,"display","")},XAe.prototype.hide=function(){U2(this.gfx,"display","none")},XAe.prototype.remove=function(){this.pause(),$2(this.gfx),this.done()},XAe.prototype.setSpeed=function(e){this._speed=e};var nEe={__depends__:[wAe,EAe,VAe],animation:["type",JAe]},iEe=n("60c6"),oEe=n.n(iEe);const rEe=1500;function sEe(e){const t=oEe()({count:60}).filter(e=>n(e.substring(1))<200);function n(e){var t=parseInt(e.substr(0,2),16),n=parseInt(e.substr(2,2),16),i=parseInt(e.substr(4,2),16),o=(299*t+587*n+114*i)/1e3;return o}let i=0;function o(e){const{element:o}=e;if(o&&"bpmn:MessageFlow"===o.type)return{primary:"#999",auxiliary:"#FFF"};if(e.parent)return e.parent.colors;const r=t[i++%t.length];return{primary:r,auxiliary:n(r)>=128?"#111":"#fff"}}e.on(TAe,rEe,e=>{const{scope:t}=e;t.colors=o(t)})}sEe.$inject=["eventBus"];var aEe={__init__:["coloredScopes"],coloredScopes:["type",sEe]},lEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',cEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',hEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',dEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',uEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',pEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',gEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',mEe='\n \n \n\n',fEe='\x3c!-- Adapted from Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',vEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',bEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',yEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',_Ee='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',wEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',CEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e';function AEe(e){return function(t=""){return`${e}`}}const EEe=AEe(lEe),xEe=AEe(cEe),SEe=AEe(hEe),DEe=AEe(mEe),kEe=AEe(dEe),LEe=AEe(uEe),MEe=AEe(pEe),BEe=AEe(gEe),NEe=AEe(fEe),IEe=AEe(vEe),TEe=AEe(bEe),REe=AEe(yEe),PEe=AEe(_Ee),FEe=AEe(wEe),OEe=AEe(CEe);function zEe(e){this._exclusiveGatewaySettings=e}function VEe(e){this._simulator=e}function WEe(e){this._simulator=e}zEe.prototype.createContextPads=function(e){const t=e.outgoing.filter((function(e){return lAe(e,"bpmn:SequenceFlow")}));if(t.length<2)return;const n=`\n
    \n ${kEe()}\n
    \n `,i=()=>{this._exclusiveGatewaySettings.setSequenceFlow(e)};return[{action:i,element:e,html:n}]},zEe.$inject=["exclusiveGatewaySettings"],VEe.prototype.createContextPads=function(e){return lAe(e,"bpmn:ReceiveTask")||lAe(e,"bpmn:SubProcess")&&g9(e).triggeredByEvent?[]:[this.createPauseContextPad(e)]},VEe.prototype.createPauseContextPad=function(e){const t=()=>this._findSubscriptions({element:e}),n=this._isPaused(e),i=`\n
    \n ${(n?DEe:BEe)("show-hover")}\n ${BEe("hide-hover")}\n
    \n `,o=()=>{this._togglePaused(e)};return{action:o,element:e,hideContexts:t,html:i}},VEe.prototype._isPaused=function(e){const{wait:t}=this._simulator.getConfig(e);return t},VEe.prototype._togglePaused=function(e){const t=!this._isPaused(e);this._simulator.waitAtElement(e,t)},VEe.prototype._findSubscriptions=function(e){return this._simulator.findSubscriptions(e)},VEe.$inject=["simulator"],WEe.$inject=["simulator"],WEe.prototype.createContextPads=function(e){return[this.createTriggerContextPad(e)]},WEe.prototype.createTriggerContextPad=function(e){const t=()=>this._findSubscriptions({element:e}),n=`\n
    \n ${NEe()}\n
    \n `,i=e=>{const{event:t,scope:n}=e[0];return this._simulator.trigger({event:t,scope:n})};return{action:i,element:e,html:n,contexts:t}},WEe.prototype._findSubscriptions=function(e){return this._simulator.findSubscriptions(e)};const HEe=500,jEe=-15,QEe=-15;function UEe(e,t,n,i,o,r){this._elementRegistry=t,this._overlays=n,this._injector=i,this._canvas=o,this._scopeFilter=r,this._overlayCache=new Map,this._handlerIdx=0,this._handlers=[],this.registerHandler("bpmn:ExclusiveGateway",zEe),this.registerHandler("bpmn:Activity",VEe),this.registerHandler("bpmn:StartEvent",WEe),this.registerHandler("bpmn:IntermediateCatchEvent",WEe),this.registerHandler("bpmn:BoundaryEvent",WEe),this.registerHandler("bpmn:Activity",WEe),e.on(xAe,HEe,e=>{const t=e.active;t?this.openContextPads():this.closeContextPads()}),e.on(kAe,HEe,()=>{this.closeContextPads(),this.openContextPads()}),e.on(RAe,e=>{const t=R2(".djs-overlay-ts-context-menu [data-scope-ids]",n._overlayRoot);for(const n of t){const e=n.dataset.scopeIds.split(","),t=e.some(e=>r.isShown(e));d2(n).toggle("hidden",!t)}const i=R2(".djs-overlay-ts-context-menu [data-hide-scope-ids]",n._overlayRoot);for(const n of i){const e=n.dataset.hideScopeIds.split(","),t=e.some(e=>r.isShown(e));d2(n).toggle("hidden",t)}}),e.on(BAe,HEe,e=>{const{element:t}=e;this.updateElementContextPads(t)})}function KEe(e,t){do{if(e===t)return!0;t=t.parent}while(t);return!1}UEe.prototype.registerHandler=function(e,t){const n=this._injector.instantiate(t);n.hash=String(this._handlerIdx++),this._handlers.push({handler:n,type:e})},UEe.prototype.getHandlers=function(e){return this._handlers.filter(({type:t})=>lAe(e,t)).map(({handler:e})=>e)},UEe.prototype.openContextPads=function(e){e||(e=this._canvas.getRootElement()),this._elementRegistry.forEach(t=>{KEe(e,t)&&this.updateElementContextPads(t)})},UEe.prototype._getOverlays=function(e){return this._overlayCache.get(e)||[]},UEe.prototype._addOverlay=function(e,t){const{handlerHash:n}=t;if(!n)throw new Error(" required");const i=this._overlays.add(e,"ts-context-menu",{...t,position:{top:jEe,left:QEe},show:{minZoom:.5}}),o=this._overlays.get(i),r=this._overlayCache;r.has(n)||r.set(n,[]),r.get(n).push(o)},UEe.prototype._removeOverlay=function(e){const{id:t,handlerHash:n}=e;this._overlays.remove(t);const i=this._overlayCache.get(n)||[],o=i.indexOf(e);-1!==o&&i.splice(o,1)},UEe.prototype.updateElementContextPads=function(e){for(const t of this.getHandlers(e))this._updateElementContextPads(e,t)},UEe.prototype._updateElementContextPads=function(e,t){const n=(t.createContextPads(e)||[]).filter(e=>e),i=`${e.id}------${t.hash}`,o=this._getOverlays(i),r=[];for(const s of n){const{element:e,contexts:t,hideContexts:n,action:a,html:l}=s,c=`${s.element.id}-------${l}`;let h=o.find(e=>e.hash===c);const d=h&&h.html||I2(l);if(t){const e=t();d.dataset.scopeIds=e.map(e=>e.scope.id).join(",");const n=e.filter(e=>this._scopeFilter.isShown(e.scope));d2(d).toggle("hidden",0===n.length)}if(n){const e=n();d.dataset.hideScopeIds=e.map(e=>e.scope.id).join(",");const t=e.filter(e=>this._scopeFilter.isShown(e.scope));d2(d).toggle("hidden",t.length>0)}h?r.push(h):(a&&A2.bind(d,"click",e=>{e.preventDefault();const n=t?t().filter(e=>this._scopeFilter.isShown(e.scope)):null;a(n)}),this._addOverlay(e,{hash:c,handlerHash:i,html:d}))}for(const s of o)r.includes(s)||this._removeOverlay(s)},UEe.prototype.closeContextPads=function(){for(const e of this._overlayCache.values())for(const t of e)this._closeOverlay(t);this._overlayCache.clear()},UEe.prototype._closeOverlay=function(e){this._overlays.remove(e.id)},UEe.$inject=["eventBus","elementRegistry","overlays","injector","canvas","scopeFilter"];var GEe={__depends__:[VAe],__init__:["contextPads"],contextPads:["type",UEe]};function YEe(e,t,n,i){this._translate=i,e.on(NAe,e=>{const{scope:t}=e,{destroyInitiator:i,element:o}=t;if(!t.completed||!i)return;const r=["bpmn:Process","bpmn:Participant"];r.includes(o.type)&&n.addElementNotification(i.element,{type:"success",icon:SEe(),text:this._translate("Finished"),scope:t})})}YEe.$inject=["eventBus","simulator","elementNotifications","translate"];const $Ee=-15,qEe=15;function JEe(e,t){this._overlays=e,t.on([kAe,TAe,xAe],()=>{this.clear()})}JEe.prototype.addElementNotification=function(e,t){const n={top:$Ee,right:qEe},{type:i,icon:o,text:r,scope:s={}}=t,a=s.colors,l=a?`style="color: ${a.auxiliary}; background: ${a.primary}"`:"",c=I2(`\n
    \n ${o||""}\n ${r}\n
    \n `);this._overlays.add(e,"element-notification",{position:n,html:c,show:{minZoom:.5}})},JEe.prototype.clear=function(){this._overlays.remove({type:"element-notification"})},JEe.prototype.removeElementNotification=function(e){this._overlays.remove({element:e})},JEe.$inject=["overlays","eventBus"];var XEe={elementNotifications:["type",JEe]};const ZEe=2e3,exe=MEe();function txe(e,t,n){this._eventBus=e,this._canvas=t,this._scopeFilter=n,this._init(),e.on([xAe,kAe],e=>{this.clear()})}txe.prototype._init=function(){this.container=I2('
    '),this._canvas.getContainer().appendChild(this.container)},txe.prototype.showNotification=function(e){const{text:t,type:n="info",icon:i=exe,scope:o,ttl:r=ZEe}=e;if(o&&!this._scopeFilter.isShown(o))return;const s=i.startsWith("<")?i:``,a=o&&o.colors,l=a?`style="color: ${a.auxiliary}; background: ${a.primary}"`:"",c=I2(`\n
    \n ${s}\n ${t}\n ${o?`${o.id}`:""}\n
    \n `);this.container.appendChild(c);while(this.container.children.length>5)this.container.children[0].remove();setTimeout((function(){c.remove()}),r)},txe.prototype.clear=function(){while(this.container.children.length)this.container.children[0].remove()},txe.$inject=["eventBus","canvas","scopeFilter"];var nxe={__depends__:[VAe],notifications:["type",txe]},ixe={__depends__:[XEe,nxe],__init__:["simulationState"],simulationState:["type",YEe]};const oxe="--token-simulation-silver-base-97",rxe="--token-simulation-green-base-44",sxe="show-scopes",axe=3e3;function lxe(e,t,n,i,o){this._eventBus=e,this._canvas=t,this._scopeFilter=n,this._elementColors=i,this._simulationStyles=o,this._highlight=null,this._init(),e.on(xAe,e=>{const t=e.active;t?d2(this._container).remove("hidden"):(d2(this._container).add("hidden"),p2(this._container),this.unhighlightScope())}),e.on(RAe,e=>{const t=this.getScopeElements();for(const n of t){const e=n.dataset.scopeId;d2(n).toggle("inactive",!this._scopeFilter.isShown(e))}}),e.on(TAe,e=>{this.addScope(e.scope)}),e.on(NAe,e=>{this.removeScope(e.scope)}),e.on(IAe,e=>{this.updateScope(e.scope)}),e.on(kAe,()=>{this.removeAllInstances()})}function cxe(){this._cache={}}function hxe(){return{getPropertyValue(){return""}}}lxe.prototype._init=function(){this._container=I2(''),this._canvas.getContainer().appendChild(this._container)},lxe.prototype.addScope=function(e){const t=["bpmn:Process","bpmn:SubProcess","bpmn:Participant"],{element:n}=e;if(!t.includes(n.type))return;const i=e.colors,o=i?`style="color: ${i.auxiliary}; background: ${i.primary}"`:"",r=I2(`\n
    \n ${e.getTokens()}\n
    \n `);A2.bind(r,"click",()=>{this._scopeFilter.toggle(e)}),A2.bind(r,"mouseenter",()=>{this.highlightScope(n)}),A2.bind(r,"mouseleave",()=>{this.unhighlightScope()}),this._scopeFilter.isShown(e)||d2(r).add("inactive"),this._container.appendChild(r)},lxe.prototype.getScopeElements=function(){return R2("[data-scope-id]",this._container)},lxe.prototype.getScopeElement=function(e){return T2(`[data-scope-id="${e.id}"]`,this._container)},lxe.prototype.updateScope=function(e){const t=this.getScopeElement(e);t&&(t.textContent=e.getTokens())},lxe.prototype.removeScope=function(e){const t=this.getScopeElement(e);t&&t.remove()},lxe.prototype.removeAllInstances=function(){this._container.innerHTML=""},lxe.prototype.highlightScope=function(e){this.unhighlightScope(),this._highlight=e,this._elementColors.add(e,sxe,this._getHighlightColors(),axe),e.parent||d2(this._canvas.getContainer()).add("highlight")},lxe.prototype.unhighlightScope=function(){if(!this._highlight)return;const e=this._highlight;this._elementColors.remove(e,sxe),e.parent||d2(this._canvas.getContainer()).remove("highlight"),this._highlight=null},lxe.prototype._getHighlightColors=function(){return{fill:this._simulationStyles.get(oxe),stroke:this._simulationStyles.get(rxe)}},lxe.$inject=["eventBus","canvas","scopeFilter","elementColors","simulationStyles"],cxe.$inject=[],cxe.prototype.get=function(e){const t=this._cache[e];return t||(this._computedStyle||(this._computedStyle=this._getComputedStyle()),this._cache[e]=this._computedStyle.getPropertyValue(e).trim())},cxe.prototype._getComputedStyle=function(){const e="function"===typeof getComputedStyle?getComputedStyle:hxe,t="undefined"!==typeof document?document.documentElement:{};return e(t)};var dxe={simulationStyles:["type",cxe]},uxe={__depends__:[VAe,dxe],__init__:["showScopes"],showScopes:["type",lxe]};const pxe=MEe();function gxe(e){const t=e&&e.businessObject.name;return t&&Yee(t)}function mxe(e,t,n,i,o,r,s){this._notifications=t,this._tokenSimulationPalette=n,this._canvas=i,this._scopeFilter=o,this._translate=s,this._init(),e.on(RAe,e=>{const t=R2(".bts-entry[data-scope-id]",this._container);for(const n of t){const e=n.dataset.scopeId;d2(n).toggle("inactive",!this._scopeFilter.isShown(e))}}),e.on(NAe,e=>{const{scope:t}=e,{element:n}=t,i=t.completed,o=["bpmn:Process","bpmn:Participant","bpmn:SubProcess"];if(!o.includes(n.type))return;const r=lAe(n,"bpmn:SubProcess"),s=`${r?gxe(n)||this._translate("SubProcess"):this._translate("Process")} ${i?this._translate("finished"):this._translate("canceled")}`;this.log({text:s,icon:i?SEe():REe(),scope:t})}),e.on(TAe,e=>{const{scope:t}=e,{element:n}=t,i=["bpmn:Process","bpmn:Participant","bpmn:SubProcess"];if(!i.includes(n.type))return;const o=lAe(n,"bpmn:SubProcess"),r=`${o?gxe(n)||this._translate("SubProcess"):this._translate("Process")} ${this._translate("started")}`;this.log({text:r,icon:SEe(),scope:t})}),e.on(PAe,e=>{const{action:t,scope:n,element:i}=e;if("exit"!==t)return;const o=n.parent,r=gxe(i);if(lAe(i,"bpmn:BusinessRuleTask")?this.log({text:r||"Business Rule Task",icon:"bpmn-icon-business-rule",scope:o}):lAe(i,"bpmn:CallActivity")?this.log({text:r||"Call Activity",icon:"bpmn-icon-call-activity",scope:o}):(lAe(i,"bpmn:IntermediateCatchEvent")||lAe(i,"bpmn:IntermediateThrowEvent"))&&this.log({text:r||"Intermediate Event",icon:"bpmn-icon-intermediate-event-none",scope:o}),lAe(i,"bpmn:BoundaryEvent"))this.log({text:r||"Boundary Event",icon:"bpmn-icon-intermediate-event-none",scope:o});else if(lAe(i,"bpmn:ManualTask"))this.log({text:r||"Manual Task",icon:"bpmn-icon-manual",scope:o});else if(lAe(i,"bpmn:ScriptTask"))this.log({text:r||"Script Task",icon:"bpmn-icon-script",scope:o});else if(lAe(i,"bpmn:ServiceTask"))this.log({text:r||"Service Task",icon:"bpmn-icon-service",scope:o});else if(lAe(i,"bpmn:Task"))this.log({text:r||"Task",icon:"bpmn-icon-task",scope:o});else if(lAe(i,"bpmn:UserTask"))this.log({text:r||"User Task",icon:"bpmn-icon-user",scope:o});else if(lAe(i,"bpmn:ExclusiveGateway")){if(i.outgoing.length<2)return;const e=gxe(i.sequenceFlow);let t=r||"Gateway";e&&(t=t.concat(` ${xEe()} ${e}`)),this.log({text:t,icon:"bpmn-icon-gateway-xor",scope:o})}else lAe(i,"bpmn:EndEvent")?hAe(g9(i),"bpmn:TerminateEventDefinition")?this.log({text:r||"Terminate End Event",icon:"bpmn-icon-end-event-terminate",scope:o}):this.log({text:r||"End Event",icon:"bpmn-icon-end-event-none",scope:o}):lAe(i,"bpmn:StartEvent")&&this.log({text:r||"Start Event",icon:"bpmn-icon-start-event-none",scope:o})}),e.on([xAe,kAe],e=>{this.clear(),this.toggle(!1)})}mxe.prototype._init=function(){this._container=I2(`\n \n `),this._placeholder=T2(".bts-placeholder",this._container),this._content=T2(".bts-content",this._container),A2.bind(this._content,"mousedown",e=>{e.stopPropagation()}),this._close=T2(".bts-close",this._container),A2.bind(this._close,"click",()=>{this.toggle(!1)}),this._icon=T2(".bts-log-icon",this._container),A2.bind(this._icon,"click",()=>{this.toggle()}),this._canvas.getContainer().appendChild(this._container),this.paletteEntry=I2(`\n
    \n ${EEe()}\n
    \n `),A2.bind(this.paletteEntry,"click",()=>{this.toggle()}),this._tokenSimulationPalette.addEntry(this.paletteEntry,3)},mxe.prototype.isShown=function(){const e=this._container;return!d2(e).has("hidden")},mxe.prototype.toggle=function(e=!this.isShown()){const t=this._container;e?d2(t).remove("hidden"):d2(t).add("hidden")},mxe.prototype.log=function(e){const{text:t,type:n="info",icon:i=pxe,scope:o}=e,r=this._content;d2(this._placeholder).add("hidden"),this.isShown()||this._notifications.showNotification(e);const s=i.startsWith("<")?i:``,a=o&&o.colors,l=a?`style="background: ${a.primary}; color: ${a.auxiliary}"`:"",c=I2(`\n

    \n ${s}\n ${t}\n ${o?`${o.id}`:""}\n

    \n `);k2.bind(c,".bts-scope[data-scope-id]","click",e=>{this._scopeFilter.toggle(o)});const h=Math.abs(r.clientHeight+r.scrollTop-r.scrollHeight)<2;r.appendChild(c),h&&(r.scrollTop=r.scrollHeight)},mxe.prototype.clear=function(){while(this._content.firstChild)this._content.removeChild(this._content.firstChild);this._placeholder=I2(`

    ${this._translate("No Entries")}

    `),this._content.appendChild(this._placeholder)},mxe.$inject=["eventBus","notifications","tokenSimulationPalette","canvas","scopeFilter","simulator","translate"];var fxe={__depends__:[nxe,VAe],__init__:["log"],log:["type",mxe]};const vxe=["bpmn:InclusiveGateway","bpmn:ComplexGateway"];function bxe(e){return e.labelTarget}function yxe(e,t,n,i,o){this._eventBus=e,this._elementRegistry=t,this._elementNotifications=o,this._notifications=i,this._canvasParent=n.getContainer().parentNode,e.on(xAe,e=>{e.active?this.enable():this.clear()})}yxe.prototype.getUnsupportedElements=function(){return this._unsupportedElements},yxe.prototype.enable=function(){const e=[];this._elementRegistry.forEach(t=>{bxe(t)||lAe(t,vxe)&&(this.showWarning(t),e.push(t))}),e.length&&this._notifications.showNotification({text:"Found unsupported elements",icon:LEe(),type:"warning",ttl:5e3}),this._unsupportedElements=e},yxe.prototype.clear=function(){d2(this._canvasParent).remove("warning")},yxe.prototype.showWarning=function(e){this._elementNotifications.addElementNotification(e,{type:"warning",icon:LEe(),text:"Not supported"})},yxe.$inject=["eventBus","elementRegistry","canvas","notifications","elementNotifications"];var _xe={__depends__:[XEe,nxe],__init__:["elementSupport"],elementSupport:["type",yxe]};const wxe=NEe(),Cxe=BEe(),Axe=1500;function Exe(e,t,n,i,o){this._eventBus=e,this._tokenSimulationPalette=t,this._notifications=n,this._translate=o,this.canvasParent=i.getContainer().parentNode,this.isActive=!1,this.isPaused=!0,this._init(),e.on(TAe,Axe,e=>{this.activate(),this.unpause()}),e.on([kAe,xAe],()=>{this.deactivate(),this.pause()}),e.on(PAe,Axe,e=>{this.unpause()})}Exe.prototype._init=function(){this.paletteEntry=I2(`\n
    \n ${wxe}\n
    \n `),A2.bind(this.paletteEntry,"click",this.toggle.bind(this)),this._tokenSimulationPalette.addEntry(this.paletteEntry,1)},Exe.prototype.toggle=function(){this.isPaused?this.unpause():this.pause()},Exe.prototype.pause=function(){this.isActive&&(d2(this.paletteEntry).remove("active"),d2(this.canvasParent).add("paused"),this.paletteEntry.innerHTML=wxe,this._eventBus.fire(DAe),this._notifications.showNotification({text:this._translate("Pause Simulation")}),this.isPaused=!0)},Exe.prototype.unpause=function(){this.isActive&&this.isPaused&&(d2(this.paletteEntry).add("active"),d2(this.canvasParent).remove("paused"),this.paletteEntry.innerHTML=Cxe,this._eventBus.fire(SAe),this._notifications.showNotification({text:this._translate("Play Simulation")}),this.isPaused=!1)},Exe.prototype.activate=function(){this.isActive=!0,d2(this.paletteEntry).remove("disabled")},Exe.prototype.deactivate=function(){this.isActive=!1,d2(this.paletteEntry).remove("active"),d2(this.paletteEntry).add("disabled")},Exe.$inject=["eventBus","tokenSimulationPalette","notifications","canvas","translate"];var xxe={__depends__:[nxe],__init__:["pauseSimulation"],pauseSimulation:["type",Exe]};function Sxe(e,t,n,i){this._eventBus=e,this._tokenSimulationPalette=t,this._notifications=n,this._translate=i,this._init(),e.on(TAe,()=>{d2(this._paletteEntry).remove("disabled")}),e.on(xAe,e=>{const t=this._active=e.active;t||this.resetSimulation()})}Sxe.prototype._init=function(){this._paletteEntry=I2(`\n
    \n ${IEe()}\n
    \n `),A2.bind(this._paletteEntry,"click",()=>{this.resetSimulation(),this._notifications.showNotification({text:this._translate("Reset Simulation"),type:"info"})}),this._tokenSimulationPalette.addEntry(this._paletteEntry,2)},Sxe.prototype.resetSimulation=function(){d2(this._paletteEntry).add("disabled"),this._eventBus.fire(kAe)},Sxe.$inject=["eventBus","tokenSimulationPalette","notifications","translate"];var Dxe={__depends__:[nxe],__init__:["resetSimulation"],resetSimulation:["type",Sxe]};const kxe=10,Lxe=-15,Mxe=500,Bxe="--token-simulation-green-base-44",Nxe="--token-simulation-white";function Ixe(e,t,n,i,o){this._overlays=t,this._scopeFilter=i,this._simulator=n,this._simulationStyles=o,this.overlayIds={},e.on(BAe,Mxe,e=>{const{element:t}=e;this.removeTokenCounts(t),this.addTokenCounts(t)}),e.on(RAe,e=>{const n=R2(".bts-token-count[data-scope-id]",t._overlayRoot);for(const t of n){const e=t.dataset.scopeId;d2(t).toggle("inactive",!this._scopeFilter.isShown(e))}})}Ixe.prototype.addTokenCounts=function(e){if(lAe(e,"bpmn:MessageFlow")||lAe(e,"bpmn:SequenceFlow"))return;const t=this._simulator.findScopes(t=>!t.destroyed&&t.children.some(t=>!t.destroyed&&t.element===e&&!t.children.length));this.addTokenCount(e,t)},Ixe.prototype.addTokenCount=function(e,t){if(!t.length)return;const n=t.map(t=>this._getTokenHTML(e,t)).join(""),i=I2(`\n
    \n ${n}\n
    \n `),o={bottom:kxe,left:Lxe},r=this._overlays.add(e,"token-count",{position:o,html:i,show:{minZoom:.5}});this.overlayIds[e.id]=r},Ixe.prototype.removeTokenCounts=function(e){this.removeTokenCount(e)},Ixe.prototype.removeTokenCount=function(e){const t=this.overlayIds[e.id];t&&(this._overlays.remove(t),delete this.overlayIds[e.id])},Ixe.prototype._getTokenHTML=function(e,t){const n=t.colors||this._getDefaultColors();return`\n
    \n ${t.getTokensByElement(e)}\n
    \n `},Ixe.prototype._getDefaultColors=function(){return{primary:this._simulationStyles.get(Bxe),auxiliary:this._simuationStyles.get(Nxe)}},Ixe.$inject=["eventBus","overlays","simulator","scopeFilter","simulationStyles"];var Txe={__depends__:[VAe,dxe],__init__:["tokenCount"],tokenCount:["type",Ixe]};const Rxe=[["Slow",.5],["Normal",1],["Fast",2]];function Pxe(e,t,n,i){this._canvas=e,this._animation=t,this._eventBus=n,this._translate=i,this._init(t.getAnimationSpeed()),n.on(xAe,e=>{const t=e.active;t?d2(this._container).remove("hidden"):d2(this._container).add("hidden")}),n.on(MAe,e=>{this.setActive(e.speed)})}Pxe.prototype.getToggleSpeed=function(e){return parseFloat(e.dataset.speed)},Pxe.prototype._init=function(e){this._container=I2(`\n \n `),k2.bind(this._container,"[data-speed]","click",e=>{const t=e.delegateTarget,n=this.getToggleSpeed(t);this._animation.setAnimationSpeed(n)}),this._canvas.getContainer().appendChild(this._container)},Pxe.prototype.setActive=function(e){R2("[data-speed]",this._container).forEach(t=>{const n=this.getToggleSpeed(t)===e;d2(t)[n?"add":"remove"]("active")})},Pxe.$inject=["canvas","animation","eventBus","translate"];var Fxe={__init__:["setAnimationSpeed"],setAnimationSpeed:["type",Pxe]};const Oxe="--token-simulation-grey-darken-30",zxe="--token-simulation-grey-lighten-56";function Vxe(e,t){var n=e.outgoing.filter(Wxe),i=n.indexOf(t||e.sequenceFlow);return n[i+1]?n[i+1]:n[0]}function Wxe(e){return lAe(e,"bpmn:SequenceFlow")}const Hxe="exclusive-gateway-settings",jxe=2e3;function Qxe(e,t,n,i,o){this._elementRegistry=t,this._elementColors=n,this._simulator=i,this._simulationStyles=o,e.on(xAe,e=>{e.active?this.setSequenceFlowsDefault():this.resetSequenceFlows()})}Qxe.prototype.setSequenceFlowsDefault=function(){const e=this._elementRegistry.filter(e=>lAe(e,"bpmn:ExclusiveGateway"));for(const t of e)this.setSequenceFlow(t)},Qxe.prototype.resetSequenceFlows=function(){const e=this._elementRegistry.filter(e=>lAe(e,"bpmn:ExclusiveGateway"));e.forEach(e=>{e.outgoing.filter(Wxe).length&&this.resetSequenceFlow(e)})},Qxe.prototype.resetSequenceFlow=function(e){this._simulator.setConfig(e,{activeOutgoing:void 0})},Qxe.prototype.setSequenceFlow=function(e){const t=e.outgoing.filter(Wxe);if(t.length<2)return;const{activeOutgoing:n}=this._simulator.getConfig(e);let i;i=n?Vxe(e,n):t[0],this._simulator.setConfig(e,{activeOutgoing:i}),e.outgoing.forEach(e=>{const t=e===i?Oxe:zxe,n=this._simulationStyles.get(t);this._elementColors.add(e,Hxe,{stroke:n},jxe)})},Qxe.$inject=["eventBus","elementRegistry","elementColors","simulator","simulationStyles"];const Uxe=5e4;function Kxe(e,t,n){this._elementRegistry=e,this._eventBus=t,this._graphicsFactory=n,this._originalColors={},this._customColors={},t.on(xAe,Uxe,e=>{const t=e.active;t?this._saveOriginalColors():(this._applyOriginalColors(),this._originalColors={},this._customColors={})}),t.on("saveXML.start",Uxe,()=>{this._applyOriginalColors(),t.once("saveXML.done",()=>this._applyCustomColors())})}function Gxe(e){return"labelTarget"in e}function Yxe(e={}){const t=Object.values(e).reduce((e,t)=>{const{priority:n=1e3}=t;return!e||n>e.priority?t:e},void 0);if(t){const{priority:e,...n}=t;return n}}Kxe.$inject=["elementRegistry","eventBus","graphicsFactory"],Kxe.prototype.add=function(e,t,n,i=1e3){let o=this._customColors[e.id];o||(o=this._customColors[e.id]={}),o[t]={...n,priority:i},this._applyHighestPriorityColor(e)},Kxe.prototype.remove=function(e,t){const n=this._customColors[e.id];n&&(delete n[t],Object.keys(n)||delete this._customColors[e.id]),this._applyHighestPriorityColor(e)},Kxe.prototype._get=function(e){const t=m9(e);if(t)return Gxe(e)?{stroke:t.label&&t.label.get("color")}:p9(t,["bpmndi:BPMNEdge","bpmndi:BPMNShape"])?{fill:t.get("background-color"),stroke:t.get("border-color")}:void 0},Kxe.prototype._set=function(e,t={}){const{fill:n,stroke:i}=t,o=m9(e);o&&(Gxe(e)?o.label&&o.label.set("color",i):p9(o,["bpmndi:BPMNEdge","bpmndi:BPMNShape"])&&(o.set("background-color",n),o.set("border-color",i)),this._forceRedraw(e))},Kxe.prototype._saveOriginalColors=function(){this._originalColors={},this._elementRegistry.forEach(e=>{this._originalColors[e.id]=this._get(e)})},Kxe.prototype._applyOriginalColors=function(){this._elementRegistry.forEach(e=>{const t=this._originalColors[e.id];t&&this._set(e,t)})},Kxe.prototype._applyCustomColors=function(){this._elementRegistry.forEach(e=>{const t=this._customColors[e.id];t&&this._set(e,Yxe(t))})},Kxe.prototype._applyHighestPriorityColor=function(e){const t=this._customColors[e.id];t?this._set(e,Yxe(t)):this._set(e,this._originalColors[e.id])},Kxe.prototype._forceRedraw=function(e){const t=this._elementRegistry.getGraphics(e),n=e.waypoints?"connection":"shape";this._graphicsFactory.update(n,e,t)};var $xe={elementColors:["type",Kxe]},qxe={__depends__:[$xe,dxe],exclusiveGatewaySettings:["type",Qxe]};const Jxe="neutral-element-colors";function Xxe(e,t,n){this._elementRegistry=t,this._elementColors=n,e.on(xAe,e=>{const{active:t}=e;t&&this._setNeutralColors()})}Xxe.prototype._setNeutralColors=function(){this._elementRegistry.forEach(e=>{this._elementColors.add(e,Jxe,{stroke:"#212121",fill:"#fff"})})},Xxe.$inject=["eventBus","elementRegistry","elementColors"];var Zxe={__depends__:[$xe],__init__:["neutralElementColors"],neutralElementColors:["type",Xxe]};function eSe(e,t){var n=this;this._canvas=t,this.entries=[],this._init(),e.on(xAe,(function(e){var t=e.active;t?d2(n.container).remove("hidden"):d2(n.container).add("hidden")}))}eSe.prototype._init=function(){this.container=I2(''),this._canvas.getContainer().appendChild(this.container)},eSe.prototype.addEntry=function(e,t){var n=0;this.entries.forEach((function(e){t>=e.index&&n++})),this.container.insertBefore(e,this.container.childNodes[n]),this.entries.push({entry:e,index:t})},eSe.$inject=["eventBus","canvas"];var tSe={__init__:["tokenSimulationPalette"],tokenSimulationPalette:["type",eSe]},nSe={__depends__:[wAe,nEe,aEe,GEe,ixe,uxe,fxe,_xe,xxe,Dxe,Txe,Fxe,qxe,Zxe,tSe]};const iSe=10001;function oSe(e,t,n,i,o,r,s,a){let l=!1;function c(e,t,n){const i=e[t];e[t]=function(){return n.call(this,i,arguments)}}function h(e,t){c(e,t,(function(e,t){if(!l)return e.apply(this,t)}))}function d(e,t){c(e,t,(function(e,t){if(l)throw new Error("model is read-only");return e.apply(this,t)}))}e.on(xAe,iSe,e=>{l=e.active,l&&(i.cancel(),t.close(),n.cancel()),s._update()}),h(t,"open"),h(n,"init"),h(i,"activate"),h(n,"init"),h(i,"activate"),d(r,"moveShape"),d(r,"updateAttachment"),d(r,"moveElements"),d(r,"moveConnection"),d(r,"layoutConnection"),d(r,"createConnection"),d(r,"createShape"),d(r,"createLabel"),d(r,"appendShape"),d(r,"removeElements"),d(r,"distributeElements"),d(r,"removeShape"),d(r,"removeConnection"),d(r,"replaceShape"),d(r,"pasteElements"),d(r,"alignElements"),d(r,"resizeShape"),d(r,"createSpace"),d(r,"updateWaypoints"),d(r,"reconnectStart"),d(r,"reconnectEnd"),c(o,"trigger",(function(e,t){const n=t[0];if(!l||!rSe(["undo","redo","copy","paste","removeSelection","spaceTool","lassoTool","globalConnectTool","distributeElements","alignElements","directEditing"],n))return e.apply(this,t)}))}function rSe(e,t){return e.indexOf(t)>-1}oSe.$inject=["eventBus","contextPad","dragging","directEditing","editorActions","modeling","palette","paletteProvider"];var sSe={__init__:["disableModeling"],disableModeling:["type",oSe]};function aSe(e,t,n,i,o){this._eventBus=e,this._canvas=t,this._selection=n,this._contextPad=i,this._translate=o,this._active=!1,e.on("import.parse.start",()=>{this._active&&(this.toggleMode(!1),e.once("import.done",()=>{this.toggleMode(!0)}))}),e.on("diagram.init",()=>{this._canvasParent=this._canvas.getContainer().parentNode,this._palette=T2(".djs-palette",this._canvas.getContainer()),this._init()})}aSe.prototype._init=function(){this._container=I2(`\n
    \n ${this._translate("Token Simulation")} ${FEe()}\n
    \n `),A2.bind(this._container,"click",()=>this.toggleMode()),this._canvas.getContainer().appendChild(this._container)},aSe.prototype.toggleMode=function(e=!this._active){if(e!==this._active){if(e)this._container.innerHTML=`${this._translate("Token Simulation")} ${OEe()}`,d2(this._canvasParent).add("simulation"),d2(this._palette).add("hidden");else{this._container.innerHTML=`${this._translate("Token Simulation")} ${FEe()}`,d2(this._canvasParent).remove("simulation"),d2(this._palette).remove("hidden");const e=this._selection.get();1===e.length&&this._contextPad.open(e[0])}this._eventBus.fire(xAe,{active:e}),this._active=e}},aSe.$inject=["eventBus","canvas","selection","contextPad","translate"];var lSe={__init__:["toggleMode"],toggleMode:["type",aSe]};function cSe(e,t,n,i,o,r){var s=!1;o.register({toggleTokenSimulation:function(){t.toggleMode()}}),o.register({togglePauseTokenSimulation:function(){s&&n.toggle()}}),o.register({resetTokenSimulation:function(){s&&i.resetSimulation()}});const a=r.get("log",!1);a&&o.register({toggleTokenSimulationLog:function(){a.toggle()}}),e.on(xAe,e=>{s=e.active})}cSe.$inject=["eventBus","toggleMode","pauseSimulation","resetSimulation","editorActions","injector"];var hSe={__init__:["tokenSimulationEditorActions"],tokenSimulationEditorActions:["type",cSe]};const dSe=1e4;function uSe(e,t){var n=t.get("editorActions",!1),i=t.get("keyboard",!1);if(i&&n){var o=!1;e.on("keyboard.init",(function(){i.addListener(dSe,(function(e){var t=e.keyEvent;r(t)}))})),e.on(xAe,(function(e){var t=e.active;o=!!t}))}function r(e){return pSe(["t","T"],e)?(n.trigger("toggleTokenSimulation"),!0):o?pSe(["l","L"],e)?(n.trigger("toggleTokenSimulationLog"),!0):pSe([" ","Spacebar"],e)?(n.trigger("togglePauseTokenSimulation"),!0):pSe(["r","R"],e)?(n.trigger("resetTokenSimulation"),!0):void 0:void 0}}function pSe(e,t){return e.indexOf(t.key)>-1}uSe.$inject=["eventBus","injector"];var gSe={__init__:["tokenSimulationKeyboardBindings"],tokenSimulationKeyboardBindings:["type",uSe]},mSe={__depends__:[nSe,sSe,lSe,hSe,gSe]};function fSe(e,t,n,i){this._eventBus=e,this._canvas=t,this._translate=n,this._active=!1,e.on("import.parse.start",()=>{this._active&&(this.toggleMode(!1),e.once("import.done",()=>{this.toggleMode(!0)}))}),e.on("diagram.init",()=>{this._canvasParent=this._canvas.getContainer().parentNode,this._init()}),e.on("import.parse.start",()=>{this._active&&(this.toggleMode(!1),e.once("import.done",()=>{this.toggleMode(!0)}))})}fSe.prototype._init=function(){this._container=I2(`\n
    \n ${this._translate("Token Simulation")} ${FEe()}\n
    \n `);var e="3e68f5a6cc486e25451165f604ee6520";A2.bind(this._container,"click",()=>this.toggleMode()),e.length,this._canvas.getContainer().appendChild(this._container)},fSe.prototype.toggleMode=function(e=!this._active){e!==this._active&&(e?(this._container.innerHTML=`${this._translate("Token Simulation")} ${OEe()}`,d2(this._canvasParent).add("simulation")):(this._container.innerHTML=`${this._translate("Token Simulation")} ${FEe()}`,d2(this._canvasParent).remove("simulation")),this._eventBus.fire(xAe,{active:e}),this._active=e)},fSe.$inject=["eventBus","canvas","translate"];var vSe={__init__:["toggleMode"],toggleMode:["type",fSe]},bSe={__depends__:[nSe,vSe]};const ySe=Object.prototype.toString,_Se=Object.prototype.hasOwnProperty;function wSe(e){return void 0===e}function CSe(e){return"[object Array]"===ySe.call(e)}function ASe(e){return"[object Object]"===ySe.call(e)}function ESe(e){return"[object Number]"===ySe.call(e)}function xSe(e){const t=ySe.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function SSe(e,t){return _Se.call(e,t)}function DSe(e,t){let n;return t=MSe(t),kSe(e,(function(e,i){if(t(e,i))return n=e,!1})),n}function kSe(e,t){let n,i;if(wSe(e))return;const o=CSe(e)?NSe:BSe;for(let r in e)if(SSe(e,r)&&(n=e[r],i=t(n,o(r)),!1===i))return n}function LSe(e,t){return!!DSe(e,t)}function MSe(e){return xSe(e)?e:t=>t===e}function BSe(e){return e}function NSe(e){return Number(e)}function ISe(e,...t){return Object.assign(e,...t)}const TSe={id:"events",name:"Events"},RSe={id:"tasks",name:"Tasks"},PSe={id:"data",name:"Data"},FSe={id:"participants",name:"Participants"},OSe={id:"subprocess",name:"Sub Processes"},zSe={id:"gateways",name:"Gateways"},VSe=[{label:"Start Event",actionName:"none-start-event",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"Boundary Event",actionName:"none-boundary-event",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:BoundaryEvent"}},{label:"End Event",actionName:"none-end-event",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}}].map(e=>({...e,group:TSe})),WSe=[{label:"Message Start Event",actionName:"message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}].map(e=>({...e,group:TSe})),HSe=[{label:"Message Intermediate Catch Event",actionName:"message-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Message Intermediate Throw Event",actionName:"message-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-message",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Intermediate Catch Event",actionName:"timer-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Intermediate Throw Event",actionName:"escalation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-escalation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Intermediate Catch Event",actionName:"conditional-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Link Intermediate Catch Event",actionName:"link-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-link",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Link Intermediate Throw Event",actionName:"link-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-link",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Compensation Intermediate Throw Event",actionName:"compensation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-compensation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal Intermediate Catch Event",actionName:"signal-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Signal Intermediate Throw Event",actionName:"signal-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-signal",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}].map(e=>({...e,group:TSe})),jSe=[{label:"Message Boundary Event",actionName:"message-boundary",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Boundary Event",actionName:"timer-boundary",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Boundary Event",actionName:"escalation-boundary",className:"bpmn-icon-intermediate-event-catch-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Boundary Event",actionName:"conditional-boundary",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Error Boundary Event",actionName:"error-boundary",className:"bpmn-icon-intermediate-event-catch-error",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel Boundary Event",actionName:"cancel-boundary",className:"bpmn-icon-intermediate-event-catch-cancel",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Signal Boundary Event",actionName:"signal-boundary",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Compensation Boundary Event",actionName:"compensation-boundary",className:"bpmn-icon-intermediate-event-catch-compensation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Boundary Event (non-interrupting)",actionName:"non-interrupting-message-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!1}},{label:"Timer Boundary Event (non-interrupting)",actionName:"non-interrupting-timer-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!1}},{label:"Escalation Boundary Event (non-interrupting)",actionName:"non-interrupting-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!1}},{label:"Conditional Boundary Event (non-interrupting)",actionName:"non-interrupting-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!1}},{label:"Signal Boundary Event (non-interrupting)",actionName:"non-interrupting-signal-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!1}}].map(e=>({...e,group:TSe})),QSe=[{label:"Message End Event",actionName:"message-end",className:"bpmn-icon-end-event-message",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Escalation End Event",actionName:"escalation-end",className:"bpmn-icon-end-event-escalation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Error End Event",actionName:"error-end",className:"bpmn-icon-end-event-error",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel End Event",actionName:"cancel-end",className:"bpmn-icon-end-event-cancel",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Compensation End Event",actionName:"compensation-end",className:"bpmn-icon-end-event-compensation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal End Event",actionName:"signal-end",className:"bpmn-icon-end-event-signal",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Terminate End Event",actionName:"terminate-end",className:"bpmn-icon-end-event-terminate",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:TerminateEventDefinition"}}].map(e=>({...e,group:TSe})),USe=[{label:"Exclusive Gateway",actionName:"exclusive-gateway",className:"bpmn-icon-gateway-xor",target:{type:"bpmn:ExclusiveGateway"}},{label:"Parallel Gateway",actionName:"parallel-gateway",className:"bpmn-icon-gateway-parallel",target:{type:"bpmn:ParallelGateway"}},{label:"Inclusive Gateway",search:"or",actionName:"inclusive-gateway",className:"bpmn-icon-gateway-or",target:{type:"bpmn:InclusiveGateway"},rank:-1},{label:"Complex Gateway",actionName:"complex-gateway",className:"bpmn-icon-gateway-complex",target:{type:"bpmn:ComplexGateway"},rank:-1},{label:"Event based Gateway",actionName:"event-based-gateway",className:"bpmn-icon-gateway-eventbased",target:{type:"bpmn:EventBasedGateway",instantiate:!1,eventGatewayType:"Exclusive"}}].map(e=>({...e,group:zSe})),KSe=[{label:"Transaction",actionName:"transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Event Sub Process",search:"subprocess",actionName:"event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}},{label:"Sub Process (collapsed)",search:"subprocess",actionName:"collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}},{label:"Sub Process (expanded)",search:"subprocess",actionName:"expanded-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!0}}].map(e=>({...e,group:OSe})),GSe=[{label:"Task",actionName:"task",className:"bpmn-icon-task",target:{type:"bpmn:Task"}},{label:"User Task",actionName:"user-task",className:"bpmn-icon-user",target:{type:"bpmn:UserTask"}},{label:"Service Task",actionName:"service-task",className:"bpmn-icon-service",target:{type:"bpmn:ServiceTask"}},{label:"Send Task",actionName:"send-task",className:"bpmn-icon-send",target:{type:"bpmn:SendTask"},rank:-1},{label:"Receive Task",actionName:"receive-task",className:"bpmn-icon-receive",target:{type:"bpmn:ReceiveTask"},rank:-1},{label:"Manual Task",actionName:"manual-task",className:"bpmn-icon-manual",target:{type:"bpmn:ManualTask"},rank:-1},{label:"Business Rule Task",actionName:"rule-task",className:"bpmn-icon-business-rule",target:{type:"bpmn:BusinessRuleTask"}},{label:"Script Task",actionName:"script-task",className:"bpmn-icon-script",target:{type:"bpmn:ScriptTask"}},{label:"Call Activity",actionName:"call-activity",className:"bpmn-icon-call-activity",target:{type:"bpmn:CallActivity"}}].map(e=>({...e,group:RSe})),YSe=[{label:"Data Store Reference",actionName:"data-store-reference",className:"bpmn-icon-data-store",target:{type:"bpmn:DataStoreReference"}},{label:"Data Object Reference",actionName:"data-object-reference",className:"bpmn-icon-data-object",target:{type:"bpmn:DataObjectReference"}}].map(e=>({...e,group:PSe})),$Se=[{label:"Expanded Pool",search:"Participant",actionName:"expanded-pool",className:"bpmn-icon-participant",target:{type:"bpmn:Participant",isExpanded:!0}},{label:"Empty Pool",search:"Collapsed Participant",actionName:"collapsed-pool",className:"bpmn-icon-lane",target:{type:"bpmn:Participant",isExpanded:!1}}].map(e=>({...e,group:FSe})),qSe=[...USe,...GSe,...KSe,...VSe,...WSe,...HSe,...QSe,...jSe,...YSe,...$Se];function JSe(e,t,n,i,o,r,s){this._elementFactory=e,this._popupMenu=t,this._create=n,this._autoPlace=i,this._rules=o,this._create=n,this._mouse=r,this._translate=s,this.register()}JSe.$inject=["elementFactory","popupMenu","create","autoPlace","rules","mouse","translate"],JSe.prototype.register=function(){this._popupMenu.registerProvider("bpmn-append",this)},JSe.prototype.getPopupMenuEntries=function(e){const t=this._rules,n=this._translate,i={};if(!t.allowed("shape.append",{element:e}))return[];const o=this._filterEntries(qSe);return o.forEach(t=>{const{actionName:o,className:r,label:s,target:a,description:l,group:c,search:h,rank:d}=t;i["append-"+o]={label:s&&n(s),className:r,description:l,group:c&&{...c,name:n(c.name)},search:h,rank:d,action:this._createEntryAction(e,a)}}),i},JSe.prototype._filterEntries=function(e){return e.filter(e=>{const t=e.target,{type:n,eventDefinitionType:i}=t;return!["bpmn:StartEvent","bpmn:Participant"].includes(n)&&("bpmn:BoundaryEvent"!==n||!wSe(i))})},JSe.prototype._createEntryAction=function(e,t){const n=this._elementFactory,i=this._autoPlace,o=this._create,r=this._mouse,s=()=>{const o=n.create("shape",t);i.append(e,o)},a=i=>{const s=n.create("shape",t);return i instanceof KeyboardEvent&&(i=r.getLastMoveEvent()),o.start(i,s,{source:e})};return{click:this._canAutoPlaceElement(t)?s:a,dragstart:a}},JSe.prototype._canAutoPlaceElement=e=>{const{type:t}=e;return"bpmn:BoundaryEvent"!==t&&(("bpmn:SubProcess"!==t||!e.triggeredByEvent)&&("bpmn:IntermediateCatchEvent"!==t||"bpmn:LinkEventDefinition"!==e.eventDefinitionType))};const XSe="data:image/svg+xml,%3Csvg%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%205.82%205.82%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M1.3%203.4c.3%200%20.5-.2.5-.5s-.2-.4-.5-.4c-.2%200-.4.1-.4.4%200%20.3.2.5.4.5zM3%203.4c.2%200%20.4-.2.4-.5s-.2-.4-.4-.4c-.3%200-.5.1-.5.4%200%20.3.2.5.5.5zM4.6%203.4c.2%200%20.4-.2.4-.5s-.2-.4-.4-.4c-.3%200-.5.1-.5.4%200%20.3.2.5.5.5z%22%2F%3E%0A%3C%2Fsvg%3E",ZSe="data:image/svg+xml,%3Csvg%20width%3D%2246%22%20height%3D%2246%22%20viewBox%3D%22-2%20-2%209.82%209.82%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M1.3%203.4c.3%200%20.5-.2.5-.5s-.2-.4-.5-.4c-.2%200-.4.1-.4.4%200%20.3.2.5.4.5zM3%203.4c.2%200%20.4-.2.4-.5s-.2-.4-.4-.4c-.3%200-.5.1-.5.4%200%20.3.2.5.5.5zM4.6%203.4c.2%200%20.4-.2.4-.5s-.2-.4-.4-.4c-.3%200-.5.1-.5.4%200%20.3.2.5.5.5z%22%2F%3E%0A%3C%2Fsvg%3E";function eDe(e,t,n,i){this._contextPad=e,this._popupMenu=t,this._translate=n,this._canvas=i,this.register()}function tDe(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}function nDe(e,t){var n=oDe(e);return n&&"function"===typeof n.$instanceOf&&n.$instanceOf(t)}function iDe(e,t){return LSe(t,(function(t){return nDe(e,t)}))}function oDe(e){return e&&e.businessObject||e}function rDe(e){return e&&e.di}function sDe(e){return e&&!!e.labelTarget}eDe.$inject=["contextPad","popupMenu","translate","canvas"],eDe.prototype.register=function(){this._contextPad.registerProvider(this)},eDe.prototype.getContextPadEntries=function(e){const t=this._popupMenu,n=this._translate,i=this._getAppendMenuPosition.bind(this);if(!t.isEmpty(e,"bpmn-append"))return{append:{group:"model",imageUrl:XSe,title:n("Append element"),action:{click:function(e,o){const r=ISe(i(o),{cursor:{x:e.x,y:e.y}});t.open(o,"bpmn-append",r,{title:n("Append element"),width:300,search:!0})}}}}},eDe.prototype._getAppendMenuPosition=function(e){const t=this._contextPad,n=5,i=t.getPad(e).html,o=i.getBoundingClientRect(),r={x:o.right+n,y:o.top};return r};var aDe=1e3;function lDe(e){this._eventBus=e}function cDe(e,t){return function(n){return e.call(t||null,n.context,n.command,n)}}lDe.$inject=["eventBus"],lDe.prototype.on=function(e,t,n,i,o,r){if((xSe(t)||ESe(t))&&(r=o,o=i,i=n,n=t,t=null),xSe(n)&&(r=o,o=i,i=n,n=aDe),ASe(o)&&(r=o,o=!1),!xSe(i))throw new Error("handlerFn must be a function");CSe(e)||(e=[e]);var s=this._eventBus;kSe(e,(function(e){var a=["commandStack",e,t].filter((function(e){return e})).join(".");s.on(a,n,o?cDe(i,r):i,r)}))};var hDe=["canExecute","preExecute","preExecuted","execute","executed","postExecute","postExecuted","revert","reverted"];function dDe(e){lDe.call(this,e),this.init()}function uDe(e){dDe.call(this,e)}function pDe(e,t){const n=oDe(e);return!!DSe(n.eventDefinitions||[],(function(e){return nDe(e,t)}))}function gDe(e){return e.waypoints}kSe(hDe,(function(e){lDe.prototype[e]=function(t,n,i,o,r){(xSe(t)||ESe(t))&&(r=o,o=i,i=n,n=t,t=null),this.on(t,e,n,i,o,r)}})),dDe.$inject=["eventBus"],tDe(dDe,lDe),dDe.prototype.addRule=function(e,t,n){var i=this;"string"===typeof e&&(e=[e]),e.forEach((function(e){i.canExecute(e,t,(function(e,t,i){return n(e)}),!0)}))},dDe.prototype.init=function(){},tDe(uDe,dDe),uDe.$inject=["eventBus"],uDe.prototype.init=function(){this.addRule("shape.append",(function(e){const t=e.element,n=oDe(t);return!sDe(t)&&(!iDe(t,["bpmn:EndEvent","bpmn:Group","bpmn:TextAnnotation","bpmn:Lane","bpmn:Participant","bpmn:DataStoreReference","bpmn:DataObjectReference"])&&(!gDe(t)&&((!nDe(t,"bpmn:IntermediateThrowEvent")||!pDe(t,"bpmn:LinkEventDefinition"))&&((!nDe(t,"bpmn:SubProcess")||!n.triggeredByEvent)&&void 0))))}))};var mDe,fDe={__init__:["appendMenuProvider","appendContextPadProvider","appendRules"],appendMenuProvider:["type",JSe],appendContextPadProvider:["type",eDe],appendRules:["type",uDe]};function vDe(e,t,n,i,o,r){this._elementFactory=e,this._popupMenu=t,this._create=n,this._autoPlace=i,this._mouse=o,this._translate=r,this.register()}function bDe(e,t){return t=t||document,t.querySelector(e)}vDe.$inject=["elementFactory","popupMenu","create","autoPlace","mouse","translate"],vDe.prototype.register=function(){this._popupMenu.registerProvider("bpmn-create",this)},vDe.prototype.getPopupMenuEntries=function(){const e={};return qSe.forEach(t=>{const{actionName:n,className:i,label:o,target:r,description:s,group:a,search:l,rank:c}=t,h=this._createEntryAction(r);e["create-"+n]={label:o&&this._translate(o),className:i,description:s,group:a&&{...a,name:this._translate(a.name)},search:l,rank:c,action:{click:h,dragstart:h}}}),e},vDe.prototype._createEntryAction=function(e){const t=this._create,n=this._mouse,i=this._popupMenu,o=this._elementFactory;let r;return s=>(i.close(),r="bpmn:Participant"===e.type?o.createParticipantShape(e):o.create("shape",e),s instanceof KeyboardEvent&&(s=n.getLastMoveEvent()),t.start(s,r))},"undefined"!==typeof document&&(mDe=document.createElement("div"),mDe.innerHTML='
    a',mDe.getElementsByTagName("link").length,mDe=void 0);const yDe=900;function _De(e,t,n,i,o){this._palette=e,this._translate=t,this._popupMenu=n,this._canvas=i,this._mouse=o,this.register()}_De.$inject=["palette","translate","popupMenu","canvas","mouse"],_De.prototype.register=function(){this._palette.registerProvider(yDe,this)},_De.prototype.getPaletteEntries=function(e){const t=this._translate,n=this._popupMenu,i=this._canvas,o=this._mouse,r=e=>{const t=35,n=10;if(e instanceof KeyboardEvent)return e=o.getLastMoveEvent(),{x:e.x,y:e.y};const i=e&&e.target||bDe('.djs-palette [data-action="create"]'),r=i.getBoundingClientRect();return i&&{x:r.left+r.width/2+t,y:r.top+r.height/2+n}};return{create:{group:"create",imageUrl:ZSe,title:t("Create element"),action:{click:function(e){const o=r(e),s=i.getRootElement();n.open(s,"bpmn-create",o,{title:t("Create element"),width:300,search:!0})}}}}};var wDe={__init__:["createMenuProvider","createPaletteProvider"],createMenuProvider:["type",vDe],createPaletteProvider:["type",_De]};function CDe(e){this._injector=e,this.registerActions()}CDe.$inject=["injector"],CDe.prototype.registerActions=function(){const e=this._injector.get("editorActions",!1),t=this._injector.get("selection",!1),n=this._injector.get("contextPad",!1),i=this._injector.get("palette",!1),o=this._injector.get("popupMenu",!1),r={};t&&n&&i&&o&&i&&ISe(r,{appendElement:function(e){const r=t&&t.get();1!=r.length||o.isEmpty(r[0],"bpmn-append")?i.triggerEntry("create","click",e):n.triggerEntry("append","click",e)}}),i&&ISe(r,{createElement:function(e){i.triggerEntry("create","click",e)}}),e&&e.register(r)};var ADe={__depends__:[fDe,wDe],__init__:["createAppendEditorActions"],createAppendEditorActions:["type",CDe]},EDe=["c","C"],xDe=["v","V"],SDe=["y","Y"],DDe=["z","Z"];function kDe(e){return!e.altKey&&(e.ctrlKey||e.metaKey)}function LDe(e,t){return e=CSe(e)?e:[e],-1!==e.indexOf(t.key)||-1!==e.indexOf(t.code)}function MDe(e){return e.shiftKey}function BDe(e){return kDe(e)&&LDe(EDe,e)}function NDe(e){return kDe(e)&&LDe(xDe,e)}function IDe(e){return kDe(e)&&!MDe(e)&&LDe(DDe,e)}function TDe(e){return kDe(e)&&(LDe(SDe,e)||LDe(DDe,e)&&MDe(e))}var RDe=500;function PDe(e,t){var n=this;e.on("editorActions.init",RDe,(function(e){var i=e.editorActions;n.registerBindings(t,i)}))}function FDe(e){this._injector=e,this._keyboard=this._injector.get("keyboard",!1),this._editorActions=this._injector.get("editorActions",!1),this._keyboard&&this._injector.invoke(PDe,this)}PDe.$inject=["eventBus","keyboard"],PDe.prototype.registerBindings=function(e,t){function n(n,i){t.isRegistered(n)&&e.addListener(i)}n("undo",(function(e){var n=e.keyEvent;if(IDe(n))return t.trigger("undo"),!0})),n("redo",(function(e){var n=e.keyEvent;if(TDe(n))return t.trigger("redo"),!0})),n("copy",(function(e){var n=e.keyEvent;if(BDe(n))return t.trigger("copy"),!0})),n("paste",(function(e){var n=e.keyEvent;if(NDe(n))return t.trigger("paste"),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(LDe(["+","Add","="],n)&&kDe(n))return t.trigger("stepZoom",{value:1}),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(LDe(["-","Subtract"],n)&&kDe(n))return t.trigger("stepZoom",{value:-1}),!0})),n("zoom",(function(e){var n=e.keyEvent;if(LDe("0",n)&&kDe(n))return t.trigger("zoom",{value:1}),!0})),n("removeSelection",(function(e){var n=e.keyEvent;if(LDe(["Backspace","Delete","Del"],n))return t.trigger("removeSelection"),!0}))},tDe(FDe,PDe),FDe.$inject=["injector"],FDe.prototype.registerBindings=function(){const e=this._keyboard,t=this._editorActions;function n(n,i){t&&t.isRegistered(n)&&e&&e.addListener(i)}PDe.prototype.registerBindings.call(this,e,t),n("appendElement",(function(n){const i=n.keyEvent;if(!e||!e.hasModifier(i))return e&&e.isKey(["a","A"],i)?(t&&t.trigger("appendElement",i),!0):void 0})),n("createElement",(function(n){const i=n.keyEvent;if(!e||!e.hasModifier(i))return e&&e.isKey(["n","N"],i)?(t&&t.trigger("createElement",i),!0):void 0}))};var ODe={__depends__:[fDe,wDe],__init__:["createAppendKeyboardBindings"],createAppendKeyboardBindings:["type",FDe]},zDe={__depends__:[fDe,wDe,ADe,ODe]};function VDe(e,t,n,i,o,r,s){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this._autoPlace=i,this._create=o,this._mouse=r,this._rules=s,this.register()}VDe.$inject=["popupMenu","translate","elementTemplates","autoPlace","create","move","rules"],VDe.prototype.register=function(){this._popupMenu.registerProvider("bpmn-append",this)},VDe.prototype.getPopupMenuEntries=function(e){return t=>{if(!this._rules.allowed("shape.append",{element:e}))return[];const n=this._filterTemplates(this._elementTemplates.getLatest());return ISe(t,this.getTemplateEntries(e,n)),t}},VDe.prototype.getTemplateEntries=function(e,t){const n={};return t.map(t=>{const{icon:i={},category:o}=t,r="append.template-"+t.id,s={id:"templates",name:this._translate("Templates")};n[r]={label:t.name,description:t.description,documentationRef:t.documentationRef,imageUrl:i.contents,group:o||s,action:this._getEntryAction(e,t)}}),n},VDe.prototype._filterTemplates=function(e){return e.filter(e=>{const{appliesTo:t,elementType:n}=e,i=n&&n.value||t[0];return!["bpmn:StartEvent","bpmn:Participant"].includes(i)&&"bpmn:SequenceFlow"!==i})},VDe.prototype._getEntryAction=function(e,t){return{click:()=>{const n=this._elementTemplates.createElement(t);this._autoPlace.append(e,n)},dragstart:n=>{const i=this._elementTemplates.createElement(t);n instanceof KeyboardEvent&&(n=this._mouse.getLastMoveEvent()),this._create.start(n,i,{source:e})}}};function WDe(e,t,n,i,o){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this._mouse=i,this._create=o,this.register()}WDe.$inject=["popupMenu","translate","elementTemplates","mouse","create"],WDe.prototype.register=function(){this._popupMenu.registerProvider("bpmn-create",this)},WDe.prototype.getPopupMenuEntries=function(e){return t=>(ISe(t,this.getTemplateEntries(e)),t)},WDe.prototype.getTemplateEntries=function(){const e=this._elementTemplates.getLatest(),t={};return e.map(e=>{const{icon:n={},category:i}=e,o="create.template-"+e.id,r={id:"templates",name:this._translate("Templates")};t[o]={label:e.name,description:e.description,documentationRef:e.documentationRef,imageUrl:n.contents,group:i||r,action:{click:this._getEntryAction(e),dragstart:this._getEntryAction(e)}}}),t},WDe.prototype._getEntryAction=function(e){const t=this._create,n=this._popupMenu,i=this._elementTemplates,o=this._mouse;return r=>{n.close();let s=i.createElement(e);return r instanceof KeyboardEvent&&(r=o.getLastMoveEvent()),t.start(r,s)}};function HDe(e,t,n){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this.register()}function jDe(e,t){const n=oDe(e);return!!n&&n.get("zeebe:modelerTemplate")===t.id}HDe.$inject=["popupMenu","translate","elementTemplates"],HDe.prototype.register=function(){this._popupMenu.registerProvider("bpmn-replace",this)},HDe.prototype.getPopupMenuEntries=function(e){return t=>{let n=Object.entries(t);return n=[...n,...this.getTemplateEntries(e)],n.reduce((e,[t,n])=>(e[t]=n,e),{})}},HDe.prototype.getTemplateEntries=function(e){const t=this._getMatchingTemplates(e);return t.map(t=>{const{icon:n={},category:i}=t,o="replace.template-"+t.id,r={id:"templates",name:this._translate("Templates")};return[o,{label:t.name,description:t.description,documentationRef:t.documentationRef,imageUrl:n.contents,group:i||r,action:()=>{this._elementTemplates.applyTemplate(e,t)}}]})},HDe.prototype._getMatchingTemplates=function(e){return this._elementTemplates.getLatest().filter(t=>iDe(e,t.appliesTo)&&!jDe(e,t))};function QDe(e,t){return!nDe(e,"bpmn:CallActivity")&&(nDe(e,"bpmn:SubProcess")?(t=t||rDe(e),!(!t||!nDe(t,"bpmndi:BPMNPlane"))||t&&!!t.isExpanded):!nDe(e,"bpmn:Participant")||!!oDe(e).processRef)}function UDe(e){return function(t){var n=t.target,i=oDe(e),o=i.eventDefinitions&&i.eventDefinitions[0],r=i.$type===n.type,s=(o&&o.$type)===n.eventDefinitionType,a=!!n.triggeredByEvent===!!i.triggeredByEvent,l=void 0===n.isExpanded||n.isExpanded===QDe(e);return!r||!s||!a||!l}}var KDe=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message Start Event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],GDe=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}}],YDe=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message Intermediate Catch Event",actionName:"replace-with-message-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Message Intermediate Throw Event",actionName:"replace-with-message-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-message",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Intermediate Catch Event",actionName:"replace-with-timer-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Intermediate Throw Event",actionName:"replace-with-escalation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-escalation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Intermediate Catch Event",actionName:"replace-with-conditional-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Link Intermediate Catch Event",actionName:"replace-with-link-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-link",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Link Intermediate Throw Event",actionName:"replace-with-link-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-link",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Compensation Intermediate Throw Event",actionName:"replace-with-compensation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-compensation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal Intermediate Catch Event",actionName:"replace-with-signal-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Signal Intermediate Throw Event",actionName:"replace-with-signal-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-signal",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],$De=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message End Event",actionName:"replace-with-message-end",className:"bpmn-icon-end-event-message",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Escalation End Event",actionName:"replace-with-escalation-end",className:"bpmn-icon-end-event-escalation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Error End Event",actionName:"replace-with-error-end",className:"bpmn-icon-end-event-error",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel End Event",actionName:"replace-with-cancel-end",className:"bpmn-icon-end-event-cancel",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Compensation End Event",actionName:"replace-with-compensation-end",className:"bpmn-icon-end-event-compensation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal End Event",actionName:"replace-with-signal-end",className:"bpmn-icon-end-event-signal",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Terminate End Event",actionName:"replace-with-terminate-end",className:"bpmn-icon-end-event-terminate",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:TerminateEventDefinition"}}],qDe=[{label:"Exclusive Gateway",actionName:"replace-with-exclusive-gateway",className:"bpmn-icon-gateway-xor",target:{type:"bpmn:ExclusiveGateway"}},{label:"Parallel Gateway",actionName:"replace-with-parallel-gateway",className:"bpmn-icon-gateway-parallel",target:{type:"bpmn:ParallelGateway"}},{label:"Inclusive Gateway",actionName:"replace-with-inclusive-gateway",className:"bpmn-icon-gateway-or",target:{type:"bpmn:InclusiveGateway"}},{label:"Complex Gateway",actionName:"replace-with-complex-gateway",className:"bpmn-icon-gateway-complex",target:{type:"bpmn:ComplexGateway"}},{label:"Event based Gateway",actionName:"replace-with-event-based-gateway",className:"bpmn-icon-gateway-eventbased",target:{type:"bpmn:EventBasedGateway",instantiate:!1,eventGatewayType:"Exclusive"}}],JDe=[{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Event Sub Process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}},{label:"Sub Process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}}],XDe=[{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Sub Process",actionName:"replace-with-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}},{label:"Event Sub Process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}}],ZDe=XDe,eke=[{label:"Task",actionName:"replace-with-task",className:"bpmn-icon-task",target:{type:"bpmn:Task"}},{label:"User Task",actionName:"replace-with-user-task",className:"bpmn-icon-user",target:{type:"bpmn:UserTask"}},{label:"Service Task",actionName:"replace-with-service-task",className:"bpmn-icon-service",target:{type:"bpmn:ServiceTask"}},{label:"Send Task",actionName:"replace-with-send-task",className:"bpmn-icon-send",target:{type:"bpmn:SendTask"}},{label:"Receive Task",actionName:"replace-with-receive-task",className:"bpmn-icon-receive",target:{type:"bpmn:ReceiveTask"}},{label:"Manual Task",actionName:"replace-with-manual-task",className:"bpmn-icon-manual",target:{type:"bpmn:ManualTask"}},{label:"Business Rule Task",actionName:"replace-with-rule-task",className:"bpmn-icon-business-rule",target:{type:"bpmn:BusinessRuleTask"}},{label:"Script Task",actionName:"replace-with-script-task",className:"bpmn-icon-script",target:{type:"bpmn:ScriptTask"}},{label:"Call Activity",actionName:"replace-with-call-activity",className:"bpmn-icon-call-activity",target:{type:"bpmn:CallActivity"}},{label:"Sub Process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}},{label:"Sub Process (expanded)",actionName:"replace-with-expanded-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}}],tke=[{label:"Data Store Reference",actionName:"replace-with-data-store-reference",className:"bpmn-icon-data-store",target:{type:"bpmn:DataStoreReference"}}],nke=[{label:"Data Object Reference",actionName:"replace-with-data-object-reference",className:"bpmn-icon-data-object",target:{type:"bpmn:DataObjectReference"}}],ike=[{label:"Message Boundary Event",actionName:"replace-with-message-boundary",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Boundary Event",actionName:"replace-with-timer-boundary",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Boundary Event",actionName:"replace-with-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Boundary Event",actionName:"replace-with-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Error Boundary Event",actionName:"replace-with-error-boundary",className:"bpmn-icon-intermediate-event-catch-error",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel Boundary Event",actionName:"replace-with-cancel-boundary",className:"bpmn-icon-intermediate-event-catch-cancel",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Signal Boundary Event",actionName:"replace-with-signal-boundary",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Compensation Boundary Event",actionName:"replace-with-compensation-boundary",className:"bpmn-icon-intermediate-event-catch-compensation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-message-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!1}},{label:"Timer Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!1}},{label:"Escalation Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!1}},{label:"Conditional Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!1}},{label:"Signal Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!1}}],oke=[{label:"Message Start Event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Error Start Event",actionName:"replace-with-error-start",className:"bpmn-icon-start-event-error",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Escalation Start Event",actionName:"replace-with-escalation-start",className:"bpmn-icon-start-event-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Compensation Start Event",actionName:"replace-with-compensation-start",className:"bpmn-icon-start-event-compensation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-message-start",className:"bpmn-icon-start-event-non-interrupting-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition",isInterrupting:!1}},{label:"Timer Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-start",className:"bpmn-icon-start-event-non-interrupting-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition",isInterrupting:!1}},{label:"Conditional Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-start",className:"bpmn-icon-start-event-non-interrupting-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",isInterrupting:!1}},{label:"Signal Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-start",className:"bpmn-icon-start-event-non-interrupting-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition",isInterrupting:!1}},{label:"Escalation Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-start",className:"bpmn-icon-start-event-non-interrupting-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",isInterrupting:!1}}],rke=[{label:"Sequence Flow",actionName:"replace-with-sequence-flow",className:"bpmn-icon-connection"},{label:"Default Flow",actionName:"replace-with-default-flow",className:"bpmn-icon-default-flow"},{label:"Conditional Flow",actionName:"replace-with-conditional-flow",className:"bpmn-icon-conditional-flow"}],ske=[{label:"Expanded Pool",actionName:"replace-with-expanded-pool",className:"bpmn-icon-participant",target:{type:"bpmn:Participant",isExpanded:!0}},{label:function(e){var t="Empty Pool";return e.children&&e.children.length&&(t+=" (removes content)"),t},actionName:"replace-with-collapsed-pool",className:"bpmn-icon-lane",target:{type:"bpmn:Participant",isExpanded:!1}}],ake=Object.freeze({__proto__:null,BOUNDARY_EVENT:ike,DATA_OBJECT_REFERENCE:tke,DATA_STORE_REFERENCE:nke,END_EVENT:$De,EVENT_SUB_PROCESS:ZDe,EVENT_SUB_PROCESS_START_EVENT:oke,GATEWAY:qDe,INTERMEDIATE_EVENT:YDe,PARTICIPANT:ske,SEQUENCE_FLOW:rke,START_EVENT:KDe,START_EVENT_SUB_PROCESS:GDe,SUBPROCESS_EXPANDED:JDe,TASK:eke,TRANSACTION:XDe});const lke=Object.values(ake);function cke(){return lke}function hke(e,t,n){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this.register()}function dke(e){const t=(e,t)=>t.target&&!UDe(e)(t);return cke().reduce((n,i)=>{if(n)return n;const o=i.findIndex(n=>t(e,n));return-1!==o?{options:i,option:i[o],optionIndex:o}:void 0},null)}function uke(e,t,n){const i=e[t];return!!i&&n.findIndex(([e])=>e===i.actionName)}hke.$inject=["popupMenu","translate","elementTemplates"],hke.prototype.register=function(){this._popupMenu.registerProvider("bpmn-replace",this)},hke.prototype.getPopupMenuEntries=function(e){return t=>{let n=Object.entries(t);return this._elementTemplates&&this._elementTemplates.get(e)&&this.addPlainElementEntry(e,n,this._translate,this._elementTemplates),n.reduce((e,[t,n])=>(e[t]=n,e),{})}},hke.prototype.addPlainElementEntry=function(e,t,n,i){const o=this.getPlainEntry(e,t,n,i);if(!o)return;const[r,s]=o;t.splice(r,0,[s.id,s])},hke.prototype.getPlainEntry=function(e,t,n,i){const{options:o,option:r,optionIndex:s}=dke(e)||{};if(!o)return null;const a={id:"replace-unlink-element-template",action:()=>{i.applyTemplate(e,null)},label:n(r.label),className:r.className},l=uke(o,s-1,t);if(l)return[l+1,a];const c=uke(o,s+1,t);return c?[c,a]:[0,a]};var pke=n("03ad"),gke=n("9224"),mke={name:"wf-design",components:{WfToolbar:LJ,WfPanel:t1,WfConfig:a1,MonacoEditor:wJ},props:{options:{type:Object,default:()=>({})},storage:{type:Boolean,default:!1},accessKey:String},computed:{isEditMode(){return"view"!=this.option.mode}},watch:{options:{handler(e){this.$nextTick(()=>{if(this.debounce){if(this.debounce=!1,this.storage){const t=localStorage[gke.name];this.option=t?JSON.parse(t):JSON.parse(JSON.stringify({...d,...e}))}else this.option=JSON.parse(JSON.stringify({...d,...e})),delete localStorage[gke.name];this.init(!0),setTimeout(()=>{this.debounce=!0},1e3)}})},deep:!0,immediate:!0}},data(){return{option:{},activeTab:"process",modeler:null,zoom:1,previewXML:"",previewVisible:!1,importXML:"",importVisible:!1,debounce:!0}},methods:{INIT_XML:h,init(e=!1){this.storage&&(localStorage[gke.name]=JSON.stringify(this.option)),e&&(this.isEditMode?this.initModeler():this.initViewer())},async initModeler(){this.modeler&&this.modeler.destroy(),this.modeler=new o_e({container:this.$refs.modeler,additionalModules:[zDe,"zh"==this.$i18n.locale?{translate:["value",s_e]}:"",this.option.simulation?mSe:"",this.option.minimap?Wwe:"",this.option.lint?b_e:""],linting:{bpmnlint:bwe,active:this.isEditMode},moddleExtensions:{flowable:pke},keyboard:{bindTo:window}}),await this.createNewDiagram(this.option.xml||h(this.option.process)),this.storage&&this.modeler.on("element.changed",()=>{this.getData("xml",!1,!1).then(e=>{this.option.xml=e,localStorage[gke.name]=JSON.stringify(this.option)})})},async initViewer(){this.modeler&&this.modeler.destroy(),this.modeler=new vte({container:this.$refs.modeler,additionalModules:[{translate:["value",s_e]},sme,this.option.simulation?bSe:"",this.option.minimap?Wwe:"",Xte,lne]}),await this.createNewDiagram(this.option.xml||h(this.option.process)),this.option.flows&&this.option.flows.length>0&&this.setNodeColor(this.option.flows)},setNodeColor(e){const t=this.modeler.get("canvas"),n=this.modeler.get("elementRegistry"),i=this.modeler.get("tooltips");e.forEach(e=>{if(e.id&&e.class&&t.addMarker(e.id,e.class),e.id&&e.tooltip){const t=n.get(e.id);if(t){let{x:n,y:o,type:r}=t;["bpmn:StartEvent","bpmn:EndEvent"].includes(r)?(n-=45,o+=65):["bpmn:UserTask"].includes(r)&&(n-=10,o+=90),i.add({position:{x:n,y:o},html:e.tooltip})}}})},async createNewDiagram(e,t=!1){try{e=e.replace(/camunda:/g,"flowable:"),e=e.replace(/activiti:/g,"flowable:"),await this.modeler.importXML(e),this.isEditMode?this.fitViewport("init"):this.fitViewport("auto"),t&&this.$refs.panel.handleInitNodes(!0)}catch(n){}},fitViewport(e){const t=this.modeler.get("canvas");"string"==typeof e?"init"==e?t.zoom("fit-viewport"):"auto"==e&&t.zoom("fit-viewport","auto"):(this.zoom+=e?.1:-.1,t.zoom(this.zoom))},async getData(e,t=!1,n=!0,i=!0){if(n){const e=document.querySelector(".bjsl-button span"),t=null==e?null:e.innerHTML;if(t&&!t.includes("0 错误")&&!t.includes("0 Errors"))throw this.$message.error("模型存在错误,请处理"),new Error("模型存在错误,请处理")}if("xml"==e)try{let{xml:e}=await this.modeler.saveXML({format:i});return"flowable"!=this.option.engine&&(e=e.replace(/flowable:/g,this.option.engine+":")),t&&this.downloadFile(this.modeler.getDefinitions().rootElements[0].name+".bpmn20.xml",e,"application/xml"),e}catch(o){}else try{const{svg:e}=await this.modeler.saveSVG({format:i});return t&&this.downloadFile(this.modeler.getDefinitions().rootElements[0].name,e,"image/svg+xml"),e}catch(o){}},downloadFile(e,t,n){let i=document.createElement("a"),o=window.URL.createObjectURL(new Blob([t],{type:n}));i.href=o,i.download=e,i.click(),window.URL.revokeObjectURL(o)},async handlePreview(e){const t=await this.getData("xml");"preview"==e?(this.previewXML=t,this.previewVisible=!0):"get"==e&&this.$emit("get",t)},handleImport(){this.createNewDiagram(this.importXML,!0),this.importVisible=!1},getElementRegistry(){const e=this.modeler.get("elementRegistry").getAll();return 0==e.length?[]:("bpmn:Process"!=e[0].type&&e.unshift({businessObject:this.modeler.getDefinitions().rootElements.find(e=>"bpmn:Process"==e.$type)}),{getAll(){return e}})}}},fke=mke,vke=(n("c87c"),Object(DJ["a"])(fke,a,l,!1,null,null,null)),bke=vke.exports,yke=n("92af");const _ke=(e,t={})=>{yke["a"].use(t.locale),yke["a"].i18n(t.i18n),e.prototype.$axios=t.axios||window.axios,e.component("wf-design",bke)};"undefined"!==typeof window&&window.Vue&&_ke(window.Vue);var wke={author:"ssc",version:gke.version,locale:yke["a"].locale,install:_ke};t["default"]=wke},"52a2":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},5350:function(e,t,n){var i=n("986e"),o=n("76b2"),r=i("keys");e.exports=function(e){return r[e]||(r[e]=o(e))}},"53c2":function(e,t,n){"use strict";function i(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"===typeof btoa){var r=o(i),s=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(s).concat([r]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=i(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(i)for(var r=0;r.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}",""]),e.exports=t},"58d1":function(e,t,n){var i=n("933a"),o=Function.prototype.call;e.exports=i?o.bind(o):function(){return o.apply(o,arguments)}},"5a43":function(e,t,n){var i=n("c401");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"5bd0":function(e,t,n){var i=n("ba88");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("5a179cdb",i,!0,{sourceMap:!1,shadowMode:!1})},"5cb9":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:50%;background-repeat:no-repeat}",""]),e.exports=t},"5f86":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.djs-parent{--color-grey-225-10-15:#22242a;--color-grey-225-10-35:#505562;--color-grey-225-10-55:#818798;--color-grey-225-10-75:#b9bcc6;--color-grey-225-10-80:#c7c9d1;--color-grey-225-10-85:#d5d7dd;--color-grey-225-10-90:#e3e4e8;--color-grey-225-10-95:#f1f2f4;--color-grey-225-10-97:#f7f7f8;--color-blue-205-100-45:#0086e6;--color-blue-205-100-45-opacity-30:hsla(205,100%,45%,30%);--color-blue-205-100-50:#0095ff;--color-blue-205-100-50-opacity-15:hsla(205,100%,50%,15%);--color-blue-205-100-70:#80caff;--color-blue-205-100-95:#e5f4ff;--color-green-150-86-44:#10d170;--color-red-360-100-40:#c00;--color-red-360-100-45:#e60000;--color-red-360-100-92:#ffd6d6;--color-red-360-100-97:#fff0f0;--color-white:#fff;--color-black:#000;--color-black-opacity-10:hsla(0,0%,0%,10%);--color-black-opacity-30:hsla(0,0%,0%,30%);--canvas-fill-color:var(--color-white);--bendpoint-fill-color:var(--color-blue-205-100-45);--bendpoint-stroke-color:var(--canvas-fill-color);--context-pad-entry-background-color:var(--color-white);--context-pad-entry-hover-background-color:var(--color-grey-225-10-95);--element-dragger-color:var(--color-blue-205-100-50);--element-hover-outline-fill-color:var(--color-blue-205-100-45);--element-selected-outline-stroke-color:var(--color-blue-205-100-50);--element-selected-outline-secondary-stroke-color:var(--color-blue-205-100-70);--lasso-fill-color:var(--color-blue-205-100-50-opacity-15);--lasso-stroke-color:var(--element-selected-outline-stroke-color);--palette-entry-color:var(--color-grey-225-10-15);--palette-entry-hover-color:var(--color-blue-205-100-45);--palette-entry-selected-color:var(--color-blue-205-100-50);--palette-separator-color:var(--color-grey-225-10-75);--palette-toggle-hover-background-color:var(--color-grey-225-10-55);--palette-background-color:var(--color-grey-225-10-97);--palette-border-color:var(--color-grey-225-10-75);--popup-font-size:14px;--popup-header-entry-selected-color:var(--color-blue-205-100-50);--popup-header-font-weight:bolder;--popup-background-color:var(--color-white);--popup-border-color:transparent;--popup-shadow-color:var(--color-black-opacity-30);--popup-description-color:var(--color-grey-225-10-55);--popup-no-results-color:var(--color-grey-225-10-55);--popup-entry-title-color:var(--color-grey-225-10-55);--popup-entry-hover-color:var(--color-grey-225-10-95);--popup-search-border-color:var(--color-grey-225-10-75);--popup-search-focus-border-color:var(--color-blue-205-100-50);--popup-search-focus-background-color:var(--color-blue-205-100-95);--resizer-fill-color:var(--color-blue-205-100-45);--resizer-stroke-color:var(--canvas-fill-color);--search-container-background-color:var(--color-grey-225-10-97);--search-container-border-color:var(--color-blue-205-100-50);--search-container-box-shadow-color:var(--color-blue-205-100-95);--search-container-box-shadow-inset-color:var(--color-grey-225-10-80);--search-input-border-color:var(--color-grey-225-10-75);--search-result-border-color:var(--color-grey-225-10-75);--search-result-highlight-color:var(--color-black);--search-result-selected-color:var(--color-blue-205-100-45-opacity-30);--shape-attach-allowed-stroke-color:var(--color-blue-205-100-50);--shape-connect-allowed-fill-color:var(--color-grey-225-10-97);--shape-drop-allowed-fill-color:var(--color-grey-225-10-97);--shape-drop-not-allowed-fill-color:var(--color-red-360-100-97);--shape-resize-preview-stroke-color:var(--color-blue-205-100-50);--snap-line-stroke-color:var(--color-blue-205-100-45-opacity-30);--space-tool-crosshair-stroke-color:var(--color-black);--tooltip-error-background-color:var(--color-red-360-100-97);--tooltip-error-border-color:var(--color-red-360-100-45);--tooltip-error-color:var(--color-red-360-100-45)}.djs-outline,.djs-selection-outline{fill:none;shape-rendering:geometricPrecision;stroke-width:2px}.djs-outline{visibility:hidden}.djs-element.selected .djs-outline,.djs-selection-outline{stroke:var(--element-selected-outline-stroke-color)}.djs-element.selected .djs-outline{visibility:visible}.djs-multi-select .djs-element.selected .djs-outline{stroke:var(--element-selected-outline-secondary-stroke-color)}.djs-shape.connect-ok .djs-visual>:first-child{fill:var(--shape-connect-allowed-fill-color)!important}.djs-shape.connect-not-ok .djs-visual>:first-child,.djs-shape.drop-not-ok .djs-visual>:first-child{fill:var(--shape-drop-not-allowed-fill-color)!important}.djs-shape.new-parent .djs-visual>:first-child{fill:var(--shape-drop-allowed-fill-color)!important}svg.drop-not-ok{background:var(--shape-drop-not-allowed-fill-color)!important}svg.new-parent{background:var(--shape-drop-allowed-fill-color)!important}.connect-not-ok,.connect-not-ok *,.drop-not-ok,.drop-not-ok *{cursor:not-allowed!important}.connect-ok,.connect-ok *,.drop-ok,.drop-ok *{cursor:default!important}.djs-element.attach-ok .djs-visual>:first-child{stroke-width:5px!important;stroke:var(--shape-attach-allowed-stroke-color)!important}.djs-frame.connect-not-ok .djs-visual>:first-child,.djs-frame.drop-not-ok .djs-visual>:first-child{stroke-width:3px!important;stroke:var(--shape-drop-not-allowed-fill-color)!important;fill:none!important}.djs-lasso-overlay{fill:var(--lasso-fill-color);stroke:var(--lasso-stroke-color);stroke-width:2px;shape-rendering:geometricPrecision;pointer-events:none}.djs-resize-overlay{fill:none;stroke-dasharray:5 1 3 1;stroke:var(--shape-resize-preview-stroke-color);pointer-events:none}.djs-resizer-hit{fill:none;pointer-events:all}.djs-resizer-visual{fill:var(--resizer-fill-color);stroke-width:1px;stroke:var(--resizer-stroke-color);shape-rendering:geometricPrecision}.djs-resizer:hover .djs-resizer-visual{stroke:var(--resizer-stroke-color);stroke-opacity:1}.djs-cursor-resize-ns,.djs-resizer-n,.djs-resizer-s{cursor:ns-resize}.djs-cursor-resize-ew,.djs-resizer-e,.djs-resizer-w{cursor:ew-resize}.djs-cursor-resize-nwse,.djs-resizer-nw,.djs-resizer-se{cursor:nwse-resize}.djs-cursor-resize-nesw,.djs-resizer-ne,.djs-resizer-sw{cursor:nesw-resize}.djs-shape.djs-resizing>.djs-outline{visibility:hidden!important}.djs-dragger>.djs-resizer,.djs-shape.djs-resizing>.djs-resizer{visibility:hidden}.djs-dragger *{fill:none!important;stroke:var(--element-dragger-color)!important}.djs-dragger text,.djs-dragger tspan,marker.djs-dragger circle,marker.djs-dragger path,marker.djs-dragger polygon,marker.djs-dragger polyline,marker.djs-dragger rect{fill:var(--element-dragger-color)!important;stroke:none!important}marker.djs-dragger text,marker.djs-dragger tspan{fill:none!important;stroke:var(--element-dragger-color)!important}.djs-dragging{opacity:.3}.djs-dragging,.djs-dragging>*{pointer-events:none!important}.djs-dragging .djs-context-pad,.djs-dragging .djs-outline{display:none!important}.djs-outline,.djs-visual{pointer-events:none}.djs-element.attach-ok .djs-hit{stroke-width:60px!important}.djs-element>.djs-hit-all,.djs-element>.djs-hit-no-move{pointer-events:all}.djs-element>.djs-hit-click-stroke,.djs-element>.djs-hit-stroke{pointer-events:stroke}.djs-connection .djs-visual{stroke-width:2px;fill:none}.djs-cursor-grab{cursor:grab}.djs-cursor-grabbing{cursor:grabbing}.djs-cursor-crosshair{cursor:crosshair}.djs-cursor-move{cursor:move}.djs-cursor-resize-ns{cursor:ns-resize}.djs-cursor-resize-ew{cursor:ew-resize}.djs-snap-line{stroke:var(--snap-line-stroke-color);stroke-linecap:round;stroke-width:2px;pointer-events:none}.djs-crosshair{stroke:var(--space-tool-crosshair-stroke-color);stroke-linecap:round;stroke-width:1px;pointer-events:none;shape-rendering:geometricPrecision;stroke-dasharray:5,5}.djs-palette{position:absolute;left:20px;top:20px;box-sizing:border-box;width:48px}.djs-palette .separator{margin:5px;padding-top:5px;border:none;border-bottom:solid 1px var(--palette-separator-color);clear:both}.djs-palette .entry:before{vertical-align:initial}.djs-palette .djs-palette-toggle{cursor:pointer}.djs-palette .djs-palette-toggle,.djs-palette .entry{color:var(--palette-entry-color);font-size:30px;text-align:center}.djs-palette .entry{float:left}.djs-palette .entry img{max-width:100%}.djs-palette .djs-palette-entries:after{content:"";display:table;clear:both}.djs-palette .djs-palette-toggle:hover{background:var(--palette-toggle-hover-background-color)}.djs-palette .entry:hover{color:var(--palette-entry-hover-color)}.djs-palette .highlighted-entry{color:var(--palette-entry-selected-color)!important}.djs-palette .djs-palette-toggle,.djs-palette .entry{width:46px;height:46px;line-height:46px;cursor:default}.djs-palette.two-column.open{width:94px}.djs-palette:not(.open) .djs-palette-entries{display:none}.djs-palette:not(.open){overflow:hidden}.djs-palette.open .djs-palette-toggle{display:none}.djs-overlay-context-pad{width:72px;z-index:100}.djs-context-pad{position:absolute;display:none;pointer-events:none;line-height:1}.djs-context-pad .entry{width:22px;height:22px;text-align:center;display:inline-block;font-size:22px;margin:0 2px 2px 0;border-radius:3px;cursor:default;background-color:var(--context-pad-entry-background-color);box-shadow:0 0 2px 1px var(--context-pad-entry-background-color);pointer-events:all;vertical-align:middle}.djs-context-pad .entry:hover{background:var(--context-pad-entry-hover-background-color)}.djs-context-pad.open{display:block}.djs-popup-backdrop{position:fixed;width:100vw;height:100vh;top:0;left:0;z-index:200;line-height:1;font-family:IBM Plex Sans,sans-serif}.djs-popup{width:-moz-min-content;width:min-content;background:var(--popup-background-color);overflow:hidden;position:absolute;box-shadow:0 2px 6px var(--popup-shadow-color);border:solid 1px var(--popup-border-color);min-width:120px;outline:none}.djs-popup,.djs-popup-search input{box-sizing:border-box;font-size:var(--popup-font-size)}.djs-popup-search input{width:100%;padding:3px 6px;border-radius:2px;border:solid 1px var(--popup-search-border-color);line-height:21px}.djs-popup-search input:focus{background-color:var(--popup-search-focus-background-color);border:solid 1px var(--popup-search-focus-border-color);outline:none}.djs-popup-header{display:flex;align-items:stretch;line-height:20px;margin:10px 12px 10px 12px}.djs-popup-header .entry{border-radius:2px}.djs-popup-header .entry.active{color:var(--popup-header-entry-selected-color)}.djs-popup-header .entry.disabled{color:inherit}.djs-popup-search{margin:10px 12px}.djs-popup-title{font-size:var(--popup-font-size);font-weight:var(--popup-header-font-weight);flex:1;margin:0}.djs-popup-search{position:relative;width:auto}.djs-popup-search-icon{position:absolute;left:8px;top:7px}.djs-popup-search input{padding-left:25px}.djs-popup-results{margin:7px 3px 7px 12px;list-style:none;max-height:280px;overflow:auto;padding-right:9px}.djs-popup-group{margin:0;padding:0;width:100%}.djs-popup-body .entry,.djs-popup-body .entry-header{padding:5px 7px;cursor:default;border-radius:4px}.djs-popup-body .entry-header{font-weight:var(--popup-header-font-weight);color:var(--popup-entry-title-color);padding-left:0}.djs-popup-label:not(:first-child),.djs-popup [class*=icon] .djs-popup-label{margin-left:.5em}.djs-popup-entry-icon,.djs-popup [class*=icon]:before{width:1em;height:1em;display:inline-block;font-size:1.4em;vertical-align:middle}.djs-popup-body .entry-header:not(:first-child){margin-top:8px;margin-bottom:2px}.djs-popup-body .entry{display:flex;flex-direction:row;align-items:stretch;height:-moz-min-content;height:min-content}.djs-popup .entry.selected{background-color:var(--popup-entry-hover-color)}.djs-popup-body .entry:not(:first-child){margin-top:2px}.djs-popup-entry-content{display:flex;flex-direction:column;flex:1;overflow:hidden}.djs-popup-entry-description{color:var(--popup-description-color)}.djs-popup-entry-description,.djs-popup-label{line-height:1.4em}.djs-popup-entry-description,.djs-popup-label,.djs-popup-title,.djs-popup .entry-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.djs-popup-entry-name{display:flex}.entry-content{display:flex;flex-direction:column;flex:1;overflow:hidden}.djs-popup-body{flex-direction:column;width:auto}.djs-popup ::-webkit-scrollbar{width:6px}.djs-popup ::-webkit-scrollbar-thumb{border-radius:3px;background-color:rgba(0,0,0,.2)}.djs-popup ::-webkit-scrollbar-track{box-shadow:none;background:transparent;margin:0;padding:5px}.djs-popup-no-results{padding:0 12px 12px 12px;color:var(--popup-no-results-color)}.djs-popup-entry-docs{flex:0;flex-direction:row;align-items:center;padding-left:5px;display:none}.djs-popup-body .entry:hover .djs-popup-entry-docs{display:flex}.djs-popup-entry-docs svg{vertical-align:middle;margin:auto 2px auto 5px}.djs-palette{background:var(--palette-background-color);border:solid 1px var(--palette-border-color);border-radius:2px}.djs-connection,.djs-shape{touch-action:none}.djs-bendpoint,.djs-segment-dragger{display:none}.djs-segment-dragger .djs-visual{display:none;fill:var(--bendpoint-fill-color);stroke:var(--bendpoint-stroke-color);stroke-width:1px;stroke-opacity:1}.djs-segment-dragger:hover .djs-visual{display:block}.djs-bendpoint .djs-visual{fill:var(--bendpoint-fill-color);stroke:var(--bendpoint-stroke-color);stroke-width:1px}.djs-bendpoint:hover,.djs-bendpoints.hover .djs-bendpoint,.djs-bendpoints.hover .djs-segment-dragger,.djs-bendpoints.selected .djs-bendpoint,.djs-bendpoints.selected .djs-segment-dragger,.djs-segment-dragger:hover{display:block}.djs-bendpoints:not(.hover) .floating,.djs-drag-active .djs-bendpoints *{display:none}.djs-bendpoint.floating .djs-visual,.djs-bendpoint:hover .djs-visual,.djs-segment-dragger.djs-dragging .djs-visual,.djs-segment-dragger:hover .djs-visual{fill:var(--bendpoint-fill-color);stroke:var(--bendpoint-stroke-color);stroke-opacity:1}.djs-bendpoint.floating .djs-hit{pointer-events:none}.djs-bendpoint .djs-hit,.djs-segment-dragger .djs-hit{fill:none;pointer-events:all}.djs-segment-dragger.horizontal .djs-hit{cursor:ns-resize}.djs-segment-dragger.vertical .djs-hit{cursor:ew-resize}.djs-segment-dragger.djs-dragging .djs-hit{pointer-events:none}.djs-updating,.djs-updating>*{pointer-events:none!important}.connect-not-ok .djs-bendpoint,.connect-ok .djs-bendpoint,.djs-multi-select .djs-bendpoint,.djs-multi-select .djs-segment-dragger,.djs-updating .djs-bendpoint,.djs-updating .djs-context-pad,.djs-updating .djs-outline,.drop-not-ok .djs-bendpoint,.drop-ok .djs-bendpoint{display:none!important}.djs-bendpoint.djs-dragging,.djs-segment-dragger.djs-dragging{display:block;opacity:1}.djs-tooltip-error{width:160px;padding:6px;background:var(--tooltip-error-background-color);border:solid 1px var(--tooltip-error-border-color);border-radius:2px;color:var(--tooltip-error-color);font-size:12px;line-height:16px;opacity:.75}.djs-tooltip-error:hover{opacity:1}.djs-search-container{position:absolute;top:20px;left:0;right:0;margin-left:auto;margin-right:auto;width:25%;min-width:300px;max-width:400px;z-index:10;font-size:1.05em;opacity:.9;background:var(--search-container-background-color);border:solid 1px var(--search-container-border-color);border-radius:2px;box-shadow:0 0 0 2px var(--search-container-box-shadow-color),0 0 0 1px var(--search-container-box-shadow-inset-color) inset}.djs-search-container:not(.open){display:none}.djs-search-input input{font-size:1.05em;width:100%;padding:6px 10px;border:1px solid var(--search-input-border-color);box-sizing:border-box}.djs-search-input input:focus{outline:none;border-color:var(--search-input-border-color)}.djs-search-results{position:relative;overflow-y:auto;max-height:200px}.djs-search-results:hover{cursor:pointer}.djs-search-result{width:100%;padding:6px 10px;background:#fff;border-bottom:solid 1px var(--search-result-border-color);border-radius:1px}.djs-search-highlight{color:var(--search-result-highlight-color)}.djs-search-result-primary{margin:0 0 10px}.djs-search-result-secondary{font-family:monospace;margin:0}.djs-search-overlay,.djs-search-result-selected,.djs-search-result-selected:hover,.djs-search-result:hover{background:var(--search-result-selected-color)}.djs-element-hidden,.djs-element-hidden .djs-hit,.djs-element-hidden .djs-outline,.djs-label-hidden .djs-label{display:none!important}.djs-element .djs-hit-all,.djs-element .djs-hit-click-stroke,.djs-element .djs-hit-stroke{cursor:move}',""]),e.exports=t},6024:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.bpmn-icon-trash:before{content:"\\e801"}.bpmn-icon-gateway-parallel:before{content:"\\e804"}.bpmn-icon-intermediate-event-catch-cancel:before{content:"\\e805"}.bpmn-icon-intermediate-event-catch-non-interrupting-message:before{content:"\\e806"}.bpmn-icon-start-event-compensation:before{content:"\\e807"}.bpmn-icon-start-event-non-interrupting-parallel-multiple:before{content:"\\e808"}.bpmn-icon-loop-marker:before{content:"\\e809"}.bpmn-icon-parallel-mi-marker:before{content:"\\e80a"}.bpmn-icon-start-event-non-interrupting-signal:before{content:"\\e80b"}.bpmn-icon-intermediate-event-catch-non-interrupting-timer:before{content:"\\e80c"}.bpmn-icon-intermediate-event-catch-parallel-multiple:before{content:"\\e80d"}.bpmn-icon-intermediate-event-catch-compensation:before{content:"\\e80e"}.bpmn-icon-gateway-xor:before{content:"\\e80f"}.bpmn-icon-end-event-cancel:before{content:"\\e811"}.bpmn-icon-intermediate-event-catch-condition:before{content:"\\e812"}.bpmn-icon-intermediate-event-catch-non-interrupting-parallel-multiple:before{content:"\\e813"}.bpmn-icon-start-event-condition:before{content:"\\e814"}.bpmn-icon-start-event-non-interrupting-timer:before{content:"\\e815"}.bpmn-icon-sequential-mi-marker:before{content:"\\e816"}.bpmn-icon-user-task:before{content:"\\e817"}.bpmn-icon-business-rule:before{content:"\\e818"}.bpmn-icon-sub-process-marker:before{content:"\\e819"}.bpmn-icon-start-event-parallel-multiple:before{content:"\\e81a"}.bpmn-icon-start-event-error:before{content:"\\e81b"}.bpmn-icon-intermediate-event-catch-signal:before{content:"\\e81c"}.bpmn-icon-intermediate-event-catch-error:before{content:"\\e81d"}.bpmn-icon-end-event-compensation:before{content:"\\e81e"}.bpmn-icon-subprocess-collapsed:before{content:"\\e81f"}.bpmn-icon-subprocess-expanded:before{content:"\\e820"}.bpmn-icon-task:before{content:"\\e821"}.bpmn-icon-end-event-error:before{content:"\\e822"}.bpmn-icon-intermediate-event-catch-escalation:before{content:"\\e823"}.bpmn-icon-intermediate-event-catch-timer:before{content:"\\e824"}.bpmn-icon-start-event-escalation:before{content:"\\e825"}.bpmn-icon-start-event-signal:before{content:"\\e826"}.bpmn-icon-business-rule-task:before{content:"\\e827"}.bpmn-icon-manual:before{content:"\\e828"}.bpmn-icon-receive:before{content:"\\e829"}.bpmn-icon-call-activity:before{content:"\\e82a"}.bpmn-icon-start-event-timer:before{content:"\\e82b"}.bpmn-icon-start-event-message:before{content:"\\e82c"}.bpmn-icon-intermediate-event-none:before{content:"\\e82d"}.bpmn-icon-intermediate-event-catch-link:before{content:"\\e82e"}.bpmn-icon-end-event-escalation:before{content:"\\e82f"}.bpmn-icon-bpmn-io:before{content:"\\e831"}.bpmn-icon-gateway-complex:before{content:"\\e832"}.bpmn-icon-gateway-eventbased:before{content:"\\e833"}.bpmn-icon-gateway-none:before{content:"\\e834"}.bpmn-icon-gateway-or:before{content:"\\e835"}.bpmn-icon-end-event-terminate:before{content:"\\e836"}.bpmn-icon-end-event-signal:before{content:"\\e837"}.bpmn-icon-end-event-none:before{content:"\\e838"}.bpmn-icon-end-event-multiple:before{content:"\\e839"}.bpmn-icon-end-event-message:before{content:"\\e83a"}.bpmn-icon-end-event-link:before{content:"\\e83b"}.bpmn-icon-intermediate-event-catch-message:before{content:"\\e83c"}.bpmn-icon-intermediate-event-throw-compensation:before{content:"\\e83d"}.bpmn-icon-start-event-multiple:before{content:"\\e83e"}.bpmn-icon-script:before{content:"\\e83f"}.bpmn-icon-manual-task:before{content:"\\e840"}.bpmn-icon-send:before{content:"\\e841"}.bpmn-icon-service:before{content:"\\e842"}.bpmn-icon-receive-task:before{content:"\\e843"}.bpmn-icon-user:before{content:"\\e844"}.bpmn-icon-start-event-none:before{content:"\\e845"}.bpmn-icon-intermediate-event-throw-escalation:before{content:"\\e846"}.bpmn-icon-intermediate-event-catch-multiple:before{content:"\\e847"}.bpmn-icon-intermediate-event-catch-non-interrupting-escalation:before{content:"\\e848"}.bpmn-icon-intermediate-event-throw-link:before{content:"\\e849"}.bpmn-icon-start-event-non-interrupting-condition:before{content:"\\e84a"}.bpmn-icon-data-object:before{content:"\\e84b"}.bpmn-icon-script-task:before{content:"\\e84c"}.bpmn-icon-send-task:before{content:"\\e84d"}.bpmn-icon-data-store:before{content:"\\e84e"}.bpmn-icon-start-event-non-interrupting-escalation:before{content:"\\e84f"}.bpmn-icon-intermediate-event-throw-message:before{content:"\\e850"}.bpmn-icon-intermediate-event-catch-non-interrupting-multiple:before{content:"\\e851"}.bpmn-icon-intermediate-event-catch-non-interrupting-signal:before{content:"\\e852"}.bpmn-icon-intermediate-event-throw-multiple:before{content:"\\e853"}.bpmn-icon-start-event-non-interrupting-message:before{content:"\\e854"}.bpmn-icon-ad-hoc-marker:before{content:"\\e855"}.bpmn-icon-service-task:before{content:"\\e856"}.bpmn-icon-task-none:before{content:"\\e857"}.bpmn-icon-compensation-marker:before{content:"\\e858"}.bpmn-icon-start-event-non-interrupting-multiple:before{content:"\\e859"}.bpmn-icon-intermediate-event-throw-signal:before{content:"\\e85a"}.bpmn-icon-intermediate-event-catch-non-interrupting-condition:before{content:"\\e85b"}.bpmn-icon-participant:before{content:"\\e85c"}.bpmn-icon-event-subprocess-expanded:before{content:"\\e85d"}.bpmn-icon-lane-insert-below:before{content:"\\e85e"}.bpmn-icon-space-tool:before{content:"\\e85f"}.bpmn-icon-connection-multi:before{content:"\\e860"}.bpmn-icon-lane:before{content:"\\e861"}.bpmn-icon-lasso-tool:before{content:"\\e862"}.bpmn-icon-lane-insert-above:before{content:"\\e863"}.bpmn-icon-lane-divide-three:before{content:"\\e864"}.bpmn-icon-lane-divide-two:before{content:"\\e865"}.bpmn-icon-data-input:before{content:"\\e866"}.bpmn-icon-data-output:before{content:"\\e867"}.bpmn-icon-hand-tool:before{content:"\\e868"}.bpmn-icon-group:before{content:"\\e869"}.bpmn-icon-text-annotation:before{content:"\\e86b"}.bpmn-icon-transaction:before{content:"\\e8c4"}.bpmn-icon-screw-wrench:before{content:"\\e8db"}.bpmn-icon-connection:before{content:"\\e8dc"}.bpmn-icon-conditional-flow:before{content:"\\e8e0"}.bpmn-icon-default-flow:before{content:"\\e8e1"}',""]),e.exports=t},6043:function(e,t,n){var i=n("e244"),o=n("9564"),r=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?r(i[e]):i[e]&&i[e][t]}},"60c6":function(e,t,n){(function(e){(function(n,i){var o=i();e&&e.exports&&(t=e.exports=o),t.randomColor=o})(0,(function(){var e=null,t={};m();var n=[],i=function(t){if(t=t||{},void 0!==t.seed&&null!==t.seed&&t.seed===parseInt(t.seed,10))e=t.seed;else if("string"===typeof t.seed)e=y(t.seed);else{if(void 0!==t.seed&&null!==t.seed)throw new TypeError("The seed value must be an integer or string");e=null}var l,c,h;if(null!==t.count&&void 0!==t.count){for(var d=t.count,u=[],p=0;pu.length){var g=i(t);null!==e&&(t.seed=e),u.push(g)}return t.count=d,u}return l=o(t),c=r(l,t),h=s(l,c,t),a([l,c,h],t)};function o(e){if(n.length>0){var t=_(e.hue),i=u(t),o=(t[1]-t[0])/n.length,r=parseInt((i-t[0])/o);!0===n[r]?r=(r+2)%n.length:n[r]=!0;var s=(t[0]+r*o)%359,a=(t[0]+(r+1)*o)%359;return t=[s,a],i=u(t),i<0&&(i=360+i),i}t=c(e.hue);return i=u(t),i<0&&(i=360+i),i}function r(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return u([0,100]);var n=h(e),i=n[0],o=n[1];switch(t.luminosity){case"bright":i=55;break;case"dark":i=o-10;break;case"light":o=55;break}return u([i,o])}function s(e,t,n){var i=l(e,t),o=100;switch(n.luminosity){case"dark":o=i+20;break;case"light":i=(o+i)/2;break;case"random":i=0,o=100;break}return u([i,o])}function a(e,t){switch(t.format){case"hsvArray":return e;case"hslArray":return b(e);case"hsl":var n=b(e);return"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)";case"hsla":var i=b(e),o=t.alpha||Math.random();return"hsla("+i[0]+", "+i[1]+"%, "+i[2]+"%, "+o+")";case"rgbArray":return f(e);case"rgb":var r=f(e);return"rgb("+r.join(", ")+")";case"rgba":var s=f(e);o=t.alpha||Math.random();return"rgba("+s.join(", ")+", "+o+")";default:return p(e)}}function l(e,t){for(var n=d(e).lowerBounds,i=0;i=o&&t<=s){var l=(a-r)/(s-o),c=r-l*o;return l*t+c}}return 0}function c(e){if("number"===typeof parseInt(e)){var n=parseInt(e);if(n<360&&n>0)return[n,n]}if("string"===typeof e)if(t[e]){var i=t[e];if(i.hueRange)return i.hueRange}else if(e.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var o=v(e)[0];return[o,o]}return[0,360]}function h(e){return d(e).saturationRange}function d(e){for(var n in e>=334&&e<=360&&(e-=360),t){var i=t[n];if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return t[n]}return"Color not found"}function u(t){if(null===e){var n=.618033988749895,i=Math.random();return i+=n,i%=1,Math.floor(t[0]+i*(t[1]+1-t[0]))}var o=t[1]||1,r=t[0]||0;e=(9301*e+49297)%233280;var s=e/233280;return Math.floor(r+s*(o-r))}function p(e){var t=f(e);function n(e){var t=e.toString(16);return 1==t.length?"0"+t:t}var i="#"+n(t[0])+n(t[1])+n(t[2]);return i}function g(e,n,i){var o=i[0][0],r=i[i.length-1][0],s=i[i.length-1][1],a=i[0][1];t[e]={hueRange:n,lowerBounds:i,saturationRange:[o,r],brightnessRange:[s,a]}}function m(){g("monochrome",null,[[0,0],[100,0]]),g("red",[-26,18],[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]),g("orange",[18,46],[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]),g("yellow",[46,62],[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]),g("green",[62,178],[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]),g("blue",[178,257],[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]),g("purple",[257,282],[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]),g("pink",[282,334],[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]])}function f(e){var t=e[0];0===t&&(t=1),360===t&&(t=359),t/=360;var n=e[1]/100,i=e[2]/100,o=Math.floor(6*t),r=6*t-o,s=i*(1-n),a=i*(1-r*n),l=i*(1-(1-r)*n),c=256,h=256,d=256;switch(o){case 0:c=i,h=l,d=s;break;case 1:c=a,h=i,d=s;break;case 2:c=s,h=i,d=l;break;case 3:c=s,h=a,d=i;break;case 4:c=l,h=s,d=i;break;case 5:c=i,h=s,d=a;break}var u=[Math.floor(255*c),Math.floor(255*h),Math.floor(255*d)];return u}function v(e){e=e.replace(/^#/,""),e=3===e.length?e.replace(/(.)/g,"$1$1"):e;var t=parseInt(e.substr(0,2),16)/255,n=parseInt(e.substr(2,2),16)/255,i=parseInt(e.substr(4,2),16)/255,o=Math.max(t,n,i),r=o-Math.min(t,n,i),s=o?r/o:0;switch(o){case t:return[(n-i)/r%6*60||0,s,o];case n:return[60*((i-t)/r+2)||0,s,o];case i:return[60*((t-n)/r+4)||0,s,o]}}function b(e){var t=e[0],n=e[1]/100,i=e[2]/100,o=(2-n)*i;return[t,Math.round(n*i/(o<1?o:2-o)*1e4)/100,o/2*100]}function y(e){for(var t=0,n=0;n!==e.length;n++){if(t>=Number.MAX_SAFE_INTEGER)break;t+=e.charCodeAt(n)}return t}function _(e){if(isNaN(e)){if("string"===typeof e)if(t[e]){var n=t[e];if(n.hueRange)return n.hueRange}else if(e.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var i=v(e)[0];return d(i).hueRange}}else{var o=parseInt(e);if(o<360&&o>0)return d(e).hueRange}return[0,360]}return i}))}).call(this,n("4e3f")(e))},6120:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent;z-index:-10}.monaco-editor .inputarea.ime-input{z-index:10;caret-color:var(--vscode-editorCursor-foreground);color:var(--vscode-editor-foreground)}",""]),e.exports=t},"62fd":function(e,t){e.exports=function e(t,n){const i=n.enter||null,o=n.leave||null,r=i&&i(t),s=t.$descriptor;if(!1!==r&&!s.isGeneric){const i=s.properties.filter(e=>!e.isAttr&&!e.isReference&&"String"!==e.type);i.forEach(i=>{if(i.name in t){const o=t[i.name];i.isMany?o.forEach(t=>{e(t,n)}):e(o,n)}})}o&&o(t)}},6965:function(e,t,n){var i=n("1810"),o=i("toStringTag"),r={};r[o]="z",e.exports="[object z]"===String(r)},"69f1":function(e,t,n){var i=n("55ab"),o=n("b896"),r=n("4d82");e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"6a0b":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .overlayWidgets{position:absolute;top:0;left:0}",""]),e.exports=t},"6a70":function(e,t,n){var i=n("eee7"),o=n("69f1");e.exports=function(e,t){i(t)&&"cause"in t&&o(e,"cause",t.cause)}},"6aad":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block;color:var(--vscode-editorLineNumber-foreground)}.monaco-diff-editor .diff-review{position:absolute;-moz-user-select:none;user-select:none;-webkit-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute;box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}",""]),e.exports=t},"6b5e":function(e,t,n){"use strict";var i=n("92af");t["a"]={methods:{t(...e){return i["b"].apply(this,e)}}}},"6b7e":function(e,t,n){var i=n("7f82"),o=n("0b38");e.exports=function(e){var t=i(e,"string");return o(t)?t:t+""}},"6bc9":function(e,t,n){"use strict";n("e9a1")},"6cd1":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-editor .line-numbers{color:var(--vscode-editorLineNumber-foreground)}.monaco-editor .line-numbers.active-line-number{color:var(--vscode-editorLineNumber-activeForeground)}",""]),e.exports=t},"6f9e":function(e,t,n){var i=n("933a"),o=Function.prototype,r=o.call,s=i&&o.bind.bind(r,r);e.exports=i?s:function(e){return function(){return r.apply(e,arguments)}}},7043:function(e,t,n){var i=n("e5d9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("385da0b4",i,!0,{sourceMap:!1,shadowMode:!1})},"70a8":function(e,t,n){var i=n("6a0b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("1d6ab098",i,!0,{sourceMap:!1,shadowMode:!1})},7115:function(e,t,n){var i=n("c09a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3624864e",i,!0,{sourceMap:!1,shadowMode:!1})},7170:function(e,t,n){e.exports=n.p+"img/bpmn.4424ace0.svg"},"72b1":function(e,t,n){var i=n("407e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("363ce83c",i,!0,{sourceMap:!1,shadowMode:!1})},"73d0":function(e,t,n){const i=n("62fd"),{isArray:o,isObject:r}=n("3b15");class s{constructor({moddleRoot:e,rule:t}){this.rule=t,this.moddleRoot=e,this.messages=[],this.report=this.report.bind(this)}report(e,t,n){let i={id:e,message:t};n&&o(n)&&(i={...i,path:n}),n&&r(n)&&(i={...i,...n}),this.messages.push(i)}}e.exports=function({moddleRoot:e,rule:t}){const n=new s({rule:t,moddleRoot:e}),o=t.check,r=o&&o.enter||o,a=o&&o.leave;if(!r&&!a)throw new Error("no check implemented");return i(e,{enter:r?e=>r(e,n):null,leave:a?e=>a(e,n):null}),n.messages}},7433:function(e,t,n){var i=n("04c3");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:i(e)}},7443:function(e,t,n){e.exports=n.p+"fonts/bpmn.c58fab0a.eot"},"762a":function(e,t,n){var i=n("b623"),o=n("a2df");e.exports=function(e,t){var n=e[t];return o(n)?void 0:i(n)}},"769f":function(e,t,n){var i=n("f3d6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("16d935ea",i,!0,{sourceMap:!1,shadowMode:!1})},"76b2":function(e,t,n){var i=n("6f9e"),o=0,r=Math.random(),s=i(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+r,36)}},7741:function(e,t,n){const i=n("73d0"),o={0:"off",1:"warn",2:"error",3:"info"};function r(e={}){const{config:t,resolver:n}=e;if("undefined"===typeof n)throw new Error("must provide ");this.config=t,this.resolver=n,this.cachedRules={},this.cachedConfigs={}}function s(e){return"bpmnlint"===e?"bpmnlint":e.startsWith("bpmnlint-plugin-")?e:"bpmnlint-plugin-"+e}function a(e){return e.startsWith("bpmnlint-plugin-")?e.substring("bpmnlint-plugin-".length):e}e.exports=r,r.prototype.applyRule=function(e,t){const{config:n,rule:o,category:r,name:s}=t;try{const t=i({moddleRoot:e,rule:o,config:n});return t.map((function(e){return{...e,category:r}}))}catch(a){return[{message:"Rule error: "+a.message,category:"error"}]}},r.prototype.resolveRule=function(e,t){const{pkg:n,ruleName:i}=this.parseRuleName(e),o=`${n}-${i}`,r=this.cachedRules[o];return r?Promise.resolve(r):Promise.resolve(this.resolver.resolveRule(n,i)).then(n=>{if(!n)throw new Error(`unknown rule <${e}>`);const i=this.cachedRules[o]=n(t);return i})},r.prototype.resolveConfig=function(e){const{pkg:t,configName:n}=this.parseConfigName(e),i=`${t}-${n}`,o=this.cachedConfigs[i];return o?Promise.resolve(o):Promise.resolve(this.resolver.resolveConfig(t,n)).then(n=>{if(!n)throw new Error(`unknown config <${e}>`);const o=this.cachedConfigs[i]=this.normalizeConfig(n,t);return o})},r.prototype.resolveRules=function(e){return this.resolveConfiguredRules(e).then(e=>{const t=Object.entries(e).map(([e,t])=>{const{category:n,config:i}=this.parseRuleValue(t);return{name:e,category:n,config:i}}),n=t.filter(e=>"off"!==e.category),i=n.map(e=>{const{name:t,config:n}=e;return this.resolveRule(t,n).then((function(t){return{...e,rule:t}}))});return Promise.all(i)})},r.prototype.resolveConfiguredRules=function(e){let t=e.extends;return"string"===typeof t&&(t=[t]),"undefined"===typeof t&&(t=[]),Promise.all(t.map(e=>this.resolveConfig(e).then(e=>this.resolveConfiguredRules(e)))).then(t=>{const n=this.normalizeConfig(e,"bpmnlint").rules,i=[...t,n].reduce((e,t)=>({...e,...t}),{});return i})},r.prototype.lint=function(e,t){return t=t||this.config,this.resolveRules(t).then(t=>{const n={};return t.forEach(t=>{const{name:i}=t,o=this.applyRule(e,t);o.length&&(n[i]=o)}),n})},r.prototype.parseRuleValue=function(e){let t,n;return Array.isArray(e)?(t=e[0],n=e[1]):(t=e,n={}),"string"===typeof t&&(t=t.toLowerCase()),t=o[t]||t,{config:n,category:t}},r.prototype.parseRuleName=function(e,t="bpmnlint"){const n=/^(?:(?:(@[^/]+)\/)?([^@]{1}[^/]*)\/)?([^/]+)$/.exec(e);if(!n)throw new Error(`unparseable rule name <${e}>`);const[i,o,r,a]=n;if(!r)return{pkg:t,ruleName:a};const l=`${o?o+"/":""}${s(r)}`;return{pkg:l,ruleName:a}},r.prototype.parseConfigName=function(e){const t=/^(?:(?:plugin:(?:(@[^/]+)\/)?([^@]{1}[^/]*)\/)|bpmnlint:)([^/]+)$/.exec(e);if(!t)throw new Error(`unparseable config name <${e}>`);const[n,i,o,r]=t;if(!o)return{pkg:"bpmnlint",configName:r};const a=`${i?i+"/":""}${s(o)}`;return{pkg:a,configName:r}},r.prototype.getSimplePackageName=function(e){const t=/^(?:(@[^/]+)\/)?([^/]+)$/.exec(e);if(!t)throw new Error(`unparseable package name <${e}>`);const[n,i,o]=t;return`${i?i+"/":""}${a(o)}`},r.prototype.normalizeConfig=function(e,t){const n=e.rules||{},i=Object.keys(n).reduce((e,i)=>{const o=n[i],{pkg:r,ruleName:s}=this.parseRuleName(i,t),a="bpmnlint"===r?s:`${this.getSimplePackageName(r)}/${s}`;return e[a]=o,e},{});return{...e,rules:i}}},"780e":function(e,t,n){var i=n("5cb9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("efe58f82",i,!0,{sourceMap:!1,shadowMode:!1})},"78b0":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .mwh{position:absolute;color:var(--vscode-editorWhitespace-foreground)!important}",""]),e.exports=t},"7c08":function(e,t,n){var i=n("ce47");e.exports=function(e){return i(e.length)}},"7c0d":function(e,t,n){var i=n("9564"),o=n("b896"),r=n("2590"),s=n("49d8");e.exports=function(e,t,n,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:t;if(i(n)&&r(n,c,a),a.global)l?e[t]=n:s(t,n);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(h){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},"7d5d":function(e,t,n){"use strict";var i=n("83ec"),o=n("8a78").left,r=n("3d1a"),s=n("2c21"),a=n("f79e"),l=!a&&s>79&&s<83,c=l||!r("reduce");i({target:"Array",proto:!0,forced:c},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},"7f82":function(e,t,n){var i=n("58d1"),o=n("eee7"),r=n("0b38"),s=n("762a"),a=n("f10c"),l=n("1810"),c=TypeError,h=l("toPrimitive");e.exports=function(e,t){if(!o(e)||r(e))return e;var n,l=s(e,h);if(l){if(void 0===t&&(t="default"),n=i(l,e,t),!o(n)||r(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},"81e5":function(e,t,n){var i=n("6f9e");e.exports=i({}.isPrototypeOf)},"82a4":function(e,t,n){var i=n("933a"),o=Function.prototype,r=o.apply,s=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?s.bind(r):function(){return s.apply(r,arguments)})},"83ec":function(e,t,n){var i=n("e244"),o=n("42b1").f,r=n("69f1"),s=n("7c0d"),a=n("49d8"),l=n("8c42"),c=n("a056");e.exports=function(e,t){var n,h,d,u,p,g,m=e.target,f=e.global,v=e.stat;if(h=f?i:v?i[m]||a(m,{}):(i[m]||{}).prototype,h)for(d in t){if(p=t[d],e.dontCallGetSet?(g=o(h,d),u=g&&g.value):u=h[d],n=c(f?d:m+(v?".":"#")+d,e.forced),!n&&void 0!==u){if(typeof p==typeof u)continue;l(p,u)}(e.sham||u&&u.sham)&&r(p,"sham",!0),s(h,d,p,e)}}},"88cb":function(e,t,n){var i=n("1ffd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3237f5a0",i,!0,{sourceMap:!1,shadowMode:!1})},"8a25":function(e,t,n){var i=n("eccc");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("0ca4fbb7",i,!0,{sourceMap:!1,shadowMode:!1})},"8a78":function(e,t,n){var i=n("b623"),o=n("c673"),r=n("b4fd"),s=n("7c08"),a=TypeError,l=function(e){return function(t,n,l,c){i(n);var h=o(t),d=r(h),u=s(h),p=e?u-1:0,g=e?-1:1;if(l<2)while(1){if(p in d){c=d[p],p+=g;break}if(p+=g,e?p<0:u<=p)throw a("Reduce of empty array with no initial value")}for(;e?p>=0:u>p;p+=g)p in d&&(c=n(c,d[p],p,h));return c}};e.exports={left:l(!1),right:l(!0)}},"8a7d":function(e,t,n){var i=n("b1cc");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("591f7120",i,!0,{sourceMap:!1,shadowMode:!1})},"8a88":function(e,t,n){var i=n("d8c2");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("1e09bcf3",i,!0,{sourceMap:!1,shadowMode:!1})},"8bbf":function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__8bbf__},"8c32":function(e,t,n){var i=n("e09a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("130c92b9",i,!0,{sourceMap:!1,shadowMode:!1})},"8c42":function(e,t,n){var i=n("0b05"),o=n("c1ca"),r=n("42b1"),s=n("b896");e.exports=function(e,t,n){for(var a=o(t),l=s.f,c=r.f,h=0;h.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-multiple,.monaco-list.selection-single{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}",""]),e.exports=t},"8dcc":function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(t){return"Object"}}},9224:function(e){e.exports=JSON.parse('{"name":"@sscfaith/nutflow","version":"1.8.1","author":{"name":"ssc","email":"273702440@qq.com"},"main":"lib/index.umd.min.js","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","build:lib":"vue-cli-service build --target lib --name WfDesign --dest lib --filename index --formats umd-min ./packages/index.js","lint":"vue-cli-service lint"},"dependencies":{"bpmn-js":"13.0.5","bpmn-js-create-append-anything":"^0.1.0","bpmnlint":"^8.2.0","monaco-editor":"^0.38.0","randomcolor":"^0.6.2"},"devDependencies":{"@sscfaith/avue-form-design":"^1.5.5","@vue/cli-plugin-babel":"^4.5.15","@vue/cli-plugin-eslint":"^4.5.15","@vue/cli-service":"^4.5.15","avue-plugin-ueditor":"^0.2.3","babel-eslint":"^10.1.0","babel-plugin-import":"^1.13.3","core-js":"^3.21.1","element-ui":"^2.15.6","eslint":"^7.32.0","eslint-plugin-vue":"^7.20.0","sass":"^1.49.10","sass-loader":"^7.3.1","vue":"^2.6.14","vue-i18n":"^8.27.1","vue-template-compiler":"^2.6.14"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{"no-debugger":"off","no-console":"off","no-unused-vars":"off","no-mutating-props":"off"}},"browserslist":["> 1%","last 2 versions","not dead"],"files":["lib"],"keywords":["vue","element-ui","bpmn","bpmn.js","flow","flowable","activiti","camunda"]}')},"92af":function(e,t,n){"use strict";n.d(t,"b",(function(){return y}));var i={wf:{lang:"zh",panel:{process:{tab:"流程配置",basic:{label:"基本配置",key:"流程key",name:"流程名称",description:"流程描述",skipFirstNode:"跳过第一节点",rollbackNode:{label:"默认驳回节点",placeholder:"不选择默认驳回到上一节点"}},sn:{label:"流水号配置",configure:"配置",format:"流水号格式",name:"名称",prefix:"前缀",dateFormat:"日期格式",suffixLength:"后缀位数",initialValue:"初始数值",connector:"连接符",resetCycle:{label:"重置周期",dicData:[{label:"不重置",value:"none"},{label:"按天重置",value:"day"},{label:"按周重置",value:"week"},{label:"按月重置",value:"month"},{label:"按年重置",value:"year"}]}}},node:{tab:"节点配置",message:"选择节点后配置",basic:{title:"基本配置",id:"节点id",name:"节点名称",text:"注解内容",description:"节点描述",rollbackNode:{label:"驳回节点",placeholder:"不选择默认使用流程配置",backToRejecter:"重新提交后回到驳回人",backToRejecterText:"假如D驳回到A,A重新发起时直接到D,跳过B、C"},priority:"优先级",async:{label:"异步",yes:"是",no:"否"},dueDate:"超时",skipExpression:"跳过表达式"},assignee:{title:"人员配置",v1:{assignee:"处理人",candidateUsers:"候选用户",candidateGroups:"候选组",title:"人员选择",unselected:"未选择",selected:"已选择",message:"请至少选择一项"},v2:{configure:"人员配置",type:"类型",value:"值",typeDic:{user:"用户",role:"角色",dept:"部门",post:"职位",custom:"自定义"},typeList:[{label:"用户",value:"user"},{label:"角色",value:"role"},{label:"部门",value:"dept"},{label:"职位",value:"post"},{label:"自定义",value:"custom"}],customRemark:"请确保选择/填写的选项已实现相关逻辑",title:"人员选择",cancel:"取 消",submit:"确 定",user:{avatar:"头像",name:"姓名",dept:"部门",post:"职位"},message:"请至少选择一项",dept:{title:"部门选择",name:"部门名称",fullName:"部门全称",category:"部门类型"}}},button:{title:"按钮配置",label:"字段",prop:"属性",display:"是否显示"},condition:{title:"流转条件",conditionExpression:"流转条件"},examine:{hideAttachment:"隐藏审批附件",hideCopy:"隐藏选择抄送人",copyUser:"默认抄送人",hideAssignee:"隐藏选择审核人"},form:{title:"表单配置",exFormKey:"表单key",exFormUrl:"表单路由",router:"路由",remark:{r1:"发起流程会自动匹配",r2:"查看详情会自动匹配",r3:"请拷贝模版页面或参考demo项目实现自己的逻辑",r4:"会动态添加路由,无需配置。已知小问题:框架限制,刷新404",r5:"若配置此项,表单key的自动匹配路由将失效",r6:"请自行配置相应路由",r7:"移动端会自动匹配"},exAppFormUrl:"移动端路由",label:"字段",prop:"属性",readable:"可读",writable:"可写",unknown:"未知表单配置,请自行控制字段显隐等属性。"},listener:{taskTitle:"任务监听",executionTitle:"执行监听",add:"添加",edit:"编辑",delete:"删除",event:"事件",type:"类型",value:"值",operations:"操作",submit:"确定",listenerType:{class:"类",expression:"表达式",delegateExpression:"代理表达式"},message:"确定要删除吗",warning:"警告",name:"名称"},multiInstance:{title:"多实例配置",type:"类型",parallel:"并行",sequential:"串行",completionCondition:"完成条件"},event:{title:"事件配置",isInterrupting:"是否中断",condition:"表达式",activityRef:"活动引用",errorRef:"错误引用",escalationRef:"升级引用",messageRef:"消息引用",signalRef:"信号引用",terminateAll:"全部终止",timer:{timeCycle:"时间周期",timeDate:"时间日期",timeDuration:"持续时间"}},call:{title:"调用活动",calledElement:"子流程key",inheritVariables:"继承变量",sameDeployment:"同一部署"},service:{title:"服务配置",type:"类型",typeOption:[{label:"类",value:"class"},{label:"代理表达式",value:"delegateExpression"},{label:"表达式",value:"expression"},{label:"Http",value:"http"},{label:"Shell",value:"shell"},{label:"Mail",value:"mail"}]},script:{title:"脚本配置"}}},toolbar:{open:"打开",create:"新建",fit:"自适应屏幕",center:"居中",zoomIn:"放大",zoomOut:"缩小",undo:"后退",redo:"前进",download:"下载",downloadXml:"下载XML",downloadSvg:"下载SVG",importXml:"导入XML",previewXml:"查看XML",getXml:"获取XML"},config:{title:"组件配置",lang:{label:"国际化",chinese:"中文",english:"英文"},mode:{label:"展示模式",design:"设计模式",view:"预览模式"},engine:{label:"流程引擎",flowable:"Flowable",camunda:"Camunda",activiti:"Activiti"},form:{label:"表单配置",configure:"配置",remark:"组件可接收avue-form的配置,其他不支持",title:"表单配置",submit:"确定"},button:{label:"按钮配置",configure:"配置",cancel:"收起",option:{page:!1,align:"center",column:[{label:"名称",prop:"label"},{label:"属性",prop:"prop"},{label:"默认是否显示",prop:"display",type:"select",dicData:[{label:"是",value:!0},{label:"否",value:!1}]}]}},user:{label:"人员配置方式"},lint:{label:"模型校验"},toolbar:{label:"顶部工具栏",checkAll:"全选",list:[{label:"打开",value:"open"},{label:"新建",value:"create"},{label:"自适应屏幕",value:"fit"},{label:"放大",value:"zoom-in"},{label:"缩小",value:"zoom-out"},{label:"后退",value:"undo"},{label:"前进",value:"redo"},{label:"导入XML",value:"import"},{label:"查看XML",value:"preview"},{label:"获取XML",value:"get"},{label:"下载XML",value:"download-xml"},{label:"下载SVG",value:"download-svg"}]},highlight:{label:"高亮节点",node:"节点",line:"连线",nodeId:"节点id",nodeClass:"节点样式",tooltip:"Tooltip",classes:[{label:"节点 - success",value:"nodeSuccess"},{label:"节点 - warn",value:"nodeWarn"},{label:"节点 - error",value:"nodeError"},{label:"连线 - success",value:"lineSuccess"},{label:"连线 - warn",value:"lineWarn"},{label:"连线 - error",value:"lineError"}]},minimap:"Minimap",simulation:"流程模拟",message:{copySuccess:"复制成功"}}}},o={wf:{lang:"en",panel:{process:{tab:"Process",basic:{label:"Basic",key:"Key",name:"Name",description:"Description",skipFirstNode:"Skip first node",rollbackNode:{label:"Default rejection node",placeholder:"Default reject to the previous node"}},sn:{label:"Serial Number",configure:"Configuration",format:"SN Format",name:"Name",prefix:"Prefix",dateFormat:"Date Format",suffixLength:"Suffix Digits",initialValue:"Initial Value",connector:"Connector",resetCycle:{label:"Reset Period",dicData:[{label:"Do not reset",value:"none"},{label:"Reset By Day",value:"day"},{label:"Reset By Week",value:"week"},{label:"Reset By Month",value:"month"},{label:"Reset By Year",value:"year"}]}}},node:{tab:"Node",message:"Configure after node selection",basic:{title:"Basic",id:"ID",name:"Name",text:"Annotation",description:"Description",rollbackNode:{label:"Rejection node",placeholder:"Default use process option",backToRejecter:"Back to rejecter",backToRejecterText:"假如D驳回到A,A重新发起时直接到D,跳过B、C"},priority:"Priority",async:{label:"Async",yes:"Yes",no:"No"},dueDate:"Due Date",skipExpression:"Skip Expression"},assignee:{title:"Staffing",v1:{assignee:"Assignee",candidateUsers:"Candidate Users",candidateGroups:"Candidate Groups",title:"Personnel Selection",unselected:"Not selected",selected:"Selected",message:"Please select at least one item"},v2:{configure:"Staffing",type:"Type",value:"Value",typeDic:{user:"User",role:"Role",dept:"Dept.",post:"Position",custom:"Customize"},typeList:[{label:"User",value:"user"},{label:"Role",value:"role"},{label:"Dept.",value:"dept"},{label:"Post",value:"post"},{label:"Custom",value:"custom"}],customRemark:"Please make sure that the selected/filled option has implemented the relevant logic",title:"Personnel Selection",cancel:"Cancel",submit:"Confirm",user:{avatar:"Avatar",name:"Name",dept:"Dept.",post:"Post"},message:"Please select at least one item",dept:{title:"Department Selection",name:"Name",fullName:"Full Name",category:"Category"}}},button:{title:"Button",label:"Field",prop:"Attribute",display:"Display"},condition:{title:"Conditions",conditionExpression:"Circulation Conditions"},examine:{hideAttachment:"Hide attachment",hideCopy:"Hide selected cc",copyUser:"Default copy user",hideAssignee:"Hide assignee"},form:{title:"Form",exFormKey:"Form Key",exFormUrl:"Form Routing",router:"Routing",remark:{r1:"The initiation process will automatically match",r2:"View details will automatically match",r3:"Please copy the template page or refer to the demo project to implement your own logic",r4:"Routes are added dynamically without configuration. Known small problem: frame limit, refresh 404",r5:"If this item is configured, the automatic matching route of form key will be invalid",r6:"Please configure the corresponding route by yourself",r7:"The App will automatically match"},exAppFormUrl:"App Form Routing",label:"Field",prop:"Attribute",readable:"Readable",writable:"Writable",unknown:"Unknown form configuration, please control the field display and hidden attributes yourself"},listener:{taskTitle:"Task Listener",executionTitle:"Execution Listener",add:"Add",edit:"Edit",delete:"Delete",event:"Event",type:"Class",value:"Value",operations:"Operation",submit:"Confirm",listenerType:{class:"Class",expression:"Expression",delegateExpression:"Delegate Expression"},message:"Are you sure you want to delete?",warning:"Warning",name:"Name"},multiInstance:{title:"Multi-instance",type:"Type",parallel:"Parallel",sequential:"Serial",completionCondition:"Completion Conditions"},event:{title:"Event",isInterrupting:"Is Interrupting",condition:"Condition",activityRef:"Activity Ref",errorRef:"Error Ref",escalationRef:"Escalation Ref",messageRef:"Message Ref",signalRef:"Signal Ref",terminateAll:"Terminate All",timer:{timeCycle:"Time Cycle",timeDate:"Time Date",timeDuration:"Time Duration"}},call:{title:"Call Activity",calledElement:"Call Element",inheritVariables:"Inherit Variables",sameDeployment:"Same Deployment"},service:{title:"Service Configuration",type:"Type",typeOption:[{label:"Class",value:"class"},{label:"Delegate Expression",value:"delegateExpression"},{label:"Expression",value:"expression"},{label:"HTTP",value:"http"},{label:"Shell",value:"shell"},{label:"Mail",value:"mail"}]},script:{title:"Script Configuration"}}},toolbar:{open:"Open",create:"New",fit:"Adaptive Screen",center:"Center",zoomIn:"Enlarge",zoomOut:"Minify",undo:"Back",redo:"Forward",download:"Download",downloadXml:"Download XML",downloadSvg:"Download SVG",importXml:"Import XML",previewXml:"View XML",getXml:"Obtain XML"},config:{title:"Component Configuration",lang:{label:"Language",chinese:"Chinese",english:"English"},mode:{label:"Mode",design:"Design Mode",view:"Preview Mode"},engine:{label:"Engine",flowable:"Flowable",camunda:"Camunda",activiti:"Activiti"},form:{label:"Form",configure:"Configuration",remark:"Support avue-form's option only",title:"Form Configuration",submit:"Confirm"},button:{label:"Button",configure:"Configuration",cancel:"Put Away",option:{page:!1,align:"center",column:[{label:"Name",prop:"label"},{label:"Attribute",prop:"prop"},{label:"Display",prop:"display",type:"select",dicData:[{label:"Yes",value:!0},{label:"No",value:!1}]}]}},user:{label:"User"},lint:{label:"Lint"},toolbar:{label:"Toolbar",checkAll:"Check All",list:[{label:"Open",value:"open"},{label:"New",value:"create"},{label:"Adaptive Screen",value:"fit"},{label:"Enlarge",value:"zoom-in"},{label:"Minify",value:"zoom-out"},{label:"Back",value:"undo"},{label:"Forward",value:"redo"},{label:"Import XML",value:"import"},{label:"View XML",value:"preview"},{label:"Obtain XML",value:"get"},{label:"Download XML",value:"download-xml"},{label:"Download SVG",value:"download-svg"}]},highlight:{label:"Highlight",node:"Node",line:"Connection",nodeId:"Node ID",nodeClass:"Node Style",tooltip:"Tooltip",classes:[{label:"Node - success",value:"nodeSuccess"},{label:"Node - warn",value:"nodeWarn"},{label:"Node - error",value:"nodeError"},{label:"Line - success",value:"lineSuccess"},{label:"Line - warn",value:"lineWarn"},{label:"Line - error",value:"lineError"}]},minimap:"Minimap",simulation:"Simulation",message:{copySuccess:"Copy succeeded"}}}},r=n("0c5e"),s=n.n(r),a=n("8bbf"),l=n.n(a);let c=e=>{var t={};return e&&"[object Function]"===t.toString.call(e)};"object"===typeof Int8Array||!l.a.prototype.$isServer&&"function"===typeof document.childNodes||(c=function(e){return"function"===typeof e||!1});const h=Object.prototype.hasOwnProperty;function d(e,t){return h.call(e,t)}const u=/(%|)\{([0-9a-zA-Z_]+)\}/g;var p=function(e){function t(e,...t){return"string"!=typeof e?e:(1===t.length&&"object"===typeof t[0]&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(u,(n,i,o,r)=>{let s;return"{"===e[r-1]&&"}"===e[r+n.length]?o:(s=d(t,o)?t[o]:null,null===s||void 0===s?"":s)}))}return t};const g=window.Vue,m=p(g);let f=i,v=!1,b=function(){const e=Object.getPrototypeOf(this||g||{}).$t;if("function"===typeof e&&(g||{}).locale)return v||(v=!0,g.locale(g.config.lang,s()(f,g.locale(g.config.lang)||{},{clone:!0}))),e.apply(this,arguments)};const y=function(e,t){let n=b.apply(this,arguments);if(null!==n&&void 0!==n)return n;const i=e.split(".");let o=f;for(let r=0,s=i.length;r*{flex:initial}.bts-notifications .bts-notification>:not(:last-child){margin-right:6px}.bts-notifications .bts-notification>.bts-icon{min-width:20px;text-align:center}.bts-notifications .bts-notification>.bts-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bts-notifications .bts-notification>.bts-scope{font-family:monospace;font-size:.8em;padding:2px 3px;border-radius:3px;cursor:default}.bts-notifications .bts-notification>.bts-icon [class*=" bpmn-icon-"]:before,.bts-notifications .bts-notification>.bts-icon [class^=bpmn-icon-]:before{margin:0}.bjs-container.paused .bts-play-pause.active,.bts-element-notification{color:var(--token-simulation-silver-darken-94,#efefef);background-color:var(--token-simulation-silver-darken-94,#efefef)}.bts-element-notification{border-radius:2px;height:30px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;padding:0 6px 0 6px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.bts-element-notification .bts-text{margin:0 3px 0 3px;white-space:nowrap}.bts-element-notification.success{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.bts-element-notification.warning{background-color:var(--token-simulation-red-base-62,#ff3d3d);color:var(--token-simulation-white,#fff)}.bts-toggle-mode{cursor:pointer;position:absolute;top:20px;left:20px;background-color:var(--token-simulation-silver-darken-94,#efefef);border-radius:2px;padding:6px;font-size:16px;color:var(--token-simulation-grey-darken-30,#212121);-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex}.bts-toggle-mode .bts-toggle{margin-left:.25em;display:inline-flex}.bjs-container.simulation .bts-toggle-mode,.bts-toggle-mode:hover{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.bjs-container .djs-palette{top:60px}.bjs-container.simulation .djs-palette{display:none}.bjs-container.simulation .djs-bendpoint,.bjs-container.simulation .djs-outline,.bjs-container.simulation .djs-resizer,.bjs-container.simulation .djs-segment-dragger{display:none!important}.bts-palette{position:absolute;top:60px;left:20px}.bts-palette.hidden{display:none}.bts-palette .bts-entry{cursor:pointer;background-color:var(--token-simulation-silver-darken-94,#efefef);border-radius:2px;padding:6px 0;margin-bottom:6px;font-size:16px;color:var(--token-simulation-grey-darken-30,#212121);-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;justify-content:center;align-items:center;width:30px;box-sizing:border-box;transition:all .1s ease}.bts-palette .bts-entry:last-child{margin-bottom:0}.bts-palette .bts-entry.active,.bts-palette .bts-entry:not(.disabled):hover{color:var(--token-simulation-white,#fff);background-color:var(--token-simulation-green-base-44,#10d070)}.bts-palette .bts-entry.disabled{pointer-events:none;color:var(--token-simulation-grey-base-40,#666)}.bts-log{position:absolute;top:30%;right:20px;bottom:50px;width:300px;background-color:var(--token-simulation-silver-darken-94,#efefef);border-radius:2px;z-index:10000;overflow:hidden;display:flex;flex-direction:column}.bts-log.hidden{display:none}.bts-log .bts-header{background-color:var(--token-simulation-green-base-44,#10d070);padding:6px 8px;color:var(--token-simulation-white,#fff);height:30px;box-sizing:border-box;font-size:16px;flex:0;display:flex;justify-content:space-between}.bts-log .bts-close{background:none;border:none;cursor:pointer;color:var(--token-simulation-white,#fff)}.bts-log .bts-log-icon{cursor:pointer}.bts-log .bts-content{overflow-y:auto;box-sizing:border-box;flex:1;margin:7px 3px 7px 12px;padding:5px 9px 5px 0}.bts-log ::-webkit-scrollbar{width:6px}.bts-log ::-webkit-scrollbar-thumb{border-radius:3px;background-color:rgba(0,0,0,.2)}.bts-log ::-webkit-scrollbar-track{box-shadow:none;background:transparent;margin:0;padding:5px}.bts-log .bts-entry{font-size:16px;margin:0 0 6px 0;padding:6px;background:var(--token-simulation-white,#fff);border-radius:2px;display:flex;align-items:stretch;justify-content:center}.bts-log .bts-entry.inactive{opacity:.5}.bts-log .bts-entry.success{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.bts-log .bts-entry.warning{background-color:var(--token-simulation-red-base-62,#ff3d3d);color:var(--token-simulation-white,#fff)}.bts-log .bts-entry:last-child{margin:0}.bts-log .bts-entry>*{flex:initial}.bts-log .bts-entry>:not(:last-child){margin-right:6px}.bts-log .bts-entry>.bts-icon{min-width:20px;text-align:center}.bts-log .bts-entry>.bts-scope{font-family:monospace;font-size:.8em;padding:2px 3px;border-radius:3px;cursor:default}.bts-log .bts-entry>.bts-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bts-log .bts-entry.placeholder.hidden{display:none}.bts-scopes{position:absolute;top:22px;left:190px;display:flex;flex-direction:row}.bts-scopes.hidden{display:none}.bts-scopes .bts-scope{border-radius:100%;width:25px;height:25px;font-size:14px;line-height:25px;text-align:center;background-color:var(--token-simulation-silver-darken-94,#efefef);margin-right:10px;cursor:pointer}.bts-scopes .bts-scope.inactive:hover{opacity:1}.bts-scopes .bts-scope.inactive{opacity:.25}.djs-container.highlight{background-color:var(--token-simulation-silver-base-97,#f8f8f8)}.bts-set-animation-speed{position:absolute;bottom:20px;left:50%;transform:translate(-50%);font-size:16px;text-align:center;background-color:var(--token-simulation-silver-darken-94,#efefef);border-radius:2px;display:flex;flex-direction:row;align-items:center;padding-left:6px;overflow:hidden}.bts-set-animation-speed.hidden{display:none}.bts-set-animation-speed .bts-animation-speed-buttons{display:flex;flex-direction:row;margin-left:6px}.bts-set-animation-speed .bts-animation-speed-button{padding:10px 0;width:30px;display:inline-flex;justify-content:center;border:none}.bts-set-animation-speed .bts-animation-speed-button.active,.bts-set-animation-speed .bts-animation-speed-button:hover{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.bts-icon{display:inline-flex;align-items:center;justify-content:center}.bts-icon>svg{height:1em}',""]),e.exports=t},a23c:function(e,t,n){var i=n("e263");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("152b2786",i,!0,{sourceMap:!1,shadowMode:!1})},a2df:function(e,t){e.exports=function(e){return null===e||void 0===e}},a2e5:function(e,t,n){var i=n("3f13");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("175f4c4c",i,!0,{sourceMap:!1,shadowMode:!1})},a452:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".bjsl-overlay{z-index:500}.bjsl-overlay:hover{z-index:1000}.bjsl-dropdown{display:none}.bjsl-dropdown.open,.bjsl-overlay:hover .bjsl-dropdown{display:block}.bjsl-issues{padding:8px;color:#444;font-family:Arial,sans-serif;font-size:12px;background:#fafafa;border:1px solid #ccc;border-radius:2px}.bjsl-icon{background:#fff;border-radius:100%;display:inline-block;height:20px;line-height:23px;text-align:center;width:20px}.bjsl-icon-error{background-color:#c30;color:#fff}.bjsl-icon-warning{background-color:#f7c71a;color:#fff}.bjsl-overlay{position:relative}.bjsl-issues-bottom-right .bjsl-dropdown-content,.bjsl-issues-top-right .bjsl-dropdown{top:0;left:0}.bjsl-issues-bottom-right .bjsl-dropdown,.bjsl-issues-top-right .bjsl-dropdown-content{bottom:0;left:0}.bjsl-issues-top-right .bjsl-dropdown-content{padding-bottom:5px}.bjsl-issues-bottom-right .bjsl-dropdown-content{padding-top:5px}.bjsl-dropdown-content{min-width:260px;position:absolute;height:-moz-fit-content;height:fit-content}.bjsl-dropdown{position:absolute}.bjsl-issues,.bjsl-issues ul{list-style:none;margin:0}.bjsl-issues ul{padding:0}.bjsl-issues li{display:flex;flex-direction:row}.bjsl-issues li:not(:first-child){margin-top:7px}.bjsl-issues .error svg{color:#c30}.bjsl-issues .warning svg{color:#f7c71a}.bjsl-issues a{color:#444;margin-left:8px}.bjsl-issues a,.bjsl-issues a:hover{text-decoration:none}.bjsl-button{border-radius:100px;position:absolute;bottom:20px;left:50%;transform:translate(-50%);background-color:#fafafa;padding:5px 10px;border:none;color:#ddd;display:flex;align-items:center;outline:none;font-weight:700}.bjsl-button-inactive:hover{color:#444}.bjsl-button svg{margin-top:-1px;margin-right:10px}.bjsl-button-success{background-color:#52b415;color:#fff}.bjsl-button-error{background-color:#c30;color:#fff}.bjsl-button-warning{background-color:#f7c71a;color:#fff}",""]),e.exports=t},a52d:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}",""]),e.exports=t},a59a:function(e,t,n){var i=n("fcfe");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("e12ae1d6",i,!0,{sourceMap:!1,shadowMode:!1})},ac97:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},acff:function(e,t,n){var i=n("3ffb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("2dbbf432",i,!0,{sourceMap:!1,shadowMode:!1})},ad2f:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}",""]),e.exports=t},adf0:function(e,t,n){var i=n("a52d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("fc7bcae8",i,!0,{sourceMap:!1,shadowMode:!1})},af67:function(e,t,n){var i=n("78b0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("1f104814",i,!0,{sourceMap:!1,shadowMode:!1})},afb9:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.quick-input-widget{position:absolute;width:600px;z-index:2550;left:50%;margin-left:-300px;-webkit-app-region:no-drag;border-radius:6px}.quick-input-titlebar{display:flex;align-items:center;border-top-left-radius:5px;border-top-right-radius:5px}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:50%;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:8px 6px 6px 6px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:25px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-message a{color:inherit}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{overflow:hidden;max-height:440px;padding-bottom:5px}.quick-input-list .monaco-scrollable-element{padding:0 5px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row{border-radius:3px}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label>span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:4px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px;margin-right:4px}.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}',""]),e.exports=t},b012:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}",""]),e.exports=t},b03b:function(e,t,n){e.exports=n.p+"img/bpmn.4424ace0.svg"},b042:function(e,t,n){var i=n("e4f5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3da601af",i,!0,{sourceMap:!1,shadowMode:!1})},b1cc:function(e,t,n){var i=n("53c2"),o=n("5f86"),r=n("ce75"),s=n("6024"),a=n("cfa0"),l=n("a0ff"),c=n("f767"),h=n("a452");t=i(!1),t.i(o),t.i(r),t.i(s),t.i(a),t.i(l),t.i(c),t.i(h),t.push([e.i,'.wf-design{outline:1px solid #e4e7ed}.wf-design,.wf-design .el-container{height:100%}.wf-design .el-container .el-header{height:50px!important;border-bottom:2px solid #e4e7ed}.wf-design .el-container .el-main{height:calc(100% - 52px);padding:0}.wf-design .el-container .el-main .modeler{height:100%;background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImEiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTBoNDBNMTAgMHY0ME0wIDIwaDQwTTIwIDB2NDBNMCAzMGg0ME0zMCAwdjQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlMGUwZTAiIG9wYWNpdHk9Ii4yIi8+PHBhdGggZD0iTTQwIDBIMHY0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIi8+PC9zdmc+") repeat!important}.wf-design .el-container .el-main .nodePrimary:not(.djs-connection) .djs-visual>:first-child{fill:#409eff!important}.wf-design .el-container .el-main .nodeSuccess:not(.djs-connection) .djs-visual>:first-child{fill:#67c23a!important}.wf-design .el-container .el-main .nodeWarn:not(.djs-connection) .djs-visual>:first-child{fill:#e6a23c!important}.wf-design .el-container .el-main .nodeError:not(.djs-connection) .djs-visual>:first-child{fill:#f56c6c!important}.wf-design .el-container .el-main .linePrimary:not(.djs-shape) .djs-visual :last-child{stroke:#409eff!important}.wf-design .el-container .el-main .lineSuccess:not(.djs-shape) .djs-visual :last-child{stroke:#67c23a!important}.wf-design .el-container .el-main .lineWarn:not(.djs-shape) .djs-visual :last-child{stroke:#e6a23c!important}.wf-design .el-container .el-main .lineError:not(.djs-shape) .djs-visual :last-child{stroke:#f56c6c!important}.wf-design .el-container .el-main .djs-element.hover .djs-outline,.wf-design .el-container .el-main .djs-element.selected .djs-outline{visibility:visible;shape-rendering:geometricPrecision;stroke-dasharray:3,3;stroke:var(--element-selected-outline-stroke-color);stroke-width:1px}.wf-design .el-container .el-aside{outline:1px solid #e4e7ed;height:100%;padding-top:10px}.wf-design .el-container .el-aside .el-tabs{height:100%}.wf-design .el-container .el-aside .el-tabs .el-tabs__header{margin:0;width:380px;background:#fff;z-index:1000;border-bottom:1px solid #e4e7ed}.wf-design .el-container .el-aside .el-tabs .el-tabs__content{height:calc(100% - 40px);overflow-y:scroll}.wf-design .el-container .el-aside .el-tabs .el-tabs__item{padding:0}.wf-design .el-container .el-aside .el-tabs .el-collapse .el-collapse-item__content{padding-bottom:10px}.wf-design .el-container .el-aside .el-select{width:100%}.wf-design__config--icon{width:48px;height:48px;font-size:30px;position:absolute;right:0;bottom:20%;display:flex;align-items:center;justify-content:center;border-radius:10px;cursor:pointer;background:#409eff;z-index:99}.wf-design__config--icon .modeler-sk{background:url("data:image/svg+xml;base64,3e68f5a6cc486e25451165f604ee6520")}.wf-design__config--icon i{color:#fff}.wf-design__config .el-drawer__body{padding:0 20px}.wf-design .djs-tooltip{font-size:13px;width:120px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wf-design .bjs-container .djs-palette{top:30px}.wf-drawer .el-drawer__body{overflow:hidden}.wf-drawer .wf-drawer__foot{width:100%;display:flex;justify-content:space-between;align-items:center;padding:0 20px;position:absolute;bottom:15px}.wf-drawer .wf-drawer__foot button{width:50%}',""]),e.exports=t},b3f9:function(e,t,n){var i=n("be5b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("65e46b62",i,!0,{sourceMap:!1,shadowMode:!1})},b400:function(e,t,n){var i=n("bba7");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("02378fc5",i,!0,{sourceMap:!1,shadowMode:!1})},b4fd:function(e,t,n){var i=n("6f9e"),o=n("ac97"),r=n("c401"),s=Object,a=i("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a(e,""):s(e)}:s},b609:function(e,t,n){var i=n("55ab"),o=n("ac97");e.exports=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b623:function(e,t,n){var i=n("9564"),o=n("8dcc"),r=TypeError;e.exports=function(e){if(i(e))return e;throw r(o(e)+" is not a function")}},b856:function(e,t,n){var i=n("b012");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("2d7da4a9",i,!0,{sourceMap:!1,shadowMode:!1})},b896:function(e,t,n){var i=n("55ab"),o=n("bf6f"),r=n("b609"),s=n("fbcf"),a=n("6b7e"),l=TypeError,c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,d="enumerable",u="configurable",p="writable";t.f=i?r?function(e,t,n){if(s(e),t=a(t),s(n),"function"===typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var i=h(e,t);i&&i[p]&&(e[t]=n.value,n={configurable:u in n?n[u]:i[u],enumerable:d in n?n[d]:i[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(s(e),t=a(t),s(n),o)try{return c(e,t,n)}catch(i){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ba52:function(e,t,n){var i=n("6f9e"),o=Error,r=i("".replace),s=function(e){return String(o(e).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(s);e.exports=function(e,t){if(l&&"string"==typeof e&&!o.prepareStackTrace)while(t--)e=r(e,a,"");return e}},ba88:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.hc-light .monaco-findInput.highlight-0 .controls,.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.hc-light .monaco-findInput.highlight-1 .controls,.monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:hsla(0,0%,100%,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:hsla(0,0%,100%,.44)}99%{background:transparent}}",""]),e.exports=t},bba7:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:auto}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:normal;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}',""]),e.exports=t},bd77:function(e,t,n){var i=n("c303");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},be5b:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".bpmn-tools[data-v-dea07c26]{display:flex;padding-top:10px;justify-content:space-between}",""]),e.exports=t},bf40:function(e,t,n){e.exports=n.p+"fonts/bpmn.07d959f3.woff"},bf6f:function(e,t,n){var i=n("55ab"),o=n("ac97"),r=n("f146");e.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},bf8d:function(e,t,n){"use strict";n("3971");t["a"]={props:{modeler:{type:Object,required:!0},element:{type:Object,default:()=>({})},nodes:{type:Array,default:()=>[]},formOption:{type:[Object,String],default:null},exFormOption:{type:[Object,String],default:null},indepFormOption:{type:[Object,String],default:null},userOption:{type:Object,default:null},groupOption:{type:Object,default:null},buttonOption:{type:Array,default:()=>[]},scriptOption:{type:Object,default:()=>{}},conditionOption:{type:Array,default:()=>[]}},computed:{backNodes(){const{id:e}=this.formData,t=this.nodes.findIndex(t=>t.id==e);return t>0&&!this.nodes.find(e=>"bpmn:Collaboration"==e.nodeType)?this.nodes.filter(e=>["bpmn:StartEvent","bpmn:UserTask"].includes(e.nodeType)):this.nodes}},data(){return{formData:{}}},watch:{element:{handler(e){if(0==Object.keys(e))return;const t={...e.businessObject,...e.businessObject.$attrs},n=t.documentation;n&&n.length>0&&(t.description=n[0].text),this.$set(this,"formData",t)},deep:!0,immediate:!0}},methods:{updateProperties(e){this.modeler.get("modeling").updateProperties(this.element,e)},updateDocumentation(e){if(e){const t=this.modeler.get("bpmnFactory").create("bpmn:Documentation",{text:e});this.updateProperties({documentation:[t]})}else this.updateProperties({documentation:[]})},updateFormalExpression(e,t){t=e&&t?this.modeler.get("bpmnFactory").create("bpmn:FormalExpression",{body:t}):void 0,this.updateProperties({[e]:t})},createElement(e,t){return e&&t?this.modeler.get("bpmnFactory").create(e,t):null},getRootElements(e){const t=this.modeler.get("canvas").getRootElement().businessObject.$parent.rootElements;return e?t.filter(t=>t.$type==e):t},getExtensionElementsEq(e){const t=[],{extensionElements:n}=this.element.businessObject;return n&&n.values&&n.values.length>0&&n.values.forEach(n=>{n.$type===e&&t.push(n)}),t},getExtensionElementsNotEq(e){const t=[],{extensionElements:n}=this.element.businessObject;return n&&n.values&&n.values.length>0&&n.values.forEach(n=>{n.$type!==e&&t.push(n)}),t},setExtensionElements(e,t){if(e&&t){const n=this.modeler.get("bpmnFactory");let i=[];t.forEach(t=>i.push(n.create(e,t))),i=this.getExtensionElementsNotEq(e).concat(i),this.updateProperties({extensionElements:n.create("bpmn:ExtensionElements",{values:i})})}},clearExtensionElements(e){let t=[];e&&e.forEach(e=>{const n=this.getExtensionElementsEq(e);n&&n.length>0&&(t=t.concat(n))});const n=this.modeler.get("bpmnFactory");this.updateProperties({extensionElements:t.length>0?n.create("bpmn:ExtensionElements",{values:t}):void 0})},getEventDefinitions(e){const{eventDefinitions:t}=this.element.businessObject;if(!e)return t;const n=[];return t&&t.length>0?(t.forEach(t=>{t.$type==e&&n.push(t)}),n):null},setEventDefinitions(e,t){if(e&&t){const n=this.modeler.get("bpmnFactory");let i=this.getEventDefinitions(e)||[];i=i&&i.length>0?{...i[0],...t}:{...t};for(let e in i)e.startsWith("$")&&delete i[e];this.updateProperties({eventDefinitions:[n.create(e,i)]})}}}}},c09a:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:hsla(0,0%,100%,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar{background:transparent}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:hsla(0,0%,67.1%,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active{background:none}.monaco-diff-editor .delete-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-editor .insert-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-diff-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.hc-black .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-editor.hc-light .insert-sign{opacity:1}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .arrow-revert-change{z-index:10;position:absolute}.monaco-editor .arrow-revert-change:hover{cursor:pointer}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}.monaco-diff-editor .char-insert,.monaco-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-diff-editor .line-insert,.monaco-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground,--vscode-diffEditor-insertedTextBackground)}.monaco-editor .char-insert,.monaco-editor .line-insert{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-insertedTextBorder)}.monaco-editor.hc-black .char-insert,.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .char-insert,.monaco-editor.hc-light .line-insert{border-style:dashed}.monaco-editor .char-delete,.monaco-editor .line-delete{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-removedTextBorder)}.monaco-editor.hc-black .char-delete,.monaco-editor.hc-black .line-delete,.monaco-editor.hc-light .char-delete,.monaco-editor.hc-light .line-delete{border-style:dashed}.monaco-diff-editor .gutter-insert,.monaco-editor .gutter-insert,.monaco-editor .inline-added-margin-view-zone{background-color:var(--vscode-diffEditorGutter-insertedLineBackground,--vscode-diffEditor-insertedLineBackground,--vscode-diffEditor-insertedTextBackground)}.monaco-diff-editor .char-delete,.monaco-editor .char-delete{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-diff-editor .line-delete,.monaco-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground,--vscode-diffEditor-removedTextBackground)}.monaco-diff-editor .gutter-delete,.monaco-editor .gutter-delete,.monaco-editor .inline-deleted-margin-view-zone{background-color:var(--vscode-diffEditorGutter-removedLineBackground,--vscode-diffEditor-removedLineBackground,--vscode-diffEditor-removedTextBackground)}.monaco-diff-editor.side-by-side .editor.modified{box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow);border-left:1px solid var(--vscode-diffEditor-border)}.monaco-diff-editor .diffViewport{background:var(--vscode-scrollbarSlider-background)}.monaco-diff-editor .diffViewport:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-diff-editor .diffViewport:active{background:var(--vscode-scrollbarSlider-activeBackground)}",""]),e.exports=t},c1ca:function(e,t,n){var i=n("6043"),o=n("6f9e"),r=n("f0f1"),s=n("0ef1"),a=n("fbcf"),l=o([].concat);e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=s.f;return n?l(t,n(e)):t}},c223:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return h})),n.d(t,"g",(function(){return d}));const i="undefined"!==typeof e;let o;class r{static wrap(t){return i&&!e.isBuffer(t)&&(t=e.from(t.buffer,t.byteOffset,t.byteLength)),new r(t)}constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return i?this.buffer.toString():(o||(o=new TextDecoder),o.decode(this.buffer))}}function s(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function a(e,t,n){e[n+0]=255&t,t>>>=8,e[n+1]=255&t}function l(e,t){return e[t]*Math.pow(2,24)+e[t+1]*Math.pow(2,16)+e[t+2]*Math.pow(2,8)+e[t+3]}function c(e,t,n){e[n+3]=t,t>>>=8,e[n+2]=t,t>>>=8,e[n+1]=t,t>>>=8,e[n]=t}function h(e,t){return e[t]}function d(e,t,n){e[n]=t}}).call(this,n("f20c").Buffer)},c303:function(e,t,n){var i=n("2c21"),o=n("ac97"),r=n("e244"),s=r.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},c401:function(e,t,n){var i=n("6f9e"),o=i({}.toString),r=i("".slice);e.exports=function(e){return r(o(e),8,-1)}},c673:function(e,t,n){var i=n("0874"),o=Object;e.exports=function(e){return o(i(e))}},c6b4:function(e,t,n){var i=n("6aad");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("9f17fb24",i,!0,{sourceMap:!1,shadowMode:!1})},c87c:function(e,t,n){"use strict";n("8a7d")},c87e:function(e,t,n){var i; + `,this._current.container)},hoe.prototype.open=function(e,t,n,i){if(!e)throw new Error("target is missing");if(!t)throw new Error("providers for <"+t+"> not found");if(!n)throw new Error("position is missing");this.isOpen()&&this.close();const{entries:o,headerEntries:r}=this._getContext(e,t);this._current={position:n,className:t,target:e,entries:o,headerEntries:r,container:this._createContainer({provider:t}),options:i},this._emit("open"),this._bindAutoClose(),this._render()},hoe.prototype._getContext=function(e,t){const n=this._getProviders(t);if(!n||!n.length)throw new Error("provider for <"+t+"> not found");const i=this._getEntries(e,n),o=this._getHeaderEntries(e,n);return{entries:i,headerEntries:o,empty:!(Object.keys(i).length||Object.keys(o).length)}},hoe.prototype.close=function(){this.isOpen()&&(this._emit("close"),this.reset(),this._current=null)},hoe.prototype.reset=function(){const e=this._current.container;bie(null,e),P2(e)},hoe.prototype._emit=function(e,t){this._eventBus.fire("popupMenu."+e,t)},hoe.prototype._onOpened=function(){this._emit("opened")},hoe.prototype._onClosed=function(){this._emit("closed")},hoe.prototype._createContainer=function(e){var t=this._canvas,n=t.getContainer();const i=I2(`
    `);return n.appendChild(i),i},hoe.prototype._bindAutoClose=function(){this._eventBus.once(loe,this.close,this)},hoe.prototype._unbindAutoClose=function(){this._eventBus.off(loe,this.close,this)},hoe.prototype._updateScale=function(){var e,t,n=this._canvas.zoom(),i=this._config.scale,o=n;return!0!==i&&(!1===i?(e=1,t=1):(e=i.min,t=i.max),v1(e)&&nt&&(o=t)),o},hoe.prototype._ensureVisible=function(e,t){var n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect(),o={},r=t.x,s=t.y;return t.x+i.width>n.width&&(o.x=!0),t.y+i.height>n.height&&(o.y=!0),o.x&&o.y?(r=t.x-i.width,s=t.y-i.height):o.x?(r=t.x-i.width,s=t.y):o.y&&t.y0?c(e,t.target):c(t.target,e);return{id:t.target.id,distance:i,weight:n}})),u=h.concat(d).reduce((function(e,t){return e[t.id+"__weight_"+t.weight]=t,e}),{}),p=B1(u,(function(e,t){var n=t.distance,i=t.weight;return n<0||n>a||(e[String(n)]||(e[String(n)]=0),e[String(n)]+=1*i,(!e.distance||e[e.distance]t.top&&(n=n.concat("n")),e.rightt.left&&(n=n.concat("e")),n}function $oe(e){e.invoke(Koe,this)}function qoe(e){boe.call(this,e);var t=this;this.addRule("element.autoResize",(function(e){return t.canResize(e.elements,e.target)}))}function Joe(e,t){qoe.call(this,e),this._modeling=t}Koe.$inject=["eventBus","elementRegistry","modeling","rules"],l1(Koe,Wee),Koe.prototype._getOptimalBounds=function(e,t){var n=this.getOffset(t),i=this.getPadding(t),o=w5(q4(e)),r=w5(t),s={};return o.top-r.topo.threshold)){if($1(r,{x:ire(u.x+l.x),y:ire(u.y+l.y),dx:0,dy:0},{originalEvent:e}),!1===a("start"))return f();o.active=!0,o.keepSelection||(r.previousSelection=n.get(),n.select(null)),o.cursor&&jte(o.cursor),t.addMarker(t.getRootElement(),ore)}oee(e),o.active&&($1(r,{x:ire(p.x+l.x),y:ire(p.y+l.y),dx:ire(g.x),dy:ire(g.y)},{originalEvent:e}),a("move"))}function h(e){var t,n=!0;o.active&&(e&&(o.payload.originalEvent=e,oee(e)),n=a("end")),!1===n&&a("rejected"),t=v(!0!==n),a("ended",t)}function d(e){Ete("Escape",e)&&(rre(e),f())}function u(t){var n;o.active&&(n=Kte(e),setTimeout(n,400),rre(t)),h(t)}function p(e){c(e)}function g(e){var t=o.payload;t.hoverGfx=e.gfx,t.hover=e.element,a("hover")}function m(e){a("out");var t=o.payload;t.hoverGfx=null,t.hover=null}function f(e){var t;if(o){var n=o.active;n&&a("cancel"),t=v(e),n&&a("canceled",t)}}function v(i){var r,s;a("cleanup"),Qte(),s=o.trapClick?u:h,A2.unbind(document,"mousemove",c),A2.unbind(document,"dragstart",rre),A2.unbind(document,"selectstart",rre),A2.unbind(document,"mousedown",s,!0),A2.unbind(document,"mouseup",s,!0),A2.unbind(document,"keyup",d),A2.unbind(document,"touchstart",p,!0),A2.unbind(document,"touchcancel",f,!0),A2.unbind(document,"touchmove",c,!0),A2.unbind(document,"touchend",h,!0),e.off("element.hover",g),e.off("element.out",m),t.removeMarker(t.getRootElement(),ore);var v=o.payload.previousSelection;return!1!==i&&v&&!n.get().length&&l(v),r=o,o=null,r}function b(t,n,i,l){o&&f(!1),"string"===typeof n&&(l=i,i=n,n=null),l=$1({},r,l||{});var v,b,y,_,w,C=l.data||{};_=l.trapClick?u:h,t?(v=iee(t)||t,b=ree(t),oee(t),"dragstart"===v.type&&rre(v)):(v=null,b={x:0,y:0}),y=s(b),n||(n=y),w=sre(v),o=$1({prefix:i,data:C,payload:{},globalStart:b,displacement:Yte(n,y),localStart:y,isTouch:w},l),l.manual||(w?(A2.bind(document,"touchstart",p,!0),A2.bind(document,"touchcancel",f,!0),A2.bind(document,"touchmove",c,!0),A2.bind(document,"touchend",h,!0)):(A2.bind(document,"mousemove",c),A2.bind(document,"dragstart",rre),A2.bind(document,"selectstart",rre),A2.bind(document,"mousedown",_,!0),A2.bind(document,"mouseup",_,!0)),A2.bind(document,"keyup",d),e.on("element.hover",g),e.on("element.out",m)),a("init"),l.autoActivate&&c(t,!0)}e.on("diagram.destroy",f),this.init=b,this.move=c,this.hover=g,this.out=m,this.end=h,this.cancel=f,this.context=function(){return o},this.setOptions=function(e){$1(r,e)}}lre.$inject=["eventBus","canvas","selection","elementRegistry"];var cre={__depends__:[nre,kee],dragging:["type",lre]};function hre(e,t,n){this._canvas=n,this._opts=$1({scrollThresholdIn:[20,20,20,20],scrollThresholdOut:[0,0,0,0],scrollRepeatTimeout:15,scrollStep:10},e);var i=this;t.on("drag.move",(function(e){var t=i._toBorderPoint(e);i.startScroll(t)})),t.on(["drag.cleanup"],(function(){i.stopScroll()}))}function dre(e,t,n){return tf-3&&(n=S5(o.target,m),s===f-2?"intersect"===n&&(p.pop(),p[p.length-1]=m):"intersect"!==n&&p.push(d)),i.newWaypoints=o.waypoints=a(o,p),c(i,v,e),i.newSegmentStartIndex=r+v,l(e)})),t.on("connectionSegment.move.hover",(function(e){e.context.hover=e.hover,n.addMarker(e.hover,rse)})),t.on(["connectionSegment.move.out","connectionSegment.move.cleanup"],(function(e){var t=e.context.hover;t&&n.removeMarker(t,rse)})),t.on("connectionSegment.move.cleanup",(function(e){var t=e.context,i=t.connection;t.draggerGfx&&$2(t.draggerGfx),n.removeMarker(i,sse)})),t.on(["connectionSegment.move.cancel","connectionSegment.move.end"],(function(e){var t=e.context,n=t.connection;n.waypoints=t.originalWaypoints,l(e)})),t.on("connectionSegment.move.end",(function(e){var t=e.context,n=t.connection,i=t.newWaypoints,o=t.newSegmentStartIndex;i=i.map((function(e){return{original:e.original,x:Math.round(e.x),y:Math.round(e.y)}}));var s=h(i,o),l=s.waypoints,c=a(n,l),d=s.segmentOffset,u={segmentMove:{segmentStartIndex:t.segmentStartIndex,newSegmentStartIndex:o+d}};r.updateWaypoints(n,c,u)}))}use.$inject=["injector","eventBus","canvas","dragging","graphicsFactory","modeling"];var pse=Math.abs,gse=Math.round;function mse(e,t,n){var i,o;for(n=void 0===n?10:n,i=0;ie-Ese)return t-i+e}return t}function n(e,t){return e.waypoints?Ore(t,e):e.width?{x:Ase(e.width/2+e.x),y:Ase(e.height/2+e.y)}:void 0}function i(e){var t=e.context,i=t.snapPoints,o=t.connection,r=o.waypoints,s=t.segmentStart,a=t.segmentStartIndex,l=t.segmentEnd,c=t.segmentEndIndex,h=t.axis;if(i)return i;var d=[r[a-1],s,l,r[c+1]];return a<2&&d.unshift(n(o.source,e)),c>r.length-3&&d.unshift(n(o.target,e)),t.snapPoints=i={horizontal:[],vertical:[]},L1(d,(function(e){e&&(e=e.original||e,"y"===h&&i.horizontal.push(e.y),"x"===h&&i.vertical.push(e.x))})),i}function o(e){var t=e.snapPoints,n=e.connection.waypoints,i=e.bendpointIndex;if(t)return t;var o=[n[i-1],n[i+1]];return e.snapPoints=t={horizontal:[],vertical:[]},L1(o,(function(e){e&&(e=e.original||e,t.horizontal.push(e.y),t.vertical.push(e.x))})),t}e.on("connectionSegment.move.move",1500,(function(e){var n,o,r=i(e),s=e.x,a=e.y;if(r){n=t(r.vertical,s),o=t(r.horizontal,a);var l=s-n,c=a-o;$1(e,{dx:e.dx-l,dy:e.dy-c,x:n,y:o}),(l||-1!==r.vertical.indexOf(s))&&_se(e,"x",n),(c||-1!==r.horizontal.indexOf(a))&&_se(e,"y",o)}})),e.on(["connect.hover","connect.move","connect.end"],1500,(function(e){var t=e.context,i=t.hover,o=i&&n(i,e);v5(i)&&o&&o.x&&o.y&&(_se(e,"x",o.x),_se(e,"y",o.y))})),e.on(["bendpoint.move.move","bendpoint.move.end"],1500,(function(e){var i,r,s=e.context,a=o(s),l=s.hover,c=l&&n(l,e),h=e.x,d=e.y;if(a){i=t(c?a.vertical.concat([c.x]):a.vertical,h),r=t(c?a.horizontal.concat([c.y]):a.horizontal,d);var u=h-i,p=d-r;$1(e,{dx:e.dx-u,dy:e.dy-p,x:e.x-u,y:e.y-p}),(u||-1!==a.vertical.indexOf(h))&&_se(e,"x",i),(p||-1!==a.horizontal.indexOf(d))&&_se(e,"y",r)}}))}xse.$inject=["eventBus"];var Sse={__depends__:[cre,gre],__init__:["bendpoints","bendpointSnapping","bendpointMovePreview"],bendpoints:["type",Wre],bendpointMove:["type",Gre],bendpointMovePreview:["type",ose],connectionSegmentMove:["type",use],bendpointSnapping:["type",xse]};function Dse(e,t,n,i){function o(e,t){return i.allowed("connection.create",{source:e,target:t})}function r(e,t){return o(t,e)}e.on("connect.hover",(function(e){var t,n=e.context,i=n.start,s=e.hover;if(n.hover=s,t=n.canExecute=o(i,s),!b1(t)){if(!1!==t)return n.source=i,void(n.target=s);t=n.canExecute=r(i,s),b1(t)||!1!==t&&(n.source=s,n.target=i)}})),e.on(["connect.out","connect.cleanup"],(function(e){var t=e.context;t.hover=null,t.source=null,t.target=null,t.canExecute=!1})),e.on("connect.end",(function(e){var t=e.context,i=t.canExecute,o=t.connectionStart,r={x:e.x,y:e.y},s=t.source,a=t.target;if(!i)return!1;var l=null,c={connectionStart:kse(t)?r:o,connectionEnd:kse(t)?o:r};_1(i)&&(l=i),t.connection=n.connect(s,a,l,c)})),this.start=function(e,n,i,o){_1(i)||(o=i,i=x5(n)),t.init(e,"connect",{autoActivate:o,data:{shape:n,context:{start:n,connectionStart:i}}})}}function kse(e){var t=e.hover,n=e.source,i=e.target;return t&&n&&t===n&&n!==i}Dse.$inject=["eventBus","dragging","modeling","rules"];var Lse=1100,Mse=900,Bse="connect-ok",Nse="connect-not-ok";function Ise(e,t,n){var i=e.get("connectionPreview",!1);i&&t.on("connect.move",(function(e){var t=e.context,n=t.canExecute,o=t.hover,r=t.source,s=t.start,a=t.startPosition,l=t.target,c=t.connectionStart||a,h=t.connectionEnd||{x:e.x,y:e.y},d=c,u=h;kse(t)&&(d=h,u=c),i.drawPreview(t,n,{source:r||s,target:l||o,connectionStart:d,connectionEnd:u})})),t.on("connect.hover",Mse,(function(e){var t=e.context,i=e.hover,o=t.canExecute;null!==o&&n.addMarker(i,o?Bse:Nse)})),t.on(["connect.out","connect.cleanup"],Lse,(function(e){var t=e.hover;t&&(n.removeMarker(t,Bse),n.removeMarker(t,Nse))})),i&&t.on("connect.cleanup",(function(e){i.cleanUp(e.context)}))}Ise.$inject=["injector","eventBus","canvas"];var Tse={__depends__:[kee,gre,cre],__init__:["connectPreview"],connect:["type",Dse],connectPreview:["type",Ise]},Rse="djs-connection-preview";function Pse(e,t,n,i){this._canvas=t,this._graphicsFactory=n,this._elementFactory=i,this._connectionDocking=e.get("connectionDocking",!1),this._layouter=e.get("layouter",!1)}function Fse(e){var t={};return function(n){var i=JSON.stringify(n),o=t[i];return o||(o=t[i]=e.apply(null,arguments)),o}}function Ose(e){return _1(e)?e:{}}Pse.$inject=["injector","canvas","graphicsFactory","elementFactory"],Pse.prototype.drawPreview=function(e,t,n){n=n||{};var i,o=e.connectionPreviewGfx,r=e.getConnection,s=n.source,a=n.target,l=n.waypoints,c=n.connectionStart,h=n.connectionEnd,d=n.noLayout,u=n.noCropping,p=n.noNoop,g=this;o||(o=e.connectionPreviewGfx=this.createConnectionPreviewGfx()),q2(o),r||(r=e.getConnection=Fse((function(e,t,n){return g.getConnection(e,t,n)}))),t&&(i=r(t,s,a)),i?(i.waypoints=l||[],this._layouter&&!d&&(i.waypoints=this._layouter.layoutConnection(i,{source:s,target:a,connectionStart:c,connectionEnd:h,waypoints:n.waypoints||i.waypoints})),i.waypoints&&i.waypoints.length||(i.waypoints=[s?x5(s):c,a?x5(a):h]),this._connectionDocking&&(s||a)&&!u&&(i.waypoints=this._connectionDocking.getCroppedWaypoints(i,s,a)),this._graphicsFactory.drawConnection(o,i)):!p&&this.drawNoopPreview(o,n)},Pse.prototype.drawNoopPreview=function(e,t){var n=t.source,i=t.target,o=t.connectionStart||x5(n),r=t.connectionEnd||x5(i),s=this.cropWaypoints(o,r,n,i),a=this.createNoopConnection(s[0],s[1]);z2(e,a)},Pse.prototype.cropWaypoints=function(e,t,n,i){var o=this._graphicsFactory,r=n&&o.getShapePath(n),s=i&&o.getShapePath(i),a=o.getConnectionPath({waypoints:[e,t]});return e=n&&D5(r,a,!0)||e,t=i&&D5(s,a,!1)||t,[e,t]},Pse.prototype.cleanUp=function(e){e&&e.connectionPreviewGfx&&$2(e.connectionPreviewGfx)},Pse.prototype.getConnection=function(e){var t=Ose(e);return this._elementFactory.createConnection(t)},Pse.prototype.createConnectionPreviewGfx=function(){var e=n4("g");return U2(e,{pointerEvents:"none"}),G2(e).add(Rse),z2(this._canvas.getActiveLayer(),e),e},Pse.prototype.createNoopConnection=function(e,t){return W4([e,t],{stroke:"#333",strokeDasharray:[1],strokeWidth:2,"pointer-events":"none"})};var zse={__init__:["connectionPreview"],connectionPreview:["type",Pse]},Vse=Math.min,Wse=Math.max;function Hse(e){e.preventDefault()}function jse(e){e.stopPropagation()}function Qse(e){return e.nodeType===Node.TEXT_NODE}function Use(e){return[].slice.call(e)}function Kse(e){this.container=e.container,this.parent=I2('
    '),this.content=T2("[contenteditable]",this.parent),this.keyHandler=e.keyHandler||function(){},this.resizeHandler=e.resizeHandler||function(){},this.autoResize=Y1(this.autoResize,this),this.handlePaste=Y1(this.handlePaste,this)}function Gse(e){return e.replace(/\r\n|\r|\n/g,"\n")}function Yse(e,t){this._eventBus=e,this._providers=[],this._textbox=new Kse({container:t.getContainer(),keyHandler:Y1(this._handleKey,this),resizeHandler:Y1(this._handleResize,this)})}Kse.prototype.create=function(e,t,n,i){var o=this,r=this.parent,s=this.content,a=this.container;i=this.options=i||{},t=this.style=t||{};var l=J1(t,["width","height","maxWidth","maxHeight","minWidth","minHeight","left","top","backgroundColor","position","overflow","border","wordWrap","textAlign","outline","transform"]);$1(r.style,{width:e.width+"px",height:e.height+"px",maxWidth:e.maxWidth+"px",maxHeight:e.maxHeight+"px",minWidth:e.minWidth+"px",minHeight:e.minHeight+"px",left:e.x+"px",top:e.y+"px",backgroundColor:"#ffffff",position:"absolute",overflow:"visible",border:"1px solid #ccc",boxSizing:"border-box",wordWrap:"normal",textAlign:"center",outline:"none"},l);var c=J1(t,["fontFamily","fontSize","fontWeight","lineHeight","padding","paddingTop","paddingRight","paddingBottom","paddingLeft"]);return $1(s.style,{boxSizing:"border-box",width:"100%",outline:"none",wordWrap:"break-word"},c),i.centerVertically&&$1(s.style,{position:"absolute",top:"50%",transform:"translate(0, -50%)"},c),s.innerText=n,A2.bind(s,"keydown",this.keyHandler),A2.bind(s,"mousedown",jse),A2.bind(s,"paste",o.handlePaste),i.autoResize&&A2.bind(s,"input",this.autoResize),i.resizable&&this.resizable(t),a.appendChild(r),this.setSelection(s.lastChild,s.lastChild&&s.lastChild.length),r},Kse.prototype.handlePaste=function(e){var t,n=this.options,i=this.style;if(e.preventDefault(),t=e.clipboardData?e.clipboardData.getData("text/plain"):window.clipboardData.getData("Text"),this.insertText(t),n.autoResize){var o=this.autoResize(i);o&&this.resizeHandler(o)}},Kse.prototype.insertText=function(e){e=Gse(e);var t=document.execCommand("insertText",!1,e);t||this._insertTextIE(e)},Kse.prototype._insertTextIE=function(e){var t,n,i=this.getSelection(),o=i.startContainer,r=i.endContainer,s=i.startOffset,a=i.endOffset,l=i.commonAncestorContainer,c=Use(l.childNodes);if(Qse(l)){var h=o.textContent;o.textContent=h.substring(0,s)+e+h.substring(a),t=o,n=s+e.length}else if(o===this.content&&r===this.content){var d=document.createTextNode(e);this.content.insertBefore(d,c[s]),t=d,n=d.textContent.length}else{var u=c.indexOf(o),p=c.indexOf(r);c.forEach((function(t,n){n===u?t.textContent=o.textContent.substring(0,s)+e+r.textContent.substring(a):n>u&&n<=p&&P2(t)})),t=o,n=s+e.length}t&&void 0!==n&&setTimeout((function(){self.setSelection(t,n)}))},Kse.prototype.autoResize=function(){var e=this.parent,t=this.content,n=parseInt(this.style.fontSize)||12;if(t.scrollHeight>e.offsetHeight||t.scrollHeight
    ');var d=function(e){Hse(e),jse(e),a=e.clientX,l=e.clientY;var n=t.getBoundingClientRect();c=n.width,h=n.height,A2.bind(document,"mousemove",u),A2.bind(document,"mouseup",p)},u=function(n){Hse(n),jse(n);var d=Vse(Wse(c+n.clientX-a,i),r),u=Vse(Wse(h+n.clientY-l,o),s);t.style.width=d+"px",t.style.height=u+"px",e.resizeHandler({width:c,height:h,dx:n.clientX-a,dy:n.clientY-l})},p=function(e){Hse(e),jse(e),A2.unbind(document,"mousemove",u,!1),A2.unbind(document,"mouseup",p,!1)};A2.bind(n,"mousedown",d)}$1(n.style,{position:"absolute",bottom:"0px",right:"0px",cursor:"nwse-resize",width:"0",height:"0",borderTop:(parseInt(this.style.fontSize)/4||3)+"px solid transparent",borderRight:(parseInt(this.style.fontSize)/4||3)+"px solid #ccc",borderBottom:(parseInt(this.style.fontSize)/4||3)+"px solid #ccc",borderLeft:(parseInt(this.style.fontSize)/4||3)+"px solid transparent"}),t.appendChild(n)},Kse.prototype.destroy=function(){var e=this.parent,t=this.content,n=this.resizeHandle;t.innerText="",e.removeAttribute("style"),t.removeAttribute("style"),A2.unbind(t,"keydown",this.keyHandler),A2.unbind(t,"mousedown",jse),A2.unbind(t,"input",this.autoResize),A2.unbind(t,"paste",this.handlePaste),n&&(n.removeAttribute("style"),P2(n)),P2(e)},Kse.prototype.getValue=function(){return this.content.innerText.trim()},Kse.prototype.getSelection=function(){var e=window.getSelection(),t=e.getRangeAt(0);return t},Kse.prototype.setSelection=function(e,t){var n=document.createRange();null===e?n.selectNodeContents(this.content):(n.setStart(e,t),n.setEnd(e,t));var i=window.getSelection();i.removeAllRanges(),i.addRange(n)},Yse.$inject=["eventBus","canvas"],Yse.prototype.registerProvider=function(e){this._providers.push(e)},Yse.prototype.isActive=function(e){return!(!this._active||e&&this._active.element!==e)},Yse.prototype.cancel=function(){this._active&&(this._fire("cancel"),this.close())},Yse.prototype._fire=function(e,t){this._eventBus.fire("directEditing."+e,t||{active:this._active})},Yse.prototype.close=function(){this._textbox.destroy(),this._fire("deactivate"),this._active=null,this.resizable=void 0},Yse.prototype.complete=function(){var e=this._active;if(e){var t,n=e.context.bounds,i=this.$textbox.getBoundingClientRect(),o=this.getValue(),r=e.context.text;o===r&&i.height===n.height&&i.width===n.width||(t=this._textbox.container.getBoundingClientRect(),e.provider.update(e.element,o,e.context.text,{x:i.left-t.left,y:i.top-t.top,width:i.width,height:i.height})),this._fire("complete"),this.close()}},Yse.prototype.getValue=function(){return this._textbox.getValue()},Yse.prototype._handleKey=function(e){e.stopPropagation();var t=e.keyCode||e.charCode;return 27===t?(e.preventDefault(),this.cancel()):13!==t||e.shiftKey?void 0:(e.preventDefault(),this.complete())},Yse.prototype._handleResize=function(e){this._fire("resize",e)},Yse.prototype.activate=function(e){var t;this.isActive()&&this.cancel();var n=S1(this._providers,(function(n){return(t=n.activate(e))?n:null}));return t&&(this.$textbox=this._textbox.create(t.bounds,t.style,t.text,t.options),this._active={element:e,context:t,provider:n},t.options&&t.options.resizable&&(this.resizable=!0),this._fire("activate")),!!t};var $se={__depends__:[fee],__init__:["directEditing"],directEditing:["type",Yse]},qse=["marker-start","marker-mid","marker-end"],Jse=["circle","ellipse","line","path","polygon","polyline","path","rect"];function Xse(e,t,n,i){this._elementRegistry=e,this._canvas=n,this._styles=i,this._clonedMarkers={};var o=this;t.on("drag.cleanup",(function(){L1(o._clonedMarkers,(function(e){$2(e)})),o._clonedMarkers={}}))}function Zse(e,t,n){var i=eae(U2(e,t));return T2("marker#"+i,n||document)}function eae(e){return e.match(/url\(['"]?#([^'"]*)['"]?\)/)[1]}function tae(e){return"url(#"+e+")"}function nae(e){return-1!==Jse.indexOf(e.nodeName)}Xse.$inject=["elementRegistry","eventBus","canvas","styles"],Xse.prototype.getGfx=function(e){return this._elementRegistry.getGraphics(e)},Xse.prototype.addDragger=function(e,t,n){n=n||this.getGfx(e);var i=J2(n),o=n.getBoundingClientRect();return this._cloneMarkers(u3(i)),U2(i,this._styles.cls("djs-dragger",[],{x:o.top,y:o.left})),z2(t,i),i},Xse.prototype.addFrame=function(e,t){var n=n4("rect",{class:"djs-resize-overlay",width:e.width,height:e.height,x:e.x,y:e.y});return z2(t,n),n},Xse.prototype._cloneMarkers=function(e){var t=this;if(e.childNodes)for(var n=0;n=120&&$1(h,{"lane-divide-two":{group:"lane-divide",className:"bpmn-icon-lane-divide-two",title:c("Divide into two Lanes"),action:{click:f(2)}}}),e.height>=180&&$1(h,{"lane-divide-three":{group:"lane-divide",className:"bpmn-icon-lane-divide-three",title:c("Divide into three Lanes"),action:{click:f(3)}}})),$1(h,{"lane-insert-below":{group:"lane-insert-below",className:"bpmn-icon-lane-insert-below",title:c("Add Lane below"),action:{click:function(e,t){n.addLane(t,"bottom")}}}})}u9(d,"bpmn:FlowNode")&&(u9(d,"bpmn:EventBasedGateway")?$1(h,{"append.receive-task":m("bpmn:ReceiveTask","bpmn-icon-receive-task",c("Append ReceiveTask")),"append.message-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-message",c("Append MessageIntermediateCatchEvent"),{eventDefinitionType:"bpmn:MessageEventDefinition"}),"append.timer-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-timer",c("Append TimerIntermediateCatchEvent"),{eventDefinitionType:"bpmn:TimerEventDefinition"}),"append.condition-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-condition",c("Append ConditionIntermediateCatchEvent"),{eventDefinitionType:"bpmn:ConditionalEventDefinition"}),"append.signal-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-signal",c("Append SignalIntermediateCatchEvent"),{eventDefinitionType:"bpmn:SignalEventDefinition"})}):Tle(d,"bpmn:BoundaryEvent","bpmn:CompensateEventDefinition")?$1(h,{"append.compensation-activity":m("bpmn:Task","bpmn-icon-task",c("Append compensation activity"),{isForCompensation:!0})}):u9(d,"bpmn:EndEvent")||d.isForCompensation||Tle(d,"bpmn:IntermediateThrowEvent","bpmn:LinkEventDefinition")||W9(d)||$1(h,{"append.end-event":m("bpmn:EndEvent","bpmn-icon-end-event-none",c("Append EndEvent")),"append.gateway":m("bpmn:ExclusiveGateway","bpmn-icon-gateway-none",c("Append Gateway")),"append.append-task":m("bpmn:Task","bpmn-icon-task",c("Append Task")),"append.intermediate-event":m("bpmn:IntermediateThrowEvent","bpmn-icon-intermediate-event-none",c("Append Intermediate/Boundary Event"))})),s.isEmpty(e,"bpmn-replace")||$1(h,{replace:{group:"edit",className:"bpmn-icon-screw-wrench",title:c("Change type"),action:{click:function(e,t){var n=$1(g(t),{cursor:{x:e.x,y:e.y}});s.open(t,"bpmn-replace",n,{title:c("Change element"),width:300,search:!0})}}}}),u9(d,"bpmn:SequenceFlow")&&$1(h,{"append.text-annotation":m("bpmn:TextAnnotation","bpmn-icon-text-annotation")}),p9(d,["bpmn:FlowNode","bpmn:InteractionNode","bpmn:DataObjectReference","bpmn:DataStoreReference"])&&$1(h,{"append.text-annotation":m("bpmn:TextAnnotation","bpmn-icon-text-annotation"),connect:{group:"connect",className:"bpmn-icon-connection-multi",title:c("Connect using "+(d.isForCompensation?"":"Sequence/MessageFlow or ")+"Association"),action:{click:u,dragstart:u}}}),u9(d,"bpmn:TextAnnotation")&&$1(h,{connect:{group:"connect",className:"bpmn-icon-connection-multi",title:c("Connect using Association"),action:{click:u,dragstart:u}}}),p9(d,["bpmn:DataObjectReference","bpmn:DataStoreReference"])&&$1(h,{connect:{group:"connect",className:"bpmn-icon-connection-multi",title:c("Connect using DataInputAssociation"),action:{click:u,dragstart:u}}}),u9(d,"bpmn:Group")&&$1(h,{"append.text-annotation":m("bpmn:TextAnnotation","bpmn-icon-text-annotation")});var b=a.allowed("elements.delete",{elements:[e]});return y1(b)&&(b=b[0]===e),b&&$1(h,{delete:{group:"edit",className:"bpmn-icon-trash",title:c("Remove"),action:{click:p}}}),h};var Ple={__depends__:[$se,Hne,kee,Tse,mae,hle],__init__:["contextPadProvider"],contextPadProvider:["type",Ile]},Fle={horizontal:["x","width"],vertical:["y","height"]},Ole=5;function zle(e,t){this._modeling=e,this._filters=[],this.registerFilter((function(e){var n=t.allowed("elements.distribute",{elements:e});return y1(n)?n:n?e:[]}))}zle.$inject=["modeling","rules"],zle.prototype.registerFilter=function(e){if("function"!==typeof e)throw new Error("the filter has to be a function");this._filters.push(e)},zle.prototype.trigger=function(e,t){var n,i,o=this._modeling;if(!(e.length<3)&&(this._setOrientation(t),i=this._filterElements(e),n=this._createGroups(i),!(n.length<=2)))return o.distributeElements(n,this._axis,this._dimension),n},zle.prototype._filterElements=function(e){var t=this._filters,n=this._axis,i=this._dimension,o=[].concat(e);return t.length?(L1(t,(function(e){o=e(o,n,i)})),o):e},zle.prototype._createGroups=function(e){var t=[],n=this,i=this._axis,o=this._dimension;if(!i)throw new Error('must have a defined "axis" and "dimension"');var r=W1(e,i);return L1(r,(function(e,r){var s,a=n._findRange(e,i,o),l=t[t.length-1];l&&n._hasIntersection(l.range,a)?t[t.length-1].elements.push(e):(s={range:a,elements:[e]},t.push(s))})),t},zle.prototype._setOrientation=function(e){var t=Fle[e];this._axis=t[0],this._dimension=t[1]},zle.prototype._hasIntersection=function(e,t){return Math.max(e.min,e.max)>=Math.min(t.min,t.max)&&Math.min(e.min,e.max)<=Math.max(t.min,t.max)},zle.prototype._findRange=function(e){var t=e[this._axis],n=e[this._dimension];return{min:t+Ole,max:t+n-Ole}};var Vle={__init__:["distributeElements"],distributeElements:["type",zle]};function Wle(e){boe.call(this,e)}Wle.$inject=["eventBus"],l1(Wle,boe),Wle.prototype.init=function(){this.addRule("elements.distribute",(function(e){var t=e.elements;return t=k1(t,(function(e){var t=p9(e,["bpmn:Association","bpmn:BoundaryEvent","bpmn:DataInputAssociation","bpmn:DataOutputAssociation","bpmn:Lane","bpmn:MessageFlow","bpmn:SequenceFlow","bpmn:TextAnnotation"]);return!(e.labelTarget||t)})),t=j4(t),!(t.length<3)&&t}))};var Hle={horizontal:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201800%201800%22%3E%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bstroke-linejoin%3Around%22%20d%3D%22M450%20400V150h900v250%22%2F%3E%3Crect%20x%3D%22150%22%20y%3D%22450%22%20width%3D%22600%22%20height%3D%221200%22%20rx%3D%221%22%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%22%2F%3E%3Crect%20x%3D%221050%22%20y%3D%22450%22%20width%3D%22600%22%20height%3D%22800%22%20rx%3D%221%22%20style%3D%22fill%3AcurrentColor%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bopacity%3A.5%22%2F%3E%3C%2Fsvg%3E",vertical:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201800%201800%22%3E%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bstroke-linejoin%3Around%22%20d%3D%22M400%201350H150V450h250%22%2F%3E%3Crect%20x%3D%22450%22%20y%3D%22150%22%20width%3D%221200%22%20height%3D%22600%22%20rx%3D%221%22%20style%3D%22fill%3Anone%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%22%2F%3E%3Crect%20x%3D%22450%22%20y%3D%221050%22%20width%3D%22800%22%20height%3D%22600%22%20rx%3D%221%22%20style%3D%22fill%3AcurrentColor%3Bstroke%3AcurrentColor%3Bstroke-width%3A100%3Bopacity%3A.5%22%2F%3E%3C%2Fsvg%3E"},jle=Hle,Qle=900;function Ule(e,t,n,i){this._distributeElements=t,this._translate=n,this._popupMenu=e,this._rules=i,e.registerProvider("align-elements",Qle,this)}Ule.$inject=["popupMenu","distributeElements","translate","rules"],Ule.prototype.getPopupMenuEntries=function(e){var t={};return this._isAllowed(e)&&$1(t,this._getEntries(e)),t},Ule.prototype._isAllowed=function(e){return this._rules.allowed("elements.distribute",{elements:e})},Ule.prototype._getEntries=function(e){var t=this._distributeElements,n=this._translate,i=this._popupMenu,o={"distribute-elements-horizontal":{group:"distribute",title:n("Distribute elements horizontally"),className:"bjs-align-elements-menu-entry",imageUrl:jle["horizontal"],action:function(n,o){t.trigger(e,"horizontal"),i.close()}},"distribute-elements-vertical":{group:"distribute",title:n("Distribute elements vertically"),imageUrl:jle["vertical"],action:function(n,o){t.trigger(e,"vertical"),i.close()}}};return o};var Kle={__depends__:[doe,Vle],__init__:["bpmnDistributeElements","distributeElementsMenuProvider"],bpmnDistributeElements:["type",Wle],distributeElementsMenuProvider:["type",Ule]},Gle="is not a registered action",Yle="is already registered";function $le(e,t){this._actions={};var n=this;e.on("diagram.init",(function(){n._registerDefaultActions(t),e.fire("editorActions.init",{editorActions:n})}))}function qle(e,t){return new Error(e+" "+t)}$le.$inject=["eventBus","injector"],$le.prototype._registerDefaultActions=function(e){var t=e.get("commandStack",!1),n=e.get("modeling",!1),i=e.get("selection",!1),o=e.get("zoomScroll",!1),r=e.get("copyPaste",!1),s=e.get("canvas",!1),a=e.get("rules",!1),l=e.get("keyboardMove",!1),c=e.get("keyboardMoveSelection",!1);t&&(this.register("undo",(function(){t.undo()})),this.register("redo",(function(){t.redo()}))),r&&i&&this.register("copy",(function(){var e=i.get();if(e.length)return r.copy(e)})),r&&this.register("paste",(function(){r.paste()})),o&&this.register("stepZoom",(function(e){o.stepZoom(e.value)})),s&&this.register("zoom",(function(e){s.zoom(e.value)})),n&&i&&a&&this.register("removeSelection",(function(){var e=i.get();if(e.length){var t,o=a.allowed("elements.delete",{elements:e});!1!==o&&(t=y1(o)?o:e,t.length&&n.removeElements(t.slice()))}})),l&&this.register("moveCanvas",(function(e){l.moveCanvas(e)})),c&&this.register("moveSelection",(function(e){c.moveSelection(e.direction,e.accelerated)}))},$le.prototype.trigger=function(e,t){if(!this._actions[e])throw qle(e,Gle);return this._actions[e](t)},$le.prototype.register=function(e,t){var n=this;if("string"===typeof e)return this._registerAction(e,t);L1(e,(function(e,t){n._registerAction(t,e)}))},$le.prototype._registerAction=function(e,t){if(this.isRegistered(e))throw qle(e,Yle);this._actions[e]=t},$le.prototype.unregister=function(e){if(!this.isRegistered(e))throw qle(e,Gle);this._actions[e]=void 0},$le.prototype.getActions=function(){return Object.keys(this._actions)},$le.prototype.isRegistered=function(e){return!!this._actions[e]};var Jle={__init__:["editorActions"],editorActions:["type",$le]};function Xle(e){e.invoke($le,this)}l1(Xle,$le),Xle.$inject=["injector"],Xle.prototype._registerDefaultActions=function(e){$le.prototype._registerDefaultActions.call(this,e);var t=e.get("canvas",!1),n=e.get("elementRegistry",!1),i=e.get("selection",!1),o=e.get("spaceTool",!1),r=e.get("lassoTool",!1),s=e.get("handTool",!1),a=e.get("globalConnect",!1),l=e.get("distributeElements",!1),c=e.get("alignElements",!1),h=e.get("directEditing",!1),d=e.get("searchPad",!1),u=e.get("modeling",!1),p=e.get("contextPad",!1);t&&n&&i&&this._registerAction("selectElements",(function(){var e=t.getRootElement(),o=n.filter((function(t){return t!==e}));return i.select(o),o})),o&&this._registerAction("spaceTool",(function(){o.toggle()})),r&&this._registerAction("lassoTool",(function(){r.toggle()})),s&&this._registerAction("handTool",(function(){s.toggle()})),a&&this._registerAction("globalConnectTool",(function(){a.toggle()})),i&&l&&this._registerAction("distributeElements",(function(e){var t=i.get(),n=e.type;t.length&&l.trigger(t,n)})),i&&c&&this._registerAction("alignElements",(function(e){var t=i.get(),n=[],o=e.type;t.length&&(n=k1(t,(function(e){return!u9(e,"bpmn:Lane")})),c.trigger(n,o))})),i&&u&&this._registerAction("setColor",(function(e){var t=i.get();t.length&&u.setColor(t,e)})),i&&h&&this._registerAction("directEditing",(function(){var e=i.get();e.length&&h.activate(e[0])})),d&&this._registerAction("find",(function(){d.toggle()})),t&&u&&this._registerAction("moveToOrigin",(function(){var e,i,o=t.getRootElement();i=u9(o,"bpmn:Collaboration")?n.filter((function(e){return u9(e.parent,"bpmn:Collaboration")})):n.filter((function(e){return e!==o&&!u9(e.parent,"bpmn:SubProcess")})),e=q4(i),u.moveElements(i,{x:-e.x,y:-e.y},o)})),i&&p&&this._registerAction("replaceElement",(function(e){p.triggerEntry("replace","click",e)}))};var Zle={__depends__:[Jle],editorActions:["type",Xle]};function ece(e){e.on(["create.init","shape.move.init"],(function(e){var t=e.context,n=e.shape;p9(n,["bpmn:Participant","bpmn:SubProcess","bpmn:TextAnnotation"])&&(t.gridSnappingContext||(t.gridSnappingContext={}),t.gridSnappingContext.snapLocation="top-left")}))}ece.$inject=["eventBus"];var tce=10;function nce(e,t,n){return n||(n="round"),Math[n](e/t)*t}var ice=1200,oce=800;function rce(e,t,n){var i=!n||!1!==n.active;this._eventBus=t;var o=this;t.on("diagram.init",oce,(function(){o.setActive(i)})),t.on(["create.move","create.end","bendpoint.move.move","bendpoint.move.end","connect.move","connect.end","connectionSegment.move.move","connectionSegment.move.end","resize.move","resize.end","shape.move.move","shape.move.end"],ice,(function(t){var n=t.originalEvent;if(!(!o.active||n&&Ate(n))){var i=t.context,r=i.gridSnappingContext;r||(r=i.gridSnappingContext={}),["x","y"].forEach((function(n){var i={},r=ace(t,n,e);r&&(i.offset=r);var s=sce(t,n);s&&$1(i,s),yse(t,n)||o.snapEvent(t,n,i)}))}}))}function sce(e,t){var n=e.context,i=n.createConstraints,o=n.resizeConstraints||{},r=n.gridSnappingContext,s=r.snapConstraints;if(s&&s[t])return s[t];s||(s=r.snapConstraints={}),s[t]||(s[t]={});var a=n.direction;i&&(lce(t)?(s.x.min=i.left,s.x.max=i.right):(s.y.min=i.top,s.y.max=i.bottom));var l=o.min,c=o.max;return l&&(lce(t)?hce(a)?s.x.max=l.left:s.x.min=l.right:cce(a)?s.y.max=l.top:s.y.min=l.bottom),c&&(lce(t)?hce(a)?s.x.min=c.left:s.x.max=c.right:cce(a)?s.y.min=c.top:s.y.max=c.bottom),s[t]}function ace(e,t,n){var i=e.context,o=e.shape,r=i.gridSnappingContext,s=r.snapLocation,a=r.snapOffset;return a&&w1(a[t])?a[t]:(a||(a=r.snapOffset={}),w1(a[t])||(a[t]=0),o?(n.get(o.id)||(lce(t)?a[t]+=o[t]+o.width/2:a[t]+=o[t]+o.height/2),s?("x"===t?/left/.test(s)?a[t]-=o.width/2:/right/.test(s)&&(a[t]+=o.width/2):/top/.test(s)?a[t]-=o.height/2:/bottom/.test(s)&&(a[t]+=o.height/2),a[t]):a[t]):a[t])}function lce(e){return"x"===e}function cce(e){return-1!==e.indexOf("n")}function hce(e){return-1!==e.indexOf("w")}function dce(e,t){Wee.call(this,e),this._gridSnapping=t;var n=this;this.preExecute("shape.resize",(function(e){var t=e.context,i=t.hints||{},o=i.autoResize;if(o){var r=t.shape,s=t.newBounds;A1(o)?t.newBounds=n.snapComplex(s,o):t.newBounds=n.snapSimple(r,s)}}))}rce.prototype.snapEvent=function(e,t,n){var i=this.snapValue(e[t],n);_se(e,t,i)},rce.prototype.getGridSpacing=function(){return tce},rce.prototype.snapValue=function(e,t){var n,i,o=0;return t&&t.offset&&(o=t.offset),e+=o,e=nce(e,tce),t&&t.min&&(n=t.min,w1(n)&&(n=nce(n+o,tce,"ceil"),e=Math.max(e,n))),t&&t.max&&(i=t.max,w1(i)&&(i=nce(i+o,tce,"floor"),e=Math.min(e,i))),e-=o,e},rce.prototype.isActive=function(){return this.active},rce.prototype.setActive=function(e){this.active=e,this._eventBus.fire("gridSnapping.toggle",{active:e})},rce.prototype.toggleActive=function(){this.setActive(!this.active)},rce.$inject=["elementRegistry","eventBus","config.gridSnapping"],dce.$inject=["eventBus","gridSnapping","modeling"],l1(dce,Wee),dce.prototype.snapSimple=function(e,t){var n=this._gridSnapping;return t.width=n.snapValue(t.width,{min:t.width}),t.height=n.snapValue(t.height,{min:t.height}),t.x=e.x+e.width/2-t.width/2,t.y=e.y+e.height/2-t.height/2,t},dce.prototype.snapComplex=function(e,t){return/w|e/.test(t)&&(e=this.snapHorizontally(e,t)),/n|s/.test(t)&&(e=this.snapVertically(e,t)),e},dce.prototype.snapHorizontally=function(e,t){var n=this._gridSnapping,i=/w/.test(t),o=/e/.test(t),r={};return r.width=n.snapValue(e.width,{min:e.width}),o&&(i?(r.x=n.snapValue(e.x,{max:e.x}),r.width+=n.snapValue(e.x-r.x,{min:e.x-r.x})):e.x=e.x+e.width-r.width),$1(e,r),e},dce.prototype.snapVertically=function(e,t){var n=this._gridSnapping,i=/n/.test(t),o=/s/.test(t),r={};return r.height=n.snapValue(e.height,{min:e.height}),i&&(o?(r.y=n.snapValue(e.y,{max:e.y}),r.height+=n.snapValue(e.y-r.y,{min:e.y-r.y})):e.y=e.y+e.height-r.height),$1(e,r),e};var uce=2e3;function pce(e,t){e.on(["spaceTool.move","spaceTool.end"],uce,(function(e){var n=e.context;if(n.initialized){var i,o=n.axis;"x"===o?(i=t.snapValue(e.dx),e.x=e.x+i-e.dx,e.dx=i):(i=t.snapValue(e.dy),e.y=e.y+i-e.dy,e.dy=i)}}))}pce.$inject=["eventBus","gridSnapping"];var gce={__init__:["gridSnappingResizeBehavior","gridSnappingSpaceToolBehavior"],gridSnappingResizeBehavior:["type",dce],gridSnappingSpaceToolBehavior:["type",pce]},mce={__depends__:[gce],__init__:["gridSnapping"],gridSnapping:["type",rce]},fce=2e3;function vce(e,t){e.on("autoPlace",fce,(function(e){var n=e.source,i=x5(n),o=e.shape,r=Ooe(n,o);return["x","y"].forEach((function(e){var n={};r[e]!==i[e]&&(r[e]>i[e]?n.min=r[e]:n.max=r[e],u9(o,"bpmn:TextAnnotation")&&(bce(e)?n.offset=-o.width/2:n.offset=-o.height/2),r[e]=t.snapValue(r[e],n))})),r}))}function bce(e){return"x"===e}vce.$inject=["eventBus","gridSnapping"];var yce=1750;function _ce(e,t,n){t.on(["create.start","shape.move.start"],yce,(function(t){var i=t.context,o=i.shape,r=e.getRootElement();if(u9(o,"bpmn:Participant")&&u9(r,"bpmn:Process")&&r.children.length){var s=i.createConstraints;s&&(o.width=n.snapValue(o.width,{min:o.width}),o.height=n.snapValue(o.height,{min:o.height}))}}))}_ce.$inject=["canvas","eventBus","gridSnapping"];var wce=3e3;function Cce(e,t,n){Wee.call(this,e),this._gridSnapping=t;var i=this;this.postExecuted(["connection.create","connection.layout"],wce,(function(e){var t=e.context,o=t.connection,r=t.hints||{},s=o.waypoints;r.connectionStart||r.connectionEnd||!1===r.createElementsBehavior||Ace(s)&&n.updateWaypoints(o,i.snapMiddleSegments(s))}))}function Ace(e){return e.length>3}function Ece(e){return"h"===e}function xce(e){return"v"===e}function Sce(e,t,n){var i=d5(t,n),o={};return Ece(i)&&(o.y=e.snapValue(t.y)),xce(i)&&(o.x=e.snapValue(t.x)),("x"in o||"y"in o)&&(t=$1({},t,o),n=$1({},n,o)),[t,n]}Cce.$inject=["eventBus","gridSnapping","modeling"],l1(Cce,Wee),Cce.prototype.snapMiddleSegments=function(e){var t,n=this._gridSnapping;e=e.slice();for(var i=1;i5&&U2(r,{x:o.x,width:o.width}),o.height>5&&U2(r,{y:o.y,height:o.height}),e.canExecute?G2(r).remove(Jce):G2(r).add(Jce)}function o(e){var n=e.shape,i=e.frame;i&&$2(e.frame),t.removeMarker(n,qce)}e.on("resize.move",Xce,(function(e){i(e.context)})),e.on("resize.cleanup",(function(e){o(e.context)}))}Zce.$inject=["eventBus","canvas","previewSupport"];var ehe=-6,the=8,nhe=20,ihe="djs-resizer",ohe=["n","w","s","e","nw","ne","se","sw"];function rhe(e,t,n,i){this._resize=i,this._canvas=t;var o=this;e.on("selection.changed",(function(e){var t=e.newSelection;o.removeResizers(),1===t.length&&L1(t,Y1(o.addResizer,o))})),e.on("shape.changed",(function(e){var t=e.element;n.isSelected(t)&&(o.removeResizers(),o.addResizer(t))}))}function she(e){var t={x:0,y:0};return-1!==e.indexOf("e")?t.x=-ehe:-1!==e.indexOf("w")&&(t.x=ehe),-1!==e.indexOf("s")?t.y=-ehe:-1!==e.indexOf("n")&&(t.y=ehe),t}rhe.prototype.makeDraggable=function(e,t,n){var i=this._resize;function o(t){lee(t)&&i.activate(t,e,n)}A2.bind(t,"mousedown",o),A2.bind(t,"touchstart",o)},rhe.prototype._createResizer=function(e,t,n,i){var o=this._getResizersParent(),r=she(i),s=n4("g");G2(s).add(ihe),G2(s).add(ihe+"-"+e.id),G2(s).add(ihe+"-"+i),z2(o,s);var a=n4("rect");U2(a,{x:-the/2+r.x,y:-the/2+r.y,width:the,height:the}),G2(a).add(ihe+"-visual"),z2(s,a);var l=n4("rect");return U2(l,{x:-nhe/2+r.x,y:-nhe/2+r.y,width:nhe,height:nhe}),G2(l).add(ihe+"-hit"),z2(s,l),g3(s,t,n),s},rhe.prototype.createResizer=function(e,t){var n=Yce(e,t),i=this._createResizer(e,n.x,n.y,t);this.makeDraggable(e,i,t)},rhe.prototype.addResizer=function(e){var t=this;!v5(e)&&this._resize.canResize({shape:e})&&L1(ohe,(function(n){t.createResizer(e,n)}))},rhe.prototype.removeResizers=function(){var e=this._getResizersParent();q2(e)},rhe.prototype._getResizersParent=function(){return this._canvas.getLayer("resizers")},rhe.$inject=["eventBus","canvas","selection","resize"];var ahe={__depends__:[gre,cre,iae],__init__:["resize","resizePreview","resizeHandles"],resize:["type",Kce],resizePreview:["type",Zce],resizeHandles:["type",rhe]},lhe=2e3;function che(e,t,n,i,o,r,s){function a(e,t){(t||p9(e,["bpmn:Task","bpmn:TextAnnotation","bpmn:Participant"])||hhe(e))&&i.activate(e)}this._bpmnFactory=t,this._canvas=n,this._modeling=o,this._textRenderer=s,i.registerProvider(this),e.on("element.dblclick",(function(e){a(e.element,!0)})),e.on(["autoPlace.start","canvas.viewbox.changing","drag.init","element.mousedown","popupMenu.open","root.set","selection.changed"],(function(){i.isActive()&&i.complete()})),e.on(["shape.remove","connection.remove"],lhe,(function(e){i.isActive(e.element)&&i.cancel()})),e.on(["commandStack.changed"],(function(e){i.isActive()&&i.cancel()})),e.on("directEditing.activate",(function(e){r.removeResizers()})),e.on("create.end",500,(function(e){var t=e.context,n=t.shape,i=e.context.canExecute,o=e.isTouch;o||i&&(t.hints&&!1===t.hints.createElementsBehavior||a(n))})),e.on("autoPlace.end",500,(function(e){a(e.shape)}))}function hhe(e){return u9(e,"bpmn:SubProcess")&&!z9(e)}function dhe(e){return u9(e,"bpmn:SubProcess")&&z9(e)}function uhe(e){return u9(e,"bpmn:Participant")&&!z9(e)}function phe(e){return u9(e,"bpmn:Participant")&&z9(e)}function ghe(e){return!e||!e.trim()}che.$inject=["eventBus","bpmnFactory","canvas","directEditing","modeling","resizeHandles","textRenderer"],che.prototype.activate=function(e){var t=i7(e);if(void 0!==t){var n={text:t},i=this.getEditingBBox(e);$1(n,i);var o={};return(p9(e,["bpmn:Task","bpmn:Participant","bpmn:Lane","bpmn:CallActivity"])||hhe(e))&&$1(o,{centerVertically:!0}),Y9(e)&&$1(o,{autoResize:!0}),u9(e,"bpmn:TextAnnotation")&&$1(o,{resizable:!0,autoResize:!0}),$1(n,{options:o}),n}},che.prototype.getEditingBBox=function(e){var t=this._canvas,n=e.label||e,i=t.getAbsoluteBBox(n),o={x:i.x+i.width/2,y:i.y+i.height/2},r={x:i.x,y:i.y},s=t.zoom(),a=this._textRenderer.getDefaultStyle(),l=this._textRenderer.getExternalStyle(),c=l.fontSize*s,h=l.lineHeight,d=a.fontSize*s,u=a.lineHeight,p={fontFamily:this._textRenderer.getDefaultStyle().fontFamily,fontWeight:this._textRenderer.getDefaultStyle().fontWeight};(u9(e,"bpmn:Lane")||phe(e))&&($1(r,{width:i.height,height:30*s,x:i.x-i.height/2+15*s,y:o.y-30*s/2}),$1(p,{fontSize:d+"px",lineHeight:u,paddingTop:7*s+"px",paddingBottom:7*s+"px",paddingLeft:5*s+"px",paddingRight:5*s+"px",transform:"rotate(-90deg)"})),(p9(e,["bpmn:Task","bpmn:CallActivity"])||uhe(e)||hhe(e))&&($1(r,{width:i.width,height:i.height}),$1(p,{fontSize:d+"px",lineHeight:u,paddingTop:7*s+"px",paddingBottom:7*s+"px",paddingLeft:5*s+"px",paddingRight:5*s+"px"})),dhe(e)&&($1(r,{width:i.width,x:i.x}),$1(p,{fontSize:d+"px",lineHeight:u,paddingTop:7*s+"px",paddingBottom:7*s+"px",paddingLeft:5*s+"px",paddingRight:5*s+"px"}));var g=90*s,m=7*s,f=4*s;if(n.labelTarget&&($1(r,{width:g,height:i.height+m+f,x:o.x-g/2,y:i.y-m}),$1(p,{fontSize:c+"px",lineHeight:h,paddingTop:m+"px",paddingBottom:f+"px"})),Y9(n)&&!$9(n)&&!e7(n)){var v=X9(e),b=t.getAbsoluteBBox({x:v.x,y:v.y,width:0,height:0}),y=c+m+f;$1(r,{width:g,height:y,x:b.x-g/2,y:b.y-y/2}),$1(p,{fontSize:c+"px",lineHeight:h,paddingTop:m+"px",paddingBottom:f+"px"})}return u9(e,"bpmn:TextAnnotation")&&($1(r,{width:i.width,height:i.height,minWidth:30*s,minHeight:10*s}),$1(p,{textAlign:"left",paddingTop:5*s+"px",paddingBottom:7*s+"px",paddingLeft:7*s+"px",paddingRight:5*s+"px",fontSize:d+"px",lineHeight:u})),{bounds:r,style:p}},che.prototype.update=function(e,t,n,i){var o,r;u9(e,"bpmn:TextAnnotation")&&(r=this._canvas.getAbsoluteBBox(e),o={x:e.x,y:e.y,width:e.width/r.width*i.width,height:e.height/r.height*i.height}),ghe(t)&&(t=null),this._modeling.updateLabel(e,t,o)};var mhe="djs-element-hidden",fhe="djs-label-hidden";function vhe(e,t,n){var i,o,r,s=this,a=t.getDefaultLayer();e.on("directEditing.activate",(function(e){var l=e.active;if(i=l.element.label||l.element,u9(i,"bpmn:TextAnnotation")){o=t.getAbsoluteBBox(i),r=n4("g");var c=n.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:i.width,containerHeight:i.height,position:{mx:0,my:0}}),h=s.path=n4("path");U2(h,{d:c,strokeWidth:2,stroke:bhe(i)}),z2(r,h),z2(a,r),m3(r,i.x,i.y)}u9(i,"bpmn:TextAnnotation")||i.labelTarget?t.addMarker(i,mhe):(u9(i,"bpmn:Task")||u9(i,"bpmn:CallActivity")||u9(i,"bpmn:SubProcess")||u9(i,"bpmn:Participant"))&&t.addMarker(i,fhe)})),e.on("directEditing.resize",(function(e){if(u9(i,"bpmn:TextAnnotation")){var t=e.height,r=e.dy,a=Math.max(i.height/o.height*(t+r),0),l=n.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:i.width,containerHeight:a,position:{mx:0,my:0}});U2(s.path,{d:l})}})),e.on(["directEditing.complete","directEditing.cancel"],(function(e){var n=e.active;n&&(t.removeMarker(n.element.label||n.element,mhe),t.removeMarker(i,fhe)),i=void 0,o=void 0,r&&($2(r),r=void 0)}))}function bhe(e,t){var n=m9(e);return n.get("stroke")||t||"black"}vhe.$inject=["eventBus","canvas","pathMap"];var yhe={__depends__:[zee,ahe,$se],__init__:["labelEditingProvider","labelEditingPreview"],labelEditingProvider:["type",che],labelEditingPreview:["type",vhe]},_he=["top","bottom","left","right"],whe=10;function Che(e,t){function n(e){if($9(e)){var t=xhe(e);t&&i(e,t)}}function i(e,n){var i=x5(e),o=e.label,r=x5(o);if(o.parent){var s,a=w5(e);switch(n){case"top":s={x:i.x,y:a.top-whe-o.height/2};break;case"left":s={x:a.left-whe-o.width/2,y:i.y};break;case"bottom":s={x:i.x,y:a.bottom+whe+o.height/2};break;case"right":s={x:a.right+whe+o.width/2,y:i.y};break}var l=Yte(s,r);t.moveShape(o,l)}}Wee.call(this,e),this.postExecuted(["connection.create","connection.layout","connection.updateWaypoints"],(function(e){var t=e.context,i=t.connection,o=i.source,r=i.target,s=t.hints||{};!1!==s.createElementsBehavior&&(n(o),n(r))})),this.postExecuted(["label.create"],(function(e){var t=e.context,i=t.shape,o=t.hints||{};!1!==o.createElementsBehavior&&n(i.labelTarget)})),this.postExecuted(["elements.create"],(function(e){var t=e.context,i=t.elements,o=t.hints||{};!1!==o.createElementsBehavior&&i.forEach((function(e){n(e)}))}))}function Ahe(e){var t,n=e.host,i=x5(e),o=S5(i,n);t=o.indexOf("-")>=0?o.split("-"):[o];var r=_he.filter((function(e){return-1===t.indexOf(e)}));return r}function Ehe(e){var t=x5(e),n=[].concat(e.incoming.map((function(e){return e.waypoints[e.waypoints.length-2]})),e.outgoing.map((function(e){return e.waypoints[1]}))).map((function(e){return She(t,e)}));return n}function xhe(e){var t=x5(e.label),n=x5(e),i=She(n,t);if(Dhe(i)){var o=Ehe(e);if(e.host){var r=Ahe(e);o=o.concat(r)}var s=_he.filter((function(e){return-1===o.indexOf(e)}));if(-1===s.indexOf(i))return s[0]}}function She(e,t){return S5(t,e,5)}function Dhe(e){return-1!==_he.indexOf(e)}function khe(e){Wee.call(this,e),this.preExecute("shape.append",(function(e){var t=e.source,n=e.shape;e.position||(u9(n,"bpmn:TextAnnotation")?e.position={x:t.x+t.width/2+75,y:t.y-50-n.height/2}:e.position={x:t.x+t.width+80+n.width/2,y:t.y+t.height/2})}),!0)}function Lhe(e,t){e.invoke(Wee,this),this.postExecute("shape.move",(function(e){var n=e.newParent,i=e.shape,o=k1(i.incoming.concat(i.outgoing),(function(e){return u9(e,"bpmn:Association")}));L1(o,(function(e){t.moveConnection(e,{x:0,y:0},n)}))}),!0)}l1(Che,Wee),Che.$inject=["eventBus","modeling"],l1(khe,Wee),khe.$inject=["eventBus"],l1(Lhe,Wee),Lhe.$inject=["injector","modeling"];var Mhe=500;function Bhe(e,t){t.invoke(Wee,this),this._bpmnReplace=e;var n=this;this.postExecuted("elements.create",Mhe,(function(e){var t=e.elements;t=t.filter((function(e){var t=e.host;return Ihe(e,t)})),1===t.length&&t.map((function(e){return t.indexOf(e)})).forEach((function(i){var o=t[i];e.elements[i]=n._replaceShape(t[i],o)}))}),!0),this.preExecute("elements.move",Mhe,(function(e){var t=e.shapes,i=e.newHost;if(1===t.length){var o=t[0];Ihe(o,i)&&(e.shapes=[n._replaceShape(o,i)])}}),!0)}function Nhe(e){var t=g9(e),n=t.eventDefinitions;return n&&n[0]}function Ihe(e,t){return!e7(e)&&p9(e,["bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"])&&!!t}function The(e,t){function n(e){return k1(e.attachers,(function(e){return u9(e,"bpmn:BoundaryEvent")}))}Wee.call(this,e),this.postExecute("connection.create",(function(e){var i=e.context.source,o=e.context.target,r=n(o);u9(i,"bpmn:EventBasedGateway")&&u9(o,"bpmn:ReceiveTask")&&r.length>0&&t.removeElements(r)})),this.postExecute("connection.reconnect",(function(e){var i=e.context.oldSource,o=e.context.newSource;u9(i,"bpmn:Gateway")&&u9(o,"bpmn:EventBasedGateway")&&L1(o.outgoing,(function(e){var i=e.target,o=n(i);u9(i,"bpmn:ReceiveTask")&&o.length>0&&t.removeElements(o)}))}))}function Rhe(e){e.invoke(Wee,this),this.preExecute("shape.create",1500,(function(e){var t=e.context,n=t.parent,i=t.shape;u9(n,"bpmn:Lane")&&!u9(i,"bpmn:Lane")&&(t.parent=dle(n,"bpmn:Participant"))}))}function Phe(e,t){Wee.call(this,e),this.preExecute("shape.create",(function(e){var n=e.context,i=n.shape;if(u9(i,"bpmn:DataObjectReference")&&"label"!==i.type){var o=t.create("bpmn:DataObject");i.businessObject.dataObjectRef=o}}))}Bhe.$inject=["bpmnReplace","injector"],l1(Bhe,Wee),Bhe.prototype._replaceShape=function(e,t){var n=Nhe(e),i={type:"bpmn:BoundaryEvent",host:t};return n&&(i.eventDefinitionType=n.$type),this._bpmnReplace.replaceElement(e,i,{layoutConnection:!1})},The.$inject=["eventBus","modeling"],l1(The,Wee),Rhe.$inject=["injector"],l1(Rhe,Wee),Phe.$inject=["eventBus","bpmnFactory"],l1(Phe,Wee);var Fhe=20,Ohe=20,zhe=30,Vhe=2e3;function Whe(e,t,n){function i(){var t=e.getRootElement();return u9(t,"bpmn:Collaboration")?t:n.makeCollaboration()}Wee.call(this,t),t.on(["create.start","shape.move.start"],Vhe,(function(t){var n=t.context,i=n.shape,o=e.getRootElement();if(u9(i,"bpmn:Participant")&&u9(o,"bpmn:Process")&&o.children.length){var r=o.children.filter((function(e){return!u9(e,"bpmn:Group")&&!e7(e)&&!Qhe(e)}));if(r.length){var s=q4(r),a=Hhe(i,s);$1(i,a),n.createConstraints=jhe(i,s)}}})),t.on("create.start",Vhe,(function(n){var i=n.context,o=i.shape,r=e.getRootElement(),s=e.getGraphics(r);function a(e){e.element=r,e.gfx=s}u9(o,"bpmn:Participant")&&u9(r,"bpmn:Process")&&(t.on("element.hover",Vhe,a),t.once("create.cleanup",(function(){t.off("element.hover",a)})))})),this.preExecute("elements.create",Vhe,(function(e){var t,n=e.elements,o=e.parent,r=Uhe(n);r&&u9(o,"bpmn:Process")&&(e.parent=i(),t=e.hints=e.hints||{},t.participant=r,t.process=o,t.processRef=g9(r).get("processRef"))}),!0),this.preExecute("shape.create",(function(e){var t=e.parent,n=e.shape;u9(n,"bpmn:Participant")&&u9(t,"bpmn:Process")&&(e.parent=i(),e.process=t,e.processRef=g9(n).get("processRef"))}),!0),this.execute("shape.create",(function(e){var t=e.hints||{},n=e.process||t.process,i=e.shape,o=t.participant;!n||o&&i!==o||g9(i).set("processRef",g9(n))}),!0),this.revert("shape.create",(function(e){var t=e.hints||{},n=e.process||t.process,i=e.processRef||t.processRef,o=e.shape,r=t.participant;!n||r&&o!==r||g9(o).set("processRef",i)}),!0),this.postExecute("shape.create",(function(e){var t=e.hints||{},i=e.process||e.hints.process,o=e.shape,r=t.participant;if(i){var s=i.children.slice();r?o===r&&n.moveElements(s,{x:0,y:0},r):n.moveElements(s,{x:0,y:0},o)}}),!0)}function Hhe(e,t){t={width:t.width+2*Fhe+zhe,height:t.height+2*Ohe};var n=Math.max(e.width,t.width),i=Math.max(e.height,t.height);return{x:-n/2,y:-i/2,width:n,height:i}}function jhe(e,t){return t=w5(t),{bottom:t.top+e.height/2-Ohe,left:t.right-e.width/2+Fhe,top:t.bottom-e.height/2+Ohe,right:t.left+e.width/2-Fhe-zhe}}function Qhe(e){return!!e.waypoints}function Uhe(e){return S1(e,(function(e){return u9(e,"bpmn:Participant")}))}Whe.$inject=["canvas","eventBus","modeling"],l1(Whe,Wee);var Khe="__targetRef_placeholder";function Ghe(e,t){function n(e,t,n){var i=e.get("dataInputAssociations");return S1(i,(function(e){return e!==n&&e.targetRef===t}))}function i(e,n){var i=e.get("properties"),o=S1(i,(function(e){return e.name===Khe}));return!o&&n&&(o=t.create("bpmn:Property",{name:Khe}),s5(i,o)),o}function o(e,t){var o=i(e);o&&(n(e,o,t)||r5(e.get("properties"),o))}function r(e){var t,n=e.context,r=n.connection,s=r.businessObject,a=r.target,l=a&&a.businessObject,c=n.newTarget,h=c&&c.businessObject,d=n.oldTarget||n.target,u=d&&d.businessObject,p=r.businessObject;u&&u!==l&&o(u,s),h&&h!==l&&o(h,s),l?(t=i(l,!0),p.targetRef=t):p.targetRef=null}Wee.call(this,e),this.executed(["connection.create","connection.delete","connection.move","connection.reconnect"],Yhe(r)),this.reverted(["connection.create","connection.delete","connection.move","connection.reconnect"],Yhe(r))}function Yhe(e){return function(t){var n=t.context,i=n.connection;if(u9(i,"bpmn:DataInputAssociation"))return e(t)}}function $he(e){this._bpmnUpdater=e}function qhe(e,t,n,i){function o(){return n.filter((function(e){return u9(e,"bpmn:Participant")&&g9(e).processRef}))[0]}function r(e){return e.children.filter((function(e){return u9(e,"bpmn:DataStoreReference")&&!e.labelTarget}))}function s(e,n){var i=e.businessObject||e;if(n=n||o(),n){var r=n.businessObject||n;t.execute("dataStore.updateContainment",{dataStoreBo:i,dataStoreDi:m9(e),newSemanticParent:r.processRef||r,newDiParent:m9(n)})}}Wee.call(this,i),t.registerHandler("dataStore.updateContainment",$he),this.preExecute("shape.create",(function(e){var t=e.context,n=t.shape;u9(n,"bpmn:DataStoreReference")&&"label"!==n.type&&(t.hints||(t.hints={}),t.hints.autoResize=!1)})),this.preExecute("elements.move",(function(e){var t=e.context,n=t.shapes,i=n.filter((function(e){return u9(e,"bpmn:DataStoreReference")}));i.length&&(t.hints||(t.hints={}),t.hints.autoResize=n.filter((function(e){return!u9(e,"bpmn:DataStoreReference")})))})),this.postExecute("shape.create",(function(e){var t=e.context,n=t.shape,i=n.parent;u9(n,"bpmn:DataStoreReference")&&"label"!==n.type&&u9(i,"bpmn:Collaboration")&&s(n)})),this.postExecute("shape.move",(function(e){var t=e.context,n=t.shape,i=t.oldParent,o=n.parent;if(!u9(i,"bpmn:Collaboration")&&u9(n,"bpmn:DataStoreReference")&&"label"!==n.type&&u9(o,"bpmn:Collaboration")){var r=u9(i,"bpmn:Participant")?i:Xhe(i,"bpmn:Participant");s(n,r)}})),this.postExecute("shape.delete",(function(t){var n=t.context,i=n.shape,o=e.getRootElement();p9(i,["bpmn:Participant","bpmn:SubProcess"])&&u9(o,"bpmn:Collaboration")&&r(o).filter((function(e){return Jhe(e,i)})).forEach((function(e){s(e)}))})),this.postExecute("canvas.updateRoot",(function(e){var t=e.context,n=t.oldRoot,i=t.newRoot,o=r(n);o.forEach((function(e){u9(i,"bpmn:Process")&&s(e,i)}))}))}function Jhe(e,t){var n=e.businessObject||e,i=t.businessObject||t;while(n.$parent){if(n.$parent===i.processRef||i)return!0;n=n.$parent}return!1}function Xhe(e,t){while(e.parent){if(u9(e.parent,t))return e.parent;e=e.parent}}Ghe.$inject=["eventBus","bpmnFactory"],l1(Ghe,Wee),$he.$inject=["bpmnUpdater"],$he.prototype.execute=function(e){var t=e.dataStoreBo,n=e.dataStoreDi,i=e.newSemanticParent,o=e.newDiParent;return e.oldSemanticParent=t.$parent,e.oldDiParent=n.$parent,this._bpmnUpdater.updateSemanticParent(t,i),this._bpmnUpdater.updateDiParent(n,o),[]},$he.prototype.revert=function(e){var t=e.dataStoreBo,n=e.dataStoreDi,i=e.oldSemanticParent,o=e.oldDiParent;return this._bpmnUpdater.updateSemanticParent(t,i),this._bpmnUpdater.updateDiParent(n,o),[]},qhe.$inject=["canvas","commandStack","elementRegistry","eventBus"],l1(qhe,Wee);var Zhe=500;function ede(e,t){function n(e,n){var i,o,r,s=Mle(n),a=[],l=[];(K4(s,(function(t){return t.y>e.y?l.push(t):a.push(t),t.children})),s.length)&&(i=l.length&&a.length?e.height/2:e.height,a.length&&(o=t.calculateAdjustments(a,"y",i,e.y-10),t.makeSpace(o.movingShapes,o.resizingShapes,{x:0,y:i},"s")),l.length&&(r=t.calculateAdjustments(l,"y",-i,e.y+e.height+10),t.makeSpace(r.movingShapes,r.resizingShapes,{x:0,y:-i},"n")))}Wee.call(this,e),this.postExecuted("shape.delete",Zhe,(function(e){var t=e.context,i=t.hints,o=t.shape,r=t.oldParent;u9(o,"bpmn:Lane")&&(i&&i.nested||n(o,r))}))}ede.$inject=["eventBus","spaceTool"],l1(ede,Wee);var tde=500;function nde(e,t){t.invoke(Wee,this),this._bpmnReplace=e;var n=this;this.postExecuted("elements.create",tde,(function(e){var t=e.elements;t.filter((function(e){var t=e.host;return ode(e,t)})).map((function(e){return t.indexOf(e)})).forEach((function(i){e.elements[i]=n._replaceShape(t[i])}))}),!0),this.preExecute("elements.move",tde,(function(e){var t=e.shapes,i=e.newHost;t.forEach((function(e,o){var r=e.host;ode(e,rde(t,r)?r:i)&&(t[o]=n._replaceShape(e))}))}),!0)}function ide(e){var t=g9(e),n=t.eventDefinitions;return n&&n[0]}function ode(e,t){return!e7(e)&&u9(e,"bpmn:BoundaryEvent")&&!t}function rde(e,t){return-1!==e.indexOf(t)}function sde(e,t,n){function i(e,i,o){var r,s,a,l,c,h,d,u,p=i.waypoints,g=e.outgoing.slice(),m=e.incoming.slice();u=w1(o.width)?x5(o):o;var f=Cre(p,u);if(f){if(r=p.slice(0,f.index),s=p.slice(f.index+(f.bendpoint?1:0)),!r.length||!s.length)return;a=f.bendpoint?p[f.index]:u,1!==r.length&&ade(e,r[r.length-1])||r.push(lde(a)),1!==s.length&&ade(e,s[0])||s.unshift(lde(a))}l=i.source,c=i.target,t.canConnect(l,e,i)&&(n.reconnectEnd(i,e,r||u),h=i),t.canConnect(e,c,i)&&(h?d=n.connect(e,c,{type:i.type,waypoints:s}):(n.reconnectStart(i,e,s||u),d=i));var v=[].concat(h&&k1(m,(function(e){return e.source===h.source}))||[],d&&k1(g,(function(e){return e.target===d.target}))||[]);v.length&&n.removeElements(v)}Wee.call(this,e),this.preExecute("elements.move",(function(e){var n=e.newParent,i=e.shapes,o=e.delta,r=i[0];if(r&&n){n&&n.waypoints&&(e.newParent=n=n.parent);var s=x5(r),a={x:s.x+o.x,y:s.y+o.y},l=S1(n.children,(function(e){var n=t.canInsert(i,e);return n&&Cre(e.waypoints,a)}));l&&(e.targetFlow=l,e.position=a)}}),!0),this.postExecuted("elements.move",(function(e){var t=e.shapes,n=e.targetFlow,o=e.position;n&&i(t[0],n,o)}),!0),this.preExecute("shape.create",(function(e){var n=e.parent,i=e.shape;t.canInsert(i,n)&&(e.targetFlow=n,e.parent=n.parent)}),!0),this.postExecuted("shape.create",(function(e){var t=e.shape,n=e.targetFlow,o=e.position;n&&i(t,n,o)}),!0)}function ade(e,t){var n=t.x,i=t.y;return n>=e.x&&n<=e.x+e.width&&i>=e.y&&i<=e.y+e.height}function lde(e){return $1({},e)}function cde(e,t){Wee.call(this,e),this.preExecuted("connection.create",(function(e){var n=e.context,i=n.connection,o=n.source,r=n.target,s=n.hints;if((!s||!1!==s.createElementsBehavior)&&hde(i)){var a=[];a=u9(o,"bpmn:EventBasedGateway")?r.incoming.filter(hde):r.incoming.filter((function(e){return hde(e)&&u9(e.source,"bpmn:EventBasedGateway")})),a.forEach((function(e){t.removeConnection(e)}))}})),this.preExecuted("shape.replace",(function(e){var n=e.context,i=n.newShape;if(u9(i,"bpmn:EventBasedGateway")){var o=i.outgoing.filter(hde).reduce((function(e,t){return e.includes(t.target)?e:e.concat(t.target)}),[]);o.forEach((function(e){e.incoming.filter(hde).forEach((function(n){const o=e.incoming.filter(hde).filter((function(e){return e.source===i}));(n.source!==i||o.length>1)&&t.removeConnection(n)}))}))}}))}function hde(e){return u9(e,"bpmn:SequenceFlow")}nde.$inject=["bpmnReplace","injector"],l1(nde,Wee),nde.prototype._replaceShape=function(e){var t,n=ide(e);return t=n?{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:n.$type}:{type:"bpmn:IntermediateThrowEvent"},this._bpmnReplace.replaceElement(e,t,{layoutConnection:!1})},l1(sde,Wee),sde.$inject=["eventBus","bpmnRules","modeling"],cde.$inject=["eventBus","modeling"],l1(cde,Wee);var dde=1500,ude=2e3;function pde(e,t,n){t.on(["create.hover","create.move","create.out","create.end","shape.move.hover","shape.move.move","shape.move.out","shape.move.end"],dde,(function(t){var i=t.context,o=i.shape||t.shape,r=t.hover;u9(r,"bpmn:Lane")&&!p9(o,["bpmn:Lane","bpmn:Participant"])&&(t.hover=Ble(r),t.hoverGfx=e.getGraphics(t.hover));var s=n.getRootElement();r!==s&&(o.labelTarget||u9(o,"bpmn:Group"))&&(t.hover=s,t.hoverGfx=e.getGraphics(t.hover))})),t.on(["connect.hover","connect.out","connect.end","connect.cleanup","global-connect.hover","global-connect.out","global-connect.end","global-connect.cleanup"],dde,(function(t){var n=t.hover;u9(n,"bpmn:Lane")&&(t.hover=Ble(n)||n,t.hoverGfx=e.getGraphics(t.hover))})),t.on(["bendpoint.move.hover"],dde,(function(t){var n=t.context,i=t.hover,o=n.type;u9(i,"bpmn:Lane")&&/reconnect/.test(o)&&(t.hover=Ble(i)||i,t.hoverGfx=e.getGraphics(t.hover))})),t.on(["connect.start"],dde,(function(e){var t=e.context,n=t.start;u9(n,"bpmn:Lane")&&(t.start=Ble(n)||n)})),t.on("shape.move.start",ude,(function(e){var t=e.shape;u9(t,"bpmn:Lane")&&(e.shape=Ble(t)||t)}))}function gde(e){return e.create("bpmn:Category")}function mde(e){return e.create("bpmn:CategoryValue")}function fde(e,t,n){return s5(t.get("categoryValue"),e),e.$parent=t,s5(n.get("rootElements"),t),t.$parent=n,e}function vde(e){var t=e.$parent;return t&&(r5(t.get("categoryValue"),e),e.$parent=null),e}function bde(e){var t=e.$parent;return t&&(r5(t.get("rootElements"),e),e.$parent=null),e}pde.$inject=["elementRegistry","eventBus","canvas"];var yde=770;function _de(e,t,n,i,o,r){function s(){return n.filter((function(e){return u9(e,"bpmn:Group")}))}function a(e,t){return e.some((function(e){var n=g9(e),i=n.categoryValueRef&&n.categoryValueRef.$parent;return i===t}))}function l(e,t){return e.some((function(e){var n=g9(e);return n.categoryValueRef===t}))}function c(e,t,n){var i=s().filter((function(e){return e.businessObject!==n}));t&&!a(i,t)&&bde(t),e&&!l(i,e)&&vde(e)}function h(e,n){return fde(e,n,t.getDefinitions())}function d(n,i){var o=g9(n),r=o.categoryValueRef;r||(r=o.categoryValueRef=i.categoryValue=i.categoryValue||mde(e));var s=r.$parent;s||(s=r.$parent=i.category=i.category||gde(e)),h(r,s,t.getDefinitions())}function u(e,t){var n=t.category,i=t.categoryValue,o=g9(e);i?(o.categoryValueRef=null,c(i,n,o)):c(null,o.categoryValueRef.$parent,o)}function p(t,n){var i=e.create(t.$type);return r.copyElement(t,i,null,n)}o.invoke(Wee,this),this.execute("label.create",(function(e){var t=e.context,n=t.labelTarget;u9(n,"bpmn:Group")&&d(n,t)})),this.revert("label.create",(function(e){var t=e.context,n=t.labelTarget;u9(n,"bpmn:Group")&&u(n,t)})),this.execute("shape.delete",(function(e){var t=e.context,n=t.shape,i=g9(n);if(u9(n,"bpmn:Group")&&!n.labelTarget){var o,r=t.categoryValue=i.categoryValueRef;r&&(o=t.category=r.$parent,c(r,o,i),i.categoryValueRef=null)}})),this.reverted("shape.delete",(function(e){var t=e.context,n=t.shape;if(u9(n,"bpmn:Group")&&!n.labelTarget){var i=t.category,o=t.categoryValue,r=g9(n);o&&(r.categoryValueRef=o,h(o,i))}})),this.execute("shape.create",(function(e){var t=e.context,n=t.shape;u9(n,"bpmn:Group")&&!n.labelTarget&&g9(n).categoryValueRef&&d(n,t)})),this.reverted("shape.create",(function(e){var t=e.context,n=t.shape;u9(n,"bpmn:Group")&&!n.labelTarget&&g9(n).categoryValueRef&&u(n,t)})),i.on("copyPaste.copyElement",yde,(function(e){var t=e.descriptor,n=e.element;if(u9(n,"bpmn:Group")&&!n.labelTarget){var i=g9(n);if(i.categoryValueRef){var o=i.categoryValueRef;t.categoryValue=p(o,!0),o.$parent&&(t.category=p(o.$parent,!0))}}})),i.on("copyPaste.pasteElement",yde,(function(e){var t=e.descriptor,n=t.businessObject,i=t.categoryValue,o=t.category;i&&(i=n.categoryValueRef=p(i)),o&&(i.$parent=p(o)),delete t.category,delete t.categoryValue}))}function wde(e,t,n,i){var o,r,s,a,l;return o=(i.y-n.y)*(t.x-e.x)-(i.x-n.x)*(t.y-e.y),0==o?null:(r=e.y-n.y,s=e.x-n.x,l=(i.x-n.x)*r-(i.y-n.y)*s,a=l/o,{x:Math.round(e.x+a*(t.x-e.x)),y:Math.round(e.y+a*(t.y-e.y))})}function Cde(e){function t(e,t,n){var i,o={x:n.x,y:n.y-50},r={x:n.x-50,y:n.y},s=wde(e,t,n,o),a=wde(e,t,n,r);i=s&&a?Ade(s,n)>Ade(a,n)?a:s:s||a,e.original=i}function n(e){var n=e.waypoints;t(n[0],n[1],x5(e.source)),t(n[n.length-1],n[n.length-2],x5(e.target))}e.on("bpmnElement.added",(function(e){var t=e.element;t.waypoints&&n(t)}))}function Ade(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Ede(e){Wee.call(this,e);var t=["bpmn:Participant","bpmn:Lane"];this.executed(["shape.move","shape.create","shape.resize"],(function(e){var n=e.context.shape,i=g9(n),o=m9(n);p9(i,t)&&!o.get("isHorizontal")&&o.set("isHorizontal",!0)}))}_de.$inject=["bpmnFactory","bpmnjs","elementRegistry","eventBus","injector","moddleCopy"],l1(_de,Wee),Cde.$inject=["eventBus"],Ede.$inject=["eventBus"],l1(Ede,Wee);var xde=Math.sqrt,Sde=Math.min,Dde=Math.max,kde=Math.abs;function Lde(e){return Math.pow(e,2)}function Mde(e,t){return xde(Lde(e.x-t.x)+Lde(e.y-t.y))}function Bde(e,t){var n,i,o,r,s,a,l,c,h,d,u,p=0;for(p=0;p line intersections");1===l.length&&(c={type:"bendpoint",position:l[0],segmentIndex:p,bendpointIndex:Fde(n,l[0])?p:p+1}),2===l.length&&(s=Rde(l[0],l[1]),c={type:"segment",position:s,segmentIndex:p,relativeLocation:Mde(n,s)/Mde(n,i)}),h=Mde(c.position,e),(!u||d>h)&&(u=c,d=h)}return u}function Nde(e,t,n,i){var o=t.x-e.x,r=t.y-e.y,s=n.x-e.x,a=n.y-e.y,l=o*o+r*r,c=o*s+r*a,h=s*s+a*a-i*i,d=c/l,u=h/l,p=d*d-u;if(p<0&&p>-1e-6&&(p=0),p<0)return[];var g=xde(p),m=-d+g,f=-d-g,v={x:e.x-o*m,y:e.y-r*m};if(0===p)return[v];var b={x:e.x-o*f,y:e.y-r*f};return[v,b].filter((function(n){return Ide(n,e,t)}))}function Ide(e,t,n){return Tde(e.x,t.x,n.x)&&Tde(e.y,t.y,n.y)}function Tde(e,t,n){return e>=Sde(t,n)-Pde&&e<=Dde(t,n)+Pde}function Rde(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}}var Pde=.1;function Fde(e,t){return kde(e.x-t.x)<=Pde&&kde(e.y-t.y)<=Pde}function Ode(e,t,n,i){var o=n.segmentIndex,r=t.length-e.length;if(i.segmentMove){var s=i.segmentMove.segmentStartIndex,a=i.segmentMove.newSegmentStartIndex;return o===s?a:o>=a?o+r=h&&(l=c?o+1:o-1),ot.length-2||null===c)return s;var h=Hde(n,l),d=Hde(t,c),u=a.position,p=jde(h,u),g=Wde(h,d);if("bendpoint"===a.type){var m=t.length-n.length,f=a.bendpointIndex,v=n[f];if(-1!==t.indexOf(v))return s;if(0===m){var b=t[f];return o=b.x-a.position.x,r=b.y-a.position.y,{delta:{x:o,y:r},point:{x:e.x+o,y:e.y+r}}}m<0&&0!==f&&f{const t=g9(e.context.element);t===e.context.moddleElement&&o(e)}),this.postExecute(["shape.create","connection.create"],(function(e){var n=e.context,i=n.hints||{};if(!1!==i.createElementsBehavior){var o=n.shape||n.connection;!e7(o)&&Y9(o)&&i7(o)&&t.updateLabel(o,i7(o))}})),this.postExecute("shape.delete",(function(e){var n=e.context,i=n.labelTarget,o=n.hints||{};i&&!1!==o.unsetLabel&&t.updateLabel(i,null,null,{removeShape:!1})})),this.postExecute(["connection.layout","connection.updateWaypoints"],(function(e){var n=e.context,i=n.hints||{};if(!1!==i.labelBehavior){var o,s=n.connection,a=s.label;a&&a.parent&&(o=r(e),t.moveShape(a,o))}})),this.postExecute(["shape.replace"],(function(e){var t=e.context,n=t.newShape,i=t.oldShape,o=g9(n);o&&Y9(o)&&i.label&&n.label&&(n.label.x=i.label.x,n.label.y=i.label.y)})),this.postExecute("shape.resize",(function(e){var n=e.context,i=n.shape,o=n.newBounds,r=n.oldBounds;if($9(i)){var s=i.label,a=x5(s),l=nue(r),c=tue(a,l),h=eue(c,r,o);t.moveShape(s,h)}}))}function eue(e,t,n){var i=Ude(e,t,n);return _5(Yte(i,e))}function tue(e,t){if(t.length){var n=iue(e,t);return Dre(e,n)}}function nue(e){return[[{x:e.x,y:e.y},{x:e.x+(e.width||0),y:e.y}],[{x:e.x+(e.width||0),y:e.y},{x:e.x+(e.width||0),y:e.y+(e.height||0)}],[{x:e.x,y:e.y+(e.height||0)},{x:e.x+(e.width||0),y:e.y+(e.height||0)}],[{x:e.x,y:e.y},{x:e.x,y:e.y+(e.height||0)}]]}function iue(e,t){var n=t.map((function(t){return{line:t,distance:kre(e,t)}})),i=W1(n,"distance");return i[0].line}function oue(e,t,n,i){return zde(e,t,n,i).point}function rue(e,t){function n(e,t){var n=e.context,i=n.connection,o=$1({},n.hints),r=n.newWaypoints||i.waypoints,s=n.oldWaypoints;return"undefined"===typeof o.startChanged&&(o.startChanged=!!o.connectionStart),"undefined"===typeof o.endChanged&&(o.endChanged=!!o.connectionEnd),oue(t,r,s,o)}Wee.call(this,e),this.postExecute(["connection.layout","connection.updateWaypoints"],(function(e){var i=e.context,o=i.connection,r=o.outgoing,s=o.incoming;s.forEach((function(i){var o=i.waypoints[i.waypoints.length-1],r=n(e,o),s=[].concat(i.waypoints.slice(0,-1),[r]);t.updateWaypoints(i,s)})),r.forEach((function(i){var o=i.waypoints[0],r=n(e,o),s=[].concat([r],i.waypoints.slice(1));t.updateWaypoints(i,s)}))})),this.postExecute(["connection.move"],(function(e){var n=e.context,i=n.connection,o=i.outgoing,r=i.incoming,s=n.delta;r.forEach((function(e){var n=e.waypoints[e.waypoints.length-1],i={x:n.x+s.x,y:n.y+s.y},o=[].concat(e.waypoints.slice(0,-1),[i]);t.updateWaypoints(e,o)})),o.forEach((function(e){var n=e.waypoints[0],i={x:n.x+s.x,y:n.y+s.y},o=[].concat([i],e.waypoints.slice(1));t.updateWaypoints(e,o)}))}))}function sue(e,t,n){var i=due(e),o=uue(i,t),r=i[0];return o.length?o[o.length-1]:Ude(r.original||r,n,t)}function aue(e,t,n){var i=due(e),o=uue(i,t),r=i[i.length-1];return o.length?o[0]:Ude(r.original||r,n,t)}function lue(e,t,n){var i=due(e),o=hue(t,n),r=i[0];return Ude(r.original||r,o,t)}function cue(e,t,n){var i=due(e),o=hue(t,n),r=i[i.length-1];return Ude(r.original||r,o,t)}function hue(e,t){return{x:e.x-t.x,y:e.y-t.y,width:e.width,height:e.height}}function due(e){var t=e.waypoints;if(!t.length)throw new Error("connection#"+e.id+": no waypoints");return t}function uue(e,t){var n=T1(e,gue);return k1(n,(function(e){return pue(e,t)}))}function pue(e,t){return"intersect"===S5(t,e,1)}function gue(e){return e.original||e}function mue(e,t){Wee.call(this,e),this.postExecute("shape.replace",(function(e){var n=e.oldShape,i=e.newShape;if(fue(n,i)){var o=vue(n);o.incoming.forEach((function(e){var o=aue(e,i,n);t.reconnectEnd(e,i,o)})),o.outgoing.forEach((function(e){var o=sue(e,i,n);t.reconnectStart(e,i,o)}))}}),!0)}function fue(e,t){return u9(e,"bpmn:Participant")&&z9(e)&&u9(t,"bpmn:Participant")&&!z9(t)}function vue(e){var t=Y4([e],!1),n=[],i=[];return t.forEach((function(t){t!==e&&(t.incoming.forEach((function(e){u9(e,"bpmn:MessageFlow")&&n.push(e)})),t.outgoing.forEach((function(e){u9(e,"bpmn:MessageFlow")&&i.push(e)})))}),[]),{incoming:n,outgoing:i}}l1(Zde,Wee),Zde.$inject=["eventBus","modeling","bpmnFactory","textRenderer"],l1(rue,Wee),rue.$inject=["eventBus","modeling"],mue.$inject=["eventBus","modeling"],l1(mue,Wee);var bue="flow elements must be children of pools/participants";function yue(e,t,n){function i(e,n,i){t.add({position:{x:e.x+5,y:e.y+5},type:"error",timeout:i||2e3,html:"
    "+n+"
    "})}e.on(["shape.move.rejected","create.rejected"],(function(e){var t=e.context,o=t.shape,r=t.target;u9(r,"bpmn:Collaboration")&&u9(o,"bpmn:FlowNode")&&i(e,n(bue))}))}function _ue(e,t){Wee.call(this,e),this.preExecute("shape.resize",(function(e){var n=e.shape,i=m9(n),o=i&&i.get("label"),r=o&&o.get("bounds");r&&t.updateModdleProperties(n,o,{bounds:void 0})}),!0)}function wue(e,t,n){Wee.call(this,e),this.preExecute("shape.delete",(function(e){var i=e.context.shape;if(1===i.incoming.length&&1===i.outgoing.length){var o=i.incoming[0],r=i.outgoing[0];if(u9(o,"bpmn:SequenceFlow")&&u9(r,"bpmn:SequenceFlow")&&t.canConnect(o.source,r.target,o)){var s=Aue(o.waypoints,r.waypoints);n.reconnectEnd(o,r.target,s)}}}))}function Cue(e){return e.original||e}function Aue(e,t){var n=wde(Cue(e[e.length-2]),Cue(e[e.length-1]),Cue(t[1]),Cue(t[0]));return n?[].concat(e.slice(0,e.length-1),[n],t.slice(1)):[Cue(e[0]),Cue(t[t.length-1])]}function Eue(e,t){Wee.call(this,e),this.preExecute("shape.delete",(function(e){var t=e.shape,n=t.parent;u9(t,"bpmn:Participant")&&(e.collaborationRoot=n)}),!0),this.postExecute("shape.delete",(function(e){var n=e.collaborationRoot;n&&!n.businessObject.participants.length&&t.makeProcess()}),!0)}function xue(e,t,n,i){Wee.call(this,e);var o=i.get("dragging",!1);function r(e){var i,o,r=e.source,s=e.target,a=e.parent;a&&(u9(e,"bpmn:SequenceFlow")&&(n.canConnectSequenceFlow(r,s)||(o=!0),n.canConnectMessageFlow(r,s)&&(i="bpmn:MessageFlow")),u9(e,"bpmn:MessageFlow")&&(n.canConnectMessageFlow(r,s)||(o=!0),n.canConnectSequenceFlow(r,s)&&(i="bpmn:SequenceFlow")),u9(e,"bpmn:Association")&&!n.canConnectAssociation(r,s)&&(o=!0),o&&t.removeConnection(e),i&&t.connect(r,s,{type:i,waypoints:e.waypoints.slice()}))}function s(e){var i,r,s=e.context,l=s.connection,c=s.newSource||l.source,h=s.newTarget||l.target;i=n.canConnect(c,h),i&&i.type!==l.type&&(r=t.connect(c,h,{type:i.type,waypoints:l.waypoints.slice()}),t.removeConnection(l),s.connection=r,o&&a(l,r))}function a(e,t){var n,i=o.context(),r=i&&i.payload.previousSelection;r&&r.length&&(n=r.indexOf(e),-1!==n&&r.splice(n,1,t))}this.postExecuted("elements.move",(function(e){var t=e.closure,n=t.allConnections;L1(n,r)}),!0),this.preExecute("connection.reconnect",s),this.postExecuted("element.updateProperties",(function(e){var n,i=e.context,o=i.properties,r=i.element,s=r.businessObject;o.default&&(n=S1(r.outgoing,H1({id:r.businessObject.default.id})),n&&t.updateProperties(n,{conditionExpression:void 0})),o.conditionExpression&&s.sourceRef.default===s&&t.updateProperties(r.source,{default:void 0})}))}function Sue(e,t,n,i,o,r){i.invoke(Wee,this),this._bpmnReplace=e,this._elementRegistry=n,this._selection=r,this.postExecuted(["elements.create"],500,(function(e){var n=e.context,i=n.parent,o=n.elements,r=B1(o,(function(e,n){var o=t.canReplace([n],n.host||n.parent||i);return o?e.concat(o.replacements):e}),[]);r.length&&this._replaceElements(o,r)}),this),this.postExecuted(["elements.move"],500,(function(e){var n=e.context,i=n.newParent,o=n.newHost,r=[];L1(n.closure.topLevel,(function(e){r=W9(e)?r.concat(e.children):r.concat(e)})),1===r.length&&o&&(i=o);var s=t.canReplace(r,i);s&&this._replaceElements(r,s.replacements,o)}),this),this.postExecute(["shape.replace"],1500,(function(e){var n,i=e.context,o=i.oldShape,r=i.newShape,s=o.attachers;s&&s.length&&(n=t.canReplace(s,r),this._replaceElements(s,n.replacements))}),this),this.postExecuted(["shape.replace"],1500,(function(e){var t=e.context,n=t.oldShape,i=t.newShape;o.unclaimId(n.businessObject.id,n.businessObject),o.updateProperties(i,{id:n.id})}))}yue.$inject=["eventBus","tooltips","translate"],l1(_ue,Wee),_ue.$inject=["eventBus","modeling"],l1(wue,Wee),wue.$inject=["eventBus","bpmnRules","modeling"],Eue.$inject=["eventBus","modeling"],l1(Eue,Wee),l1(xue,Wee),xue.$inject=["eventBus","modeling","bpmnRules","injector"],l1(Sue,Wee),Sue.prototype._replaceElements=function(e,t){var n=this._elementRegistry,i=this._bpmnReplace,o=this._selection;L1(t,(function(t){var o={type:t.newElementType},r=n.get(t.oldElementId),s=e.indexOf(r);e[s]=i.replaceElement(r,o,{select:!1})})),t&&o.select(e)},Sue.$inject=["bpmnReplace","bpmnRules","elementRegistry","injector","modeling","selection"];var Due=1500,kue={width:140,height:120},Lue={width:300,height:60},Mue={width:300,height:150},Bue={width:140,height:120},Nue={width:50,height:30};function Iue(e){e.on("resize.start",Due,(function(e){var t=e.context,n=t.shape,i=t.direction,o=t.balanced;(u9(n,"bpmn:Lane")||u9(n,"bpmn:Participant"))&&(t.resizeConstraints=Que(n,i,o)),u9(n,"bpmn:Participant")&&(t.minDimensions=Mue),u9(n,"bpmn:SubProcess")&&z9(n)&&(t.minDimensions=Bue),u9(n,"bpmn:TextAnnotation")&&(t.minDimensions=Nue)}))}Iue.$inject=["eventBus"];var Tue=Math.abs,Rue=Math.min,Pue=Math.max;function Fue(e,t,n,i){var o=e[t];e[t]=void 0===o?n:i(n,o)}function Oue(e,t,n){return Fue(e,t,n,Rue)}function zue(e,t,n){return Fue(e,t,n,Pue)}var Vue=20,Wue=50,Hue=20,jue=20;function Que(e,t,n){var i=Ble(e),o=!0,r=!0,s=Lle(i,[i]),a=w5(e),l={},c={};/e/.test(t)?c.right=a.left+Lue.width:/w/.test(t)&&(c.left=a.right-Lue.width),s.forEach((function(e){var i=w5(e);/n/.test(t)&&(i.topa.bottom+10&&(r=!1),n&&Tue(a.bottom-i.top)<10&&Oue(l,"bottom",i.bottom-Lue.height),Tue(a.bottom-i.bottom)<5&&zue(c,"bottom",i.top+Lue.height))}));var h=i.children.filter((function(e){return!e.hidden&&!e.waypoints&&(u9(e,"bpmn:FlowElement")||u9(e,"bpmn:Artifact"))}));return h.forEach((function(e){var n=w5(e);o&&/n/.test(t)&&Oue(c,"top",n.top-Hue),/e/.test(t)&&zue(c,"right",n.right+Vue),r&&/s/.test(t)&&zue(c,"bottom",n.bottom+jue),/w/.test(t)&&Oue(c,"left",n.left-Wue)})),{min:c,max:l}}var Uue=1001;function Kue(e,t){e.on("resize.start",Uue+500,(function(e){var t=e.context,n=t.shape;(u9(n,"bpmn:Lane")||u9(n,"bpmn:Participant"))&&(t.balanced=!hee(e))})),e.on("resize.end",Uue,(function(e){var n=e.context,i=n.shape,o=n.canExecute,r=n.newBounds;if(u9(i,"bpmn:Lane")||u9(i,"bpmn:Participant"))return o&&(r=y5(r),t.resizeLane(i,r,n.balanced)),!1}))}Kue.$inject=["eventBus","modeling"];var Gue=500;function Yue(e,t,n,i,o){function r(e){return p9(e,["bpmn:ReceiveTask","bpmn:SendTask"])||$ue(e,["bpmn:ErrorEventDefinition","bpmn:EscalationEventDefinition","bpmn:MessageEventDefinition","bpmn:SignalEventDefinition"])}function s(t){var n=e.getDefinitions(),i=n.get("rootElements");return!!S1(i,H1({id:t.id}))}function a(e){return u9(e,"bpmn:ErrorEventDefinition")?"errorRef":u9(e,"bpmn:EscalationEventDefinition")?"escalationRef":u9(e,"bpmn:MessageEventDefinition")?"messageRef":u9(e,"bpmn:SignalEventDefinition")?"signalRef":void 0}function l(e){if(p9(e,["bpmn:ReceiveTask","bpmn:SendTask"]))return e.get("messageRef");var t=e.get("eventDefinitions"),n=t[0];return n.get(a(n))}function c(e,t){if(p9(e,["bpmn:ReceiveTask","bpmn:SendTask"]))return e.set("messageRef",t);var n=e.get("eventDefinitions"),i=n[0];return i.set(a(i),t)}n.invoke(Wee,this),this.executed(["shape.create","element.updateProperties","element.updateModdleProperties"],(function(t){var n=t.shape||t.element;if(r(n)){var i,o=g9(n),a=l(o);a&&!s(a)&&(i=e.getDefinitions().get("rootElements"),s5(i,a),t.addedRootElement=a)}}),!0),this.reverted(["shape.create","element.updateProperties","element.updateModdleProperties"],(function(t){var n=t.addedRootElement;if(n){var i=e.getDefinitions().get("rootElements");r5(i,n)}}),!0),t.on("copyPaste.copyElement",(function(e){var t=e.descriptor,n=e.element;if(!n.labelTarget&&r(n)){var i=g9(n),o=l(i);o&&(t.referencedRootElement=o)}})),t.on("copyPaste.pasteElement",Gue,(function(e){var t=e.descriptor,n=t.businessObject,r=t.referencedRootElement;r&&(s(r)||(r=i.copyElement(r,o.create(r.$type))),c(n,r),delete t.referencedRootElement)}))}function $ue(e,t){return y1(t)||(t=[t]),I1(t,(function(t){return H9(e,t)}))}Yue.$inject=["bpmnjs","eventBus","injector","moddleCopy","bpmnFactory"],l1(Yue,Wee);var que=Math.max;function Jue(e){e.on("spaceTool.getMinDimensions",(function(e){var t=e.shapes,n=e.axis,i=e.start,o={};return L1(t,(function(e){var t=e.id;u9(e,"bpmn:Participant")&&(Xue(n)?o[t]=Mue:o[t]={width:Mue.width,height:Zue(e,i)}),u9(e,"bpmn:SubProcess")&&z9(e)&&(o[t]=Bue),u9(e,"bpmn:TextAnnotation")&&(o[t]=Nue),u9(e,"bpmn:Group")&&(o[t]=kue)})),o}))}function Xue(e){return"x"===e}function Zue(e,t){var n;return epe(e)?(n=tpe(e,t),que(Mue.height,n)):Mue.height}function epe(e){return!!Mle(e).length}function tpe(e,t){var n,i=Mle(e);return n=npe(i,t),e.height-n.height+Lue.height}function npe(e,t){var n,i,o;for(n=0;n=i.y&&t<=i.y+i.height)return o=Mle(i),o.length?npe(o,t):i}Jue.$inject=["eventBus"];var ipe=400,ope=600,rpe={x:180,y:160};function spe(e,t,n,i,o,r,s){Wee.call(this,t),this._canvas=e,this._eventBus=t,this._modeling=n,this._elementFactory=i,this._bpmnFactory=o,this._bpmnjs=r,this._elementRegistry=s;var a=this;function l(e){return u9(e,"bpmn:SubProcess")&&!z9(e)}function c(t){var n=t.shape,i=t.newRootElement,o=g9(n);i=a._addDiagram(i||o),t.newRootElement=e.addRootElement(i)}function h(t){var n=t.shape,i=g9(n);a._removeDiagram(i);var o=t.newRootElement=s.get(Jee(i));e.removeRootElement(o)}this.executed("shape.create",(function(e){var t=e.shape;l(t)&&c(e)}),!0),this.postExecuted("shape.create",(function(e){var t=e.shape,n=e.newRootElement;n&&t.children&&(a._showRecursively(t.children),a._moveChildrenToShape(t,n))}),!0),this.reverted("shape.create",(function(e){var t=e.shape;l(t)&&h(e)}),!0),this.preExecuted("shape.delete",(function(e){var t=e.shape;if(l(t)){var i=s.get(Jee(t));i&&n.removeElements(i.children.slice())}}),!0),this.executed("shape.delete",(function(e){var t=e.shape;l(t)&&h(e)}),!0),this.reverted("shape.delete",(function(e){var t=e.shape;l(t)&&c(e)}),!0),this.preExecuted("shape.replace",(function(t){var n=t.oldShape,i=t.newShape;l(n)&&l(i)&&(t.oldRoot=e.removeRootElement(Jee(n)))}),!0),this.postExecuted("shape.replace",(function(t){var i=t.newShape,o=t.oldRoot,r=e.findRoot(Jee(i));if(o&&r){var s=o.children;n.moveElements(s,{x:0,y:0},r)}}),!0),this.executed("element.updateProperties",(function(e){var t=e.element;if(u9(t,"bpmn:SubProcess")){var n=e.properties,i=e.oldProperties,o=i.id,r=n.id;if(o!==r){if(Zee(t))return s.updateId(t,Xee(r)),void s.updateId(o,r);var a=s.get(Xee(o));a&&s.updateId(Xee(o),Xee(r))}}}),!0),this.reverted("element.updateProperties",(function(e){var t=e.element;if(u9(t,"bpmn:SubProcess")){var n=e.properties,i=e.oldProperties,o=i.id,r=n.id;if(o!==r){if(Zee(t))return s.updateId(t,Xee(o)),void s.updateId(r,o);var a=s.get(Xee(r));a&&s.updateId(a,Xee(o))}}}),!0),t.on("element.changed",(function(e){var n=e.element;if(Zee(n)){var i=n,o=s.get(qee(i));o&&o!==i&&t.fire("element.changed",{element:o})}})),this.executed("shape.toggleCollapse",ipe,(function(e){var t=e.shape;u9(t,"bpmn:SubProcess")&&(z9(t)?h(e):(c(e),a._showRecursively(t.children)))}),!0),this.reverted("shape.toggleCollapse",ipe,(function(e){var t=e.shape;u9(t,"bpmn:SubProcess")&&(z9(t)?h(e):(c(e),a._showRecursively(t.children)))}),!0),this.postExecuted("shape.toggleCollapse",ope,(function(e){var t=e.shape;if(u9(t,"bpmn:SubProcess")){var n=e.newRootElement;n&&(z9(t)?a._moveChildrenToShape(n,t):a._moveChildrenToShape(t,n))}}),!0),t.on("copyPaste.createTree",(function(e){var t=e.element,n=e.children;if(l(t)){var i=Jee(t),o=s.get(i);o&&n.push.apply(n,o.children)}})),t.on("copyPaste.copyElement",(function(e){var t=e.descriptor,n=e.element,i=e.elements,o=n.parent,r=u9(m9(o),"bpmndi:BPMNPlane");if(r){var s=qee(o),a=S1(i,(function(e){return e.id===s}));a&&(t.parent=a.id)}})),t.on("copyPaste.pasteElement",(function(e){var t=e.descriptor;t.parent&&(l(t.parent)||t.parent.hidden)&&(t.hidden=!0)}))}function ape(e,t){e.invoke(Wee,this),this.postExecuted("shape.replace",(function(e){var n=e.context.oldShape,i=e.context.newShape;if(u9(i,"bpmn:SubProcess")&&(u9(n,"bpmn:Task")||u9(n,"bpmn:CallActivity"))&&z9(i)){var o=lpe(i);t.createShape({type:"bpmn:StartEvent"},o,i)}}))}function lpe(e){return{x:e.x+e.width/6,y:e.y+e.height/2}}function cpe(e,t){Wee.call(this,e),this.postExecuted("shape.toggleCollapse",1500,(function(e){var n=e.shape;if(!z9(n)){var i=Y4(n);i.forEach((function(e){var t=e.incoming.slice(),n=e.outgoing.slice();L1(t,(function(e){o(e,!0)})),L1(n,(function(e){o(e,!1)}))}))}function o(e,o){-1!==i.indexOf(e.source)&&-1!==i.indexOf(e.target)||(o?t.reconnectEnd(e,n,x5(n)):t.reconnectStart(e,n,x5(n)))}}),!0)}l1(spe,Wee),spe.prototype._moveChildrenToShape=function(e,t){var n,i=this._modeling,o=e.children;if(o){o=o.concat(o.reduce((function(t,n){return n.label&&n.label.parent!==e?t.concat(n.label):t}),[]));var r=o.filter((function(e){return!e.hidden}));if(r.length){var s=q4(r);if(t.x){var a=x5(t),l=x5(s);n={x:a.x-l.x,y:a.y-l.y}}else n={x:rpe.x-s.x,y:rpe.y-s.y};i.moveElements(o,n,t,{autoResize:!1})}else i.moveElements(o,{x:0,y:0},t,{autoResize:!1})}},spe.prototype._showRecursively=function(e,t){var n=this,i=[];return e.forEach((function(e){e.hidden=!!t,i=i.concat(e),e.children&&(i=i.concat(n._showRecursively(e.children,e.collapsed||t)))})),i},spe.prototype._addDiagram=function(e){var t=this._bpmnjs,n=t.getDefinitions().diagrams;return e.businessObject||(e=this._createNewDiagram(e)),n.push(e.di.$parent),e},spe.prototype._createNewDiagram=function(e){var t=this._bpmnFactory,n=this._elementFactory,i=t.create("bpmndi:BPMNPlane",{bpmnElement:e}),o=t.create("bpmndi:BPMNDiagram",{plane:i});i.$parent=o;var r=n.createRoot({id:Jee(e),type:e.$type,di:i,businessObject:e,collapsed:!0});return r},spe.prototype._removeDiagram=function(e){var t=this._bpmnjs,n=t.getDefinitions().diagrams,i=S1(n,(function(t){return t.plane.bpmnElement.id===e.id}));return n.splice(n.indexOf(i),1),i},spe.$inject=["canvas","eventBus","modeling","elementFactory","bpmnFactory","bpmnjs","elementRegistry"],ape.$inject=["injector","modeling"],l1(ape,Wee),l1(cpe,Wee),cpe.$inject=["eventBus","modeling"];var hpe=500;function dpe(e,t,n){function i(e){e.length&&e.forEach((function(e){"label"!==e.type||e.businessObject.name||(e.hidden=!0)}))}function o(e,t){var n,i,o=e.children,r=t;return n=upe(o).concat([e]),i=Ele(n),i?(r.width=Math.max(i.width,r.width),r.height=Math.max(i.height,r.height),r.x=i.x+(i.width-r.width)/2,r.y=i.y+(i.height-r.height)/2):(r.x=e.x+(e.width-r.width)/2,r.y=e.y+(e.height-r.height)/2),r}function r(e,t){return{x:e.x+(e.width-t.width)/2,y:e.y+(e.height-t.height)/2,width:t.width,height:t.height}}Wee.call(this,e),this.executed(["shape.toggleCollapse"],hpe,(function(e){var t=e.context,n=t.shape;u9(n,"bpmn:SubProcess")&&(n.collapsed?m9(n).isExpanded=!1:(i(n.children),m9(n).isExpanded=!0))})),this.reverted(["shape.toggleCollapse"],hpe,(function(e){var t=e.context,n=t.shape;n.collapsed?m9(n).isExpanded=!1:m9(n).isExpanded=!0})),this.postExecuted(["shape.toggleCollapse"],hpe,(function(e){var i,s=e.context.shape,a=t.getDefaultSize(s);i=s.collapsed?r(s,a):o(s,a),n.resizeShape(s,i,null,{autoResize:!s.collapsed&&"nwse"})}))}function upe(e){return e.filter((function(e){return!e.hidden}))}function ppe(e,t,n,i){t.invoke(Wee,this),this.preExecute("shape.delete",(function(e){var t=e.context,o=t.shape,r=o.businessObject;e7(o)||(u9(o,"bpmn:Participant")&&z9(o)&&n.ids.unclaim(r.processRef.id),i.unclaimId(r.id,r))})),this.preExecute("connection.delete",(function(e){var t=e.context,n=t.connection,o=n.businessObject;i.unclaimId(o.id,o)})),this.preExecute("canvas.updateRoot",(function(){var t=e.getRootElement(),i=t.businessObject;u9(t,"bpmn:Collaboration")&&n.ids.unclaim(i.id)}))}function gpe(e,t){Wee.call(this,e),this.preExecute("connection.delete",(function(e){var n=e.context,i=n.connection,o=i.source;mpe(i,o)&&t.updateProperties(o,{default:null})}))}function mpe(e,t){if(!u9(e,"bpmn:SequenceFlow"))return!1;var n=g9(t),i=g9(e);return n.get("default")===i}l1(dpe,Wee),dpe.$inject=["eventBus","elementFactory","modeling"],l1(ppe,Wee),ppe.$inject=["canvas","injector","moddle","modeling"],l1(gpe,Wee),gpe.$inject=["eventBus","modeling"];var fpe=500,vpe=5e3;function bpe(e,t,n){var i;function o(){return i=i||new ype,i.enter(),i}function r(){if(!i)throw new Error(n("out of bounds release"));return i}function s(){if(!i)throw new Error(n("out of bounds release"));var e=i.leave();return e&&(t.updateLaneRefs(i.flowNodes,i.lanes),i=null),e}Wee.call(this,e);var a=["spaceTool","lane.add","lane.resize","lane.split","elements.create","elements.delete","elements.move","shape.create","shape.delete","shape.move","shape.resize"];this.preExecute(a,vpe,(function(e){o()})),this.postExecuted(a,fpe,(function(e){s()})),this.preExecute(["shape.create","shape.move","shape.delete","shape.resize"],(function(e){var t=e.context,n=t.shape,i=r();n.labelTarget||(u9(n,"bpmn:Lane")&&i.addLane(n),u9(n,"bpmn:FlowNode")&&i.addFlowNode(n))}))}function ype(){this.flowNodes=[],this.lanes=[],this.counter=0,this.addLane=function(e){this.lanes.push(e)},this.addFlowNode=function(e){this.flowNodes.push(e)},this.enter=function(){this.counter++},this.leave=function(){return this.counter--,!this.counter}}bpe.$inject=["eventBus","modeling","translate"],l1(bpe,Wee);var _pe={__init__:["adaptiveLabelPositioningBehavior","appendBehavior","associationBehavior","attachEventBehavior","boundaryEventBehavior","createBehavior","createDataObjectBehavior","createParticipantBehavior","dataInputAssociationBehavior","dataStoreBehavior","deleteLaneBehavior","detachEventBehavior","dropOnFlowBehavior","eventBasedGatewayBehavior","fixHoverBehavior","groupBehavior","importDockingFix","isHorizontalFix","labelBehavior","layoutConnectionBehavior","messageFlowBehavior","modelingFeedback","removeElementBehavior","removeEmbeddedLabelBoundsBehavior","removeParticipantBehavior","replaceConnectionBehavior","replaceElementBehaviour","resizeBehavior","resizeLaneBehavior","rootElementReferenceBehavior","spaceToolBehavior","subProcessPlaneBehavior","subProcessStartEventBehavior","toggleCollapseConnectionBehaviour","toggleElementCollapseBehaviour","unclaimIdBehavior","updateFlowNodeRefsBehavior","unsetDefaultFlowBehavior"],adaptiveLabelPositioningBehavior:["type",Che],appendBehavior:["type",khe],associationBehavior:["type",Lhe],attachEventBehavior:["type",Bhe],boundaryEventBehavior:["type",The],createBehavior:["type",Rhe],createDataObjectBehavior:["type",Phe],createParticipantBehavior:["type",Whe],dataInputAssociationBehavior:["type",Ghe],dataStoreBehavior:["type",qhe],deleteLaneBehavior:["type",ede],detachEventBehavior:["type",nde],dropOnFlowBehavior:["type",sde],eventBasedGatewayBehavior:["type",cde],fixHoverBehavior:["type",pde],groupBehavior:["type",_de],importDockingFix:["type",Cde],isHorizontalFix:["type",Ede],labelBehavior:["type",Zde],layoutConnectionBehavior:["type",rue],messageFlowBehavior:["type",mue],modelingFeedback:["type",yue],removeElementBehavior:["type",wue],removeEmbeddedLabelBoundsBehavior:["type",_ue],removeParticipantBehavior:["type",Eue],replaceConnectionBehavior:["type",xue],replaceElementBehaviour:["type",Sue],resizeBehavior:["type",Iue],resizeLaneBehavior:["type",Kue],rootElementReferenceBehavior:["type",Yue],spaceToolBehavior:["type",Jue],subProcessPlaneBehavior:["type",spe],subProcessStartEventBehavior:["type",ape],toggleCollapseConnectionBehaviour:["type",cpe],toggleElementCollapseBehaviour:["type",dpe],unclaimIdBehavior:["type",ppe],unsetDefaultFlowBehavior:["type",gpe],updateFlowNodeRefsBehavior:["type",bpe]};function wpe(e,t){var n=S5(e,t,-15);return"intersect"!==n?n:null}function Cpe(e){boe.call(this,e)}function Ape(e){return Epe(e)?null:p9(e,["bpmn:FlowNode","bpmn:InteractionNode","bpmn:DataObjectReference","bpmn:DataStoreReference","bpmn:Group","bpmn:TextAnnotation"])}function Epe(e){return!e||e7(e)}function xpe(e,t){return e===t}function Spe(e){do{if(u9(e,"bpmn:Process"))return g9(e);if(u9(e,"bpmn:Participant"))return g9(e).processRef||g9(e)}while(e=e.parent)}function Dpe(e){return u9(e,"bpmn:TextAnnotation")}function kpe(e){return u9(e,"bpmn:Group")&&!e.labelTarget}function Lpe(e){return u9(e,"bpmn:BoundaryEvent")&&Ppe(e,"bpmn:CompensateEventDefinition")}function Mpe(e){return g9(e).isForCompensation}function Bpe(e,t){var n=Spe(e),i=Spe(t);return n===i}function Npe(e){return u9(e,"bpmn:InteractionNode")&&!u9(e,"bpmn:BoundaryEvent")&&(!u9(e,"bpmn:Event")||u9(e,"bpmn:ThrowEvent")&&Fpe(e,"bpmn:MessageEventDefinition"))}function Ipe(e){return u9(e,"bpmn:InteractionNode")&&!Mpe(e)&&(!u9(e,"bpmn:Event")||u9(e,"bpmn:CatchEvent")&&Fpe(e,"bpmn:MessageEventDefinition"))&&!(u9(e,"bpmn:BoundaryEvent")&&!Ppe(e,"bpmn:MessageEventDefinition"))}function Tpe(e){var t=e;while(t=t.parent){if(u9(t,"bpmn:FlowElementsContainer"))return g9(t);if(u9(t,"bpmn:Participant"))return g9(t).processRef}return null}function Rpe(e,t){var n=Tpe(e),i=Tpe(t);return n===i}function Ppe(e,t){var n=g9(e);return!!S1(n.eventDefinitions||[],(function(e){return u9(e,t)}))}function Fpe(e,t){var n=g9(e);return(n.eventDefinitions||[]).every((function(e){return u9(e,t)}))}function Ope(e){return u9(e,"bpmn:FlowNode")&&!u9(e,"bpmn:EndEvent")&&!W9(e)&&!(u9(e,"bpmn:IntermediateThrowEvent")&&Ppe(e,"bpmn:LinkEventDefinition"))&&!Lpe(e)&&!Mpe(e)}function zpe(e){return u9(e,"bpmn:FlowNode")&&!u9(e,"bpmn:StartEvent")&&!u9(e,"bpmn:BoundaryEvent")&&!W9(e)&&!(u9(e,"bpmn:IntermediateCatchEvent")&&Ppe(e,"bpmn:LinkEventDefinition"))&&!Mpe(e)}function Vpe(e){return u9(e,"bpmn:ReceiveTask")||u9(e,"bpmn:IntermediateCatchEvent")&&(Ppe(e,"bpmn:MessageEventDefinition")||Ppe(e,"bpmn:TimerEventDefinition")||Ppe(e,"bpmn:ConditionalEventDefinition")||Ppe(e,"bpmn:SignalEventDefinition"))}function Wpe(e){return e.waypoints}function Hpe(e){var t=[];while(e)e=e.parent,e&&t.push(e);return t}function jpe(e,t){var n=Hpe(t);return-1!==n.indexOf(e)}function Qpe(e,t,n){if(Epe(e)||Epe(t))return null;if(!u9(n,"bpmn:DataAssociation")){if(age(e,t))return{type:"bpmn:MessageFlow"};if(lge(e,t))return{type:"bpmn:SequenceFlow"}}var i=cge(e,t);return i||(Lpe(e)&&Mpe(t)?{type:"bpmn:Association",associationDirection:"One"}:!!sge(e,t)&&{type:"bpmn:Association"})}function Upe(e,t){return!(!e7(e)&&!kpe(e))||!(u9(t,"bpmn:Participant")&&!z9(t))&&(u9(e,"bpmn:Participant")?u9(t,"bpmn:Process")||u9(t,"bpmn:Collaboration"):p9(e,["bpmn:DataInput","bpmn:DataOutput"])&&e.parent?t===e.parent:u9(e,"bpmn:Lane")?u9(t,"bpmn:Participant")||u9(t,"bpmn:Lane"):!(u9(e,"bpmn:BoundaryEvent")&&!Kpe(e))&&(u9(e,"bpmn:FlowElement")&&!u9(e,"bpmn:DataStoreReference")?u9(t,"bpmn:FlowElementsContainer")?z9(t):p9(t,["bpmn:Participant","bpmn:Lane"]):u9(e,"bpmn:DataStoreReference")&&u9(t,"bpmn:Collaboration")?I1(g9(t).get("participants"),(function(e){return!!e.get("processRef")})):p9(e,["bpmn:Artifact","bpmn:DataAssociation","bpmn:DataStoreReference"])?p9(t,["bpmn:Collaboration","bpmn:Lane","bpmn:Participant","bpmn:Process","bpmn:SubProcess"]):!!u9(e,"bpmn:MessageFlow")&&(u9(t,"bpmn:Collaboration")||e.source.parent==t||e.target.parent==t)))}function Kpe(e){return g9(e).cancelActivity&&(qpe(e)||Jpe(e))}function Gpe(e){return!e7(e)&&u9(e,"bpmn:BoundaryEvent")}function Ype(e){return u9(e,"bpmn:Lane")}function $pe(e){return!!Gpe(e)||(!(!u9(e,"bpmn:IntermediateThrowEvent")||!qpe(e))||u9(e,"bpmn:IntermediateCatchEvent")&&Jpe(e))}function qpe(e){var t=g9(e);return t&&!(t.eventDefinitions&&t.eventDefinitions.length)}function Jpe(e){return Xpe(e,["bpmn:MessageEventDefinition","bpmn:TimerEventDefinition","bpmn:SignalEventDefinition","bpmn:ConditionalEventDefinition"])}function Xpe(e,t){return t.some((function(t){return Ppe(e,t)}))}function Zpe(e){return u9(e,"bpmn:ReceiveTask")&&S1(e.incoming,(function(e){return u9(e.source,"bpmn:EventBasedGateway")}))}function ege(e,t,n,i){if(Array.isArray(e)||(e=[e]),1!==e.length)return!1;var o=e[0];return!e7(o)&&(!!$pe(o)&&(!W9(t)&&(!(!u9(t,"bpmn:Activity")||Mpe(t))&&(!(i&&!wpe(i,t))&&(!Zpe(t)&&"attach")))))}function tge(e,t,n){if(!t)return!1;var i={replacements:[]};return L1(e,(function(e){W9(t)||u9(e,"bpmn:StartEvent")&&"label"!==e.type&&Upe(e,t)&&(V9(e)||i.replacements.push({oldElementId:e.id,newElementType:"bpmn:StartEvent"}),(j9(e)||Q9(e)||U9(e))&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:StartEvent"}),Xpe(e,["bpmn:MessageEventDefinition","bpmn:TimerEventDefinition","bpmn:SignalEventDefinition","bpmn:ConditionalEventDefinition"])&&u9(t,"bpmn:SubProcess")&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:StartEvent"})),u9(t,"bpmn:Transaction")||Ppe(e,"bpmn:CancelEventDefinition")&&"label"!==e.type&&(u9(e,"bpmn:EndEvent")&&Upe(e,t)&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:EndEvent"}),u9(e,"bpmn:BoundaryEvent")&&ege(e,t,null,n)&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:BoundaryEvent"}))})),!!i.replacements.length&&i}function nge(e,t){return!I1(e,Ype)&&(!t||e.every((function(e){return Upe(e,t)})))}function ige(e,t,n,i){return!!t&&(!(!e7(e)&&!kpe(e))||!xpe(n,t)&&((!n||!jpe(n,t))&&(Upe(e,t,i)||hge(e,t,i))))}function oge(e,t){return u9(e,"bpmn:SubProcess")?z9(e)&&(!t||t.width>=100&&t.height>=80):u9(e,"bpmn:Lane")?!t||t.width>=130&&t.height>=60:u9(e,"bpmn:Participant")?!t||t.width>=250&&t.height>=50:!!Dpe(e)||!!kpe(e)}function rge(e,t){var n=Dpe(e),i=Dpe(t);return(n||i)&&n!==i}function sge(e,t){return!(!Lpe(e)||!Mpe(t))||!jpe(t,e)&&!jpe(e,t)&&(!!rge(e,t)||!!cge(e,t))}function age(e,t){return!(pge(e)&&!pge(t))&&(Npe(e)&&Ipe(t)&&!Bpe(e,t))}function lge(e,t){return Ope(e)&&zpe(t)&&Rpe(e,t)&&!(u9(e,"bpmn:EventBasedGateway")&&!Vpe(t))}function cge(e,t){return p9(e,["bpmn:DataObjectReference","bpmn:DataStoreReference"])&&p9(t,["bpmn:Activity","bpmn:ThrowEvent"])?{type:"bpmn:DataInputAssociation"}:!(!p9(t,["bpmn:DataObjectReference","bpmn:DataStoreReference"])||!p9(e,["bpmn:Activity","bpmn:CatchEvent"]))&&{type:"bpmn:DataOutputAssociation"}}function hge(e,t,n){if(!t)return!1;if(Array.isArray(e)){if(1!==e.length)return!1;e=e[0]}return t.source!==e&&t.target!==e&&(p9(t,["bpmn:SequenceFlow","bpmn:MessageFlow"])&&!e7(t)&&u9(e,"bpmn:FlowNode")&&!u9(e,"bpmn:BoundaryEvent")&&Upe(e,t.parent,n))}function dge(e,t){return e&&t&&-1!==e.indexOf(t)}function uge(e,t){return!!e7(t)||!(u9(t,"bpmn:Lane")&&!dge(e,t.parent))}function pge(e){return dle(e,"bpmn:Process")||dle(e,"bpmn:Collaboration")}l1(Cpe,boe),Cpe.$inject=["eventBus"],Cpe.prototype.init=function(){this.addRule("connection.start",(function(e){var t=e.source;return Ape(t)})),this.addRule("connection.create",(function(e){var t=e.source,n=e.target,i=e.hints||{},o=i.targetParent,r=i.targetAttach;if(r)return!1;o&&(n.parent=o);try{return Qpe(t,n)}finally{o&&(n.parent=null)}})),this.addRule("connection.reconnect",(function(e){var t=e.connection,n=e.source,i=e.target;return Qpe(n,i,t)})),this.addRule("connection.updateWaypoints",(function(e){return{type:e.connection.type}})),this.addRule("shape.resize",(function(e){var t=e.shape,n=e.newBounds;return oge(t,n)})),this.addRule("elements.create",(function(e){var t=e.elements,n=e.position,i=e.target;return!(Wpe(i)&&!hge(t,i,n))&&N1(t,(function(e){return Wpe(e)?Qpe(e.source,e.target,e):e.host?ege(e,e.host,null,n):ige(e,i,null,n)}))})),this.addRule("elements.move",(function(e){var t=e.target,n=e.shapes,i=e.position;return ege(n,t,null,i)||tge(n,t,i)||nge(n,t,i)||hge(n,t,i)})),this.addRule("shape.create",(function(e){return ige(e.shape,e.target,e.source,e.position)})),this.addRule("shape.attach",(function(e){return ege(e.shape,e.target,null,e.position)})),this.addRule("element.copy",(function(e){var t=e.element,n=e.elements;return uge(n,t)}))},Cpe.prototype.canConnectMessageFlow=age,Cpe.prototype.canConnectSequenceFlow=lge,Cpe.prototype.canConnectDataAssociation=cge,Cpe.prototype.canConnectAssociation=sge,Cpe.prototype.canMove=nge,Cpe.prototype.canAttach=ege,Cpe.prototype.canReplace=tge,Cpe.prototype.canDrop=Upe,Cpe.prototype.canInsert=hge,Cpe.prototype.canCreate=ige,Cpe.prototype.canConnect=Qpe,Cpe.prototype.canResize=oge,Cpe.prototype.canCopy=uge;var gge={__depends__:[gre],__init__:["bpmnRules"],bpmnRules:["type",Cpe]},mge=2e3;function fge(e,t){function n(){var e=t.getRootElements();L1(e,(function(e){var t,n,i=m9(e);t=Y4([e],!1),t=k1(t,(function(t){return t!==e&&!t.labelTarget})),n=T1(t,m9),i.set("planeElement",n)}))}e.on("saveXML.start",mge,n)}fge.$inject=["eventBus","canvas"];var vge={__init__:["bpmnDiOrdering"],bpmnDiOrdering:["type",fge]};function bge(e){Wee.call(this,e);var t=this;this.preExecute(["shape.create","connection.create"],(function(e){var n=e.context,i=n.shape||n.connection,o=n.parent,r=t.getOrdering(i,o);r&&(void 0!==r.parent&&(n.parent=r.parent),n.parentIndex=r.index)})),this.preExecute(["shape.move","connection.move"],(function(e){var n=e.context,i=n.shape||n.connection,o=n.newParent||i.parent,r=t.getOrdering(i,o);r&&(void 0!==r.parent&&(n.newParent=r.parent),n.newParentIndex=r.index)}))}function yge(e,t,n){bge.call(this,e);var i=[{type:"bpmn:SubProcess",order:{level:6}},{type:"bpmn:SequenceFlow",order:{level:9,containers:["bpmn:Participant","bpmn:FlowElementsContainer"]}},{type:"bpmn:DataAssociation",order:{level:9,containers:["bpmn:Collaboration","bpmn:FlowElementsContainer"]}},{type:"bpmn:MessageFlow",order:{level:9,containers:["bpmn:Collaboration"]}},{type:"bpmn:Association",order:{level:6,containers:["bpmn:Participant","bpmn:FlowElementsContainer","bpmn:Collaboration"]}},{type:"bpmn:BoundaryEvent",order:{level:8}},{type:"bpmn:Group",order:{level:10,containers:["bpmn:Collaboration","bpmn:FlowElementsContainer"]}},{type:"bpmn:FlowElement",order:{level:5}},{type:"bpmn:Participant",order:{level:-2}},{type:"bpmn:Lane",order:{level:-1}}];function o(e){if(e.labelTarget)return{level:10};var t=S1(i,(function(t){return p9(e,[t.type])}));return t&&t.order||{level:1}}function r(e){var t=e.order;if(t||(e.order=t=o(e)),!t)throw new Error("no order for <"+e.id+">");return t}function s(e,t,n){var i=t;while(i){if(p9(i,n))break;i=i.parent}if(!i)throw new Error("no parent for <"+e.id+"> in <"+(t&&t.id)+">");return i}this.getOrdering=function(e,n){if(e.labelTarget)return{parent:t.findRoot(n)||t.getRootElement(),index:-1};var i=r(e);i.containers&&(n=s(e,n,i.containers));var o=n.children.indexOf(e),a=D1(n.children,(function(t){return!(!e.labelTarget&&t.labelTarget)&&i.level0)return"e";if(t<0)return"w"}if("y"===e){if(t>0)return"s";if(t<0)return"n"}return null}function Sge(e,t){var n=[];return L1(e.concat(t),(function(i){var o=i.incoming,r=i.outgoing;L1(o.concat(r),(function(i){var o=i.source,r=i.target;(Dge(e,o)||Dge(e,r)||Dge(t,o)||Dge(t,r))&&(Dge(n,i)||n.push(i))}))})),n}function Dge(e,t){return-1!==e.indexOf(t)}function kge(e,t,n){var i=e.x,o=e.y,r=e.width,s=e.height,a=n.x,l=n.y;switch(t){case"n":return{x:i,y:o+l,width:r,height:s-l};case"s":return{x:i,y:o,width:r,height:s+l};case"w":return{x:i+a,y:o,width:r-a,height:s};case"e":return{x:i,y:o,width:r+a,height:s};default:throw new Error("unknown direction: "+t)}}var Lge=Math.abs,Mge=Math.round,Bge={x:"width",y:"height"},Nge="crosshair",Ige={n:"top",w:"left",s:"bottom",e:"right"},Tge=1500,Rge={n:"s",w:"e",s:"n",e:"w"},Pge=20;function Fge(e,t,n,i,o,r,s){this._canvas=e,this._dragging=t,this._eventBus=n,this._modeling=i,this._rules=o,this._toolManager=r,this._mouse=s;var a=this;r.registerTool("space",{tool:"spaceTool.selection",dragging:"spaceTool"}),n.on("spaceTool.selection.end",(function(e){n.once("spaceTool.selection.ended",(function(){a.activateMakeSpace(e.originalEvent)}))})),n.on("spaceTool.move",Tge,(function(e){var t=e.context,n=t.initialized;n||(n=t.initialized=a.init(e,t)),n&&zge(e)})),n.on("spaceTool.end",(function(e){var t=e.context,i=t.axis,o=t.direction,r=t.movingShapes,s=t.resizingShapes,l=t.start;if(t.initialized){zge(e);var c={x:0,y:0};c[i]=Mge(e["d"+i]),a.makeSpace(r,s,c,o,l),n.once("spaceTool.ended",(function(e){a.activateSelection(e.originalEvent,!0,!0)}))}}))}function Oge(e){return{top:e.top-Pge,right:e.right+Pge,bottom:e.bottom+Pge,left:e.left-Pge}}function zge(e){var t,n,i=e.context,o=i.spaceToolConstraints;o&&(w1(o.left)&&(t=Math.max(e.x,o.left),e.dx=e.dx+t-e.x,e.x=t),w1(o.right)&&(t=Math.min(e.x,o.right),e.dx=e.dx+t-e.x,e.x=t),w1(o.top)&&(n=Math.max(e.y,o.top),e.dy=e.dy+n-e.y,e.y=n),w1(o.bottom)&&(n=Math.min(e.y,o.bottom),e.dy=e.dy+n-e.y,e.y=n))}function Vge(e,t,n,i,o){var r=e.movingShapes,s=e.resizingShapes;if(s.length){var a,l,c={};return L1(s,(function(e){var h,d,u,p,g,m,f,v=e.attachers,b=e.children,y=w5(e),_=k1(b,(function(e){return!v5(e)&&!b5(e)&&!Wge(r,e)&&!Wge(s,e)})),w=k1(b,(function(e){return!v5(e)&&!b5(e)&&Wge(r,e)})),C=[],A=[];_.length&&(d=Oge(w5(q4(_))),h=i-y[Ige[n]]+d[Ige[n]],"n"===n?c.bottom=l=w1(l)?Math.min(l,h):h:"w"===n?c.right=l=w1(l)?Math.min(l,h):h:"s"===n?c.top=a=w1(a)?Math.max(a,h):h:"e"===n&&(c.left=a=w1(a)?Math.max(a,h):h)),w.length&&(u=Oge(w5(q4(w))),h=i-u[Ige[Rge[n]]]+y[Ige[Rge[n]]],"n"===n?c.bottom=l=w1(l)?Math.min(l,h):h:"w"===n?c.right=l=w1(l)?Math.min(l,h):h:"s"===n?c.top=a=w1(a)?Math.max(a,h):h:"e"===n&&(c.left=a=w1(a)?Math.max(a,h):h)),v&&v.length&&(v.forEach((function(e){Wge(r,e)?C.push(e):A.push(e)})),C.length&&(p=w5(q4(C.map(x5))),g=y[Ige[Rge[n]]]-(p[Ige[Rge[n]]]-i)),A.length&&(m=w5(q4(A.map(x5))),f=m[Ige[n]]-(y[Ige[n]]-i)),"n"===n?(h=Math.min(g||1/0,f||1/0),c.bottom=l=w1(l)?Math.min(l,h):h):"w"===n?(h=Math.min(g||1/0,f||1/0),c.right=l=w1(l)?Math.min(l,h):h):"s"===n?(h=Math.max(g||-1/0,f||-1/0),c.top=a=w1(a)?Math.max(a,h):h):"e"===n&&(h=Math.max(g||-1/0,f||-1/0),c.left=a=w1(a)?Math.max(a,h):h));var E=o&&o[e.id];E&&("n"===n?(h=i+e[Bge[t]]-E[Bge[t]],c.bottom=l=w1(l)?Math.min(l,h):h):"w"===n?(h=i+e[Bge[t]]-E[Bge[t]],c.right=l=w1(l)?Math.min(l,h):h):"s"===n?(h=i-e[Bge[t]]+E[Bge[t]],c.top=a=w1(a)?Math.max(a,h):h):"e"===n&&(h=i-e[Bge[t]]+E[Bge[t]],c.left=a=w1(a)?Math.max(a,h):h))})),c}}function Wge(e,t){return-1!==e.indexOf(t)}function Hge(e){return!!e.host}Fge.$inject=["canvas","dragging","eventBus","modeling","rules","toolManager","mouse"],Fge.prototype.activateSelection=function(e,t,n){this._dragging.init(e,"spaceTool.selection",{autoActivate:t,cursor:Nge,data:{context:{reactivate:n}},trapClick:!1})},Fge.prototype.activateMakeSpace=function(e){this._dragging.init(e,"spaceTool",{autoActivate:!0,cursor:Nge,data:{context:{}}})},Fge.prototype.makeSpace=function(e,t,n,i,o){return this._modeling.createSpace(e,t,n,i,o)},Fge.prototype.init=function(e,t){var n=Lge(e.dx)>Lge(e.dy)?"x":"y",i=e["d"+n],o=e[n]-i;if(Lge(i)<5)return!1;i<0&&(i*=-1),hee(e)&&(i*=-1);var r=xge(n,i),s=this._canvas.getRootElement(),a=Y4(s,!0),l=this.calculateAdjustments(a,n,i,o),c=this._eventBus.fire("spaceTool.getMinDimensions",{axis:n,direction:r,shapes:l.resizingShapes,start:o}),h=Vge(l,n,r,o,c);return $1(t,l,{axis:n,direction:r,spaceToolConstraints:h,start:o}),jte("resize-"+("x"===n?"ew":"ns")),!0},Fge.prototype.calculateAdjustments=function(e,t,n,i){var o=this._rules,r=[],s=[],a=[],l=[];function c(e){r.includes(e)||r.push(e);var t=e.label;t&&!r.includes(t)&&r.push(t)}function h(e){s.includes(e)||s.push(e)}L1(e,(function(e){if(e.parent&&!b5(e))if(v5(e))l.push(e);else{var r=e[t],s=r+e[Bge[t]];Hge(e)&&(n>0&&x5(e)[t]>i||n<0&&x5(e)[t]0&&r>i||n<0&&si&&o.allowed("shape.resize",{shape:e})&&h(e)}})),L1(r,(function(e){var t=e.attachers;t&&L1(t,(function(e){c(e)}))}));var d=r.concat(s);return L1(a,(function(e){var t=e.host;Wge(d,t)&&c(e)})),d=r.concat(s),L1(l,(function(e){var t=e.source,n=e.target,i=e.label;Wge(d,t)&&Wge(d,n)&&i&&c(i)})),{movingShapes:r,resizingShapes:s}},Fge.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();this.activateSelection(e,!!e)},Fge.prototype.isActive=function(){var e=this._dragging.context();return!!e&&/^spaceTool/.test(e.prefix)};var jge="djs-dragging",Qge="djs-resizing",Uge=250,Kge=Math.max;function Gge(e,t,n,i,o){function r(e,t){L1(e,(function(e){o.addDragger(e,t),n.addMarker(e,jge)}))}e.on("spaceTool.selection.start",(function(e){var t=n.getLayer("space"),o=e.context,r={x:"M 0,-10000 L 0,10000",y:"M -10000,0 L 10000,0"},s=n4("g");U2(s,i.cls("djs-crosshair-group",["no-events"])),z2(t,s);var a=n4("path");U2(a,"d",r.x),G2(a).add("djs-crosshair"),z2(s,a);var l=n4("path");U2(l,"d",r.y),G2(l).add("djs-crosshair"),z2(s,l),o.crosshairGroup=s})),e.on("spaceTool.selection.move",(function(e){var t=e.context.crosshairGroup;m3(t,e.x,e.y)})),e.on("spaceTool.selection.cleanup",(function(e){var t=e.context,n=t.crosshairGroup;n&&$2(n)})),e.on("spaceTool.move",Uge,(function(e){var s=e.context,a=s.line,l=s.axis,c=s.movingShapes,h=s.resizingShapes;if(s.initialized){if(!s.dragGroup){var d=n.getLayer("space");a=n4("path"),U2(a,"d","M0,0 L0,0"),G2(a).add("djs-crosshair"),z2(d,a),s.line=a;var u=n4("g");U2(u,i.cls("djs-drag-group",["no-events"])),z2(n.getActiveLayer(),u),r(c,u);var p=s.movingConnections=t.filter((function(e){var t=!1;L1(c,(function(n){L1(n.outgoing,(function(n){e===n&&(t=!0)}))}));var n=!1;L1(c,(function(t){L1(t.incoming,(function(t){e===t&&(n=!0)}))}));var i=!1;L1(h,(function(t){L1(t.outgoing,(function(t){e===t&&(i=!0)}))}));var o=!1;return L1(h,(function(t){L1(t.incoming,(function(t){e===t&&(o=!0)}))})),v5(e)&&(t||i)&&(n||o)}));r(p,u),s.dragGroup=u}if(!s.frameGroup){var g=n4("g");U2(g,i.cls("djs-frame-group",["no-events"])),z2(n.getActiveLayer(),g);var m=[];L1(h,(function(e){var t=o.addFrame(e,g),i=t.getBBox();m.push({element:t,initialBounds:i}),n.addMarker(e,Qge)})),s.frameGroup=g,s.frames=m}var f={x:"M"+e.x+", -10000 L"+e.x+", 10000",y:"M -10000, "+e.y+" L 10000, "+e.y};U2(a,{d:f[l]});var v={x:"y",y:"x"},b={x:e.dx,y:e.dy};b[v[s.axis]]=0,m3(s.dragGroup,b.x,b.y),L1(s.frames,(function(e){var t,n,i=e.element,o=e.initialBounds;"e"===s.direction?U2(i,{width:Kge(o.width+b.x,5)}):(t=Kge(o.width-b.x,5),U2(i,{width:t,x:o.x+o.width-t})),"s"===s.direction?U2(i,{height:Kge(o.height+b.y,5)}):(n=Kge(o.height-b.y,5),U2(i,{height:n,y:o.y+o.height-n}))}))}})),e.on("spaceTool.cleanup",(function(e){var t=e.context,i=t.movingShapes,o=t.movingConnections,r=t.resizingShapes,s=t.line,a=t.dragGroup,l=t.frameGroup;L1(i,(function(e){n.removeMarker(e,jge)})),L1(o,(function(e){n.removeMarker(e,jge)})),a&&($2(s),$2(a)),L1(r,(function(e){n.removeMarker(e,Qge)})),l&&$2(l)}))}Gge.$inject=["eventBus","elementRegistry","canvas","styles","previewSupport"];var Yge={__init__:["spaceToolPreview"],__depends__:[cre,gre,Ege,iae,_ae],spaceTool:["type",Fge],spaceToolPreview:["type",Gge]};function $ge(e){e.invoke(Fge,this)}$ge.$inject=["injector"],l1($ge,Fge),$ge.prototype.calculateAdjustments=function(e,t,n,i){var o=Fge.prototype.calculateAdjustments.call(this,e,t,n,i);return o.resizingShapes=o.resizingShapes.filter((function(e){return!u9(e,"bpmn:TextAnnotation")})),o};var qge={__depends__:[Yge],spaceTool:["type",$ge]};function Jge(e,t){this._handlerMap={},this._stack=[],this._stackIdx=-1,this._currentExecution={actions:[],dirty:[],trigger:null},this._injector=t,this._eventBus=e,this._uid=1,e.on(["diagram.destroy","diagram.clear"],(function(){this.clear(!1)}),this)}Jge.$inject=["eventBus","injector"],Jge.prototype.execute=function(e,t){if(!e)throw new Error("command required");this._currentExecution.trigger="execute";const n={command:e,context:t};this._pushAction(n),this._internalExecute(n),this._popAction()},Jge.prototype.canExecute=function(e,t){const n={command:e,context:t},i=this._getHandler(e);let o=this._fire(e,"canExecute",n);if(void 0===o){if(!i)return!1;i.canExecute&&(o=i.canExecute(t))}return o},Jge.prototype.clear=function(e){this._stack.length=0,this._stackIdx=-1,!1!==e&&this._fire("changed",{trigger:"clear"})},Jge.prototype.undo=function(){let e,t=this._getUndoAction();if(t){this._currentExecution.trigger="undo",this._pushAction(t);while(t){if(this._internalUndo(t),e=this._getUndoAction(),!e||e.id!==t.id)break;t=e}this._popAction()}},Jge.prototype.redo=function(){let e,t=this._getRedoAction();if(t){this._currentExecution.trigger="redo",this._pushAction(t);while(t){if(this._internalExecute(t,!0),e=this._getRedoAction(),!e||e.id!==t.id)break;t=e}this._popAction()}},Jge.prototype.register=function(e,t){this._setHandler(e,t)},Jge.prototype.registerHandler=function(e,t){if(!e||!t)throw new Error("command and handlerCls must be defined");const n=this._injector.instantiate(t);this.register(e,n)},Jge.prototype.canUndo=function(){return!!this._getUndoAction()},Jge.prototype.canRedo=function(){return!!this._getRedoAction()},Jge.prototype._getRedoAction=function(){return this._stack[this._stackIdx+1]},Jge.prototype._getUndoAction=function(){return this._stack[this._stackIdx]},Jge.prototype._internalUndo=function(e){const t=e.command,n=e.context,i=this._getHandler(t);this._atomicDo(()=>{this._fire(t,"revert",e),i.revert&&this._markDirty(i.revert(n)),this._revertedAction(e),this._fire(t,"reverted",e)})},Jge.prototype._fire=function(e,t,n){arguments.length<3&&(n=t,t=null);const i=t?[e+"."+t,t]:[e];let o;n=this._eventBus.createEvent(n);for(const r of i)if(o=this._eventBus.fire("commandStack."+r,n),n.cancelBubble)break;return o},Jge.prototype._createId=function(){return this._uid++},Jge.prototype._atomicDo=function(e){const t=this._currentExecution;t.atomic=!0;try{e()}finally{t.atomic=!1}},Jge.prototype._internalExecute=function(e,t){const n=e.command,i=e.context,o=this._getHandler(n);if(!o)throw new Error("no command handler registered for <"+n+">");this._pushAction(e),t||(this._fire(n,"preExecute",e),o.preExecute&&o.preExecute(i),this._fire(n,"preExecuted",e)),this._atomicDo(()=>{this._fire(n,"execute",e),o.execute&&this._markDirty(o.execute(i)),this._executedAction(e,t),this._fire(n,"executed",e)}),t||(this._fire(n,"postExecute",e),o.postExecute&&o.postExecute(i),this._fire(n,"postExecuted",e)),this._popAction()},Jge.prototype._pushAction=function(e){const t=this._currentExecution,n=t.actions,i=n[0];if(t.atomic)throw new Error("illegal invocation in or phase (action: "+e.command+")");e.id||(e.id=i&&i.id||this._createId()),n.push(e)},Jge.prototype._popAction=function(){const e=this._currentExecution,t=e.trigger,n=e.actions,i=e.dirty;n.pop(),n.length||(this._eventBus.fire("elements.changed",{elements:z1("id",i.reverse())}),i.length=0,this._fire("changed",{trigger:t}),e.trigger=null)},Jge.prototype._markDirty=function(e){const t=this._currentExecution;e&&(e=y1(e)?e:[e],t.dirty=t.dirty.concat(e))},Jge.prototype._executedAction=function(e,t){const n=++this._stackIdx;t||this._stack.splice(n,this._stack.length,e)},Jge.prototype._revertedAction=function(e){this._stackIdx--},Jge.prototype._getHandler=function(e){return this._handlerMap[e]},Jge.prototype._setHandler=function(e,t){if(!e||!t)throw new Error("command and handler required");if(this._handlerMap[e])throw new Error("overriding handler for command <"+e+">");this._handlerMap[e]=t};var Xge={commandStack:["type",Jge]},Zge=new Lee("tt");function eme(e){var t=I2('
    ');return l2(t,{position:"absolute",width:"0",height:"0"}),e.insertBefore(t,e.firstChild),t}function tme(e,t,n){l2(e,{left:t+"px",top:n+"px"})}function nme(e,t){e.style.display=!1===t?"none":""}var ime="djs-tooltip",ome="."+ime;function rme(e,t){this._eventBus=e,this._canvas=t,this._ids=Zge,this._tooltipDefaults={show:{minZoom:.7,maxZoom:5}},this._tooltips={},this._tooltipRoot=eme(t.getContainer());var n=this;k2.bind(this._tooltipRoot,ome,"mousedown",(function(e){e.stopPropagation()})),k2.bind(this._tooltipRoot,ome,"mouseover",(function(e){n.trigger("mouseover",e)})),k2.bind(this._tooltipRoot,ome,"mouseout",(function(e){n.trigger("mouseout",e)})),this._init()}rme.$inject=["eventBus","canvas"],rme.prototype.add=function(e){if(!e.position)throw new Error("must specifiy tooltip position");if(!e.html)throw new Error("must specifiy tooltip html");var t=this._ids.next();return e=$1({},this._tooltipDefaults,e,{id:t}),this._addTooltip(e),e.timeout&&this.setTimeout(e),t},rme.prototype.trigger=function(e,t){var n=t.delegateTarget||t.target,i=this.get(c2(n,"data-tooltip-id"));i&&("mouseover"===e&&i.timeout&&this.clearTimeout(i),"mouseout"===e&&i.timeout&&(i.timeout=1e3,this.setTimeout(i)))},rme.prototype.get=function(e){return"string"!==typeof e&&(e=e.id),this._tooltips[e]},rme.prototype.clearTimeout=function(e){if(e=this.get(e),e){var t=e.removeTimer;t&&(clearTimeout(t),e.removeTimer=null)}},rme.prototype.setTimeout=function(e){if(e=this.get(e),e){this.clearTimeout(e);var t=this;e.removeTimer=setTimeout((function(){t.remove(e)}),e.timeout)}},rme.prototype.remove=function(e){var t=this.get(e);t&&(P2(t.html),P2(t.htmlContainer),delete t.htmlContainer,delete this._tooltips[t.id])},rme.prototype.show=function(){nme(this._tooltipRoot)},rme.prototype.hide=function(){nme(this._tooltipRoot,!1)},rme.prototype._updateRoot=function(e){var t=e.scale||1,n=e.scale||1,i="matrix("+t+",0,0,"+n+","+-1*e.x*t+","+-1*e.y*n+")";this._tooltipRoot.style.transform=i,this._tooltipRoot.style["-ms-transform"]=i},rme.prototype._addTooltip=function(e){var t,n=e.id,i=e.html,o=this._tooltipRoot;i.get&&i.constructor.prototype.jquery&&(i=i.get(0)),A1(i)&&(i=I2(i)),t=I2('
    '),l2(t,{position:"absolute"}),t.appendChild(i),e.type&&d2(t).add("djs-tooltip-"+e.type),e.className&&d2(t).add(e.className),e.htmlContainer=t,o.appendChild(t),this._tooltips[n]=e,this._updateTooltip(e)},rme.prototype._updateTooltip=function(e){var t=e.position,n=e.htmlContainer;tme(n,t.x,t.y)},rme.prototype._updateTooltipVisibilty=function(e){L1(this._tooltips,(function(t){var n=t.show,i=t.htmlContainer,o=!0;n&&((n.minZoom>e.scale||n.maxZoomt:/n|w/.test(n)?e[i] required");var o=e.changed||this._getVisualReferences(n).concat(t),r=e.oldProperties||Cfe(n,R1(i));return Afe(n,i),e.oldProperties=r,e.changed=o,o},wfe.prototype.revert=function(e){var t=e.oldProperties,n=e.moddleElement,i=e.changed;return Afe(n,t),i},wfe.prototype._getVisualReferences=function(e){var t=this._elementRegistry;return u9(e,"bpmn:DataObject")?Efe(e,t):[]};var xfe="default",Sfe="id",Dfe="di",kfe={width:0,height:0};function Lfe(e,t,n,i,o){this._elementRegistry=e,this._moddle=t,this._translate=n,this._modeling=i,this._textRenderer=o}function Mfe(e,t){return Sfe in e&&e[Sfe]!==t[Sfe]}function Bfe(e,t){var n=R1(t),i=e.businessObject,o=m9(e);return B1(n,(function(e,n){return e[n]=n!==Dfe?i.get(n):Nfe(o,R1(t.di)),e}),{})}function Nfe(e,t){return B1(t,(function(t,n){return t[n]=e&&e.get(n),t}),{})}function Ife(e,t){var n=e.businessObject,i=m9(e);L1(t,(function(e,t){t!==Dfe?n.set(t,e):i&&Tfe(i,e)}))}function Tfe(e,t){L1(t,(function(t,n){e.set(n,t)}))}Lfe.$inject=["elementRegistry","moddle","translate","modeling","textRenderer"],Lfe.prototype.execute=function(e){var t=e.element,n=[t],i=this._translate;if(!t)throw new Error(i("element required"));var o=this._elementRegistry,r=this._moddle.ids,s=t.businessObject,a=Pfe(e.properties),l=e.oldProperties||Bfe(t,a);return Mfe(a,s)&&(r.unclaim(s[Sfe]),o.updateId(t,a[Sfe]),r.claim(a[Sfe],s)),xfe in a&&(a[xfe]&&n.push(o.get(a[xfe].id)),s[xfe]&&n.push(o.get(s[xfe].id))),Ife(t,a),e.oldProperties=l,e.changed=n,n},Lfe.prototype.postExecute=function(e){var t=e.element,n=t.label,i=n&&g9(n).name;if(i){var o=this._textRenderer.getExternalLabelBounds(n,i);this._modeling.resizeShape(n,o,kfe)}},Lfe.prototype.revert=function(e){var t=e.element,n=e.properties,i=e.oldProperties,o=t.businessObject,r=this._elementRegistry,s=this._moddle.ids;return Ife(t,i),Mfe(n,o)&&(s.unclaim(n[Sfe]),r.updateId(t,i[Sfe]),s.claim(i[Sfe],o)),e.changed};var Rfe=["default"];function Pfe(e){var t=$1({},e);return Rfe.forEach((function(n){n in e&&(t[n]=g9(t[n]))})),t}function Ffe(e,t){this._canvas=e,this._modeling=t}function Ofe(e,t){this._modeling=e,this._spaceTool=t}function zfe(e,t){this._modeling=e,this._translate=t}function Vfe(e,t){this._modeling=e,this._spaceTool=t}Ffe.$inject=["canvas","modeling"],Ffe.prototype.execute=function(e){var t=this._canvas,n=e.newRoot,i=n.businessObject,o=t.getRootElement(),r=o.businessObject,s=r.$parent,a=m9(o);return t.setRootElement(n),t.removeRootElement(o),s5(s.rootElements,i),i.$parent=s,r5(s.rootElements,r),r.$parent=null,o.di=null,a.bpmnElement=i,n.di=a,e.oldRoot=o,[]},Ffe.prototype.revert=function(e){var t=this._canvas,n=e.newRoot,i=n.businessObject,o=e.oldRoot,r=o.businessObject,s=i.$parent,a=m9(n);return t.setRootElement(o),t.removeRootElement(n),r5(s.rootElements,i),i.$parent=null,s5(s.rootElements,r),r.$parent=s,n.di=null,a.bpmnElement=r,o.di=a,[]},Ofe.$inject=["modeling","spaceTool"],Ofe.prototype.preExecute=function(e){var t=this._spaceTool,n=this._modeling,i=e.shape,o=e.location,r=Ble(i),s=r===i,a=s?i:i.parent,l=Mle(a);l.length||n.createShape({type:"bpmn:Lane"},{x:i.x+kle,y:i.y,width:i.width-kle,height:i.height},a);var c=[];K4(r,(function(e){return c.push(e),e.label&&c.push(e.label),e===i?[]:k1(e.children,(function(e){return e!==i}))}));var h="top"===o?-120:120,d="top"===o?i.y:i.y+i.height,u=d+("top"===o?10:-10),p="top"===o?"n":"s",g=t.calculateAdjustments(c,"y",h,u);t.makeSpace(g.movingShapes,g.resizingShapes,{x:0,y:h},p,u),e.newLane=n.createShape({type:"bpmn:Lane"},{x:i.x+(s?kle:0),y:d-("top"===o?120:0),width:i.width-(s?kle:0),height:120},a)},zfe.$inject=["modeling","translate"],zfe.prototype.preExecute=function(e){var t=this._modeling,n=this._translate,i=e.shape,o=e.count,r=Mle(i),s=r.length;if(s>o)throw new Error(n("more than {count} child lanes",{count:o}));var a,l,c,h,d,u=Math.round(i.height/o);for(d=0;d0||h.bottom<0?-n:n,s=a.calculateAdjustments(u,"y",r,i),a.makeSpace(s.movingShapes,s.resizingShapes,{x:0,y:n},o)),(h.left||h.right)&&(n=h.right||h.left,i=e.x+(h.right?e.width:0)+(h.right?-10:100),o=h.right?"e":"w",r=h.left>0||h.right<0?-n:n,s=a.calculateAdjustments(p,"x",r,i),a.makeSpace(s.movingShapes,s.resizingShapes,{x:n,y:0},o))};var Wfe="flowNodeRef",Hfe="lanes";function jfe(e){this._elementRegistry=e}function Qfe(e){this._moddle=e}jfe.$inject=["elementRegistry"],jfe.prototype._computeUpdates=function(e,t){var n=[],i=[],o={},r=[];function s(e,t){var n=w5(t),i={x:e.x+e.width/2,y:e.y+e.height/2};return i.x>n.left&&i.xn.top&&i.y: must be specified as : with start/end in { h,v,t,r,b,l }");if(Sve(n)){var i=cve(e,t,n),o=hve(e,t,n),r=dve(i,o);return[].concat(i.waypoints,r.waypoints,o.waypoints)}return pve(e,t,n)}function mve(e,t,n){var i=gve(e,t,n);return i.unshift(e),i.push(t),Lve(i)}function fve(e,t,n,i,o){var r=o&&o.preferredLayouts||[],s=M1(r,"straight")[0]||"h:h",a=rve[s]||0,l=S5(e,t,a),c=Eve(l,s);n=n||x5(e),i=i||x5(t);var h=c.split(":"),d=kve(n,e,h[0],Dve(l)),u=kve(i,t,h[1],l);return mve(d,u,c)}function vve(e,t,n,i,o,r){y1(n)&&(o=n,r=i,n=x5(e),i=x5(t)),r=$1({preferredLayouts:[]},r),o=o||[];var s,a=r.preferredLayouts,l=-1!==a.indexOf("straight");return s=l&&_ve(e,t,n,i,r),s||(s=r.connectionEnd&&Cve(t,e,i,o),s||(s=r.connectionStart&&wve(e,t,n,o),s||(!r.connectionStart&&!r.connectionEnd&&o&&o.length?o:fve(e,t,n,i,r))))}function bve(e,t,n){return e>=t&&e<=n}function yve(e,t,n){var i={x:"width",y:"height"};return bve(t[e],n[e],n[e]+n[i[e]])}function _ve(e,t,n,i,o){var r,s,a={};return s=S5(e,t),/^(top|bottom|left|right)$/.test(s)?(/top|bottom/.test(s)&&(r="x"),/left|right/.test(s)&&(r="y"),"target"===o.preserveDocking?yve(r,i,e)?(a[r]=i[r],[{x:void 0!==a.x?a.x:n.x,y:void 0!==a.y?a.y:n.y,original:{x:void 0!==a.x?a.x:n.x,y:void 0!==a.y?a.y:n.y}},{x:i.x,y:i.y}]):null:yve(r,n,t)?(a[r]=n[r],[{x:n.x,y:n.y},{x:void 0!==a.x?a.x:i.x,y:void 0!==a.y?a.y:i.y,original:{x:void 0!==a.x?a.x:i.x,y:void 0!==a.y?a.y:i.y}}]):null):null}function wve(e,t,n,i){return Ave(e,t,n,i)}function Cve(e,t,n,i){var o=i.slice().reverse();return o=Ave(e,t,n,o),o?o.reverse():null}function Ave(e,t,n,i){function o(e){return e.length<3||!(e.length>4)&&!!S1(e,(function(t,n){var i=e[n-1];return i&&l5(t,i)<3}))}function r(e,t,n){var i=d5(t,e);switch(i){case"v":return{x:n.x,y:e.y};case"h":return{x:e.x,y:n.y}}return{x:e.x,y:e.y}}function s(e,t,n){var i;for(i=e.length-2;0!==i;i--)if(p5(e[i],t,ove)||p5(e[i],n,ove))return e.slice(i);return e}if(o(i))return null;var a,l=i[0],c=i.slice();return c[0]=n,c[1]=r(c[1],l,n),a=s(c,e,t),a!==c&&(c=Ave(e,t,n,a)),c&&d5(c)?null:c}function Eve(e,t){if(Sve(t))return t;switch(e){case"intersect":return"t:t";case"top":case"bottom":return"v:v";case"left":case"right":return"h:h";default:return t}}function xve(e){return e&&/^h|v|t|r|b|l:h|v|t|r|b|l$/.test(e)}function Sve(e){return e&&/t|r|b|l/.test(e)}function Dve(e){return{top:"bottom",bottom:"top",left:"right",right:"left","top-left":"bottom-right","bottom-right":"top-left","top-right":"bottom-left","bottom-left":"top-right"}[e]}function kve(e,t,n,i){if("h"===n&&(n=/left/.test(i)?"l":"r"),"v"===n&&(n=/top/.test(i)?"t":"b"),"t"===n)return{original:e,x:e.x,y:t.y};if("r"===n)return{original:e,x:t.x+t.width,y:e.y};if("b"===n)return{original:e,x:e.x,y:t.y+t.height};if("l"===n)return{original:e,x:t.x,y:e.y};throw new Error("unexpected dockingDirection: <"+n+">")}function Lve(e){return e.reduce((function(t,n,i){var o=t[t.length-1],r=e[i+1];return c5(o,r,n,0)||t.push(n),t}),[])}var Mve=-10,Bve=40,Nve={top:"bottom","top-right":"bottom-left","top-left":"bottom-right",right:"left",bottom:"top","bottom-right":"top-left","bottom-left":"top-right",left:"right"},Ive={top:"t",right:"r",bottom:"b",left:"l"};function Tve(){}function Rve(e){var t=e.host;return S5(x5(e),t,Mve)}function Pve(e,t){return{preferredLayouts:["straight","v:v"],preserveDocking:Fve(e,t)}}function Fve(e,t){return u9(t,"bpmn:Participant")?"source":u9(e,"bpmn:Participant")?"target":Hve(t)?"source":Hve(e)||u9(t,"bpmn:Event")?"target":u9(e,"bpmn:Event")?"source":null}function Ove(e){return{preferredLayouts:["straight","h:h"],preserveDocking:zve(e)}}function zve(e){return Hve(e)?"target":"source"}function Vve(e,t){return e?e.original||e:x5(t)}function Wve(e,t){return u9(t,"bpmn:Activity")&&u9(e,"bpmn:BoundaryEvent")&&t.businessObject.isForCompensation}function Hve(e){return u9(e,"bpmn:SubProcess")&&z9(e)}function jve(e,t){return e===t}function Qve(e,t){return-1!==t.indexOf(e)}function Uve(e){var t=/right|left/.exec(e);return t&&t[0]}function Kve(e){var t=/top|bottom/.exec(e);return t&&t[0]}function Gve(e,t){return Nve[e]===t}function Yve(e,t){var n=Uve(e),i=Nve[n];return-1!==t.indexOf(i)}function $ve(e,t){var n=Kve(e),i=Nve[n];return-1!==t.indexOf(i)}function qve(e){return"right"===e||"left"===e}function Jve(e,t){var n=t.waypoints,i=n&&n.length&&S5(n[0],e);return"top"===i?["t:r"]:"right"===i?["r:b"]:"left"===i?["l:t"]:["b:l"]}function Xve(e,t,n){var i,o,r=x5(e),s=x5(t),a=Rve(e),l=jve(e.host,t),c=Qve(a,["top","right","bottom","left"]),h=S5(s,r,{x:e.width/2+t.width/2,y:e.height/2+t.height/2});return l?Zve(a,c,e,t,n):(i=nbe(a,h,c),o=ibe(a,h,c),[i+":"+o])}function Zve(e,t,n,i,o){var r,s=t?e:Kve(e),a=Ive[s];return r=t?qve(e)?ebe("y",n,i,o)?"h":"b":ebe("x",n,i,o)?"v":"l":"v",[a+":"+r]}function ebe(e,t,n,i){var o=Bve;return!(tbe(e,i,n,o)||tbe(e,i,{x:n.x+n.width,y:n.y+n.height},o)||tbe(e,i,x5(t),o))}function tbe(e,t,n,i){return Math.abs(t[e]-n[e])
    '),c2(o,"data-group",i),e.appendChild(o));var r=t.html||(t.separator?'
    ':'
    '),s=I2(r);if(o.appendChild(s),!t.separator&&(c2(s,"data-action",n),t.title&&c2(s,"title",t.title),t.className&&Ibe(s,t.className),t.imageUrl)){var a=I2("");c2(a,"src",t.imageUrl),s.appendChild(a)}})),this.open()},Nbe.prototype.trigger=function(e,t,n){var i,o,r=t.delegateTarget||t.target;return r?(i=c2(r,"data-action"),o=t.originalEvent||t,this.triggerEntry(i,e,o,n)):t.preventDefault()},Nbe.prototype.triggerEntry=function(e,t,n,i){var o,r,s=this._entries;if(o=s[e],o&&(r=o.action,!1!==this._eventBus.fire("palette.trigger",{entry:o,event:n}))){if(C1(r)){if("click"===t)return r(n,i)}else if(r[t])return r[t](n,i);n.preventDefault()}},Nbe.prototype._layoutChanged=function(){this._toggleState({})},Nbe.prototype._needsCollapse=function(e,t){var n=50,i=46*Object.keys(t).length;return e=i.x&&n.yi.x&&n.y<=i.y?{x:i.x,y:n.y,width:n.x-i.x,height:i.y-n.y}:n.x<=i.x&&n.y>i.y||n.x=i.y?{x:n.x,y:i.y,width:i.x-n.x,height:n.y-i.y}:n.x>=i.x&&n.y>i.y||n.x>i.x&&n.y>=i.y?{x:i.x,y:i.y,width:n.x-i.x,height:n.y-i.y}:{x:i.x,y:i.y,width:0,height:0},t}Fbe.$inject=["eventBus","canvas","dragging","elementRegistry","selection","toolManager","mouse"],Fbe.prototype.activateLasso=function(e,t){this._dragging.init(e,"lasso",{autoActivate:t,cursor:Pbe,data:{context:{}}})},Fbe.prototype.activateSelection=function(e,t){this._dragging.init(e,"lasso.selection",{trapClick:!1,autoActivate:t,cursor:Pbe,data:{context:{}}})},Fbe.prototype.select=function(e,t){var n=J4(e,t);this._selection.select(F1(n))},Fbe.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();this.activateSelection(e,!!e)},Fbe.prototype.isActive=function(){var e=this._dragging.context();return e&&/^lasso/.test(e.prefix)};var zbe={__depends__:[Ege,_ae],__init__:["lassoTool"],lassoTool:["type",Fbe]},Vbe=1500,Wbe="grab";function Hbe(e,t,n,i,o,r){this._dragging=n,this._mouse=r;var s=this,a=i.get("keyboard",!1);o.registerTool("hand",{tool:"hand",dragging:"hand.move"}),e.on("element.mousedown",Vbe,(function(e){if(hee(e))return s.activateMove(e.originalEvent,!0),!1})),a&&a.addListener(Vbe,(function(e){if(jbe(e.keyEvent)&&!s.isActive()){var t=s._mouse.getLastMoveEvent();s.activateMove(t,!!t)}}),"keyboard.keydown"),a&&a.addListener(Vbe,(function(e){jbe(e.keyEvent)&&s.isActive()&&s.toggle()}),"keyboard.keyup"),e.on("hand.end",(function(t){var n=t.originalEvent.target;if(!t.hover&&!(n instanceof SVGElement))return!1;e.once("hand.ended",(function(){s.activateMove(t.originalEvent,{reactivate:!0})}))})),e.on("hand.move.move",(function(e){var n=t.viewbox().scale;t.scroll({dx:e.dx*n,dy:e.dy*n})})),e.on("hand.move.end",(function(t){var n=t.context,i=n.reactivate;return!hee(t)&&i&&e.once("hand.move.ended",(function(e){s.activateHand(e.originalEvent,!0,!0)})),!1}))}function jbe(e){return Ete("Space",e)}Hbe.$inject=["eventBus","canvas","dragging","injector","toolManager","mouse"],Hbe.prototype.activateMove=function(e,t,n){"object"===typeof t&&(n=t,t=!1),this._dragging.init(e,"hand.move",{autoActivate:t,cursor:Wbe,data:{context:n||{}}})},Hbe.prototype.activateHand=function(e,t,n){this._dragging.init(e,"hand",{trapClick:!1,autoActivate:t,cursor:Wbe,data:{context:{reactivate:n}}})},Hbe.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();this.activateHand(e,!!e)},Hbe.prototype.isActive=function(){var e=this._dragging.context();return!!e&&/^(hand|hand\.move)$/.test(e.prefix)};var Qbe={__depends__:[Ege,_ae],__init__:["handTool"],handTool:["type",Hbe]},Ube="connect-ok",Kbe="connect-not-ok";function Gbe(e,t,n,i,o,r,s){var a=this;this._dragging=t,this._rules=r,this._mouse=s,o.registerTool("global-connect",{tool:"global-connect",dragging:"global-connect.drag"}),e.on("global-connect.hover",(function(e){var t=e.context,n=e.hover,o=t.canStartConnect=a.canStartConnect(n);null!==o&&(t.startTarget=n,i.addMarker(n,o?Ube:Kbe))})),e.on(["global-connect.out","global-connect.cleanup"],(function(e){var t=e.context.startTarget,n=e.context.canStartConnect;t&&i.removeMarker(t,n?Ube:Kbe)})),e.on(["global-connect.ended"],(function(t){var i=t.context,o=i.startTarget,r={x:t.x,y:t.y},s=a.canStartConnect(o);if(s)return e.once("element.out",(function(){e.once(["connect.ended","connect.canceled"],(function(){e.fire("global-connect.drag.ended")})),n.start(null,o,r)})),!1}))}Gbe.$inject=["eventBus","dragging","connect","canvas","toolManager","rules","mouse"],Gbe.prototype.start=function(e,t){this._dragging.init(e,"global-connect",{autoActivate:t,trapClick:!1,data:{context:{}}})},Gbe.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();return this.start(e,!!e)},Gbe.prototype.isActive=function(){var e=this._dragging.context();return e&&/^global-connect/.test(e.prefix)},Gbe.prototype.canStartConnect=function(e){return this._rules.allowed("connection.start",{source:e})};var Ybe={__depends__:[Tse,gre,cre,Ege,_ae],globalConnect:["type",Gbe]};function $be(e,t,n,i,o,r,s,a){this._palette=e,this._create=t,this._elementFactory=n,this._spaceTool=i,this._lassoTool=o,this._handTool=r,this._globalConnect=s,this._translate=a,e.registerProvider(this)}$be.$inject=["palette","create","elementFactory","spaceTool","lassoTool","handTool","globalConnect","translate"],$be.prototype.getPaletteEntries=function(){var e={},t=this._create,n=this._elementFactory,i=this._spaceTool,o=this._lassoTool,r=this._handTool,s=this._globalConnect,a=this._translate;function l(e,i,o,r,s){function l(i){var o=n.createShape($1({type:e},s));if(s){var r=m9(o);r.isExpanded=s.isExpanded}t.start(i,o)}var c=e.replace(/^bpmn:/,"");return{group:i,className:o,title:r||a("Create {type}",{type:c}),action:{dragstart:l,click:l}}}function c(e){var i=n.createShape({type:"bpmn:SubProcess",x:0,y:0,isExpanded:!0}),o=n.createShape({type:"bpmn:StartEvent",x:40,y:82,parent:i});t.start(e,[i,o],{hints:{autoSelect:[i]}})}function h(e){t.start(e,n.createParticipantShape())}return $1(e,{"hand-tool":{group:"tools",className:"bpmn-icon-hand-tool",title:a("Activate the hand tool"),action:{click:function(e){r.activateHand(e)}}},"lasso-tool":{group:"tools",className:"bpmn-icon-lasso-tool",title:a("Activate the lasso tool"),action:{click:function(e){o.activateSelection(e)}}},"space-tool":{group:"tools",className:"bpmn-icon-space-tool",title:a("Activate the create/remove space tool"),action:{click:function(e){i.activateSelection(e)}}},"global-connect-tool":{group:"tools",className:"bpmn-icon-connection-multi",title:a("Activate the global connect tool"),action:{click:function(e){s.start(e)}}},"tool-separator":{group:"tools",separator:!0},"create.start-event":l("bpmn:StartEvent","event","bpmn-icon-start-event-none",a("Create StartEvent")),"create.intermediate-event":l("bpmn:IntermediateThrowEvent","event","bpmn-icon-intermediate-event-none",a("Create Intermediate/Boundary Event")),"create.end-event":l("bpmn:EndEvent","event","bpmn-icon-end-event-none",a("Create EndEvent")),"create.exclusive-gateway":l("bpmn:ExclusiveGateway","gateway","bpmn-icon-gateway-none",a("Create Gateway")),"create.task":l("bpmn:Task","activity","bpmn-icon-task",a("Create Task")),"create.data-object":l("bpmn:DataObjectReference","data-object","bpmn-icon-data-object",a("Create DataObjectReference")),"create.data-store":l("bpmn:DataStoreReference","data-store","bpmn-icon-data-store",a("Create DataStoreReference")),"create.subprocess-expanded":{group:"activity",className:"bpmn-icon-subprocess-expanded",title:a("Create expanded SubProcess"),action:{dragstart:c,click:c}},"create.participant-expanded":{group:"collaboration",className:"bpmn-icon-participant",title:a("Create Pool/Participant"),action:{dragstart:h,click:h}},"create.group":l("bpmn:Group","artifact","bpmn-icon-group",a("Create Group"))}),e};var qbe={__depends__:[Rbe,mae,qge,zbe,Qbe,Ybe,G7],__init__:["paletteProvider"],paletteProvider:["type",$be]},Jbe=250;function Xbe(e,t,n,i,o){function r(e){var r=e.canExecute.replacements;L1(r,(function(r){var s=r.oldElementId,a={type:r.newElementType};if(!e.visualReplacements[s]){var l=t.get(s);$1(a,{x:l.x,y:l.y});var c=n.createShape(a);i.addShape(c,l.parent);var h=T2('[data-element-id="'+Kee(l.id)+'"]',e.dragGroup);h&&U2(h,{display:"none"});var d=o.addDragger(c,e.dragGroup);e.visualReplacements[s]=d,i.removeShape(c)}}))}function s(e){var t=e.visualReplacements;L1(t,(function(n,i){var o=T2('[data-element-id="'+Kee(i)+'"]',e.dragGroup);o&&U2(o,{display:"inline"}),n.remove(),t[i]&&delete t[i]}))}Wee.call(this,e),e.on("shape.move.move",Jbe,(function(e){var t=e.context,n=t.canExecute;t.visualReplacements||(t.visualReplacements={}),n&&n.replacements?r(t):s(t)}))}Xbe.$inject=["eventBus","elementRegistry","elementFactory","canvas","previewSupport"],l1(Xbe,Wee);var Zbe={__depends__:[iae],__init__:["bpmnReplacePreview"],bpmnReplacePreview:["type",Xbe]},eye=1250,tye=40,nye=20,iye=10,oye=20,rye=["x","y"],sye=Math.abs;function aye(e){e.on(["connect.hover","connect.move","connect.end"],eye,(function(e){var t=e.context,n=t.canExecute,i=t.start,o=t.hover,r=t.source,s=t.target;e.originalEvent&&Ate(e.originalEvent)||(t.initialConnectionStart||(t.initialConnectionStart=t.connectionStart),n&&o&&lye(e,o,mye(o)),o&&pye(n,["bpmn:Association","bpmn:DataInputAssociation","bpmn:DataOutputAssociation","bpmn:SequenceFlow"])?(t.connectionStart=bse(i),p9(o,["bpmn:Event","bpmn:Gateway"])&&dye(e,bse(o)),p9(o,["bpmn:Task","bpmn:SubProcess"])&&cye(e,o),u9(r,"bpmn:BoundaryEvent")&&s===r.host&&hye(e)):uye(n,"bpmn:MessageFlow")?(u9(i,"bpmn:Event")&&(t.connectionStart=bse(i)),u9(o,"bpmn:Event")&&dye(e,bse(o))):t.connectionStart=t.initialConnectionStart)}))}function lye(e,t,n){rye.forEach((function(i){var o=gye(i,t);e[i]t[i]+o-n&&_se(e,i,t[i]+o-n)}))}function cye(e,t){var n=bse(t);rye.forEach((function(i){fye(e,t,i)&&_se(e,i,n[i])}))}function hye(e){var t=e.context,n=t.source,i=t.target;if(!vye(t)){var o=bse(n),r=S5(o,i,-10),s=[];/top|bottom/.test(r)&&s.push("x"),/left|right/.test(r)&&s.push("y"),s.forEach((function(t){var n,i=e[t];sye(i-o[t])o[t]?o[t]+tye:o[t]-tye,_se(e,t,n))}))}}function dye(e,t){_se(e,"x",t.x),_se(e,"y",t.y)}function uye(e,t){return e&&e.type===t}function pye(e,t){return I1(t,(function(t){return uye(e,t)}))}function gye(e,t){return"x"===e?t.width:t.height}function mye(e){return u9(e,"bpmn:Task")?iye:nye}function fye(e,t,n){return e[n]>t[n]+oye&&e[n]=e.x||o&&o<=e.x)&&_se(e,"x",e.x),(i&&i>=e.y||r&&r<=e.y)&&_se(e,"y",e.y)}}function Lye(e,t){return-1!==e.indexOf(t)}function Mye(e,t,n){return t?{x:e.x-n.x,y:e.y-n.y}:{x:e.x,y:e.y}}l1(Eye,wye),Eye.$inject=["eventBus","injector"],Eye.prototype.initSnap=function(e){var t=wye.prototype.initSnap.call(this,e),n=e.shape,i=!!this._elementRegistry.get(n.id);return L1(n.outgoing,(function(n){var o=n.waypoints[0];o=o.original||o,t.setSnapOrigin(n.id+"-docking",Mye(o,i,e))})),L1(n.incoming,(function(n){var o=n.waypoints[n.waypoints.length-1];o=o.original||o,t.setSnapOrigin(n.id+"-docking",Mye(o,i,e))})),u9(n,"bpmn:Participant")&&t.setSnapLocations(["top-left","bottom-right","mid"]),t},Eye.prototype.addSnapTargetPoints=function(e,t,n){wye.prototype.addSnapTargetPoints.call(this,e,t,n);var i=this.getSnapTargets(t,n);L1(i,(function(n){(Dye(n)||Sye([t,n],"bpmn:TextAnnotation"))&&(e.add("top-left",fse(n)),e.add("bottom-right",vse(n)))}));var o=this._elementRegistry;return L1(t.incoming,(function(n){if(o.get(t.id)){Lye(i,n.source)||e.add("mid",x5(n.source));var r=n.waypoints[0];e.add(n.id+"-docking",r.original||r)}})),L1(t.outgoing,(function(n){if(o.get(t.id)){Lye(i,n.target)||e.add("mid",x5(n.target));var r=n.waypoints[n.waypoints.length-1];e.add(n.id+"-docking",r.original||r)}})),u9(n,"bpmn:SequenceFlow")&&(e=this.addSnapTargetPoints(e,t,n.parent)),e},Eye.prototype.getSnapTargets=function(e,t){return wye.prototype.getSnapTargets.call(this,e,t).filter((function(e){return!u9(e,"bpmn:Lane")}))};var Bye=1250;function Nye(e,t){var n=this;e.on(["resize.start"],(function(e){n.initSnap(e)})),e.on(["resize.move","resize.end"],Bye,(function(e){var i=e.context,o=i.shape,r=o.parent,s=i.direction,a=i.snapContext;if((!e.originalEvent||!Ate(e.originalEvent))&&!yse(e)){var l=a.pointsForTarget(r);l.initialized||(l=n.addSnapTargetPoints(l,o,r,s),l.initialized=!0),Pye(s)&&_se(e,"x",e.x),Fye(s)&&_se(e,"y",e.y),t.snap(e,l)}})),e.on(["resize.cleanup"],(function(){t.hide()}))}function Iye(e,t){var n=x5(e),i=w5(e),o={x:n.x,y:n.y};return-1!==t.indexOf("n")?o.y=i.top:-1!==t.indexOf("s")&&(o.y=i.bottom),-1!==t.indexOf("e")?o.x=i.right:-1!==t.indexOf("w")&&(o.x=i.left),o}function Tye(e,t){return e.host===t}function Rye(e){return!!e.hidden}function Pye(e){return"n"===e||"s"===e}function Fye(e){return"e"===e||"w"===e}Nye.prototype.initSnap=function(e){var t=e.context,n=t.shape,i=t.direction,o=t.snapContext;o||(o=t.snapContext=new bye);var r=Iye(n,i);return o.setSnapOrigin("corner",{x:r.x-e.x,y:r.y-e.y}),o},Nye.prototype.addSnapTargetPoints=function(e,t,n,i){var o=this.getSnapTargets(t,n);return L1(o,(function(t){e.add("corner",vse(t)),e.add("corner",fse(t))})),e.add("corner",Iye(t,i)),e},Nye.$inject=["eventBus","snapping"],Nye.prototype.getSnapTargets=function(e,t){return wse(t).filter((function(t){return!Tye(t,e)&&!v5(t)&&!Rye(t)&&!b5(t)}))};var Oye=7,zye=1e3;function Vye(e){this._canvas=e,this._asyncHide=G1(Y1(this.hide,this),zye)}Vye.$inject=["canvas"],Vye.prototype.snap=function(e,t){var n=e.context,i=n.snapContext,o=i.getSnapLocations(),r={x:yse(e,"x"),y:yse(e,"y")};L1(o,(function(n){var o=i.getSnapOrigin(n),s={x:e.x+o.x,y:e.y+o.y};if(L1(["x","y"],(function(e){var i;r[e]||(i=t.snap(s,n,e,Oye),void 0!==i&&(r[e]={value:i,originValue:i-o[e]}))})),r.x&&r.y)return!1})),this.showSnapLine("vertical",r.x&&r.x.value),this.showSnapLine("horizontal",r.y&&r.y.value),L1(["x","y"],(function(t){var n=r[t];_1(n)&&_se(e,t,n.originValue)}))},Vye.prototype._createLine=function(e){var t=this._canvas.getLayer("snap"),n=n4("path");return U2(n,{d:"M0,0 L0,0"}),G2(n).add("djs-snap-line"),z2(t,n),{update:function(t){w1(t)?U2(n,"horizontal"===e?{d:"M-100000,"+t+" L+100000,"+t,display:""}:{d:"M "+t+",-100000 L "+t+", +100000",display:""}):U2(n,{display:"none"})}}},Vye.prototype._createSnapLines=function(){this._snapLines={horizontal:this._createLine("horizontal"),vertical:this._createLine("vertical")}},Vye.prototype.showSnapLine=function(e,t){var n=this.getSnapLine(e);n&&n.update(t),this._asyncHide()},Vye.prototype.getSnapLine=function(e){return this._snapLines||this._createSnapLines(),this._snapLines[e]},Vye.prototype.hide=function(){L1(this._snapLines,(function(e){e.update()}))};var Wye={__init__:["createMoveSnapping","resizeSnapping","snapping"],createMoveSnapping:["type",wye],resizeSnapping:["type",Nye],snapping:["type",Vye]},Hye={__depends__:[Wye],__init__:["connectSnapping","createMoveSnapping"],connectSnapping:["type",aye],createMoveSnapping:["type",Eye]};function jye(e,t,n,i){this._open=!1,this._results=[],this._eventMaps=[],this._canvas=e,this._eventBus=t,this._overlays=n,this._selection=i,this._container=I2(jye.BOX_HTML),this._searchInput=T2(jye.INPUT_SELECTOR,this._container),this._resultsContainer=T2(jye.RESULTS_CONTAINER_SELECTOR,this._container),this._canvas.getContainer().appendChild(this._container),t.on(["canvas.destroy","diagram.destroy"],this.close,this)}function Qye(e){var t=6,n=e.width+2*t,i=e.height+2*t,o={width:n+"px",height:i+"px"},r=I2('
    ');return l2(r,o),{position:{bottom:i-t,right:n-t},show:!0,html:r}}function Uye(e,t,n){var i=Kye(t),o=I2(n);o.innerHTML=i,e.appendChild(o)}function Kye(e){var t="";return e.forEach((function(e){e.matched?t+=''+Yee(e.matched)+"":t+=Yee(e.normal)})),""!==t?t:null}jye.$inject=["canvas","eventBus","overlays","selection"],jye.prototype._bindEvents=function(){var e=this;function t(t,n,i,o){e._eventMaps.push({el:t,type:i,listener:k2.bind(t,n,i,o)})}t(document,"html","click",(function(t){e.close()})),t(this._container,jye.INPUT_SELECTOR,"click",(function(e){e.stopPropagation(),e.delegateTarget.focus()})),t(this._container,jye.RESULT_SELECTOR,"mouseover",(function(t){t.stopPropagation(),e._scrollToNode(t.delegateTarget),e._preselect(t.delegateTarget)})),t(this._container,jye.RESULT_SELECTOR,"click",(function(t){t.stopPropagation(),e._select(t.delegateTarget)})),t(this._container,jye.INPUT_SELECTOR,"keydown",(function(e){Ete("ArrowUp",e)&&e.preventDefault(),Ete("ArrowDown",e)&&e.preventDefault()})),t(this._container,jye.INPUT_SELECTOR,"keyup",(function(t){if(Ete("Escape",t))return e.close();if(Ete("Enter",t)){var n=e._getCurrentResult();return n?e._select(n):e.close()}return Ete("ArrowUp",t)?e._scrollToDirection(!0):Ete("ArrowDown",t)?e._scrollToDirection():void(Ete(["ArrowLeft","ArrowRight"],t)||e._search(t.delegateTarget.value))}))},jye.prototype._unbindEvents=function(){this._eventMaps.forEach((function(e){k2.unbind(e.el,e.type,e.listener)}))},jye.prototype._search=function(e){var t=this;if(this._clearResults(),e&&""!==e){var n=this._searchProvider.find(e);if(n.length){n.forEach((function(e){var n=e.element.id,i=t._createResultNode(e,n);t._results[n]={element:e.element,node:i}}));var i=T2(jye.RESULT_SELECTOR,this._resultsContainer);this._scrollToNode(i),this._preselect(i)}}},jye.prototype._scrollToDirection=function(e){var t=this._getCurrentResult();if(t){var n=e?t.previousElementSibling:t.nextElementSibling;n&&(this._scrollToNode(n),this._preselect(n))}},jye.prototype._scrollToNode=function(e){if(e&&e!==this._getCurrentResult()){var t=e.offsetTop,n=this._resultsContainer.scrollTop,i=t-this._resultsContainer.clientHeight+e.clientHeight;t0&&Uye(n,e.primaryTokens,jye.RESULT_PRIMARY_HTML),Uye(n,e.secondaryTokens,jye.RESULT_SECONDARY_HTML),c2(n,jye.RESULT_ID_ATTRIBUTE,t),this._resultsContainer.appendChild(n),n},jye.prototype.registerProvider=function(e){this._searchProvider=e},jye.prototype.open=function(){if(!this._searchProvider)throw new Error("no search provider registered");this.isOpen()||(this._bindEvents(),this._open=!0,d2(this._container).add("open"),this._searchInput.focus(),this._eventBus.fire("searchPad.opened"))},jye.prototype.close=function(){this.isOpen()&&(this._unbindEvents(),this._open=!1,d2(this._container).remove("open"),this._clearResults(),this._searchInput.value="",this._searchInput.blur(),this._resetOverlay(),this._eventBus.fire("searchPad.closed"))},jye.prototype.toggle=function(){this.isOpen()?this.close():this.open()},jye.prototype.isOpen=function(){return this._open},jye.prototype._preselect=function(e){var t=this._getCurrentResult();if(e!==t){t&&d2(t).remove(jye.RESULT_SELECTED_CLASS);var n=c2(e,jye.RESULT_ID_ATTRIBUTE),i=this._results[n].element;d2(e).add(jye.RESULT_SELECTED_CLASS),this._resetOverlay(i),this._canvas.scrollToElement(i,{top:400}),this._selection.select(i),this._eventBus.fire("searchPad.preselected",i)}},jye.prototype._select=function(e){var t=c2(e,jye.RESULT_ID_ATTRIBUTE),n=this._results[t].element;this.close(),this._resetOverlay(),this._canvas.scrollToElement(n,{top:400}),this._selection.select(n),this._eventBus.fire("searchPad.selected",n)},jye.prototype._resetOverlay=function(e){if(this._overlayId&&this._overlays.remove(this._overlayId),e){var t=q4(e),n=Qye(t);this._overlayId=this._overlays.add(e,n)}},jye.CONTAINER_SELECTOR=".djs-search-container",jye.INPUT_SELECTOR=".djs-search-input input",jye.RESULTS_CONTAINER_SELECTOR=".djs-search-results",jye.RESULT_SELECTOR=".djs-search-result",jye.RESULT_SELECTED_CLASS="djs-search-result-selected",jye.RESULT_SELECTED_SELECTOR="."+jye.RESULT_SELECTED_CLASS,jye.RESULT_ID_ATTRIBUTE="data-result-id",jye.RESULT_HIGHLIGHT_CLASS="djs-search-highlight",jye.OVERLAY_CLASS="djs-search-overlay",jye.BOX_HTML='
    ',jye.RESULT_HTML='
    ',jye.RESULT_PRIMARY_HTML='
    ',jye.RESULT_SECONDARY_HTML='

    ';var Gye={__depends__:[Fee,kee],searchPad:["type",jye]};function Yye(e,t,n){this._elementRegistry=e,this._canvas=n,t.registerProvider(this)}function $ye(e){var t=k1(e,(function(e){return!!e.matched}));return t.length>0}function qye(e,t){var n=[],i=e;if(!e)return n;e=e.toLowerCase(),t=t.toLowerCase();var o=e.indexOf(t);return o>-1?(0!==o&&n.push({normal:i.substr(0,o)}),n.push({matched:i.substr(o,t.length)}),t.length+o';function Zye(e){O9.call(this,e)}function e_e(e,t,n,i,o,r,s,a){this._palette=e,this._create=t,this._elementFactory=n,this._spaceTool=i,this._lassoTool=o,this._handTool=r,this._globalConnect=s,this._translate=a,e.registerProvider(this)}function t_e(e,t,n,i,o,r,s,a,l,c,h,d){e=e||{},i.registerProvider(this),this._contextPad=i,this._modeling=o,this._elementFactory=r,this._connect=s,this._create=a,this._popupMenu=l,this._canvas=c,this._rules=h,this._translate=d,!1!==e.autoPlace&&(this._autoPlace=t.get("autoPlace",!1)),n.on("create.end",250,(function(e){const t=e.context,n=t.shape;if(hee(e)&&i.isOpen(n)){var o=i.getEntries(n);o.replace&&o.replace.action.click(e,n)}}))}function n_e(e,t,n){const i=e.$instanceOf(t);let o=!1;const r=e.eventDefinitions||[];return L1(r,(function(e){e.$type===n&&(o=!0)})),i&&o}l1(Zye,O9),Zye.Viewer=vte,Zye.NavigatedViewer=cne,Zye.prototype.createDiagram=function(){return this.importXML(Xye)},Zye.prototype.createDiagram=s9(Zye.prototype.createDiagram),Zye.prototype._interactionModules=[Wte,Xte,Cne,lne],Zye.prototype._modelingModules=[_oe,Uoe,ure,Xoe,Sse,Tse,zse,Ple,Tae,mae,Kle,Zle,kce,Nce,Tce,Qce,yhe,sbe,Abe,qbe,Zbe,ahe,Hye,Jye],Zye.prototype._modules=[].concat(vte.prototype._modules,Zye.prototype._interactionModules,Zye.prototype._modelingModules),e_e.$inject=["palette","create","elementFactory","spaceTool","lassoTool","handTool","globalConnect","translate"],e_e.prototype.getPaletteEntries=function(){const e={},t=this._create,n=this._elementFactory,i=this._spaceTool,o=this._lassoTool,r=this._handTool,s=this._globalConnect,a=this._translate;function l(e,i,o,r,s){function l(i){const o=n.createShape($1({type:e},s));s&&(o.businessObject.di.isExpanded=s.isExpanded),t.start(i,o)}const c=e.replace(/^bpmn:/,"");return{group:i,className:o,title:r||a("Create {type}",{type:c}),action:{dragstart:l,click:l}}}function c(e){const i=n.createShape({type:"bpmn:SubProcess",x:0,y:0,isExpanded:!0}),o=n.createShape({type:"bpmn:StartEvent",x:40,y:82,parent:i});t.start(e,[i,o],{hints:{autoSelect:[o]}})}function h(e){t.start(e,n.createParticipantShape())}return $1(e,{"hand-tool":{group:"tools",className:"bpmn-icon-hand-tool",title:a("Activate the hand tool"),action:{click:function(e){r.activateHand(e)}}},"lasso-tool":{group:"tools",className:"bpmn-icon-lasso-tool",title:a("Activate the lasso tool"),action:{click:function(e){o.activateSelection(e)}}},"space-tool":{group:"tools",className:"bpmn-icon-space-tool",title:a("Activate the create/remove space tool"),action:{click:function(e){i.activateSelection(e)}}},"global-connect-tool":{group:"tools",className:"bpmn-icon-connection-multi",title:a("Activate the global connect tool"),action:{click:function(e){s.toggle(e)}}},"tool-separator":{group:"tools",separator:!0},"create.start-event":l("bpmn:StartEvent","event","bpmn-icon-start-event-none",a("Create StartEvent")),"create.intermediate-event":l("bpmn:IntermediateThrowEvent","event","bpmn-icon-intermediate-event-none",a("Create Intermediate/Boundary Event")),"create.end-event":l("bpmn:EndEvent","event","bpmn-icon-end-event-none",a("Create EndEvent")),"create.exclusive-gateway":l("bpmn:ExclusiveGateway","gateway","bpmn-icon-gateway-xor",a("Create Exclusive Gateway")),"create.parallel-gateway":l("bpmn:ParallelGateway","gateway","bpmn-icon-gateway-parallel",a("Create Parallel Gateway")),"create.UserTask":l("bpmn:UserTask","activity","bpmn-icon-user-task",a("Create UserTask")),"create.subprocess-expanded":{group:"activity",className:"bpmn-icon-subprocess-expanded",title:a("Create expanded SubProcess"),action:{dragstart:c,click:c}},"create.participant-expanded":{group:"collaboration",className:"bpmn-icon-participant",title:a("Create Pool/Participant"),action:{dragstart:h,click:h}}}),e},t_e.$inject=["config.contextPad","injector","eventBus","contextPad","modeling","elementFactory","connect","create","popupMenu","canvas","rules","translate"],t_e.prototype.getContextPadEntries=function(e){const t=this._contextPad,n=this._modeling,i=this._elementFactory,o=this._connect,r=this._create,s=this._popupMenu,a=this._canvas,l=this._rules,c=this._autoPlace,h=this._translate,d={};if("label"===e.type)return d;const u=e.businessObject;function p(e,t){o.start(e,t)}function g(){n.removeElements([e])}function m(e){const n=5,i=a.getContainer(),o=t.getPad(e).html,r=i.getBoundingClientRect(),s=o.getBoundingClientRect(),l=s.top-r.top,c=s.left-r.left,h={x:c,y:l+s.height+n};return h}function f(e,t,n,o){function s(t,n){const s=i.createShape($1({type:e},o));r.start(t,s,{source:n})}"string"!==typeof n&&(o=n,n=h("Append {type}",{type:e.replace(/^bpmn:/,"")}));const a=c?function(t,n){const r=i.createShape($1({type:e},o));c.append(n,r)}:s;return{group:"model",className:t,title:n,action:{dragstart:s,click:a}}}function v(e){return function(i,o){n.splitLane(o,e),t.open(o,!0)}}if(p9(u,["bpmn:Lane","bpmn:Participant"])&&z9(u)){const t=Mle(e);$1(d,{"lane-insert-above":{group:"lane-insert-above",className:"bpmn-icon-lane-insert-above",title:h("Add Lane above"),action:{click:function(e,t){n.addLane(t,"top")}}}}),t.length<2&&(e.height>=120&&$1(d,{"lane-divide-two":{group:"lane-divide",className:"bpmn-icon-lane-divide-two",title:h("Divide into two Lanes"),action:{click:v(2)}}}),e.height>=180&&$1(d,{"lane-divide-three":{group:"lane-divide",className:"bpmn-icon-lane-divide-three",title:h("Divide into three Lanes"),action:{click:v(3)}}})),$1(d,{"lane-insert-below":{group:"lane-insert-below",className:"bpmn-icon-lane-insert-below",title:h("Add Lane below"),action:{click:function(e,t){n.addLane(t,"bottom")}}}})}if(u9(u,"bpmn:FlowNode"))if(u9(u,"bpmn:EventBasedGateway")){var b="0d9a60fe0131dff70d665020f5b0cdee";$1(d,{"append.receive-task":f("bpmn:ReceiveTask","bpmn-icon-receive-task"),"append.message-intermediate-event":f("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-message",h("Append MessageIntermediateCatchEvent"),{eventDefinitionType:"bpmn:MessageEventDefinition"}),"append.timer-intermediate-event":f("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-timer",h("Append TimerIntermediateCatchEvent"),{eventDefinitionType:"bpmn:TimerEventDefinition"}),"append.condition-intermediate-event":f("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-condition",h("Append ConditionIntermediateCatchEvent"),{eventDefinitionType:"bpmn:ConditionalEventDefinition"}),"append.signal-intermediate-event":f("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-signal",h("Append SignalIntermediateCatchEvent"),{eventDefinitionType:"bpmn:SignalEventDefinition"})}),b.trim()}else n_e(u,"bpmn:BoundaryEvent","bpmn:CompensateEventDefinition")?$1(d,{"append.compensation-activity":f("bpmn:Task","bpmn-icon-task",h("Append compensation activity"),{isForCompensation:!0})}):u9(u,"bpmn:EndEvent")||u.isForCompensation||n_e(u,"bpmn:IntermediateThrowEvent","bpmn:LinkEventDefinition")||W9(u)||$1(d,{"append.end-event":f("bpmn:EndEvent","bpmn-icon-end-event-none",h("Append EndEvent")),"append.gateway":f("bpmn:ExclusiveGateway","bpmn-icon-gateway-none",h("Append Gateway")),"append.user-task":f("bpmn:UserTask","bpmn-icon-user-task",h("Append UserTask")),"append.intermediate-event":f("bpmn:IntermediateThrowEvent","bpmn-icon-intermediate-event-none",h("Append Intermediate/Boundary Event")),"append.timer-intermediate-event":f("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-timer",h("Append TimerIntermediateCatchEvent"),{eventDefinitionType:"bpmn:TimerEventDefinition"})});s.isEmpty(e,"bpmn-replace")||$1(d,{replace:{group:"edit",className:"bpmn-icon-screw-wrench",title:h("Change type"),action:{click:function(e,t){var n=$1(m(t),{cursor:{x:e.x,y:e.y}});s.open(t,"bpmn-replace",n)}}}}),p9(u,["bpmn:FlowNode","bpmn:InteractionNode","bpmn:DataObjectReference","bpmn:DataStoreReference"])&&$1(d,{"append.text-annotation":f("bpmn:TextAnnotation","bpmn-icon-text-annotation"),connect:{group:"connect",className:"bpmn-icon-connection-multi",title:h("Connect using "+(u.isForCompensation?"":"Sequence/MessageFlow or ")+"Association"),action:{click:p,dragstart:p}}}),p9(u,["bpmn:DataObjectReference","bpmn:DataStoreReference"])&&$1(d,{connect:{group:"connect",className:"bpmn-icon-connection-multi",title:h("Connect using DataInputAssociation"),action:{click:p,dragstart:p}}});let y=l.allowed("elements.delete",{elements:[e]});return y1(y)&&(y=y[0]===e),y&&$1(d,{delete:{group:"edit",className:"bpmn-icon-trash",title:h("Remove"),action:{click:g}}}),d};var i_e={__init__:["paletteProvider","contextPadProvider"],paletteProvider:["type",e_e],contextPadProvider:["type",t_e]};function o_e(e){Zye.call(this,e),this._customElements=[]}l1(o_e,Zye),o_e.prototype._modules=[].concat(o_e.prototype._modules,[i_e]);var r_e={"Create {type}":"创建 {type}","Create StartEvent":"开始节点","Create EndEvent":"结束节点","Create Task":"任务节点","Create UserTask":"用户任务节点","Create expanded SubProcess":"扩展子过程","Create IntermediateThrowEvent/BoundaryEvent":"中间抛出事件/边界事件","Create Pool/Participant":"池/参与者","Create Gateway":"网关","Create Exclusive Gateway":"互斥网关","Create Parallel Gateway":"并行网关","Create Inclusive Gateway":"相容网关","Create Group":"创建组","Create DataObjectReference":"数据对象引用","Create DataStoreReference":"数据存储引用","Create Intermediate/Boundary Event":"中间/边界事件","Activate the global connect tool":"激活全局连接工具","Append {type}":"添加 {type}","Add Lane above":"在上面添加道","Divide into two Lanes":"分割成两个道","Divide into three Lanes":"分割成三个道","Add Lane below":"在下面添加道","Append compensation activity":"追加补偿活动","Change type":"修改类型","Append element":"添加元素","Create element":"创建元素","Connect using Association":"使用关联连接","Connect using Sequence/MessageFlow or Association":"使用顺序/消息流或者关联连接","Connect using DataInputAssociation":"使用数据输入关联连接",Remove:"移除","Activate the hand tool":"激活抓手工具","Activate the lasso tool":"激活套索工具","Activate the create/remove space tool":"激活创建/删除空间工具","Parallel Multi Instance":"并行多重事件","Sequential Multi Instance":"时序多重事件",DataObjectReference:"数据对象参考",DataStoreReference:"数据存储参考",Loop:"循环","Ad-hoc":"即席",Task:"任务","Send Task":"发送任务","Receive Task":"接收任务","User Task":"用户任务","Manual Task":"手工任务","Business Rule Task":"业务规则任务","Service Task":"服务任务","Script Task":"脚本任务","Call Activity":"调用活动","Sub Process (collapsed)":"子流程(折叠的)","Sub Process (expanded)":"子流程(展开的)","Start Event":"开始事件",StartEvent:"开始事件","Intermediate Throw Event":"中间事件","End Event":"结束事件",EndEvent:"结束事件","Message Start Event":"消息开始事件","Timer Start Event":"定时开始事件","Conditional Start Event":"条件开始事件","Signal Start Event":"信号开始事件","Error Start Event":"错误开始事件","Escalation Start Event":"升级开始事件","Compensation Start Event":"补偿开始事件","Message Start Event (non-interrupting)":"消息开始事件(非中断)","Timer Start Event (non-interrupting)":"定时开始事件(非中断)","Conditional Start Event (non-interrupting)":"条件开始事件(非中断)","Signal Start Event (non-interrupting)":"信号开始事件(非中断)","Escalation Start Event (non-interrupting)":"升级开始事件(非中断)","Message Intermediate Catch Event":"消息中间捕获事件","Message Intermediate Throw Event":"消息中间抛出事件","Timer Intermediate Catch Event":"定时中间捕获事件","Escalation Intermediate Throw Event":"升级中间抛出事件","Conditional Intermediate Catch Event":"条件中间捕获事件","Link Intermediate Catch Event":"链接中间捕获事件","Link Intermediate Throw Event":"链接中间抛出事件","Compensation Intermediate Throw Event":"补偿中间抛出事件","Signal Intermediate Catch Event":"信号中间捕获事件","Signal Intermediate Throw Event":"信号中间抛出事件","Message End Event":"消息结束事件","Escalation End Event":"定时结束事件","Error End Event":"错误结束事件","Cancel End Event":"取消结束事件","Compensation End Event":"补偿结束事件","Signal End Event":"信号结束事件","Terminate End Event":"终止结束事件","Message Boundary Event":"消息边界事件","Message Boundary Event (non-interrupting)":"消息边界事件(非中断)","Timer Boundary Event":"定时边界事件","Timer Boundary Event (non-interrupting)":"定时边界事件(非中断)","Escalation Boundary Event":"升级边界事件","Escalation Boundary Event (non-interrupting)":"升级边界事件(非中断)","Conditional Boundary Event":"条件边界事件","Conditional Boundary Event (non-interrupting)":"条件边界事件(非中断)","Error Boundary Event":"错误边界事件","Cancel Boundary Event":"取消边界事件","Signal Boundary Event":"信号边界事件","Signal Boundary Event (non-interrupting)":"信号边界事件(非中断)","Compensation Boundary Event":"补偿边界事件","Boundary Event":"边界事件","Exclusive Gateway":"互斥网关","Parallel Gateway":"并行网关","Inclusive Gateway":"相容网关","Complex Gateway":"复杂网关","Event based Gateway":"事件网关",Transaction:"转运","Sub Process":"子流程","Event Sub Process":"事件子流程","Collapsed Pool":"折叠池","Expanded Pool":"展开池",Gateways:"网关",Tasks:"任务",Events:"事件","Sub Processes":"子流程",Data:"数据",Participants:"参与者","Data Store Reference":"数据存储参考","Data Object Reference":"数据对象参考","Default Flow":"默认流转","Conditional Flow":"条件流转","Sequence Flow":"顺序流转","no parent for {element} in {parent}":"在{parent}里,{element}没有父类","no shape type specified":"没有指定的形状类型","flow elements must be children of pools/participants":"流元素必须是池/参与者的子类","out of bounds release":"out of bounds release","more than {count} child lanes":"子道大于{count} ","element required":"元素不能为空","diagram not part of bpmn:Definitions":"流程图不符合bpmn规范","no diagram to display":"没有可展示的流程图","no process or collaboration to display":"没有可展示的流程/协作","element {element} referenced by {referenced}#{property} not yet drawn":"由{referenced}#{property}引用的{element}元素仍未绘制","already rendered {element}":"{element} 已被渲染","failed to import {element}":"导入{element}失败","Append EndEvent":"追加结束事件节点","Append Gateway":"追加网关节点","Append UserTask":"追加用户任务节点","Append Intermediate/Boundary Event":"追加中间或边界事件","Append TextAnnotation":"追加文本批注","{errors} Errors, {warnings} Warnings":"{errors} 错误,{warnings} 警告","Process is missing end event":"流程缺少结束节点","Process is missing start event":"流程缺少开始节点","Element is not connected":"元素缺少连接","Start event is missing event definition":"缺少事件定义","Event has multiple event definitions":"多个事件定义","Sequence flow is missing condition":"缺少流转条件","Flow splits implicitly":"流转方向未知","Incoming flows do not join":"使用网关确定统一的入口","SequenceFlow is a duplicate":"重复的连线","Duplicate incoming sequence flows":"入口连线重复","Duplicate outgoing sequence flows":"出口连线重复","Gateway forks and joins":"允许一进多出、多进一出。禁止多进多出","Open minimap":"小地图","Close minimap":"关闭小地图","Token Simulation":"流程模拟","Play/Pause Simulation":"开始/暂停","Pause Simulation":"暂停","Play Simulation":"开始","Set animation speed":"设置速度",Slow:"慢",Normal:"正常",Fast:"快",Finished:"结束","Reset Simulation":"重置","Toggle Simulation Log":"显示日志","Simulation Log":"日志","No Entries":"暂无日志",Process:"流程",SubProcess:"子流程",started:"启动",finished:"结束",canceled:"取消"};function s_e(e,t){return t=t||{},e=r_e[e]||e,e.replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}function a_e(e,t){var n=e.get("editorActions",!1);n&&n.register({toggleLinting:function(){t.toggle()}})}a_e.$inject=["injector","linting"];var l_e=n("fea7"),c_e='',h_e='',d_e='',u_e=-7,p_e=-7,g_e=500,m_e={resolver:{resolveRule:function(){return null}},config:{}},f_e={error:c_e,warning:h_e,success:d_e,inactive:d_e};function v_e(e,t,n,i,o,r,s){this._bpmnjs=e,this._canvas=t,this._elementRegistry=i,this._eventBus=o,this._overlays=r,this._translate=s,this._issues={},this._active=n&&n.active||!1,this._linterConfig=m_e,this._overlayIds={};var a=this;o.on(["import.done","elements.changed","linting.configChanged","linting.toggle"],g_e,(function(e){a.isActive()&&a.update()})),o.on("linting.toggle",(function(e){const t=e.active;t||(a._clearIssues(),a._updateButton())})),o.on("diagram.clear",(function(){a._clearIssues()}));var l=n&&n.bpmnlint;l&&o.once("diagram.init",(function(){if(a.getLinterConfig()===m_e)try{a.setLinterConfig(l)}catch(e){}})),this._init()}v_e.prototype.setLinterConfig=function(e){if(!e.config||!e.resolver)throw new Error("Expected linterConfig = { config, resolver }");this._linterConfig=e,this._eventBus.fire("linting.configChanged")},v_e.prototype.getLinterConfig=function(){return this._linterConfig},v_e.prototype._init=function(){this._createButton(),this._updateButton()},v_e.prototype.isActive=function(){return this._active},v_e.prototype._formatIssues=function(e){const t=B1(e,(function(e,t,n){return e.concat(t.map((function(e){return e.rule=n,e})))}),[]);return O1(t,(function(e){return e.id}))},v_e.prototype.toggle=function(e){return e="undefined"===typeof e?!this.isActive():e,this._setActive(e),e},v_e.prototype._setActive=function(e){this._active!==e&&(this._active=e,this._eventBus.fire("linting.toggle",{active:e}))},v_e.prototype.update=function(){var e=this,t=this._bpmnjs.getDefinitions();if(t){var n=this._lintStart=Math.random();this.lint().then((function(t){if(e._lintStart===n){t=e._formatIssues(t);var i={},o={},r={};for(var s in e._issues)t[s]||(i[s]=e._issues[s]);for(var a in t)e._issues[a]?t[a]!==e._issues[a]&&(o[a]=t[a]):r[a]=t[a];i=$1(i,o),r=$1(r,o),e._clearOverlays(),e._createIssues(r),e._issues=t,e._updateButton(),e._fireComplete(t)}}))}},v_e.prototype._fireComplete=function(e){this._eventBus.fire("linting.completed",{issues:e})},v_e.prototype._createIssues=function(e){for(var t in e)this._createElementIssues(t,e[t])},v_e.prototype._createElementIssues=function(e,t){var n=this._elementRegistry.get(e);if(n){var i,o;n===this._canvas.getRootElement()?(i="bottom-right",o={top:20,left:150}):(i="top-right",o={top:u_e,left:p_e});var r=O1(t,(function(e){return e.category})),s=r.error,a=r.warn;if(s||a){var l=I2('
    '),c="3e71c4bfc16d37db4cb08e89b9e366f8",h=I2(s?'
    '+c_e+"
    ":'
    '+h_e+"
    "),d=I2('
    '),u=I2('
    '),p=I2('
    '),g=I2("
      ");l.appendChild(h),l.appendChild(d),d.appendChild(u),u.appendChild(p),p.appendChild(g),c.length,s&&this._addErrors(g,s),a&&this._addWarnings(g,a),this._overlayIds[e]=this._overlays.add(n,"linting",{position:o,html:l,scale:{min:.9}})}}},v_e.prototype._addErrors=function(e,t){var n=this;t.forEach((function(t){n._addEntry(e,"error",t)}))},v_e.prototype._addWarnings=function(e,t){var n=this;t.forEach((function(t){n._addEntry(e,"warning",t)}))},v_e.prototype._addEntry=function(e,t,n){var i=n.rule,o=this._translate(n.message),r=f_e[t],s=I2('
    • '+r+''+Yee(o)+"
    • ");e.appendChild(s)},v_e.prototype._clearOverlays=function(){this._overlays.remove({type:"linting"}),this._overlayIds={}},v_e.prototype._clearIssues=function(){this._issues={},this._clearOverlays()},v_e.prototype._setButtonState=function(e,t,n){var i=this._button,o=f_e[e],r=o+""+this._translate("{errors} Errors, {warnings} Warnings",{errors:t.toString(),warnings:n.toString()})+"";["error","inactive","success","warning"].forEach((function(t){e===t?i.classList.add("bjsl-button-"+t):i.classList.remove("bjsl-button-"+t)})),i.innerHTML=r},v_e.prototype._updateButton=function(){if(this.isActive()){var e=0,t=0;for(var n in this._issues)this._issues[n].forEach((function(n){"error"===n.category?e++:"warn"===n.category&&t++}));var i=(e?"error":t&&"warning")||"success";this._setButtonState(i,e,t)}else this._setButtonState("inactive",0,0)},v_e.prototype._createButton=function(){var e=this;this._button=I2(''),this._button.addEventListener("click",(function(){e.toggle()})),this._canvas.getContainer().appendChild(this._button)},v_e.prototype.lint=function(){var e=this._bpmnjs.getDefinitions(),t=new l_e["Linter"](this._linterConfig);return t.lint(e)},v_e.$inject=["bpmnjs","canvas","config.linting","elementRegistry","eventBus","overlays","translate"];var b_e={__init__:["linting","lintingEditorActions"],linting:["type",v_e],lintingEditorActions:["type",a_e]},y_e=function(){function e(e,t){if(!__e(e))return;const n=e.outgoing||[];n.forEach(n=>{const i=!w_e(n)&&!C_e(e,n);i&&t.report(n.id,"Sequence flow is missing condition")})}return{check:e}};function __e(e){const t=e["default"],n=e.outgoing||[];return t||n.find(w_e)}function w_e(e){return!!e.conditionExpression}function C_e(e,t){return e["default"]===t}function A_e(e,t){return-1===t.indexOf(":")&&(t="bpmn:"+t),"function"===typeof e.$instanceOf?e.$instanceOf(t):e.$type===t}function E_e(e,t){return t.some((function(t){return A_e(e,t)}))}var x_e=Object.freeze({__proto__:null,is:A_e,isAny:E_e});const{is:S_e,isAny:D_e}=x_e;var k_e=function(){function e(e){const t=e.flowElements||[];return t.some(e=>S_e(e,"bpmn:EndEvent"))}function t(t,n){if(D_e(t,["bpmn:Process","bpmn:SubProcess"])&&!e(t)){const e=S_e(t,"bpmn:SubProcess")?"Sub process":"Process";n.report(t.id,e+" is missing end event")}}return{check:t}};const{is:L_e}=x_e;var M_e=function(){function e(e,t){if(!L_e(e,"bpmn:SubProcess")||!e.triggeredByEvent)return;const n=e.flowElements||[];n.forEach((function(e){if(!L_e(e,"bpmn:StartEvent"))return!1;const n=e.eventDefinitions||[];0===n.length&&t.report(e.id,"Start event is missing event definition")}))}return{check:e}};const{isAny:B_e}=x_e;var N_e=function(){function e(e,t){if(!B_e(e,["bpmn:Task","bpmn:Event"]))return;const n=e.incoming||[];n.length>1&&t.report(e.id,"Incoming flows do not join")}return{check:e}};const{is:I_e}=x_e;function T_e(e){return function(){function t(t,n){I_e(t,e)&&n.report(t.id,"Element has disallowed type <"+e+">")}return{check:t}}}var R_e=T_e,P_e={disallowNodeType:R_e};const F_e=P_e.disallowNodeType;var O_e=F_e("bpmn:ComplexGateway");const{isAny:z_e}=x_e;var V_e=function(){function e(e,t){if(!z_e(e,["bpmn:Task","bpmn:Gateway","bpmn:SubProcess","bpmn:Event"])||e.triggeredByEvent||e.isForCompensation)return;if(j_e(e))return;const n=e.incoming||[],i=e.outgoing||[];n.length||i.length||t.report(e.id,"Element is not connected")}return{check:e}};function W_e(e){var t=e.eventDefinitions;return!!A_e(e,"bpmn:BoundaryEvent")&&(!(!t||1!==t.length)&&A_e(t[0],"bpmn:CompensateEventDefinition"))}function H_e(e){return e.isForCompensation}function j_e(e){var t=W_e(e),n=H_e(e);return t||n}const{is:Q_e}=x_e;var U_e=function(){const e={},t={},n={};function i(i,o){if(!Q_e(i,"bpmn:SequenceFlow"))return;const r=K_e(i);if(r in e){o.report(i.id,"SequenceFlow is a duplicate");const e=i.sourceRef.id,r=i.targetRef.id;t[e]||(o.report(e,"Duplicate outgoing sequence flows"),t[e]=!0),n[r]||(o.report(r,"Duplicate incoming sequence flows"),n[r]=!0)}else e[r]=i}return{check:i}};function K_e(e){const t=e.conditionExpression,n=t?t.body:"",i=e.sourceRef?e.sourceRef.id:e.id,o=e.targetRef?e.targetRef.id:e.id;return i+"#"+o+"#"+n}const{is:G_e}=x_e;var Y_e=function(){function e(e,t){if(!G_e(e,"bpmn:Gateway"))return;const n=e.incoming||[],i=e.outgoing||[];n.length>1&&i.length>1&&t.report(e.id,"Gateway forks and joins")}return{check:e}};const{isAny:$_e}=x_e;var q_e=function(){function e(e,t){if(!$_e(e,["bpmn:Task","bpmn:Event"]))return;const n=e.outgoing||[],i=n.filter(t=>!J_e(t)&&!X_e(e,t));i.length>1&&t.report(e.id,"Flow splits implicitly")}return{check:e}};function J_e(e){return!!e.conditionExpression}function X_e(e,t){return e["default"]===t}const Z_e=P_e.disallowNodeType;var ewe=Z_e("bpmn:InclusiveGateway");const{is:twe}=x_e;var nwe=function(){function e(e,t){if(!twe(e,"bpmn:FlowElementsContainer"))return;const n=e.flowElements||[],i=n.filter((function(e){if(!twe(e,"bpmn:StartEvent"))return!1;const t=e.eventDefinitions||[];return 0===t.length}));if(i.length>1){const n=twe(e,"bpmn:SubProcess")?"Sub process":"Process";t.report(e.id,n+" has multiple blank start events")}}return{check:e}};const{is:iwe}=x_e;var owe=function(){function e(e,t){if(!iwe(e,"bpmn:Event"))return;const n=e.eventDefinitions||[];n.length>1&&t.report(e.id,"Event has multiple event definitions")}return{check:e}};const{is:rwe,isAny:swe}=x_e;var awe=function(){function e(e){const t=e.flowElements||[];return t.some(e=>rwe(e,"bpmn:StartEvent"))}function t(t,n){if(swe(t,["bpmn:Process","bpmn:SubProcess"])&&!e(t)){const e=rwe(t,"bpmn:SubProcess")?"Sub process":"Process";n.report(t.id,e+" is missing start event")}}return{check:t}};const{is:lwe}=x_e;var cwe=function(){function e(e,t){if(!lwe(e,"bpmn:SubProcess")||e.triggeredByEvent)return;const n=e.flowElements||[];n.forEach((function(e){if(!lwe(e,"bpmn:StartEvent"))return!1;const n=e.eventDefinitions||[];n.length>0&&t.report(e.id,"Start event must be blank")}))}return{check:e}};const{is:hwe}=x_e;var dwe=function(){function e(e,t){if(!hwe(e,"bpmn:Gateway"))return;const n=e.incoming||[],i=e.outgoing||[];1===n.length&&1===i.length&&t.report(e.id,"Gateway is superfluous. It only has one source and target.")}return{check:e}},uwe={};function pwe(){}pwe.prototype.resolveRule=function(e,t){const n=uwe[e+"/"+t];if(!n)throw new Error("cannot resolve rule <"+e+"/"+t+">");return n},pwe.prototype.resolveConfig=function(e,t){throw new Error("cannot resolve config <"+t+"> in <"+e+">")};var gwe=new pwe,mwe={"conditional-flows":"error","end-event-required":"error","event-sub-process-typed-start-event":"error","fake-join":"warn","no-complex-gateway":"error","no-disconnected":"error","no-duplicate-sequence-flows":"error","no-gateway-join-fork":"error","no-implicit-split":"error","single-blank-start-event":"error","single-event-definition":"error","start-event-required":"error","sub-process-blank-start-event":"error","superfluous-gateway":"warning"},fwe={rules:mwe},vwe={resolver:gwe,config:fwe};uwe["bpmnlint/conditional-flows"]=y_e,uwe["bpmnlint/end-event-required"]=k_e,uwe["bpmnlint/event-sub-process-typed-start-event"]=M_e,uwe["bpmnlint/fake-join"]=N_e,uwe["bpmnlint/no-complex-gateway"]=O_e,uwe["bpmnlint/no-disconnected"]=V_e,uwe["bpmnlint/no-duplicate-sequence-flows"]=U_e,uwe["bpmnlint/no-gateway-join-fork"]=Y_e,uwe["bpmnlint/no-implicit-split"]=q_e,uwe["bpmnlint/no-inclusive-gateway"]=ewe,uwe["bpmnlint/single-blank-start-event"]=nwe,uwe["bpmnlint/single-event-definition"]=owe,uwe["bpmnlint/start-event-required"]=awe,uwe["bpmnlint/sub-process-blank-start-event"]=cwe,uwe["bpmnlint/superfluous-gateway"]=dwe;var bwe=vwe,ywe=50,_we={min:.2,max:4},wwe=10,Cwe=.1,Awe=250;function Ewe(e,t,n,i,o){var r=this;function s(e){r._state._svgClientRect&&!Iwe(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect());var t=Dwe({x:e.clientX-r._state._svgClientRect.left,y:e.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox);kwe(t,r._canvas),r._update()}function a(e){return function(t){r._state._svgClientRect&&!Iwe(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect()),e&&s(t);var n=Dwe({x:t.clientX-r._state._svgClientRect.left,y:t.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox),o=i.viewbox(),a=Swe(n,o),h=r._viewportDom.getBoundingClientRect(),d={x:t.clientX-h.left+1,y:t.clientY-h.top+1};$1(r._state,{cachedViewbox:o,initialDragPosition:{x:t.clientX,y:t.clientY},isDragging:!0,offsetViewport:a,offsetViewportDom:d,viewportClientRect:r._viewport.getBoundingClientRect(),parentClientRect:r._parent.getBoundingClientRect()}),A2.bind(document,"mousemove",l),A2.bind(document,"mouseup",c)}}function l(e){if(r._state.isDragging){r._state._svgClientRect&&!Iwe(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect());var t=r._state.offsetViewportDom,n=r._state.viewportClientRect,i=r._state.parentClientRect;$1(r._viewportDom.style,{top:e.clientY-t.y-i.top+"px",left:e.clientX-t.x-i.left+"px"});var o=Owe(i,{top:e.clientY-t.y-i.top,left:e.clientX-t.x-i.left,width:n.width,height:n.height});$1(r._overlay.style,{clipPath:o});var s=Dwe({x:e.clientX-r._state._svgClientRect.left,y:e.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox);kwe({x:s.x-r._state.offsetViewport.x,y:s.y-r._state.offsetViewport.y},r._canvas)}}function c(e){r._state.isDragging&&(r._state.initialDragPosition.x===e.clientX&&r._state.initialDragPosition.y===e.clientY&&s(e),r._update(),$1(r._state,{cachedViewbox:null,initialDragPosition:null,isDragging:!1,offsetViewport:null,offsetViewportDom:null}),A2.unbind(document,"mousemove",l),A2.unbind(document,"mouseup",c))}this._canvas=i,this._elementRegistry=o,this._eventBus=n,this._injector=t,this._state={isOpen:void 0,isDragging:!1,initialDragPosition:null,offsetViewport:null,cachedViewbox:null,dragger:null,svgClientRect:null,parentClientRect:null,zoomDelta:0},this._init(),this.toggle(e&&e.open||!0),A2.bind(this._svg,"click",(function(e){e.preventDefault(),e.stopPropagation(),s(e)})),A2.bind(this._viewportDom,"mousedown",a(!1)),A2.bind(this._svg,"mousedown",a(!0)),A2.bind(this._parent,"wheel",(function(e){if(e.preventDefault(),e.stopPropagation(),e.ctrlKey&&(r._state._svgClientRect&&!Iwe(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect()),Twe(e,r._state._svgClientRect))){var t=0===e.deltaMode?.02:.32,n=Math.sqrt(Math.pow(e.deltaY,2)+Math.pow(e.deltaX,2))*Rwe(e.deltaY)*-t;if(r._state.zoomDelta+=n,Math.abs(r._state.zoomDelta)>Cwe){var o=n>0?1:-1,s=Math.log(i.zoom())/Math.log(10),a=Pwe(_we,2*wwe),l=Math.round(s/a)*a;l+=a*o;var c=Math.pow(10,l);i.zoom(Fwe(_we,c),h),r._state.zoomDelta=0;var h=Dwe({x:e.clientX-r._state._svgClientRect.left,y:e.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox);kwe(h,r._canvas),r._update()}}})),A2.bind(this._toggle,"click",(function(e){e.preventDefault(),e.stopPropagation(),r.toggle()})),n.on(["shape.added","connection.added"],(function(e){var t=e.element;r._addElement(t),r._update()})),n.on(["shape.removed","connection.removed"],(function(e){var t=e.element;r._removeElement(t),r._update()})),n.on("elements.changed",Awe,(function(e){var t=e.elements;t.forEach((function(e){r._updateElement(e)})),r._update()})),n.on("element.updateId",(function(e){var t=e.element,n=e.newId;r._updateElementId(t,n)})),n.on("canvas.viewbox.changed",(function(){r._state.isDragging||r._update()})),n.on("canvas.resized",(function(){document.body.contains(r._parent)&&(r._state.isDragging||r._update(),r._state._svgClientRect=r._svg.getBoundingClientRect())}))}function xwe(e){return e.waypoints}function Swe(e,t){var n={x:t.x+t.width/2,y:t.y+t.height/2};return{x:e.x-n.x,y:e.y-n.y}}function Dwe(e,t,n){var i=t.getBoundingClientRect(),o=Lwe(n,i.width/i.height),r=Mwe(e.x,0,i.width,o.x,o.x+o.width),s=Mwe(e.y,0,i.height,o.y,o.y+o.height);return{x:r,y:s}}function kwe(e,t){var n=t.viewbox(),i=n.width,o=n.height;t.viewbox({x:e.x-i/2,y:e.y-o/2,width:i,height:o})}function Lwe(e,t){var n=e.width/e.height,i=$1({},{x:e.x,y:e.y,width:e.width,height:e.height});if(n>t){var o=i.width*(1/t),r=i.y-(o-i.height)/2;$1(i,{y:r,height:o})}else if(nt.left&&e.xt.top&&e.yc?Nwe(r,s,c):Nwe(r,s,s.childNodes.length-1):this._elementsGroup.appendChild(r),xwe(e)?(t=e.parent,n=0,i=0,"undefined"!==typeof t.x&&"undefined"!==typeof t.y&&(n=-t.x,i=-t.y),U2(r,{transform:"translate("+n+" "+i+")"})):(n=e.x,i=e.y,s&&(t=e.parent,n-=t.x,i-=t.y),U2(r,{transform:"translate("+n+" "+i+")"})),e.children&&e.children.length&&e.children.forEach((function(e){o._addElement(e)})),r}},Ewe.prototype._removeElement=function(e){var t=this._svg.getElementById(e.id);t&&$2(t)},Ewe.prototype._createElement=function(e){var t,n=this._elementRegistry.getGraphics(e);if(n&&(t=u3(n),t)){var i=J2(t);return U2(i,{id:e.id}),i}};var Rwe=Math.sign||function(e){return e>=0?1:-1};function Pwe(e,t){var n=Math.log(e.min)/Math.log(10),i=Math.log(e.max)/Math.log(10),o=Math.abs(n)+Math.abs(i);return o/t}function Fwe(e,t){return Math.max(e.min,Math.min(e.max,t))}function Owe(e,t){var n=[zwe(t.left,t.top),zwe(t.left+t.width,t.top),zwe(t.left+t.width,t.top+t.height),zwe(t.left,t.top+t.height),zwe(t.left,e.height),zwe(e.width,e.height),zwe(e.width,0),zwe(0,0),zwe(0,e.height),zwe(t.left,e.height)].join(", ");return"polygon("+n+")"}function zwe(e,t){return e+"px "+t+"px"}function Vwe(e){return N1(e,(function(e){return _1(e)?Vwe(e):w1(e)&&isFinite(e)}))}var Wwe={__init__:["minimap"],minimap:["type",Ewe]};const Hwe=1,jwe=2,Qwe=4,Uwe=8,Kwe=16,Gwe=32,Ywe=64,$we=128,qwe=256,Jwe=512,Xwe=Hwe|jwe|Qwe,Zwe=Hwe|Uwe,eCe=Object.freeze({ACTIVATED:Hwe,RUNNING:jwe,ENDING:Qwe,ENDED:Uwe,DESTROYED:Kwe,FAILED:Gwe,TERMINATED:Ywe,CANCELED:$we,COMPLETED:qwe,COMPENSABLE:Jwe,ACTIVE:Xwe,NOT_DEAD:Zwe}),tCe={};function nCe(e,t){throw new Error(`illegal transition: ${e.name} -> ${t}`)}function iCe(e,t){return e===tCe?t:e}class oCe{constructor(e,t,{start:n,cancel:i,complete:o,destroy:r,fail:s,terminate:a,compensable:l}={}){this.name=e,this.traits=t,this._start=iCe(n,this),this._compensable=iCe(l,this),this._cancel=iCe(i,this),this._complete=iCe(o,this),this._destroy=iCe(r,this),this._fail=iCe(s,this),this._terminate=iCe(a,this)}hasTrait(e){return 0!==(this.traits&e)}complete(){return this._complete||nCe(this,"complete")}destroy(){return this._destroy||nCe(this,"destroy")}cancel(){return this._cancel||nCe(this,"cancel")}fail(){return this._fail||nCe(this,"fail")}terminate(){return this._terminate||nCe(this,"terminate")}compensable(){return this._compensable||nCe(this,"compensable")}start(){return this._start||nCe(this,"start")}}const rCe=new oCe("failed",eCe.DESTROYED|eCe.FAILED),sCe=new oCe("terminated",eCe.DESTROYED|eCe.TERMINATED),aCe=new oCe("completed",eCe.DESTROYED|eCe.COMPLETED),lCe=new oCe("terminating",eCe.ENDING|eCe.TERMINATED,{destroy:sCe}),cCe=new oCe("canceling",eCe.ENDING|eCe.FAILED|eCe.CANCELED,{destroy:rCe,complete:tCe,terminate:lCe}),hCe=new oCe("completing",eCe.ENDING|eCe.COMPLETED,{destroy:aCe,cancel:cCe,terminate:lCe}),dCe=new oCe("failing",eCe.ENDING|eCe.FAILED,{cancel:cCe,complete:hCe,destroy:rCe,terminate:lCe}),uCe=new oCe("compensable:failing",eCe.ENDING|eCe.FAILED,{complete:tCe,terminate:lCe,destroy:rCe}),pCe=new oCe("compensable:completed",eCe.ENDED|eCe.COMPLETED,{cancel:cCe,fail:uCe,destroy:aCe,compensable:tCe}),gCe=new oCe("compensable:completing",eCe.ENDING|eCe.COMPLETED,{destroy:pCe,terminate:lCe,compensable:tCe}),mCe=new oCe("compensable:running",eCe.RUNNING|eCe.COMPENSABLE,{cancel:cCe,complete:gCe,compensable:tCe,destroy:pCe,fail:dCe,terminate:lCe}),fCe=new oCe("running",eCe.RUNNING,{cancel:cCe,complete:hCe,compensable:mCe,destroy:sCe,fail:dCe,terminate:lCe}),vCe=new oCe("activated",eCe.ACTIVATED,{start:fCe,destroy:sCe}),bCe=Object.freeze({ACTIVATED:vCe,RUNNING:fCe,CANCELING:cCe,COMPLETING:hCe,COMPLETED:aCe,FAILING:dCe,FAILED:rCe,TERMINATING:lCe,TERMINATED:sCe});class yCe{constructor(e,t,n=null,i=null){this.id=e,this.element=t,this.parent=n,this.initiator=i,this.subscriptions=new Set,this.children=[],this.state=bCe.ACTIVATED}get running(){return this.hasTrait(eCe.RUNNING)}get destroyed(){return this.hasTrait(eCe.DESTROYED)}get completed(){return this.hasTrait(eCe.COMPLETED)}get canceled(){return this.hasTrait(eCe.CANCELED)}get failed(){return this.hasTrait(eCe.FAILED)}hasTrait(e){return this.state.hasTrait(e)}start(){return this.state=this.state.start(),this}compensable(){return this.state=this.state.compensable(),this}fail(e){return this.failed||(this.state=this.state.fail(),this.failInitiator=e),this}cancel(e){return this.canceled||(this.state=this.state.cancel(),this.cancelInitiator=e),this}terminate(e){return this.state=this.state.terminate(),this.terminateInitiator=e,this}complete(){return this.state=this.state.complete(),this}destroy(e){return this.state=this.state.destroy(),this.destroyInitiator=e,this}getTokens(){return this.children.filter(e=>!e.destroyed).length}getTokensByElement(e){return this.children.filter(t=>!t.destroyed&&t.element===e).length}}function _Ce(e,t){const n=[];for(const i of e)t(i)&&n.push(i);return n}function wCe(e,t){for(const n of e)if(t(n))return n;return null}function CCe(e,t){return["type","name","ref","iref"].every(n=>!(n in e)||e[n]===t[n])}function ACe(e){return e.filter(e=>u9(e,"bpmn:SequenceFlow"))}function ECe(e){return u9(e,"bpmn:MessageFlow")}function xCe(e){return u9(e,"bpmn:SequenceFlow")}function SCe(e){return LCe(e)&&PCe(e,"bpmn:LinkEventDefinition")}function DCe(e){return LCe(e)&&PCe(e,"bpmn:CompensateEventDefinition")}function kCe(e){return u9(e,"bpmn:Activity")&&e.businessObject.isForCompensation}function LCe(e){return(u9(e,"bpmn:CatchEvent")||u9(e,"bpmn:ReceiveTask"))&&!NCe(e)}function MCe(e){return u9(e,"bpmn:BoundaryEvent")&&!NCe(e)}function BCe(e){return u9(e,"bpmn:StartEvent")&&!NCe(e)}function NCe(e){return!!e.labelTarget}function ICe(e){return g9(e).triggeredByEvent}function TCe(e){return u9(e,"bpmn:StartEvent")&&g9(e).isInterrupting||u9(e,"bpmn:BoundaryEvent")&&g9(e).cancelActivity}function RCe(e,t){return t.some(t=>u9(e,t))}function PCe(e,t){return I1(g9(e).eventDefinitions,e=>u9(e,t))}function FCe(e,t,n){const i=e.get("scopeIds",!1)||new u1([32,36]),o={},r={},s=new OCe,a=new Set,l=[],c=new Set,h=new Set;function d(e,t){if(l.push([t,e]),1!==l.length)return;let n;while(n=l[0]){const[e,t]=n;t.destroyed||e(),l.shift()}I("tick")}function u(e){return r[e.type]||s}function p(e){const{element:t,parentScope:n,initiator:i=null}=e,o=e.scope||O({element:t,parent:n,initiator:i});return d(o,(function(){o.running||o.start(),M("signal",{...e,scope:o}),u(t).signal({...e,scope:o}),o.parent&&N(o.parent)})),o}function g(e){const{element:t,scope:n,initiator:i=n}=e,o=O({element:t,parent:n,initiator:i});return d(o,(function(){o.running||o.start(),M("enter",e),u(t).enter({...e,initiator:i,scope:o}),N(n)})),o}function m(e){const{element:t,scope:n,initiator:i=n}=e;d(n,(function(){M("exit",e),u(t).exit({...e,initiator:i}),n.running&&n.complete(),L(n,i),n.parent&&N(n.parent)}))}function f(e){const{event:t,initiator:n,scope:i}=e,o=_(t),r=i.subscriptions,s=_Ce(r,e=>CCe(o,e.event)),a=s.filter(e=>!e.event.interrupting),l=s.filter(e=>e.event.interrupting);if(!l.length)return a.map(e=>e.triggerFn(n)).flat();const c=l.find(e=>!e.event.boundary)||l[0],h=_Ce(r,e=>e.event.persistent||zCe(e.event,c.event));return r.forEach(e=>{h.includes(e)||e.remove()}),[c.triggerFn(n)].flat().filter(e=>e)}function v(e,t,n){t=_(t);const i=t.element,o={scope:e,event:t,element:i,triggerFn:n,remove(){b(o)}};return h.add(o),e.subscriptions.add(o),i&&B(i),o}function b(e){const{scope:t,event:n}=e;h.delete(e),t.subscriptions.delete(e),n.element&&B(n.element)}function y(e){return u9(e,"bpmn:StartEvent")||u9(e,"bpmn:IntermediateCatchEvent")||u9(e,"bpmn:ReceiveTask")||WCe(e)?g9(e).name||e.id:null}function _(e){if(!e.businessObject)return e;const t=TCe(e),i=MCe(e),o=y(e),r={element:e,interrupting:t,boundary:i,...o?{iref:o}:{}},s=HCe(e)[0];if(!s)return{...r,type:VCe(e)?"message":"none"};if(u9(s,"bpmn:LinkEventDefinition"))return{...r,type:"link",name:s.name};if(u9(s,"bpmn:SignalEventDefinition"))return{...r,type:"signal",ref:s.signalRef};if(u9(s,"bpmn:TimerEventDefinition"))return{...r,type:"timer"};if(u9(s,"bpmn:ConditionalEventDefinition"))return{...r,type:"condition"};if(u9(s,"bpmn:EscalationEventDefinition"))return{...r,type:"escalation",ref:s.escalationRef};if(u9(s,"bpmn:CancelEventDefinition"))return{...r,type:"cancel"};if(u9(s,"bpmn:ErrorEventDefinition"))return{...r,type:"error",ref:s.errorRef};if(u9(s,"bpmn:MessageEventDefinition"))return{...r,type:"message",ref:s.messageRef};if(u9(s,"bpmn:CompensateEventDefinition")){let t=s.activityRef&&n.get(s.activityRef.id);return t||(t=BCe(e)&&ICe(e.parent)?e.parent.parent:MCe(e)?e.host:e.parent),{...r,type:"compensate",ref:t,persistent:!0}}throw new Error("unknown event definition",s)}function w(e,t=!0){const{element:n,parent:o,initiator:r}=e;t&&M("createScope",{element:n,scope:o});const s=new yCe(i.next(),n,o,r);return o&&o.children.push(s),c.add(s),t&&I("createScope",{scope:s}),B(n),o&&B(o.element),s}function C(e){if("function"===typeof e)return e;const{event:t,element:n,scope:i}=e,o=e.elements||n&&[n],r=t&&_(t);return e=>(!r||CCe(r,e.event))&&(!o||o.includes(e.element))&&(!i||i===e.scope)}function A(e){const t="function"===e?e:C(e);return e=>Array.from(e.subscriptions).some(t)}function E(e){if("function"===typeof e)return e;const{element:t,waitsOnElement:n,parent:i,trait:o=eCe.RUNNING,subscribedTo:r}=e,s=r?A(r):()=>!0;return e=>(!t||e.element===t)&&(!i||e.parent===i)&&(!n||e.getTokensByElement(n)>0)&&e.hasTrait(o)&&s(e)}function x(e){return _Ce(h,C(e))}function S(e){return wCe(h,C(e))}function D(e){return _Ce(c,E(e))}function k(e){return wCe(c,E(e))}function L(e,t=null){if(!e.destroyed){e.destroy(t);for(const t of e.subscriptions){const n=t.event.traits||eCe.ACTIVE;e.hasTrait(n)||b(t)}if(e.destroyed){for(const n of e.children)n.destroyed||L(n,t);M("destroyScope",{element:e.element,scope:e}),c.delete(e),I("destroyScope",{scope:e})}B(e.element),e.parent&&B(e.parent.element)}}function M(e,t){I("trace",{...t,action:e})}function B(e){a.add(e),l.length||I("tick")}function N(e){I("scopeChanged",{scope:e})}function I(e,n={}){return t.fire("tokenSimulation.simulator."+e,n)}function T(e,n){t.on("tokenSimulation.simulator."+e,n)}function R(e,n){t.off("tokenSimulation.simulator."+e,n)}function P(e,t){const n=z(e);o[e.id||e]={...n,...t},B(e)}function F(){const e=[];return n.forEach(t=>{if(!RCe(t,["bpmn:Process","bpmn:Participant"]))return;const n=w({element:t},!1);e.push(n);const i=t.children.filter(BCe);for(const e of i){const i={..._(e),interrupting:!1};v(n,i,n=>p({element:t,startEvent:e,initiator:n}))}}),e}function O(e){const{element:t}=e,n=w(e),{children:i=[],attachers:o=[]}=t;for(const r of i)if(ICe(r)){const e=r.children.filter(e=>BCe(e)&&!DCe(e));for(const t of e)v(n,t,e=>p({element:r,parentScope:n,startEvent:t,initiator:e}))}for(const r of o)MCe(r)&&!DCe(r)&&v(n,r,e=>p({element:r,parentScope:n.parent,hostScope:n,initiator:e}));return n}function z(e){return o[e.id||e]||{}}function V(e,t){if(!t.length)return;const n={type:"all-completed",persistent:!1},i=new Set(t),o=t=>{i.delete(t.scope),0===i.size&&(R("destroyScope",o),f({scope:e,event:n}))};return T("destroyScope",o),n}function W(e,t=!0){P(e,{wait:t})}function H(){for(const e of c)L(e);for(const e of F())c.add(e);I("tick"),I("reset")}T("tick",(function(){for(const e of a)I("elementChanged",{element:e});a.clear()})),this.createScope=w,this.destroyScope=L,this.findScope=k,this.findScopes=D,this.findSubscription=S,this.findSubscriptions=x,this.waitAtElement=W,this.waitForScopes=V,this.setConfig=P,this.getConfig=z,this.signal=p,this.enter=g,this.exit=m,this.subscribe=v,this.trigger=f,this.reset=H,this.on=T,this.off=R,this.registerBehavior=function(e,t){r[e]=t}}function OCe(){this.signal=function(e){},this.exit=function(e){},this.enter=function(e){}}function zCe(e,t){return e.type===t.type&&e.boundary&&!t.boundary}function VCe(e){return u9(e,"bpmn:ReceiveTask")||e.incoming.some(e=>u9(e,"bpmn:MessageFlow"))}function WCe(e){if(!MCe(e))return!1;const t=HCe(e);return!t[0]||RCe(t[0],["bpmn:ConditionalEventDefinition","bpmn:TimerEventDefinition"])}function HCe(e){return e.businessObject.get("eventDefinitions")||[]}function jCe(e,t){this._simulator=e,this._activityBehavior=t,e.registerBehavior("bpmn:StartEvent",this)}function QCe(e,t,n){this._intermediateThrowEventBehavior=n,this._scopeBehavior=t,e.registerBehavior("bpmn:EndEvent",this)}function UCe(e,t,n){this._simulator=e,this._activityBehavior=t,this._scopeBehavior=n,e.registerBehavior("bpmn:BoundaryEvent",this)}function KCe(e,t){this._activityBehavior=t,this._simulator=e,e.registerBehavior("bpmn:IntermediateCatchEvent",this),e.registerBehavior("bpmn:ReceiveTask",this)}function GCe(e,t,n){this._simulator=e,this._activityBehavior=t,this._eventBehaviors=n,e.registerBehavior("bpmn:IntermediateThrowEvent",this),e.registerBehavior("bpmn:SendTask",this)}function YCe(e){this._simulator=e,e.registerBehavior("bpmn:ExclusiveGateway",this)}function $Ce(e,t){this._simulator=e,this._activityBehavior=t,e.registerBehavior("bpmn:ParallelGateway",this)}function qCe(e){this._simulator=e,e.registerBehavior("bpmn:EventBasedGateway",this)}function JCe(e){return e.outgoing.map(e=>e.target).filter(e=>RCe(e,["bpmn:IntermediateCatchEvent","bpmn:ReceiveTask"]))}function XCe(e,t,n){this._simulator=e,this._scopeBehavior=t,this._transactionBehavior=n;const i=["bpmn:BusinessRuleTask","bpmn:CallActivity","bpmn:ManualTask","bpmn:ScriptTask","bpmn:ServiceTask","bpmn:Task","bpmn:UserTask"];for(const o of i)e.registerBehavior(o,this)}function ZCe(e){return e&&e[0]}function eAe(e){return e&&e[e.length-1]}function tAe(e,t,n,i,o){this._simulator=e,this._activityBehavior=t,this._scopeBehavior=n,this._transactionBehavior=i,this._elementRegistry=o,e.registerBehavior("bpmn:SubProcess",this),e.registerBehavior("bpmn:Transaction",this),e.registerBehavior("bpmn:AdHocSubProcess",this)}function nAe(e){return u9(e,"bpmn:Transaction")}FCe.$inject=["injector","eventBus","elementRegistry"],jCe.prototype.signal=function(e){this._simulator.exit(e)},jCe.prototype.exit=function(e){this._activityBehavior.exit(e)},jCe.$inject=["simulator","activityBehavior"],QCe.$inject=["simulator","scopeBehavior","intermediateThrowEventBehavior"],QCe.prototype.enter=function(e){this._intermediateThrowEventBehavior.enter(e)},QCe.prototype.signal=function(e){this._intermediateThrowEventBehavior.signal(e)},QCe.prototype.exit=function(e){const{scope:t}=e;this._scopeBehavior.tryExit(t.parent,t)},UCe.prototype.signal=function(e){const{element:t,scope:n,hostScope:i=this._simulator.findScope({parent:n.parent,element:t.host})}=e;if(!i)throw new Error("host scope not found");const o=g9(t).cancelActivity;if(o){this._scopeBehavior.interrupt(i,n);const t=this._scopeBehavior.tryExit(i,n);if(t){const n=this._simulator.subscribe(i,t,t=>(n.remove(),this._simulator.exit(e)));return}}this._simulator.exit(e)},UCe.prototype.exit=function(e){this._activityBehavior.exit(e)},UCe.$inject=["simulator","activityBehavior","scopeBehavior"],KCe.$inject=["simulator","activityBehavior"],KCe.prototype.signal=function(e){return this._simulator.exit(e)},KCe.prototype.enter=function(e){const{element:t}=e;return this._activityBehavior.signalOnEvent(e,t)},KCe.prototype.exit=function(e){this._activityBehavior.exit(e)},GCe.prototype.enter=function(e){const{element:t}=e,n=this._eventBehaviors.get(t);if(n){const t=n(e);if(t)return this._activityBehavior.signalOnEvent(e,t)}this._activityBehavior.enter(e)},GCe.prototype.signal=function(e){this._activityBehavior.signal(e)},GCe.prototype.exit=function(e){this._activityBehavior.exit(e)},GCe.$inject=["simulator","activityBehavior","eventBehaviors"],YCe.prototype.enter=function(e){this._simulator.exit(e)},YCe.prototype.exit=function(e){const{element:t,scope:n}=e,i=ACe(t.outgoing);if(1===i.length)return this._simulator.enter({element:i[0],scope:n.parent});const{activeOutgoing:o}=this._simulator.getConfig(t),r=i.find(e=>e===o);if(!r)throw new Error("no outgoing configured");return this._simulator.enter({element:r,scope:n.parent})},YCe.$inject=["simulator"],$Ce.prototype.enter=function(e){const{scope:t,element:n}=e,i=ACe(n.incoming),{parent:o}=t,r=this._simulator.findScopes({parent:o,element:n});if(r.length===i.length){for(const e of r)e!==t&&this._simulator.destroyScope(e.complete(),t);this._simulator.exit(e)}},$Ce.prototype.exit=function(e){this._activityBehavior.exit(e)},$Ce.$inject=["simulator","activityBehavior"],qCe.$inject=["simulator"],qCe.prototype.enter=function(e){const{element:t,scope:n}=e,i=n.parent,o=JCe(t),r=o.map(e=>this._simulator.subscribe(i,e,t=>(r.forEach(e=>e.remove()),this._simulator.destroyScope(n,t),this._simulator.signal({element:e,parentScope:i,initiator:t}))))},XCe.$inject=["simulator","scopeBehavior","transactionBehavior"],XCe.prototype.signal=function(e){const t=this._triggerMessages(e);if(t)return this.signalOnEvent(e,t);this._simulator.exit(e)},XCe.prototype.enter=function(e){const{element:t}=e,n=this.waitAtElement(t);if(n)return this.signalOnEvent(e,n);const i=this._triggerMessages(e);if(i)return this.signalOnEvent(e,i);this._simulator.exit(e)},XCe.prototype.exit=function(e){const{element:t,scope:n}=e,i=n.parent,o=!n.failed;o&&!ICe(t)&&this._transactionBehavior.registerCompensation(n);const r=o?t.outgoing.filter(xCe):[];r.forEach(e=>this._simulator.enter({element:e,scope:i})),0===r.length&&this._scopeBehavior.tryExit(i,n)},XCe.prototype.signalOnEvent=function(e,t){const{scope:n,element:i}=e,o=this._simulator.subscribe(n,t,e=>(o.remove(),this._simulator.signal({scope:n,element:i,initiator:e})))},XCe.prototype.waitAtElement=function(e){const t=this._simulator.getConfig(e).wait;return t&&{element:e,type:"continue",interrupting:!1,boundary:!1}},XCe.prototype._getMessageContexts=function(e,t=null){const n=t?e=>e.referencePoint.x>t.x:()=>!0,i=(e,t)=>e.referencePoint.x-t.referencePoint.x;return[...e.incoming.filter(ECe).map(e=>({incoming:e,referencePoint:eAe(e.waypoints)})),...e.outgoing.filter(ECe).map(e=>({outgoing:e,referencePoint:ZCe(e.waypoints)}))].sort(i).filter(n)},XCe.prototype._triggerMessages=function(e){const{element:t,initiator:n,scope:i}=e;let o=i.messageContexts;o||(o=i.messageContexts=this._getMessageContexts(t));const r=n&&n.element;if(!ECe(r)||i.expectedIncoming===r)while(o.length){const{incoming:e,outgoing:r}=o.shift();if(e){if(!n)continue;return i.expectedIncoming=e,{element:t,type:"message",name:e.id,interrupting:!1,boundary:!1}}this._simulator.signal({element:r})}},tAe.$inject=["simulator","activityBehavior","scopeBehavior","transactionBehavior","elementRegistry"],tAe.prototype.signal=function(e){this._start(e)},tAe.prototype.enter=function(e){const{element:t}=e,n=this._activityBehavior.waitAtElement(t);if(n)return this._activityBehavior.signalOnEvent(e,n);this._start(e)},tAe.prototype.exit=function(e){const{scope:t}=e,n=t.parent;n.failInitiator===t&&n.complete(),this._activityBehavior.exit(e)},tAe.prototype._start=function(e){const{element:t,startEvent:n,scope:i}=e,o=i.parent;if(ICe(t)){if(!n)throw new Error("missing : required for event sub-process")}else if(n)throw new Error("unexpected : not allowed for sub-process");if(o.destroyed)throw new Error(`target scope <${o.id}> destroyed`);nAe(t)&&this._transactionBehavior.setup(e),n&&TCe(n)&&this._scopeBehavior.interrupt(o,i);const r=n?[n]:this._findStarts(t);for(const s of r)this._simulator.signal({element:s,parentScope:i,initiator:i})},tAe.prototype._findStarts=function(e){return e=this._elementRegistry.get(e.id+"_plane")||e,e.children.filter(e=>{if(NCe(e))return!1;const t=e.incoming.find(e=>u9(e,"bpmn:SequenceFlow"));return!t&&(!kCe(e)&&(!ICe(e)&&RCe(e,["bpmn:Activity","bpmn:StartEvent","bpmn:EndEvent"])))})};const iAe={type:"cancel",interrupting:!0,boundary:!1,persistent:!0};function oAe(e,t){this._simulator=e,this._scopeBehavior=t}function rAe(e){throw new Error(`no transaction context for <${e.id}>`)}function sAe(e,t){this._simulator=e,this._scopeBehavior=t,e.registerBehavior("bpmn:SequenceFlow",this)}function aAe(e){this._simulator=e,e.registerBehavior("bpmn:MessageFlow",this)}function lAe(e,t){return"label"!==e.type&&(Array.isArray(t)||(t=[t]),t.some((function(t){return u9(e,t)})))}function cAe(e,t){return S1(g9(e).eventDefinitions,e=>lAe(e,t))}function hAe(e,t){return I1(g9(e).eventDefinitions,e=>lAe(e,t))}function dAe(e,t,n){this._simulator=e,this._elementRegistry=t,this._scopeBehavior=n}function uAe(e){return cAe(e,"bpmn:LinkEventDefinition")}function pAe(e){while(ICe(e.parent.element))e=e.parent;return e.parent}oAe.$inject=["simulator","scopeBehavior"],oAe.prototype.setup=function(e){const{scope:t}=e,n=this._simulator.subscribe(t,iAe,e=>(n.remove(),this.cancel({scope:t,initiator:e}))),i={type:"compensate",ref:t.element,persistent:!0,traits:eCe.NOT_DEAD},o=this._simulator.subscribe(t,i,e=>t.canceled?(o.remove(),this.compensate({scope:t,element:t.element,initiator:e})):this._simulator.trigger({event:iAe,scope:t}))},oAe.prototype.cancel=function(e){const{scope:t,initiator:n}=e;if(!t.destroyed)return t.cancel(n),this._simulator.trigger({event:{type:"compensate",ref:t.element},initiator:n,scope:t}),this._simulator.trigger({scope:t,initiator:n,event:iAe})},oAe.prototype.registerCompensation=function(e){const{element:t}=e,n=t.children.filter(ICe).map(e=>e.children.find(e=>BCe(e)&&DCe(e))).filter(e=>e),i=t.attachers.filter(DCe);if(!n.length&&!i.length)return;const o=this.findTransactionScope(e.parent);u9(o.element,"bpmn:Transaction")||this.makeCompensable(o);for(const r of n){const n={element:r,type:"compensate",persistent:!0,interrupting:!0,ref:t,traits:eCe.NOT_DEAD},i=r.parent,o=this._simulator.subscribe(e,n,t=>(o.remove(),this._simulator.signal({initiator:t,element:i,startEvent:r,parentScope:e})))}for(const r of i){const e={element:r,type:"compensate",persistent:!0,ref:t,traits:eCe.NOT_DEAD},n=r.outgoing.map(e=>e.target).find(kCe);if(!n)continue;const i=this._simulator.subscribe(o,e,e=>(i.remove(),this._simulator.enter({initiator:e,element:n,scope:o})))}},oAe.prototype.makeCompensable=function(e){if(e.hasTrait(eCe.COMPENSABLE)||!e.parent)return;const t={type:"compensate",ref:e.element,interrupting:!0,persistent:!0,traits:eCe.NOT_DEAD};e.compensable();const n=this._simulator.subscribe(e,t,t=>(n.remove(),e.fail(t),this.compensate({scope:e,element:e.element,initiator:t}),this._scopeBehavior.tryExit(e,t),e)),i=e.parent;if(!i)return;const o=this._simulator.subscribe(i,t,n=>(o.remove(),this._simulator.trigger({scope:e,event:t,initiator:n})));this.makeCompensable(i)},oAe.prototype.findTransactionScope=function(e){let t=e;while(t){const e=t.element;if(u9(e,"bpmn:SubProcess")&&!ICe(e))return t;if(RCe(e,["bpmn:Transaction","bpmn:Process","bpmn:Participant"]))return t;t=t.parent}throw rAe(e)},oAe.prototype.compensate=function(e){const{scope:t,element:n}=e,i=_Ce(t.subscriptions,e=>CCe({type:"compensate"},e.event)),o=i.filter(e=>e.event.ref===n),r=i.filter(e=>e.event.ref!==n);for(const s of o)this._scopeBehavior.preExit(t,e=>this._simulator.trigger(s));for(const s of r.reverse())this._scopeBehavior.preExit(t,e=>this._simulator.trigger(s))},sAe.prototype.enter=function(e){this._simulator.exit(e)},sAe.prototype.exit=function(e){const{element:t,scope:n}=e;this._simulator.enter({element:t.target,scope:n.parent})},sAe.$inject=["simulator","scopeBehavior"],aAe.$inject=["simulator"],aAe.prototype.signal=function(e){this._simulator.exit(e)},aAe.prototype.exit=function(e){const{element:t,scope:n}=e,i=t.target,o=LCe(i)?i:{type:"message",element:t,name:t.id},r=this._simulator.findSubscription({event:o,elements:[i,i.parent]});r&&this._simulator.trigger({event:o,initiator:n,scope:r.scope})},dAe.$inject=["simulator","elementRegistry","scopeBehavior"],dAe.prototype.get=function(e){const t={"bpmn:LinkEventDefinition":e=>{const{element:t,scope:n}=e,i=uAe(t),o=n.parent,r=o.element,s=r.children.filter(e=>SCe(e)&&uAe(e).name===i.name);for(const a of s)this._simulator.signal({element:a,parentScope:o,initiator:n})},"bpmn:SignalEventDefinition":e=>{const{element:t,scope:n}=e,i=this._simulator.findSubscriptions({event:t}),o=new Set;for(const r of i){const e=r.scope;o.has(e)||(o.add(e),this._simulator.trigger({event:t,scope:e,initiator:n}))}},"bpmn:EscalationEventDefinition":e=>{const{element:t,scope:n}=e,i=this._simulator.findScopes({subscribedTo:{event:t},trait:eCe.ACTIVE});let o=n;while(o=o.parent)if(i.includes(o)){this._simulator.trigger({event:t,scope:o,initiator:n});break}},"bpmn:ErrorEventDefinition":e=>{const{element:t,scope:n}=e;this._simulator.trigger({event:t,initiator:n,scope:pAe(n)})},"bpmn:TerminateEventDefinition":e=>{const{scope:t}=e;this._scopeBehavior.terminate(t.parent,t)},"bpmn:CancelEventDefinition":e=>{const{scope:t,element:n}=e;this._simulator.trigger({event:n,initiator:t,scope:pAe(t)})},"bpmn:CompensateEventDefinition":e=>{const{scope:t,element:n}=e;return this._simulator.waitForScopes(t,this._simulator.trigger({event:n,scope:pAe(t)}))}},n=Object.entries(t).find(t=>hAe(e,t[0]));return n&&n[1]};const gAe={type:"pre-exit",persistent:!0,interrupting:!0,boundary:!1},mAe={type:"exit",interrupting:!0,boundary:!1,persistent:!0};function fAe(e){this._simulator=e}function vAe(e){return"function"===typeof e?e:t=>t===e}function bAe(e,t){this._simulator=e,this._scopeBehavior=t,e.registerBehavior("bpmn:Process",this),e.registerBehavior("bpmn:Participant",this)}fAe.$inject=["simulator"],fAe.prototype.isFinished=function(e,t=null){return t=vAe(t),e.children.every(e=>e.destroyed||e.completed||t(e))},fAe.prototype.destroyChildren=function(e,t,n=null){n=vAe(n),e.children.filter(e=>!e.destroyed&&!n(e)).map(e=>{this._simulator.destroyScope(e,t)})},fAe.prototype.terminate=function(e,t){this.destroyChildren(e,t),e.terminate(t),this.tryExit(e,t)},fAe.prototype.interrupt=function(e,t){this.destroyChildren(e,t,t),e.fail(t)},fAe.prototype.tryExit=function(e,t){if(!e)throw new Error("missing ");if(t||(t=e),!this.isFinished(e,t))return mAe;const n=this._simulator.findSubscriptions({event:gAe,scope:e});for(const i of n){const{event:e,scope:n}=i,o=this._simulator.trigger({event:e,scope:n,initiator:t});if(o.length)return mAe}this._simulator.trigger({event:mAe,scope:e,initiator:t}),this.exit({scope:e,initiator:t})},fAe.prototype.exit=function(e){const{scope:t,initiator:n}=e;if(!n)throw new Error("missing ");this._simulator.exit({element:t.element,scope:t,initiator:n})},fAe.prototype.preExit=function(e,t){const n=this._simulator.subscribe(e,gAe,e=>(n.remove(),t(e)));return n},bAe.prototype.signal=function(e){const{startEvent:t,scope:n}=e;if(!t)throw new Error("missing ");this._simulator.signal({element:t,parentScope:n})},bAe.prototype.exit=function(e){const{scope:t,initiator:n}=e;this._scopeBehavior.destroyChildren(t,n)},bAe.$inject=["simulator","scopeBehavior"];var yAe={__init__:["startEventBehavior","endEventBehavior","boundaryEventBehavior","intermediateCatchEventBehavior","intermediateThrowEventBehavior","exclusiveGatewayBehavior","parallelGatewayBehavior","eventBasedGatewayBehavior","subProcessBehavior","sequenceFlowBehavior","messageFlowBehavior","processBehavior"],startEventBehavior:["type",jCe],endEventBehavior:["type",QCe],boundaryEventBehavior:["type",UCe],intermediateCatchEventBehavior:["type",KCe],intermediateThrowEventBehavior:["type",GCe],exclusiveGatewayBehavior:["type",YCe],parallelGatewayBehavior:["type",$Ce],eventBasedGatewayBehavior:["type",qCe],activityBehavior:["type",XCe],subProcessBehavior:["type",tAe],sequenceFlowBehavior:["type",sAe],messageFlowBehavior:["type",aAe],eventBehaviors:["type",dAe],scopeBehavior:["type",fAe],processBehavior:["type",bAe],transactionBehavior:["type",oAe]};const _Ae=5e3;var wAe={__depends__:[yAe],__init__:[["eventBus","simulator",function(e,t){e.on(["tokenSimulation.toggleMode","tokenSimulation.resetSimulation"],_Ae,e=>{t.reset()})}]],simulator:["type",FCe]};function CAe(e,t){e.invoke(aAe,this),this._animation=t}function AAe(e,t){e.invoke(sAe,this),this._animation=t}l1(CAe,aAe),CAe.$inject=["injector","animation"],CAe.prototype.signal=function(e){const{element:t,scope:n}=e;this._animation.animate(t,n,()=>{aAe.prototype.signal.call(this,e)})},l1(AAe,sAe),AAe.$inject=["injector","animation"],AAe.prototype.enter=function(e){const{element:t,scope:n}=e;this._animation.animate(t,n,()=>{sAe.prototype.enter.call(this,e)})};var EAe={sequenceFlowBehavior:["type",AAe],messageFlowBehavior:["type",CAe]};const xAe="tokenSimulation.toggleMode",SAe="tokenSimulation.playSimulation",DAe="tokenSimulation.pauseSimulation",kAe="tokenSimulation.resetSimulation",LAe="tokenSimulation.animationCreated",MAe="tokenSimulation.animationSpeedChanged",BAe="tokenSimulation.simulator.elementChanged",NAe="tokenSimulation.simulator.destroyScope",IAe="tokenSimulation.simulator.scopeChanged",TAe="tokenSimulation.simulator.createScope",RAe="tokenSimulation.scopeFilterChanged",PAe="tokenSimulation.simulator.trace",FAe=e=>!0;function OAe(e,t){this._eventBus=e,this._simulator=t,this._filter=FAe,e.on([xAe,kAe],()=>{this._filter=FAe}),e.on(NAe,e=>{const{scope:t}=e;this._scope===t&&t.parent&&this.toggle(t.parent)}),e.on(TAe,e=>{const{scope:t}=e;t.parent||!this._scope||zAe(this._scope,t)||this.toggle(null)})}function zAe(e,t){do{if(e===t)return!0}while(t=t.parent);return!1}OAe.prototype.toggle=function(e){const t=this._scope!==e;this._scope=t?e:null,this._filter=this._scope?e=>zAe(this._scope,e):e=>!0,this._eventBus.fire(RAe,{filter:this._filter,scope:this._scope})},OAe.prototype.isShown=function(e){return"string"===typeof e&&(e=this._simulator.findScope(t=>t.id===e)),e&&this._filter(e)},OAe.prototype.findScope=function(e){return this._simulator.findScopes(e).filter(e=>this.isShown(e))[0]},OAe.$inject=["eventBus","simulator"];var VAe={scopeFilter:["type",OAe]};n("7d5d");const WAe=getComputedStyle(document.documentElement),HAe=WAe.getPropertyValue("--token-simulation-green-base-44"),jAe=WAe.getPropertyValue("--token-simulation-white");function QAe(){}function UAe(e,t){return 2===t.length?$Ae:1===e?GAe:e===t.length-1?YAe:KAe}const KAe=function(e){return e},GAe=function(e){return 1-Math.cos(e*Math.PI/2)},YAe=function(e){return Math.sin(e*Math.PI/2)},$Ae=function(e){return-Math.cos(e*Math.PI)/2+.5},qAe=20;function JAe(e,t,n){this._eventBus=t,this._scopeFilter=n,this._canvas=e,this._animations=new Set,this._speed=1,t.on(kAe,()=>{this.clearAnimations()}),t.on(DAe,()=>{this.pause()}),t.on(SAe,()=>{this.play()}),t.on(RAe,e=>{this.each(e=>{this._scopeFilter.isShown(e.scope)?e.show():e.hide()})}),t.on(NAe,e=>{const{scope:t}=e;this.clearAnimations(t)})}function XAe(e,t,n){this.gfx=e,this.waypoints=t,this.done=n,this._paused=!0,this._t=0,this._parts=[],this.create()}function ZAe(e){return Math.log(e)*eEe(250,300)}function eEe(e,t){return e+Math.floor(Math.random()*(t-e))}function tEe(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}JAe.prototype.animate=function(e,t,n){this.createAnimation(e,t,n)},JAe.prototype.pause=function(){this.each(e=>e.pause())},JAe.prototype.play=function(){this.each(e=>e.play())},JAe.prototype.each=function(e){this._animations.forEach(e)},JAe.prototype.createAnimation=function(e,t,n=QAe){const i=this._getGroup(t);if(!i)return;const o=this._createTokenGfx(i,t),r=new XAe(o,e.waypoints,()=>{this._animations.delete(r),n()});return r.setSpeed(this.getAnimationSpeed()),this._scopeFilter.isShown(t)||r.hide(),r.scope=t,r.element=e,this._animations.add(r),this._eventBus.fire(LAe,{animation:r}),r.play(),r},JAe.prototype.setAnimationSpeed=function(e){this._speed=e,this.each(t=>t.setSpeed(e)),this._eventBus.fire(MAe,{speed:e})},JAe.prototype.getAnimationSpeed=function(){return this._speed},JAe.prototype.clearAnimations=function(e){this.each(t=>{e&&t.scope!==e||t.remove()})},JAe.prototype._createTokenGfx=function(e,t){const n=n4(this._getTokenSVG(t).trim());return O2(n,e)},JAe.prototype._getTokenSVG=function(e){const t=e.colors||{primary:HAe,auxiliary:jAe};return`\n \n \n 1\n \n `},JAe.prototype._getGroup=function(e){var t,n,i=this._canvas;"findRoot"in i?(n=i.findRoot(e.element),t=i._findPlaneForRoot(n).layer):t=T2(".viewport",i._svg);var o=T2(".bts-animation-tokens",t);return o||(o=n4(''),O2(o,t)),o},JAe.$inject=["canvas","eventBus","scopeFilter"],XAe.prototype.pause=function(){this._paused=!0},XAe.prototype.play=function(){this._paused&&(this._paused=!1,this.tick(0)),this.schedule()},XAe.prototype.schedule=function(){if(this._paused)return;if(this._scheduled)return;const e=Date.now();this._scheduled=!0,requestAnimationFrame(()=>{this._scheduled=!1,this._paused||(this.tick((Date.now()-e)*this._speed),this.schedule())})},XAe.prototype.tick=function(e){const t=this._t=this._t+e,n=this._parts.find(e=>e.startTime<=t&&e.endTime>t);if(!n)return this.remove();const i=t-n.startTime,o=n.length*n.easing(i/n.duration),r=n.startLength+o,s=this._path.getPointAtLength(r);this.move(s.x,s.y)},XAe.prototype.move=function(e,t){U2(this.gfx,"transform",`translate(${e}, ${t})`)},XAe.prototype.create=function(){const e=this.waypoints,t=e.reduce((t,n,i)=>{const o=e[i-1];if(o){const r=t[t.length-1],s=r&&r.endLength||0,a=tEe(o,n);t.push({startLength:s,endLength:s+a,length:a,easing:UAe(i,e)})}return t},[]),n=t.reduce((function(e,t){return e+t.length}),0),i=e.reduce((e,t,n)=>{const i=t.x-qAe/2,o=t.y-qAe/2;return e.push([n>0?"L":"M",i,o]),e},[]).flat().join(" "),o=ZAe(n);this._parts=t.reduce((e,t,i)=>{const r=o/n*t.length,s=i>0?e[i-1].endTime:0,a=s+r;return[...e,{...t,startTime:s,endTime:a,duration:r}]},[]),this._path=n4(``),this._t=0},XAe.prototype.show=function(){U2(this.gfx,"display","")},XAe.prototype.hide=function(){U2(this.gfx,"display","none")},XAe.prototype.remove=function(){this.pause(),$2(this.gfx),this.done()},XAe.prototype.setSpeed=function(e){this._speed=e};var nEe={__depends__:[wAe,EAe,VAe],animation:["type",JAe]},iEe=n("60c6"),oEe=n.n(iEe);const rEe=1500;function sEe(e){const t=oEe()({count:60}).filter(e=>n(e.substring(1))<200);function n(e){var t=parseInt(e.substr(0,2),16),n=parseInt(e.substr(2,2),16),i=parseInt(e.substr(4,2),16),o=(299*t+587*n+114*i)/1e3;return o}let i=0;function o(e){const{element:o}=e;if(o&&"bpmn:MessageFlow"===o.type)return{primary:"#999",auxiliary:"#FFF"};if(e.parent)return e.parent.colors;const r=t[i++%t.length];return{primary:r,auxiliary:n(r)>=128?"#111":"#fff"}}e.on(TAe,rEe,e=>{const{scope:t}=e;t.colors=o(t)})}sEe.$inject=["eventBus"];var aEe={__init__:["coloredScopes"],coloredScopes:["type",sEe]},lEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',cEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',hEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',dEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',uEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',pEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',gEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',mEe='\n \n \n\n',fEe='\x3c!-- Adapted from Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',vEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',bEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',yEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',_Ee='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',wEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e',CEe='\x3c!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --\x3e';function AEe(e){return function(t=""){return`${e}`}}const EEe=AEe(lEe),xEe=AEe(cEe),SEe=AEe(hEe),DEe=AEe(mEe),kEe=AEe(dEe),LEe=AEe(uEe),MEe=AEe(pEe),BEe=AEe(gEe),NEe=AEe(fEe),IEe=AEe(vEe),TEe=AEe(bEe),REe=AEe(yEe),PEe=AEe(_Ee),FEe=AEe(wEe),OEe=AEe(CEe);function zEe(e){this._exclusiveGatewaySettings=e}function VEe(e){this._simulator=e}function WEe(e){this._simulator=e}zEe.prototype.createContextPads=function(e){const t=e.outgoing.filter((function(e){return lAe(e,"bpmn:SequenceFlow")}));if(t.length<2)return;const n=`\n
      \n ${kEe()}\n
      \n `,i=()=>{this._exclusiveGatewaySettings.setSequenceFlow(e)};return[{action:i,element:e,html:n}]},zEe.$inject=["exclusiveGatewaySettings"],VEe.prototype.createContextPads=function(e){return lAe(e,"bpmn:ReceiveTask")||lAe(e,"bpmn:SubProcess")&&g9(e).triggeredByEvent?[]:[this.createPauseContextPad(e)]},VEe.prototype.createPauseContextPad=function(e){const t=()=>this._findSubscriptions({element:e}),n=this._isPaused(e),i=`\n
      \n ${(n?DEe:BEe)("show-hover")}\n ${BEe("hide-hover")}\n
      \n `,o=()=>{this._togglePaused(e)};return{action:o,element:e,hideContexts:t,html:i}},VEe.prototype._isPaused=function(e){const{wait:t}=this._simulator.getConfig(e);return t},VEe.prototype._togglePaused=function(e){const t=!this._isPaused(e);this._simulator.waitAtElement(e,t)},VEe.prototype._findSubscriptions=function(e){return this._simulator.findSubscriptions(e)},VEe.$inject=["simulator"],WEe.$inject=["simulator"],WEe.prototype.createContextPads=function(e){return[this.createTriggerContextPad(e)]},WEe.prototype.createTriggerContextPad=function(e){const t=()=>this._findSubscriptions({element:e}),n=`\n
      \n ${NEe()}\n
      \n `,i=e=>{const{event:t,scope:n}=e[0];return this._simulator.trigger({event:t,scope:n})};return{action:i,element:e,html:n,contexts:t}},WEe.prototype._findSubscriptions=function(e){return this._simulator.findSubscriptions(e)};const HEe=500,jEe=-15,QEe=-15;function UEe(e,t,n,i,o,r){this._elementRegistry=t,this._overlays=n,this._injector=i,this._canvas=o,this._scopeFilter=r,this._overlayCache=new Map,this._handlerIdx=0,this._handlers=[],this.registerHandler("bpmn:ExclusiveGateway",zEe),this.registerHandler("bpmn:Activity",VEe),this.registerHandler("bpmn:StartEvent",WEe),this.registerHandler("bpmn:IntermediateCatchEvent",WEe),this.registerHandler("bpmn:BoundaryEvent",WEe),this.registerHandler("bpmn:Activity",WEe),e.on(xAe,HEe,e=>{const t=e.active;t?this.openContextPads():this.closeContextPads()}),e.on(kAe,HEe,()=>{this.closeContextPads(),this.openContextPads()}),e.on(RAe,e=>{const t=R2(".djs-overlay-ts-context-menu [data-scope-ids]",n._overlayRoot);for(const n of t){const e=n.dataset.scopeIds.split(","),t=e.some(e=>r.isShown(e));d2(n).toggle("hidden",!t)}const i=R2(".djs-overlay-ts-context-menu [data-hide-scope-ids]",n._overlayRoot);for(const n of i){const e=n.dataset.hideScopeIds.split(","),t=e.some(e=>r.isShown(e));d2(n).toggle("hidden",t)}}),e.on(BAe,HEe,e=>{const{element:t}=e;this.updateElementContextPads(t)})}function KEe(e,t){do{if(e===t)return!0;t=t.parent}while(t);return!1}UEe.prototype.registerHandler=function(e,t){const n=this._injector.instantiate(t);n.hash=String(this._handlerIdx++),this._handlers.push({handler:n,type:e})},UEe.prototype.getHandlers=function(e){return this._handlers.filter(({type:t})=>lAe(e,t)).map(({handler:e})=>e)},UEe.prototype.openContextPads=function(e){e||(e=this._canvas.getRootElement()),this._elementRegistry.forEach(t=>{KEe(e,t)&&this.updateElementContextPads(t)})},UEe.prototype._getOverlays=function(e){return this._overlayCache.get(e)||[]},UEe.prototype._addOverlay=function(e,t){const{handlerHash:n}=t;if(!n)throw new Error(" required");const i=this._overlays.add(e,"ts-context-menu",{...t,position:{top:jEe,left:QEe},show:{minZoom:.5}}),o=this._overlays.get(i),r=this._overlayCache;r.has(n)||r.set(n,[]),r.get(n).push(o)},UEe.prototype._removeOverlay=function(e){const{id:t,handlerHash:n}=e;this._overlays.remove(t);const i=this._overlayCache.get(n)||[],o=i.indexOf(e);-1!==o&&i.splice(o,1)},UEe.prototype.updateElementContextPads=function(e){for(const t of this.getHandlers(e))this._updateElementContextPads(e,t)},UEe.prototype._updateElementContextPads=function(e,t){const n=(t.createContextPads(e)||[]).filter(e=>e),i=`${e.id}------${t.hash}`,o=this._getOverlays(i),r=[];for(const s of n){const{element:e,contexts:t,hideContexts:n,action:a,html:l}=s,c=`${s.element.id}-------${l}`;let h=o.find(e=>e.hash===c);const d=h&&h.html||I2(l);if(t){const e=t();d.dataset.scopeIds=e.map(e=>e.scope.id).join(",");const n=e.filter(e=>this._scopeFilter.isShown(e.scope));d2(d).toggle("hidden",0===n.length)}if(n){const e=n();d.dataset.hideScopeIds=e.map(e=>e.scope.id).join(",");const t=e.filter(e=>this._scopeFilter.isShown(e.scope));d2(d).toggle("hidden",t.length>0)}h?r.push(h):(a&&A2.bind(d,"click",e=>{e.preventDefault();const n=t?t().filter(e=>this._scopeFilter.isShown(e.scope)):null;a(n)}),this._addOverlay(e,{hash:c,handlerHash:i,html:d}))}for(const s of o)r.includes(s)||this._removeOverlay(s)},UEe.prototype.closeContextPads=function(){for(const e of this._overlayCache.values())for(const t of e)this._closeOverlay(t);this._overlayCache.clear()},UEe.prototype._closeOverlay=function(e){this._overlays.remove(e.id)},UEe.$inject=["eventBus","elementRegistry","overlays","injector","canvas","scopeFilter"];var GEe={__depends__:[VAe],__init__:["contextPads"],contextPads:["type",UEe]};function YEe(e,t,n,i){this._translate=i,e.on(NAe,e=>{const{scope:t}=e,{destroyInitiator:i,element:o}=t;if(!t.completed||!i)return;const r=["bpmn:Process","bpmn:Participant"];r.includes(o.type)&&n.addElementNotification(i.element,{type:"success",icon:SEe(),text:this._translate("Finished"),scope:t})})}YEe.$inject=["eventBus","simulator","elementNotifications","translate"];const $Ee=-15,qEe=15;function JEe(e,t){this._overlays=e,t.on([kAe,TAe,xAe],()=>{this.clear()})}JEe.prototype.addElementNotification=function(e,t){const n={top:$Ee,right:qEe},{type:i,icon:o,text:r,scope:s={}}=t,a=s.colors,l=a?`style="color: ${a.auxiliary}; background: ${a.primary}"`:"",c=I2(`\n
      \n ${o||""}\n ${r}\n
      \n `);this._overlays.add(e,"element-notification",{position:n,html:c,show:{minZoom:.5}})},JEe.prototype.clear=function(){this._overlays.remove({type:"element-notification"})},JEe.prototype.removeElementNotification=function(e){this._overlays.remove({element:e})},JEe.$inject=["overlays","eventBus"];var XEe={elementNotifications:["type",JEe]};const ZEe=2e3,exe=MEe();function txe(e,t,n){this._eventBus=e,this._canvas=t,this._scopeFilter=n,this._init(),e.on([xAe,kAe],e=>{this.clear()})}txe.prototype._init=function(){this.container=I2('
      '),this._canvas.getContainer().appendChild(this.container)},txe.prototype.showNotification=function(e){const{text:t,type:n="info",icon:i=exe,scope:o,ttl:r=ZEe}=e;if(o&&!this._scopeFilter.isShown(o))return;const s=i.startsWith("<")?i:``,a=o&&o.colors,l=a?`style="color: ${a.auxiliary}; background: ${a.primary}"`:"",c=I2(`\n
      \n ${s}\n ${t}\n ${o?`${o.id}`:""}\n
      \n `);this.container.appendChild(c);while(this.container.children.length>5)this.container.children[0].remove();setTimeout((function(){c.remove()}),r)},txe.prototype.clear=function(){while(this.container.children.length)this.container.children[0].remove()},txe.$inject=["eventBus","canvas","scopeFilter"];var nxe={__depends__:[VAe],notifications:["type",txe]},ixe={__depends__:[XEe,nxe],__init__:["simulationState"],simulationState:["type",YEe]};const oxe="--token-simulation-silver-base-97",rxe="--token-simulation-green-base-44",sxe="show-scopes",axe=3e3;function lxe(e,t,n,i,o){this._eventBus=e,this._canvas=t,this._scopeFilter=n,this._elementColors=i,this._simulationStyles=o,this._highlight=null,this._init(),e.on(xAe,e=>{const t=e.active;t?d2(this._container).remove("hidden"):(d2(this._container).add("hidden"),p2(this._container),this.unhighlightScope())}),e.on(RAe,e=>{const t=this.getScopeElements();for(const n of t){const e=n.dataset.scopeId;d2(n).toggle("inactive",!this._scopeFilter.isShown(e))}}),e.on(TAe,e=>{this.addScope(e.scope)}),e.on(NAe,e=>{this.removeScope(e.scope)}),e.on(IAe,e=>{this.updateScope(e.scope)}),e.on(kAe,()=>{this.removeAllInstances()})}function cxe(){this._cache={}}function hxe(){return{getPropertyValue(){return""}}}lxe.prototype._init=function(){this._container=I2(''),this._canvas.getContainer().appendChild(this._container)},lxe.prototype.addScope=function(e){const t=["bpmn:Process","bpmn:SubProcess","bpmn:Participant"],{element:n}=e;if(!t.includes(n.type))return;const i=e.colors,o=i?`style="color: ${i.auxiliary}; background: ${i.primary}"`:"",r=I2(`\n
      \n ${e.getTokens()}\n
      \n `);A2.bind(r,"click",()=>{this._scopeFilter.toggle(e)}),A2.bind(r,"mouseenter",()=>{this.highlightScope(n)}),A2.bind(r,"mouseleave",()=>{this.unhighlightScope()}),this._scopeFilter.isShown(e)||d2(r).add("inactive"),this._container.appendChild(r)},lxe.prototype.getScopeElements=function(){return R2("[data-scope-id]",this._container)},lxe.prototype.getScopeElement=function(e){return T2(`[data-scope-id="${e.id}"]`,this._container)},lxe.prototype.updateScope=function(e){const t=this.getScopeElement(e);t&&(t.textContent=e.getTokens())},lxe.prototype.removeScope=function(e){const t=this.getScopeElement(e);t&&t.remove()},lxe.prototype.removeAllInstances=function(){this._container.innerHTML=""},lxe.prototype.highlightScope=function(e){this.unhighlightScope(),this._highlight=e,this._elementColors.add(e,sxe,this._getHighlightColors(),axe),e.parent||d2(this._canvas.getContainer()).add("highlight")},lxe.prototype.unhighlightScope=function(){if(!this._highlight)return;const e=this._highlight;this._elementColors.remove(e,sxe),e.parent||d2(this._canvas.getContainer()).remove("highlight"),this._highlight=null},lxe.prototype._getHighlightColors=function(){return{fill:this._simulationStyles.get(oxe),stroke:this._simulationStyles.get(rxe)}},lxe.$inject=["eventBus","canvas","scopeFilter","elementColors","simulationStyles"],cxe.$inject=[],cxe.prototype.get=function(e){const t=this._cache[e];return t||(this._computedStyle||(this._computedStyle=this._getComputedStyle()),this._cache[e]=this._computedStyle.getPropertyValue(e).trim())},cxe.prototype._getComputedStyle=function(){const e="function"===typeof getComputedStyle?getComputedStyle:hxe,t="undefined"!==typeof document?document.documentElement:{};return e(t)};var dxe={simulationStyles:["type",cxe]},uxe={__depends__:[VAe,dxe],__init__:["showScopes"],showScopes:["type",lxe]};const pxe=MEe();function gxe(e){const t=e&&e.businessObject.name;return t&&Yee(t)}function mxe(e,t,n,i,o,r,s){this._notifications=t,this._tokenSimulationPalette=n,this._canvas=i,this._scopeFilter=o,this._translate=s,this._init(),e.on(RAe,e=>{const t=R2(".bts-entry[data-scope-id]",this._container);for(const n of t){const e=n.dataset.scopeId;d2(n).toggle("inactive",!this._scopeFilter.isShown(e))}}),e.on(NAe,e=>{const{scope:t}=e,{element:n}=t,i=t.completed,o=["bpmn:Process","bpmn:Participant","bpmn:SubProcess"];if(!o.includes(n.type))return;const r=lAe(n,"bpmn:SubProcess"),s=`${r?gxe(n)||this._translate("SubProcess"):this._translate("Process")} ${i?this._translate("finished"):this._translate("canceled")}`;this.log({text:s,icon:i?SEe():REe(),scope:t})}),e.on(TAe,e=>{const{scope:t}=e,{element:n}=t,i=["bpmn:Process","bpmn:Participant","bpmn:SubProcess"];if(!i.includes(n.type))return;const o=lAe(n,"bpmn:SubProcess"),r=`${o?gxe(n)||this._translate("SubProcess"):this._translate("Process")} ${this._translate("started")}`;this.log({text:r,icon:SEe(),scope:t})}),e.on(PAe,e=>{const{action:t,scope:n,element:i}=e;if("exit"!==t)return;const o=n.parent,r=gxe(i);if(lAe(i,"bpmn:BusinessRuleTask")?this.log({text:r||"Business Rule Task",icon:"bpmn-icon-business-rule",scope:o}):lAe(i,"bpmn:CallActivity")?this.log({text:r||"Call Activity",icon:"bpmn-icon-call-activity",scope:o}):(lAe(i,"bpmn:IntermediateCatchEvent")||lAe(i,"bpmn:IntermediateThrowEvent"))&&this.log({text:r||"Intermediate Event",icon:"bpmn-icon-intermediate-event-none",scope:o}),lAe(i,"bpmn:BoundaryEvent"))this.log({text:r||"Boundary Event",icon:"bpmn-icon-intermediate-event-none",scope:o});else if(lAe(i,"bpmn:ManualTask"))this.log({text:r||"Manual Task",icon:"bpmn-icon-manual",scope:o});else if(lAe(i,"bpmn:ScriptTask"))this.log({text:r||"Script Task",icon:"bpmn-icon-script",scope:o});else if(lAe(i,"bpmn:ServiceTask"))this.log({text:r||"Service Task",icon:"bpmn-icon-service",scope:o});else if(lAe(i,"bpmn:Task"))this.log({text:r||"Task",icon:"bpmn-icon-task",scope:o});else if(lAe(i,"bpmn:UserTask"))this.log({text:r||"User Task",icon:"bpmn-icon-user",scope:o});else if(lAe(i,"bpmn:ExclusiveGateway")){if(i.outgoing.length<2)return;const e=gxe(i.sequenceFlow);let t=r||"Gateway";e&&(t=t.concat(` ${xEe()} ${e}`)),this.log({text:t,icon:"bpmn-icon-gateway-xor",scope:o})}else lAe(i,"bpmn:EndEvent")?hAe(g9(i),"bpmn:TerminateEventDefinition")?this.log({text:r||"Terminate End Event",icon:"bpmn-icon-end-event-terminate",scope:o}):this.log({text:r||"End Event",icon:"bpmn-icon-end-event-none",scope:o}):lAe(i,"bpmn:StartEvent")&&this.log({text:r||"Start Event",icon:"bpmn-icon-start-event-none",scope:o})}),e.on([xAe,kAe],e=>{this.clear(),this.toggle(!1)})}mxe.prototype._init=function(){this._container=I2(`\n \n `),this._placeholder=T2(".bts-placeholder",this._container),this._content=T2(".bts-content",this._container),A2.bind(this._content,"mousedown",e=>{e.stopPropagation()}),this._close=T2(".bts-close",this._container),A2.bind(this._close,"click",()=>{this.toggle(!1)}),this._icon=T2(".bts-log-icon",this._container),A2.bind(this._icon,"click",()=>{this.toggle()}),this._canvas.getContainer().appendChild(this._container),this.paletteEntry=I2(`\n
      \n ${EEe()}\n
      \n `),A2.bind(this.paletteEntry,"click",()=>{this.toggle()}),this._tokenSimulationPalette.addEntry(this.paletteEntry,3)},mxe.prototype.isShown=function(){const e=this._container;return!d2(e).has("hidden")},mxe.prototype.toggle=function(e=!this.isShown()){const t=this._container;e?d2(t).remove("hidden"):d2(t).add("hidden")},mxe.prototype.log=function(e){const{text:t,type:n="info",icon:i=pxe,scope:o}=e,r=this._content;d2(this._placeholder).add("hidden"),this.isShown()||this._notifications.showNotification(e);const s=i.startsWith("<")?i:``,a=o&&o.colors,l=a?`style="background: ${a.primary}; color: ${a.auxiliary}"`:"",c=I2(`\n

      \n ${s}\n ${t}\n ${o?`${o.id}`:""}\n

      \n `);k2.bind(c,".bts-scope[data-scope-id]","click",e=>{this._scopeFilter.toggle(o)});const h=Math.abs(r.clientHeight+r.scrollTop-r.scrollHeight)<2;r.appendChild(c),h&&(r.scrollTop=r.scrollHeight)},mxe.prototype.clear=function(){while(this._content.firstChild)this._content.removeChild(this._content.firstChild);this._placeholder=I2(`

      ${this._translate("No Entries")}

      `),this._content.appendChild(this._placeholder)},mxe.$inject=["eventBus","notifications","tokenSimulationPalette","canvas","scopeFilter","simulator","translate"];var fxe={__depends__:[nxe,VAe],__init__:["log"],log:["type",mxe]};const vxe=["bpmn:InclusiveGateway","bpmn:ComplexGateway"];function bxe(e){return e.labelTarget}function yxe(e,t,n,i,o){this._eventBus=e,this._elementRegistry=t,this._elementNotifications=o,this._notifications=i,this._canvasParent=n.getContainer().parentNode,e.on(xAe,e=>{e.active?this.enable():this.clear()})}yxe.prototype.getUnsupportedElements=function(){return this._unsupportedElements},yxe.prototype.enable=function(){const e=[];this._elementRegistry.forEach(t=>{bxe(t)||lAe(t,vxe)&&(this.showWarning(t),e.push(t))}),e.length&&this._notifications.showNotification({text:"Found unsupported elements",icon:LEe(),type:"warning",ttl:5e3}),this._unsupportedElements=e},yxe.prototype.clear=function(){d2(this._canvasParent).remove("warning")},yxe.prototype.showWarning=function(e){this._elementNotifications.addElementNotification(e,{type:"warning",icon:LEe(),text:"Not supported"})},yxe.$inject=["eventBus","elementRegistry","canvas","notifications","elementNotifications"];var _xe={__depends__:[XEe,nxe],__init__:["elementSupport"],elementSupport:["type",yxe]};const wxe=NEe(),Cxe=BEe(),Axe=1500;function Exe(e,t,n,i,o){this._eventBus=e,this._tokenSimulationPalette=t,this._notifications=n,this._translate=o,this.canvasParent=i.getContainer().parentNode,this.isActive=!1,this.isPaused=!0,this._init(),e.on(TAe,Axe,e=>{this.activate(),this.unpause()}),e.on([kAe,xAe],()=>{this.deactivate(),this.pause()}),e.on(PAe,Axe,e=>{this.unpause()})}Exe.prototype._init=function(){this.paletteEntry=I2(`\n
      \n ${wxe}\n
      \n `),A2.bind(this.paletteEntry,"click",this.toggle.bind(this)),this._tokenSimulationPalette.addEntry(this.paletteEntry,1)},Exe.prototype.toggle=function(){this.isPaused?this.unpause():this.pause()},Exe.prototype.pause=function(){this.isActive&&(d2(this.paletteEntry).remove("active"),d2(this.canvasParent).add("paused"),this.paletteEntry.innerHTML=wxe,this._eventBus.fire(DAe),this._notifications.showNotification({text:this._translate("Pause Simulation")}),this.isPaused=!0)},Exe.prototype.unpause=function(){this.isActive&&this.isPaused&&(d2(this.paletteEntry).add("active"),d2(this.canvasParent).remove("paused"),this.paletteEntry.innerHTML=Cxe,this._eventBus.fire(SAe),this._notifications.showNotification({text:this._translate("Play Simulation")}),this.isPaused=!1)},Exe.prototype.activate=function(){this.isActive=!0,d2(this.paletteEntry).remove("disabled")},Exe.prototype.deactivate=function(){this.isActive=!1,d2(this.paletteEntry).remove("active"),d2(this.paletteEntry).add("disabled")},Exe.$inject=["eventBus","tokenSimulationPalette","notifications","canvas","translate"];var xxe={__depends__:[nxe],__init__:["pauseSimulation"],pauseSimulation:["type",Exe]};function Sxe(e,t,n,i){this._eventBus=e,this._tokenSimulationPalette=t,this._notifications=n,this._translate=i,this._init(),e.on(TAe,()=>{d2(this._paletteEntry).remove("disabled")}),e.on(xAe,e=>{const t=this._active=e.active;t||this.resetSimulation()})}Sxe.prototype._init=function(){this._paletteEntry=I2(`\n
      \n ${IEe()}\n
      \n `),A2.bind(this._paletteEntry,"click",()=>{this.resetSimulation(),this._notifications.showNotification({text:this._translate("Reset Simulation"),type:"info"})}),this._tokenSimulationPalette.addEntry(this._paletteEntry,2)},Sxe.prototype.resetSimulation=function(){d2(this._paletteEntry).add("disabled"),this._eventBus.fire(kAe)},Sxe.$inject=["eventBus","tokenSimulationPalette","notifications","translate"];var Dxe={__depends__:[nxe],__init__:["resetSimulation"],resetSimulation:["type",Sxe]};const kxe=10,Lxe=-15,Mxe=500,Bxe="--token-simulation-green-base-44",Nxe="--token-simulation-white";function Ixe(e,t,n,i,o){this._overlays=t,this._scopeFilter=i,this._simulator=n,this._simulationStyles=o,this.overlayIds={},e.on(BAe,Mxe,e=>{const{element:t}=e;this.removeTokenCounts(t),this.addTokenCounts(t)}),e.on(RAe,e=>{const n=R2(".bts-token-count[data-scope-id]",t._overlayRoot);for(const t of n){const e=t.dataset.scopeId;d2(t).toggle("inactive",!this._scopeFilter.isShown(e))}})}Ixe.prototype.addTokenCounts=function(e){if(lAe(e,"bpmn:MessageFlow")||lAe(e,"bpmn:SequenceFlow"))return;const t=this._simulator.findScopes(t=>!t.destroyed&&t.children.some(t=>!t.destroyed&&t.element===e&&!t.children.length));this.addTokenCount(e,t)},Ixe.prototype.addTokenCount=function(e,t){if(!t.length)return;const n=t.map(t=>this._getTokenHTML(e,t)).join(""),i=I2(`\n
      \n ${n}\n
      \n `),o={bottom:kxe,left:Lxe},r=this._overlays.add(e,"token-count",{position:o,html:i,show:{minZoom:.5}});this.overlayIds[e.id]=r},Ixe.prototype.removeTokenCounts=function(e){this.removeTokenCount(e)},Ixe.prototype.removeTokenCount=function(e){const t=this.overlayIds[e.id];t&&(this._overlays.remove(t),delete this.overlayIds[e.id])},Ixe.prototype._getTokenHTML=function(e,t){const n=t.colors||this._getDefaultColors();return`\n
      \n ${t.getTokensByElement(e)}\n
      \n `},Ixe.prototype._getDefaultColors=function(){return{primary:this._simulationStyles.get(Bxe),auxiliary:this._simuationStyles.get(Nxe)}},Ixe.$inject=["eventBus","overlays","simulator","scopeFilter","simulationStyles"];var Txe={__depends__:[VAe,dxe],__init__:["tokenCount"],tokenCount:["type",Ixe]};const Rxe=[["Slow",.5],["Normal",1],["Fast",2]];function Pxe(e,t,n,i){this._canvas=e,this._animation=t,this._eventBus=n,this._translate=i,this._init(t.getAnimationSpeed()),n.on(xAe,e=>{const t=e.active;t?d2(this._container).remove("hidden"):d2(this._container).add("hidden")}),n.on(MAe,e=>{this.setActive(e.speed)})}Pxe.prototype.getToggleSpeed=function(e){return parseFloat(e.dataset.speed)},Pxe.prototype._init=function(e){this._container=I2(`\n \n `),k2.bind(this._container,"[data-speed]","click",e=>{const t=e.delegateTarget,n=this.getToggleSpeed(t);this._animation.setAnimationSpeed(n)}),this._canvas.getContainer().appendChild(this._container)},Pxe.prototype.setActive=function(e){R2("[data-speed]",this._container).forEach(t=>{const n=this.getToggleSpeed(t)===e;d2(t)[n?"add":"remove"]("active")})},Pxe.$inject=["canvas","animation","eventBus","translate"];var Fxe={__init__:["setAnimationSpeed"],setAnimationSpeed:["type",Pxe]};const Oxe="--token-simulation-grey-darken-30",zxe="--token-simulation-grey-lighten-56";function Vxe(e,t){var n=e.outgoing.filter(Wxe),i=n.indexOf(t||e.sequenceFlow);return n[i+1]?n[i+1]:n[0]}function Wxe(e){return lAe(e,"bpmn:SequenceFlow")}const Hxe="exclusive-gateway-settings",jxe=2e3;function Qxe(e,t,n,i,o){this._elementRegistry=t,this._elementColors=n,this._simulator=i,this._simulationStyles=o,e.on(xAe,e=>{e.active?this.setSequenceFlowsDefault():this.resetSequenceFlows()})}Qxe.prototype.setSequenceFlowsDefault=function(){const e=this._elementRegistry.filter(e=>lAe(e,"bpmn:ExclusiveGateway"));for(const t of e)this.setSequenceFlow(t)},Qxe.prototype.resetSequenceFlows=function(){const e=this._elementRegistry.filter(e=>lAe(e,"bpmn:ExclusiveGateway"));e.forEach(e=>{e.outgoing.filter(Wxe).length&&this.resetSequenceFlow(e)})},Qxe.prototype.resetSequenceFlow=function(e){this._simulator.setConfig(e,{activeOutgoing:void 0})},Qxe.prototype.setSequenceFlow=function(e){const t=e.outgoing.filter(Wxe);if(t.length<2)return;const{activeOutgoing:n}=this._simulator.getConfig(e);let i;i=n?Vxe(e,n):t[0],this._simulator.setConfig(e,{activeOutgoing:i}),e.outgoing.forEach(e=>{const t=e===i?Oxe:zxe,n=this._simulationStyles.get(t);this._elementColors.add(e,Hxe,{stroke:n},jxe)})},Qxe.$inject=["eventBus","elementRegistry","elementColors","simulator","simulationStyles"];const Uxe=5e4;function Kxe(e,t,n){this._elementRegistry=e,this._eventBus=t,this._graphicsFactory=n,this._originalColors={},this._customColors={},t.on(xAe,Uxe,e=>{const t=e.active;t?this._saveOriginalColors():(this._applyOriginalColors(),this._originalColors={},this._customColors={})}),t.on("saveXML.start",Uxe,()=>{this._applyOriginalColors(),t.once("saveXML.done",()=>this._applyCustomColors())})}function Gxe(e){return"labelTarget"in e}function Yxe(e={}){const t=Object.values(e).reduce((e,t)=>{const{priority:n=1e3}=t;return!e||n>e.priority?t:e},void 0);if(t){const{priority:e,...n}=t;return n}}Kxe.$inject=["elementRegistry","eventBus","graphicsFactory"],Kxe.prototype.add=function(e,t,n,i=1e3){let o=this._customColors[e.id];o||(o=this._customColors[e.id]={}),o[t]={...n,priority:i},this._applyHighestPriorityColor(e)},Kxe.prototype.remove=function(e,t){const n=this._customColors[e.id];n&&(delete n[t],Object.keys(n)||delete this._customColors[e.id]),this._applyHighestPriorityColor(e)},Kxe.prototype._get=function(e){const t=m9(e);if(t)return Gxe(e)?{stroke:t.label&&t.label.get("color")}:p9(t,["bpmndi:BPMNEdge","bpmndi:BPMNShape"])?{fill:t.get("background-color"),stroke:t.get("border-color")}:void 0},Kxe.prototype._set=function(e,t={}){const{fill:n,stroke:i}=t,o=m9(e);o&&(Gxe(e)?o.label&&o.label.set("color",i):p9(o,["bpmndi:BPMNEdge","bpmndi:BPMNShape"])&&(o.set("background-color",n),o.set("border-color",i)),this._forceRedraw(e))},Kxe.prototype._saveOriginalColors=function(){this._originalColors={},this._elementRegistry.forEach(e=>{this._originalColors[e.id]=this._get(e)})},Kxe.prototype._applyOriginalColors=function(){this._elementRegistry.forEach(e=>{const t=this._originalColors[e.id];t&&this._set(e,t)})},Kxe.prototype._applyCustomColors=function(){this._elementRegistry.forEach(e=>{const t=this._customColors[e.id];t&&this._set(e,Yxe(t))})},Kxe.prototype._applyHighestPriorityColor=function(e){const t=this._customColors[e.id];t?this._set(e,Yxe(t)):this._set(e,this._originalColors[e.id])},Kxe.prototype._forceRedraw=function(e){const t=this._elementRegistry.getGraphics(e),n=e.waypoints?"connection":"shape";this._graphicsFactory.update(n,e,t)};var $xe={elementColors:["type",Kxe]},qxe={__depends__:[$xe,dxe],exclusiveGatewaySettings:["type",Qxe]};const Jxe="neutral-element-colors";function Xxe(e,t,n){this._elementRegistry=t,this._elementColors=n,e.on(xAe,e=>{const{active:t}=e;t&&this._setNeutralColors()})}Xxe.prototype._setNeutralColors=function(){this._elementRegistry.forEach(e=>{this._elementColors.add(e,Jxe,{stroke:"#212121",fill:"#fff"})})},Xxe.$inject=["eventBus","elementRegistry","elementColors"];var Zxe={__depends__:[$xe],__init__:["neutralElementColors"],neutralElementColors:["type",Xxe]};function eSe(e,t){var n=this;this._canvas=t,this.entries=[],this._init(),e.on(xAe,(function(e){var t=e.active;t?d2(n.container).remove("hidden"):d2(n.container).add("hidden")}))}eSe.prototype._init=function(){this.container=I2(''),this._canvas.getContainer().appendChild(this.container)},eSe.prototype.addEntry=function(e,t){var n=0;this.entries.forEach((function(e){t>=e.index&&n++})),this.container.insertBefore(e,this.container.childNodes[n]),this.entries.push({entry:e,index:t})},eSe.$inject=["eventBus","canvas"];var tSe={__init__:["tokenSimulationPalette"],tokenSimulationPalette:["type",eSe]},nSe={__depends__:[wAe,nEe,aEe,GEe,ixe,uxe,fxe,_xe,xxe,Dxe,Txe,Fxe,qxe,Zxe,tSe]};const iSe=10001;function oSe(e,t,n,i,o,r,s,a){let l=!1;function c(e,t,n){const i=e[t];e[t]=function(){return n.call(this,i,arguments)}}function h(e,t){c(e,t,(function(e,t){if(!l)return e.apply(this,t)}))}function d(e,t){c(e,t,(function(e,t){if(l)throw new Error("model is read-only");return e.apply(this,t)}))}e.on(xAe,iSe,e=>{l=e.active,l&&(i.cancel(),t.close(),n.cancel()),s._update()}),h(t,"open"),h(n,"init"),h(i,"activate"),h(n,"init"),h(i,"activate"),d(r,"moveShape"),d(r,"updateAttachment"),d(r,"moveElements"),d(r,"moveConnection"),d(r,"layoutConnection"),d(r,"createConnection"),d(r,"createShape"),d(r,"createLabel"),d(r,"appendShape"),d(r,"removeElements"),d(r,"distributeElements"),d(r,"removeShape"),d(r,"removeConnection"),d(r,"replaceShape"),d(r,"pasteElements"),d(r,"alignElements"),d(r,"resizeShape"),d(r,"createSpace"),d(r,"updateWaypoints"),d(r,"reconnectStart"),d(r,"reconnectEnd"),c(o,"trigger",(function(e,t){const n=t[0];if(!l||!rSe(["undo","redo","copy","paste","removeSelection","spaceTool","lassoTool","globalConnectTool","distributeElements","alignElements","directEditing"],n))return e.apply(this,t)}))}function rSe(e,t){return e.indexOf(t)>-1}oSe.$inject=["eventBus","contextPad","dragging","directEditing","editorActions","modeling","palette","paletteProvider"];var sSe={__init__:["disableModeling"],disableModeling:["type",oSe]};function aSe(e,t,n,i,o){this._eventBus=e,this._canvas=t,this._selection=n,this._contextPad=i,this._translate=o,this._active=!1,e.on("import.parse.start",()=>{this._active&&(this.toggleMode(!1),e.once("import.done",()=>{this.toggleMode(!0)}))}),e.on("diagram.init",()=>{this._canvasParent=this._canvas.getContainer().parentNode,this._palette=T2(".djs-palette",this._canvas.getContainer()),this._init()})}aSe.prototype._init=function(){this._container=I2(`\n
      \n ${this._translate("Token Simulation")} ${FEe()}\n
      \n `),A2.bind(this._container,"click",()=>this.toggleMode()),this._canvas.getContainer().appendChild(this._container)},aSe.prototype.toggleMode=function(e=!this._active){if(e!==this._active){if(e)this._container.innerHTML=`${this._translate("Token Simulation")} ${OEe()}`,d2(this._canvasParent).add("simulation"),d2(this._palette).add("hidden");else{this._container.innerHTML=`${this._translate("Token Simulation")} ${FEe()}`,d2(this._canvasParent).remove("simulation"),d2(this._palette).remove("hidden");const e=this._selection.get();1===e.length&&this._contextPad.open(e[0])}this._eventBus.fire(xAe,{active:e}),this._active=e}},aSe.$inject=["eventBus","canvas","selection","contextPad","translate"];var lSe={__init__:["toggleMode"],toggleMode:["type",aSe]};function cSe(e,t,n,i,o,r){var s=!1;o.register({toggleTokenSimulation:function(){t.toggleMode()}}),o.register({togglePauseTokenSimulation:function(){s&&n.toggle()}}),o.register({resetTokenSimulation:function(){s&&i.resetSimulation()}});const a=r.get("log",!1);a&&o.register({toggleTokenSimulationLog:function(){a.toggle()}}),e.on(xAe,e=>{s=e.active})}cSe.$inject=["eventBus","toggleMode","pauseSimulation","resetSimulation","editorActions","injector"];var hSe={__init__:["tokenSimulationEditorActions"],tokenSimulationEditorActions:["type",cSe]};const dSe=1e4;function uSe(e,t){var n=t.get("editorActions",!1),i=t.get("keyboard",!1);if(i&&n){var o=!1;e.on("keyboard.init",(function(){i.addListener(dSe,(function(e){var t=e.keyEvent;r(t)}))})),e.on(xAe,(function(e){var t=e.active;o=!!t}))}function r(e){return pSe(["t","T"],e)?(n.trigger("toggleTokenSimulation"),!0):o?pSe(["l","L"],e)?(n.trigger("toggleTokenSimulationLog"),!0):pSe([" ","Spacebar"],e)?(n.trigger("togglePauseTokenSimulation"),!0):pSe(["r","R"],e)?(n.trigger("resetTokenSimulation"),!0):void 0:void 0}}function pSe(e,t){return e.indexOf(t.key)>-1}uSe.$inject=["eventBus","injector"];var gSe={__init__:["tokenSimulationKeyboardBindings"],tokenSimulationKeyboardBindings:["type",uSe]},mSe={__depends__:[nSe,sSe,lSe,hSe,gSe]};function fSe(e,t,n,i){this._eventBus=e,this._canvas=t,this._translate=n,this._active=!1,e.on("import.parse.start",()=>{this._active&&(this.toggleMode(!1),e.once("import.done",()=>{this.toggleMode(!0)}))}),e.on("diagram.init",()=>{this._canvasParent=this._canvas.getContainer().parentNode,this._init()}),e.on("import.parse.start",()=>{this._active&&(this.toggleMode(!1),e.once("import.done",()=>{this.toggleMode(!0)}))})}fSe.prototype._init=function(){this._container=I2(`\n
      \n ${this._translate("Token Simulation")} ${FEe()}\n
      \n `);var e="3e68f5a6cc486e25451165f604ee6520";A2.bind(this._container,"click",()=>this.toggleMode()),e.length,this._canvas.getContainer().appendChild(this._container)},fSe.prototype.toggleMode=function(e=!this._active){e!==this._active&&(e?(this._container.innerHTML=`${this._translate("Token Simulation")} ${OEe()}`,d2(this._canvasParent).add("simulation")):(this._container.innerHTML=`${this._translate("Token Simulation")} ${FEe()}`,d2(this._canvasParent).remove("simulation")),this._eventBus.fire(xAe,{active:e}),this._active=e)},fSe.$inject=["eventBus","canvas","translate"];var vSe={__init__:["toggleMode"],toggleMode:["type",fSe]},bSe={__depends__:[nSe,vSe]};const ySe=Object.prototype.toString,_Se=Object.prototype.hasOwnProperty;function wSe(e){return void 0===e}function CSe(e){return"[object Array]"===ySe.call(e)}function ASe(e){return"[object Object]"===ySe.call(e)}function ESe(e){return"[object Number]"===ySe.call(e)}function xSe(e){const t=ySe.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function SSe(e,t){return _Se.call(e,t)}function DSe(e,t){let n;return t=MSe(t),kSe(e,(function(e,i){if(t(e,i))return n=e,!1})),n}function kSe(e,t){let n,i;if(wSe(e))return;const o=CSe(e)?NSe:BSe;for(let r in e)if(SSe(e,r)&&(n=e[r],i=t(n,o(r)),!1===i))return n}function LSe(e,t){return!!DSe(e,t)}function MSe(e){return xSe(e)?e:t=>t===e}function BSe(e){return e}function NSe(e){return Number(e)}function ISe(e,...t){return Object.assign(e,...t)}const TSe={id:"events",name:"Events"},RSe={id:"tasks",name:"Tasks"},PSe={id:"data",name:"Data"},FSe={id:"participants",name:"Participants"},OSe={id:"subprocess",name:"Sub Processes"},zSe={id:"gateways",name:"Gateways"},VSe=[{label:"Start Event",actionName:"none-start-event",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"Boundary Event",actionName:"none-boundary-event",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:BoundaryEvent"}},{label:"End Event",actionName:"none-end-event",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}}].map(e=>({...e,group:TSe})),WSe=[{label:"Message Start Event",actionName:"message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}].map(e=>({...e,group:TSe})),HSe=[{label:"Message Intermediate Catch Event",actionName:"message-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Message Intermediate Throw Event",actionName:"message-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-message",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Intermediate Catch Event",actionName:"timer-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Intermediate Throw Event",actionName:"escalation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-escalation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Intermediate Catch Event",actionName:"conditional-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Link Intermediate Catch Event",actionName:"link-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-link",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Link Intermediate Throw Event",actionName:"link-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-link",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Compensation Intermediate Throw Event",actionName:"compensation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-compensation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal Intermediate Catch Event",actionName:"signal-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Signal Intermediate Throw Event",actionName:"signal-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-signal",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}].map(e=>({...e,group:TSe})),jSe=[{label:"Message Boundary Event",actionName:"message-boundary",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Boundary Event",actionName:"timer-boundary",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Boundary Event",actionName:"escalation-boundary",className:"bpmn-icon-intermediate-event-catch-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Boundary Event",actionName:"conditional-boundary",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Error Boundary Event",actionName:"error-boundary",className:"bpmn-icon-intermediate-event-catch-error",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel Boundary Event",actionName:"cancel-boundary",className:"bpmn-icon-intermediate-event-catch-cancel",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Signal Boundary Event",actionName:"signal-boundary",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Compensation Boundary Event",actionName:"compensation-boundary",className:"bpmn-icon-intermediate-event-catch-compensation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Boundary Event (non-interrupting)",actionName:"non-interrupting-message-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!1}},{label:"Timer Boundary Event (non-interrupting)",actionName:"non-interrupting-timer-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!1}},{label:"Escalation Boundary Event (non-interrupting)",actionName:"non-interrupting-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!1}},{label:"Conditional Boundary Event (non-interrupting)",actionName:"non-interrupting-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!1}},{label:"Signal Boundary Event (non-interrupting)",actionName:"non-interrupting-signal-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!1}}].map(e=>({...e,group:TSe})),QSe=[{label:"Message End Event",actionName:"message-end",className:"bpmn-icon-end-event-message",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Escalation End Event",actionName:"escalation-end",className:"bpmn-icon-end-event-escalation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Error End Event",actionName:"error-end",className:"bpmn-icon-end-event-error",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel End Event",actionName:"cancel-end",className:"bpmn-icon-end-event-cancel",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Compensation End Event",actionName:"compensation-end",className:"bpmn-icon-end-event-compensation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal End Event",actionName:"signal-end",className:"bpmn-icon-end-event-signal",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Terminate End Event",actionName:"terminate-end",className:"bpmn-icon-end-event-terminate",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:TerminateEventDefinition"}}].map(e=>({...e,group:TSe})),USe=[{label:"Exclusive Gateway",actionName:"exclusive-gateway",className:"bpmn-icon-gateway-xor",target:{type:"bpmn:ExclusiveGateway"}},{label:"Parallel Gateway",actionName:"parallel-gateway",className:"bpmn-icon-gateway-parallel",target:{type:"bpmn:ParallelGateway"}},{label:"Inclusive Gateway",search:"or",actionName:"inclusive-gateway",className:"bpmn-icon-gateway-or",target:{type:"bpmn:InclusiveGateway"},rank:-1},{label:"Complex Gateway",actionName:"complex-gateway",className:"bpmn-icon-gateway-complex",target:{type:"bpmn:ComplexGateway"},rank:-1},{label:"Event based Gateway",actionName:"event-based-gateway",className:"bpmn-icon-gateway-eventbased",target:{type:"bpmn:EventBasedGateway",instantiate:!1,eventGatewayType:"Exclusive"}}].map(e=>({...e,group:zSe})),KSe=[{label:"Transaction",actionName:"transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Event Sub Process",search:"subprocess",actionName:"event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}},{label:"Sub Process (collapsed)",search:"subprocess",actionName:"collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}},{label:"Sub Process (expanded)",search:"subprocess",actionName:"expanded-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!0}}].map(e=>({...e,group:OSe})),GSe=[{label:"Task",actionName:"task",className:"bpmn-icon-task",target:{type:"bpmn:Task"}},{label:"User Task",actionName:"user-task",className:"bpmn-icon-user",target:{type:"bpmn:UserTask"}},{label:"Service Task",actionName:"service-task",className:"bpmn-icon-service",target:{type:"bpmn:ServiceTask"}},{label:"Send Task",actionName:"send-task",className:"bpmn-icon-send",target:{type:"bpmn:SendTask"},rank:-1},{label:"Receive Task",actionName:"receive-task",className:"bpmn-icon-receive",target:{type:"bpmn:ReceiveTask"},rank:-1},{label:"Manual Task",actionName:"manual-task",className:"bpmn-icon-manual",target:{type:"bpmn:ManualTask"},rank:-1},{label:"Business Rule Task",actionName:"rule-task",className:"bpmn-icon-business-rule",target:{type:"bpmn:BusinessRuleTask"}},{label:"Script Task",actionName:"script-task",className:"bpmn-icon-script",target:{type:"bpmn:ScriptTask"}},{label:"Call Activity",actionName:"call-activity",className:"bpmn-icon-call-activity",target:{type:"bpmn:CallActivity"}}].map(e=>({...e,group:RSe})),YSe=[{label:"Data Store Reference",actionName:"data-store-reference",className:"bpmn-icon-data-store",target:{type:"bpmn:DataStoreReference"}},{label:"Data Object Reference",actionName:"data-object-reference",className:"bpmn-icon-data-object",target:{type:"bpmn:DataObjectReference"}}].map(e=>({...e,group:PSe})),$Se=[{label:"Expanded Pool",search:"Participant",actionName:"expanded-pool",className:"bpmn-icon-participant",target:{type:"bpmn:Participant",isExpanded:!0}},{label:"Empty Pool",search:"Collapsed Participant",actionName:"collapsed-pool",className:"bpmn-icon-lane",target:{type:"bpmn:Participant",isExpanded:!1}}].map(e=>({...e,group:FSe})),qSe=[...USe,...GSe,...KSe,...VSe,...WSe,...HSe,...QSe,...jSe,...YSe,...$Se];function JSe(e,t,n,i,o,r,s){this._elementFactory=e,this._popupMenu=t,this._create=n,this._autoPlace=i,this._rules=o,this._create=n,this._mouse=r,this._translate=s,this.register()}JSe.$inject=["elementFactory","popupMenu","create","autoPlace","rules","mouse","translate"],JSe.prototype.register=function(){this._popupMenu.registerProvider("bpmn-append",this)},JSe.prototype.getPopupMenuEntries=function(e){const t=this._rules,n=this._translate,i={};if(!t.allowed("shape.append",{element:e}))return[];const o=this._filterEntries(qSe);return o.forEach(t=>{const{actionName:o,className:r,label:s,target:a,description:l,group:c,search:h,rank:d}=t;i["append-"+o]={label:s&&n(s),className:r,description:l,group:c&&{...c,name:n(c.name)},search:h,rank:d,action:this._createEntryAction(e,a)}}),i},JSe.prototype._filterEntries=function(e){return e.filter(e=>{const t=e.target,{type:n,eventDefinitionType:i}=t;return!["bpmn:StartEvent","bpmn:Participant"].includes(n)&&("bpmn:BoundaryEvent"!==n||!wSe(i))})},JSe.prototype._createEntryAction=function(e,t){const n=this._elementFactory,i=this._autoPlace,o=this._create,r=this._mouse,s=()=>{const o=n.create("shape",t);i.append(e,o)},a=i=>{const s=n.create("shape",t);return i instanceof KeyboardEvent&&(i=r.getLastMoveEvent()),o.start(i,s,{source:e})};return{click:this._canAutoPlaceElement(t)?s:a,dragstart:a}},JSe.prototype._canAutoPlaceElement=e=>{const{type:t}=e;return"bpmn:BoundaryEvent"!==t&&(("bpmn:SubProcess"!==t||!e.triggeredByEvent)&&("bpmn:IntermediateCatchEvent"!==t||"bpmn:LinkEventDefinition"!==e.eventDefinitionType))};const XSe="data:image/svg+xml,%3Csvg%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%205.82%205.82%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M1.3%203.4c.3%200%20.5-.2.5-.5s-.2-.4-.5-.4c-.2%200-.4.1-.4.4%200%20.3.2.5.4.5zM3%203.4c.2%200%20.4-.2.4-.5s-.2-.4-.4-.4c-.3%200-.5.1-.5.4%200%20.3.2.5.5.5zM4.6%203.4c.2%200%20.4-.2.4-.5s-.2-.4-.4-.4c-.3%200-.5.1-.5.4%200%20.3.2.5.5.5z%22%2F%3E%0A%3C%2Fsvg%3E",ZSe="data:image/svg+xml,%3Csvg%20width%3D%2246%22%20height%3D%2246%22%20viewBox%3D%22-2%20-2%209.82%209.82%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M1.3%203.4c.3%200%20.5-.2.5-.5s-.2-.4-.5-.4c-.2%200-.4.1-.4.4%200%20.3.2.5.4.5zM3%203.4c.2%200%20.4-.2.4-.5s-.2-.4-.4-.4c-.3%200-.5.1-.5.4%200%20.3.2.5.5.5zM4.6%203.4c.2%200%20.4-.2.4-.5s-.2-.4-.4-.4c-.3%200-.5.1-.5.4%200%20.3.2.5.5.5z%22%2F%3E%0A%3C%2Fsvg%3E";function eDe(e,t,n,i){this._contextPad=e,this._popupMenu=t,this._translate=n,this._canvas=i,this.register()}function tDe(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}function nDe(e,t){var n=oDe(e);return n&&"function"===typeof n.$instanceOf&&n.$instanceOf(t)}function iDe(e,t){return LSe(t,(function(t){return nDe(e,t)}))}function oDe(e){return e&&e.businessObject||e}function rDe(e){return e&&e.di}function sDe(e){return e&&!!e.labelTarget}eDe.$inject=["contextPad","popupMenu","translate","canvas"],eDe.prototype.register=function(){this._contextPad.registerProvider(this)},eDe.prototype.getContextPadEntries=function(e){const t=this._popupMenu,n=this._translate,i=this._getAppendMenuPosition.bind(this);if(!t.isEmpty(e,"bpmn-append"))return{append:{group:"model",imageUrl:XSe,title:n("Append element"),action:{click:function(e,o){const r=ISe(i(o),{cursor:{x:e.x,y:e.y}});t.open(o,"bpmn-append",r,{title:n("Append element"),width:300,search:!0})}}}}},eDe.prototype._getAppendMenuPosition=function(e){const t=this._contextPad,n=5,i=t.getPad(e).html,o=i.getBoundingClientRect(),r={x:o.right+n,y:o.top};return r};var aDe=1e3;function lDe(e){this._eventBus=e}function cDe(e,t){return function(n){return e.call(t||null,n.context,n.command,n)}}lDe.$inject=["eventBus"],lDe.prototype.on=function(e,t,n,i,o,r){if((xSe(t)||ESe(t))&&(r=o,o=i,i=n,n=t,t=null),xSe(n)&&(r=o,o=i,i=n,n=aDe),ASe(o)&&(r=o,o=!1),!xSe(i))throw new Error("handlerFn must be a function");CSe(e)||(e=[e]);var s=this._eventBus;kSe(e,(function(e){var a=["commandStack",e,t].filter((function(e){return e})).join(".");s.on(a,n,o?cDe(i,r):i,r)}))};var hDe=["canExecute","preExecute","preExecuted","execute","executed","postExecute","postExecuted","revert","reverted"];function dDe(e){lDe.call(this,e),this.init()}function uDe(e){dDe.call(this,e)}function pDe(e,t){const n=oDe(e);return!!DSe(n.eventDefinitions||[],(function(e){return nDe(e,t)}))}function gDe(e){return e.waypoints}kSe(hDe,(function(e){lDe.prototype[e]=function(t,n,i,o,r){(xSe(t)||ESe(t))&&(r=o,o=i,i=n,n=t,t=null),this.on(t,e,n,i,o,r)}})),dDe.$inject=["eventBus"],tDe(dDe,lDe),dDe.prototype.addRule=function(e,t,n){var i=this;"string"===typeof e&&(e=[e]),e.forEach((function(e){i.canExecute(e,t,(function(e,t,i){return n(e)}),!0)}))},dDe.prototype.init=function(){},tDe(uDe,dDe),uDe.$inject=["eventBus"],uDe.prototype.init=function(){this.addRule("shape.append",(function(e){const t=e.element,n=oDe(t);return!sDe(t)&&(!iDe(t,["bpmn:EndEvent","bpmn:Group","bpmn:TextAnnotation","bpmn:Lane","bpmn:Participant","bpmn:DataStoreReference","bpmn:DataObjectReference"])&&(!gDe(t)&&((!nDe(t,"bpmn:IntermediateThrowEvent")||!pDe(t,"bpmn:LinkEventDefinition"))&&((!nDe(t,"bpmn:SubProcess")||!n.triggeredByEvent)&&void 0))))}))};var mDe,fDe={__init__:["appendMenuProvider","appendContextPadProvider","appendRules"],appendMenuProvider:["type",JSe],appendContextPadProvider:["type",eDe],appendRules:["type",uDe]};function vDe(e,t,n,i,o,r){this._elementFactory=e,this._popupMenu=t,this._create=n,this._autoPlace=i,this._mouse=o,this._translate=r,this.register()}function bDe(e,t){return t=t||document,t.querySelector(e)}vDe.$inject=["elementFactory","popupMenu","create","autoPlace","mouse","translate"],vDe.prototype.register=function(){this._popupMenu.registerProvider("bpmn-create",this)},vDe.prototype.getPopupMenuEntries=function(){const e={};return qSe.forEach(t=>{const{actionName:n,className:i,label:o,target:r,description:s,group:a,search:l,rank:c}=t,h=this._createEntryAction(r);e["create-"+n]={label:o&&this._translate(o),className:i,description:s,group:a&&{...a,name:this._translate(a.name)},search:l,rank:c,action:{click:h,dragstart:h}}}),e},vDe.prototype._createEntryAction=function(e){const t=this._create,n=this._mouse,i=this._popupMenu,o=this._elementFactory;let r;return s=>(i.close(),r="bpmn:Participant"===e.type?o.createParticipantShape(e):o.create("shape",e),s instanceof KeyboardEvent&&(s=n.getLastMoveEvent()),t.start(s,r))},"undefined"!==typeof document&&(mDe=document.createElement("div"),mDe.innerHTML='
      a',mDe.getElementsByTagName("link").length,mDe=void 0);const yDe=900;function _De(e,t,n,i,o){this._palette=e,this._translate=t,this._popupMenu=n,this._canvas=i,this._mouse=o,this.register()}_De.$inject=["palette","translate","popupMenu","canvas","mouse"],_De.prototype.register=function(){this._palette.registerProvider(yDe,this)},_De.prototype.getPaletteEntries=function(e){const t=this._translate,n=this._popupMenu,i=this._canvas,o=this._mouse,r=e=>{const t=35,n=10;if(e instanceof KeyboardEvent)return e=o.getLastMoveEvent(),{x:e.x,y:e.y};const i=e&&e.target||bDe('.djs-palette [data-action="create"]'),r=i.getBoundingClientRect();return i&&{x:r.left+r.width/2+t,y:r.top+r.height/2+n}};return{create:{group:"create",imageUrl:ZSe,title:t("Create element"),action:{click:function(e){const o=r(e),s=i.getRootElement();n.open(s,"bpmn-create",o,{title:t("Create element"),width:300,search:!0})}}}}};var wDe={__init__:["createMenuProvider","createPaletteProvider"],createMenuProvider:["type",vDe],createPaletteProvider:["type",_De]};function CDe(e){this._injector=e,this.registerActions()}CDe.$inject=["injector"],CDe.prototype.registerActions=function(){const e=this._injector.get("editorActions",!1),t=this._injector.get("selection",!1),n=this._injector.get("contextPad",!1),i=this._injector.get("palette",!1),o=this._injector.get("popupMenu",!1),r={};t&&n&&i&&o&&i&&ISe(r,{appendElement:function(e){const r=t&&t.get();1!=r.length||o.isEmpty(r[0],"bpmn-append")?i.triggerEntry("create","click",e):n.triggerEntry("append","click",e)}}),i&&ISe(r,{createElement:function(e){i.triggerEntry("create","click",e)}}),e&&e.register(r)};var ADe={__depends__:[fDe,wDe],__init__:["createAppendEditorActions"],createAppendEditorActions:["type",CDe]},EDe=["c","C"],xDe=["v","V"],SDe=["y","Y"],DDe=["z","Z"];function kDe(e){return!e.altKey&&(e.ctrlKey||e.metaKey)}function LDe(e,t){return e=CSe(e)?e:[e],-1!==e.indexOf(t.key)||-1!==e.indexOf(t.code)}function MDe(e){return e.shiftKey}function BDe(e){return kDe(e)&&LDe(EDe,e)}function NDe(e){return kDe(e)&&LDe(xDe,e)}function IDe(e){return kDe(e)&&!MDe(e)&&LDe(DDe,e)}function TDe(e){return kDe(e)&&(LDe(SDe,e)||LDe(DDe,e)&&MDe(e))}var RDe=500;function PDe(e,t){var n=this;e.on("editorActions.init",RDe,(function(e){var i=e.editorActions;n.registerBindings(t,i)}))}function FDe(e){this._injector=e,this._keyboard=this._injector.get("keyboard",!1),this._editorActions=this._injector.get("editorActions",!1),this._keyboard&&this._injector.invoke(PDe,this)}PDe.$inject=["eventBus","keyboard"],PDe.prototype.registerBindings=function(e,t){function n(n,i){t.isRegistered(n)&&e.addListener(i)}n("undo",(function(e){var n=e.keyEvent;if(IDe(n))return t.trigger("undo"),!0})),n("redo",(function(e){var n=e.keyEvent;if(TDe(n))return t.trigger("redo"),!0})),n("copy",(function(e){var n=e.keyEvent;if(BDe(n))return t.trigger("copy"),!0})),n("paste",(function(e){var n=e.keyEvent;if(NDe(n))return t.trigger("paste"),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(LDe(["+","Add","="],n)&&kDe(n))return t.trigger("stepZoom",{value:1}),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(LDe(["-","Subtract"],n)&&kDe(n))return t.trigger("stepZoom",{value:-1}),!0})),n("zoom",(function(e){var n=e.keyEvent;if(LDe("0",n)&&kDe(n))return t.trigger("zoom",{value:1}),!0})),n("removeSelection",(function(e){var n=e.keyEvent;if(LDe(["Backspace","Delete","Del"],n))return t.trigger("removeSelection"),!0}))},tDe(FDe,PDe),FDe.$inject=["injector"],FDe.prototype.registerBindings=function(){const e=this._keyboard,t=this._editorActions;function n(n,i){t&&t.isRegistered(n)&&e&&e.addListener(i)}PDe.prototype.registerBindings.call(this,e,t),n("appendElement",(function(n){const i=n.keyEvent;if(!e||!e.hasModifier(i))return e&&e.isKey(["a","A"],i)?(t&&t.trigger("appendElement",i),!0):void 0})),n("createElement",(function(n){const i=n.keyEvent;if(!e||!e.hasModifier(i))return e&&e.isKey(["n","N"],i)?(t&&t.trigger("createElement",i),!0):void 0}))};var ODe={__depends__:[fDe,wDe],__init__:["createAppendKeyboardBindings"],createAppendKeyboardBindings:["type",FDe]},zDe={__depends__:[fDe,wDe,ADe,ODe]};function VDe(e,t,n,i,o,r,s){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this._autoPlace=i,this._create=o,this._mouse=r,this._rules=s,this.register()}VDe.$inject=["popupMenu","translate","elementTemplates","autoPlace","create","move","rules"],VDe.prototype.register=function(){this._popupMenu.registerProvider("bpmn-append",this)},VDe.prototype.getPopupMenuEntries=function(e){return t=>{if(!this._rules.allowed("shape.append",{element:e}))return[];const n=this._filterTemplates(this._elementTemplates.getLatest());return ISe(t,this.getTemplateEntries(e,n)),t}},VDe.prototype.getTemplateEntries=function(e,t){const n={};return t.map(t=>{const{icon:i={},category:o}=t,r="append.template-"+t.id,s={id:"templates",name:this._translate("Templates")};n[r]={label:t.name,description:t.description,documentationRef:t.documentationRef,imageUrl:i.contents,group:o||s,action:this._getEntryAction(e,t)}}),n},VDe.prototype._filterTemplates=function(e){return e.filter(e=>{const{appliesTo:t,elementType:n}=e,i=n&&n.value||t[0];return!["bpmn:StartEvent","bpmn:Participant"].includes(i)&&"bpmn:SequenceFlow"!==i})},VDe.prototype._getEntryAction=function(e,t){return{click:()=>{const n=this._elementTemplates.createElement(t);this._autoPlace.append(e,n)},dragstart:n=>{const i=this._elementTemplates.createElement(t);n instanceof KeyboardEvent&&(n=this._mouse.getLastMoveEvent()),this._create.start(n,i,{source:e})}}};function WDe(e,t,n,i,o){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this._mouse=i,this._create=o,this.register()}WDe.$inject=["popupMenu","translate","elementTemplates","mouse","create"],WDe.prototype.register=function(){this._popupMenu.registerProvider("bpmn-create",this)},WDe.prototype.getPopupMenuEntries=function(e){return t=>(ISe(t,this.getTemplateEntries(e)),t)},WDe.prototype.getTemplateEntries=function(){const e=this._elementTemplates.getLatest(),t={};return e.map(e=>{const{icon:n={},category:i}=e,o="create.template-"+e.id,r={id:"templates",name:this._translate("Templates")};t[o]={label:e.name,description:e.description,documentationRef:e.documentationRef,imageUrl:n.contents,group:i||r,action:{click:this._getEntryAction(e),dragstart:this._getEntryAction(e)}}}),t},WDe.prototype._getEntryAction=function(e){const t=this._create,n=this._popupMenu,i=this._elementTemplates,o=this._mouse;return r=>{n.close();let s=i.createElement(e);return r instanceof KeyboardEvent&&(r=o.getLastMoveEvent()),t.start(r,s)}};function HDe(e,t,n){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this.register()}function jDe(e,t){const n=oDe(e);return!!n&&n.get("zeebe:modelerTemplate")===t.id}HDe.$inject=["popupMenu","translate","elementTemplates"],HDe.prototype.register=function(){this._popupMenu.registerProvider("bpmn-replace",this)},HDe.prototype.getPopupMenuEntries=function(e){return t=>{let n=Object.entries(t);return n=[...n,...this.getTemplateEntries(e)],n.reduce((e,[t,n])=>(e[t]=n,e),{})}},HDe.prototype.getTemplateEntries=function(e){const t=this._getMatchingTemplates(e);return t.map(t=>{const{icon:n={},category:i}=t,o="replace.template-"+t.id,r={id:"templates",name:this._translate("Templates")};return[o,{label:t.name,description:t.description,documentationRef:t.documentationRef,imageUrl:n.contents,group:i||r,action:()=>{this._elementTemplates.applyTemplate(e,t)}}]})},HDe.prototype._getMatchingTemplates=function(e){return this._elementTemplates.getLatest().filter(t=>iDe(e,t.appliesTo)&&!jDe(e,t))};function QDe(e,t){return!nDe(e,"bpmn:CallActivity")&&(nDe(e,"bpmn:SubProcess")?(t=t||rDe(e),!(!t||!nDe(t,"bpmndi:BPMNPlane"))||t&&!!t.isExpanded):!nDe(e,"bpmn:Participant")||!!oDe(e).processRef)}function UDe(e){return function(t){var n=t.target,i=oDe(e),o=i.eventDefinitions&&i.eventDefinitions[0],r=i.$type===n.type,s=(o&&o.$type)===n.eventDefinitionType,a=!!n.triggeredByEvent===!!i.triggeredByEvent,l=void 0===n.isExpanded||n.isExpanded===QDe(e);return!r||!s||!a||!l}}var KDe=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message Start Event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],GDe=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}}],YDe=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message Intermediate Catch Event",actionName:"replace-with-message-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Message Intermediate Throw Event",actionName:"replace-with-message-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-message",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Intermediate Catch Event",actionName:"replace-with-timer-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Intermediate Throw Event",actionName:"replace-with-escalation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-escalation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Intermediate Catch Event",actionName:"replace-with-conditional-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Link Intermediate Catch Event",actionName:"replace-with-link-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-link",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Link Intermediate Throw Event",actionName:"replace-with-link-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-link",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Compensation Intermediate Throw Event",actionName:"replace-with-compensation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-compensation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal Intermediate Catch Event",actionName:"replace-with-signal-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Signal Intermediate Throw Event",actionName:"replace-with-signal-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-signal",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],$De=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message End Event",actionName:"replace-with-message-end",className:"bpmn-icon-end-event-message",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Escalation End Event",actionName:"replace-with-escalation-end",className:"bpmn-icon-end-event-escalation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Error End Event",actionName:"replace-with-error-end",className:"bpmn-icon-end-event-error",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel End Event",actionName:"replace-with-cancel-end",className:"bpmn-icon-end-event-cancel",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Compensation End Event",actionName:"replace-with-compensation-end",className:"bpmn-icon-end-event-compensation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal End Event",actionName:"replace-with-signal-end",className:"bpmn-icon-end-event-signal",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Terminate End Event",actionName:"replace-with-terminate-end",className:"bpmn-icon-end-event-terminate",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:TerminateEventDefinition"}}],qDe=[{label:"Exclusive Gateway",actionName:"replace-with-exclusive-gateway",className:"bpmn-icon-gateway-xor",target:{type:"bpmn:ExclusiveGateway"}},{label:"Parallel Gateway",actionName:"replace-with-parallel-gateway",className:"bpmn-icon-gateway-parallel",target:{type:"bpmn:ParallelGateway"}},{label:"Inclusive Gateway",actionName:"replace-with-inclusive-gateway",className:"bpmn-icon-gateway-or",target:{type:"bpmn:InclusiveGateway"}},{label:"Complex Gateway",actionName:"replace-with-complex-gateway",className:"bpmn-icon-gateway-complex",target:{type:"bpmn:ComplexGateway"}},{label:"Event based Gateway",actionName:"replace-with-event-based-gateway",className:"bpmn-icon-gateway-eventbased",target:{type:"bpmn:EventBasedGateway",instantiate:!1,eventGatewayType:"Exclusive"}}],JDe=[{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Event Sub Process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}},{label:"Sub Process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}}],XDe=[{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Sub Process",actionName:"replace-with-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}},{label:"Event Sub Process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}}],ZDe=XDe,eke=[{label:"Task",actionName:"replace-with-task",className:"bpmn-icon-task",target:{type:"bpmn:Task"}},{label:"User Task",actionName:"replace-with-user-task",className:"bpmn-icon-user",target:{type:"bpmn:UserTask"}},{label:"Service Task",actionName:"replace-with-service-task",className:"bpmn-icon-service",target:{type:"bpmn:ServiceTask"}},{label:"Send Task",actionName:"replace-with-send-task",className:"bpmn-icon-send",target:{type:"bpmn:SendTask"}},{label:"Receive Task",actionName:"replace-with-receive-task",className:"bpmn-icon-receive",target:{type:"bpmn:ReceiveTask"}},{label:"Manual Task",actionName:"replace-with-manual-task",className:"bpmn-icon-manual",target:{type:"bpmn:ManualTask"}},{label:"Business Rule Task",actionName:"replace-with-rule-task",className:"bpmn-icon-business-rule",target:{type:"bpmn:BusinessRuleTask"}},{label:"Script Task",actionName:"replace-with-script-task",className:"bpmn-icon-script",target:{type:"bpmn:ScriptTask"}},{label:"Call Activity",actionName:"replace-with-call-activity",className:"bpmn-icon-call-activity",target:{type:"bpmn:CallActivity"}},{label:"Sub Process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}},{label:"Sub Process (expanded)",actionName:"replace-with-expanded-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}}],tke=[{label:"Data Store Reference",actionName:"replace-with-data-store-reference",className:"bpmn-icon-data-store",target:{type:"bpmn:DataStoreReference"}}],nke=[{label:"Data Object Reference",actionName:"replace-with-data-object-reference",className:"bpmn-icon-data-object",target:{type:"bpmn:DataObjectReference"}}],ike=[{label:"Message Boundary Event",actionName:"replace-with-message-boundary",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Boundary Event",actionName:"replace-with-timer-boundary",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Boundary Event",actionName:"replace-with-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Boundary Event",actionName:"replace-with-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Error Boundary Event",actionName:"replace-with-error-boundary",className:"bpmn-icon-intermediate-event-catch-error",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel Boundary Event",actionName:"replace-with-cancel-boundary",className:"bpmn-icon-intermediate-event-catch-cancel",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Signal Boundary Event",actionName:"replace-with-signal-boundary",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Compensation Boundary Event",actionName:"replace-with-compensation-boundary",className:"bpmn-icon-intermediate-event-catch-compensation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-message-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!1}},{label:"Timer Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!1}},{label:"Escalation Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!1}},{label:"Conditional Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!1}},{label:"Signal Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!1}}],oke=[{label:"Message Start Event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Error Start Event",actionName:"replace-with-error-start",className:"bpmn-icon-start-event-error",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Escalation Start Event",actionName:"replace-with-escalation-start",className:"bpmn-icon-start-event-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Compensation Start Event",actionName:"replace-with-compensation-start",className:"bpmn-icon-start-event-compensation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-message-start",className:"bpmn-icon-start-event-non-interrupting-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition",isInterrupting:!1}},{label:"Timer Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-start",className:"bpmn-icon-start-event-non-interrupting-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition",isInterrupting:!1}},{label:"Conditional Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-start",className:"bpmn-icon-start-event-non-interrupting-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",isInterrupting:!1}},{label:"Signal Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-start",className:"bpmn-icon-start-event-non-interrupting-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition",isInterrupting:!1}},{label:"Escalation Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-start",className:"bpmn-icon-start-event-non-interrupting-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",isInterrupting:!1}}],rke=[{label:"Sequence Flow",actionName:"replace-with-sequence-flow",className:"bpmn-icon-connection"},{label:"Default Flow",actionName:"replace-with-default-flow",className:"bpmn-icon-default-flow"},{label:"Conditional Flow",actionName:"replace-with-conditional-flow",className:"bpmn-icon-conditional-flow"}],ske=[{label:"Expanded Pool",actionName:"replace-with-expanded-pool",className:"bpmn-icon-participant",target:{type:"bpmn:Participant",isExpanded:!0}},{label:function(e){var t="Empty Pool";return e.children&&e.children.length&&(t+=" (removes content)"),t},actionName:"replace-with-collapsed-pool",className:"bpmn-icon-lane",target:{type:"bpmn:Participant",isExpanded:!1}}],ake=Object.freeze({__proto__:null,BOUNDARY_EVENT:ike,DATA_OBJECT_REFERENCE:tke,DATA_STORE_REFERENCE:nke,END_EVENT:$De,EVENT_SUB_PROCESS:ZDe,EVENT_SUB_PROCESS_START_EVENT:oke,GATEWAY:qDe,INTERMEDIATE_EVENT:YDe,PARTICIPANT:ske,SEQUENCE_FLOW:rke,START_EVENT:KDe,START_EVENT_SUB_PROCESS:GDe,SUBPROCESS_EXPANDED:JDe,TASK:eke,TRANSACTION:XDe});const lke=Object.values(ake);function cke(){return lke}function hke(e,t,n){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this.register()}function dke(e){const t=(e,t)=>t.target&&!UDe(e)(t);return cke().reduce((n,i)=>{if(n)return n;const o=i.findIndex(n=>t(e,n));return-1!==o?{options:i,option:i[o],optionIndex:o}:void 0},null)}function uke(e,t,n){const i=e[t];return!!i&&n.findIndex(([e])=>e===i.actionName)}hke.$inject=["popupMenu","translate","elementTemplates"],hke.prototype.register=function(){this._popupMenu.registerProvider("bpmn-replace",this)},hke.prototype.getPopupMenuEntries=function(e){return t=>{let n=Object.entries(t);return this._elementTemplates&&this._elementTemplates.get(e)&&this.addPlainElementEntry(e,n,this._translate,this._elementTemplates),n.reduce((e,[t,n])=>(e[t]=n,e),{})}},hke.prototype.addPlainElementEntry=function(e,t,n,i){const o=this.getPlainEntry(e,t,n,i);if(!o)return;const[r,s]=o;t.splice(r,0,[s.id,s])},hke.prototype.getPlainEntry=function(e,t,n,i){const{options:o,option:r,optionIndex:s}=dke(e)||{};if(!o)return null;const a={id:"replace-unlink-element-template",action:()=>{i.applyTemplate(e,null)},label:n(r.label),className:r.className},l=uke(o,s-1,t);if(l)return[l+1,a];const c=uke(o,s+1,t);return c?[c,a]:[0,a]};var pke=n("03ad"),gke=n("9224"),mke={name:"wf-design",components:{WfToolbar:LJ,WfPanel:t1,WfConfig:a1,MonacoEditor:wJ},props:{options:{type:Object,default:()=>({})},storage:{type:Boolean,default:!1},accessKey:String},computed:{isEditMode(){return"view"!=this.option.mode}},watch:{options:{handler(e){this.$nextTick(()=>{if(this.debounce){if(this.debounce=!1,this.storage){const t=localStorage[gke.name];this.option=t?JSON.parse(t):JSON.parse(JSON.stringify({...d,...e}))}else this.option=JSON.parse(JSON.stringify({...d,...e})),delete localStorage[gke.name];this.init(!0),setTimeout(()=>{this.debounce=!0},1e3)}})},deep:!0,immediate:!0}},data(){return{option:{},activeTab:"process",modeler:null,zoom:1,previewXML:"",previewVisible:!1,importXML:"",importVisible:!1,debounce:!0}},methods:{INIT_XML:h,init(e=!1){this.storage&&(localStorage[gke.name]=JSON.stringify(this.option)),e&&(this.isEditMode?this.initModeler():this.initViewer())},async initModeler(){this.modeler&&this.modeler.destroy(),this.modeler=new o_e({container:this.$refs.modeler,additionalModules:[zDe,"zh"==this.$i18n.locale?{translate:["value",s_e]}:"",this.option.simulation?mSe:"",this.option.minimap?Wwe:"",this.option.lint?b_e:""],linting:{bpmnlint:bwe,active:this.isEditMode},moddleExtensions:{flowable:pke},keyboard:{bindTo:window}}),await this.createNewDiagram(this.option.xml||h(this.option.process)),this.storage&&this.modeler.on("element.changed",()=>{this.getData("xml",!1,!1).then(e=>{this.option.xml=e,localStorage[gke.name]=JSON.stringify(this.option)})})},async initViewer(){this.modeler&&this.modeler.destroy(),this.modeler=new vte({container:this.$refs.modeler,additionalModules:[{translate:["value",s_e]},sme,this.option.simulation?bSe:"",this.option.minimap?Wwe:"",Xte,lne]}),await this.createNewDiagram(this.option.xml||h(this.option.process)),this.option.flows&&this.option.flows.length>0&&this.setNodeColor(this.option.flows)},setNodeColor(e){const t=this.modeler.get("canvas"),n=this.modeler.get("elementRegistry"),i=this.modeler.get("tooltips");e.forEach(e=>{if(e.id&&e.class&&t.addMarker(e.id,e.class),e.id&&e.tooltip){const t=n.get(e.id);if(t){let{x:n,y:o,type:r}=t;["bpmn:StartEvent","bpmn:EndEvent"].includes(r)?(n-=45,o+=65):["bpmn:UserTask"].includes(r)&&(n-=10,o+=90),i.add({position:{x:n,y:o},html:e.tooltip})}}})},async createNewDiagram(e,t=!1){try{e=e.replace(/camunda:/g,"flowable:"),e=e.replace(/activiti:/g,"flowable:"),await this.modeler.importXML(e),this.isEditMode?this.fitViewport("init"):this.fitViewport("auto"),t&&this.$refs.panel.handleInitNodes(!0)}catch(n){}},fitViewport(e){const t=this.modeler.get("canvas");"string"==typeof e?"init"==e?t.zoom("fit-viewport"):"auto"==e&&t.zoom("fit-viewport","auto"):(this.zoom+=e?.1:-.1,t.zoom(this.zoom))},async getData(e,t=!1,n=!0,i=!0){if(n){const e=document.querySelector(".bjsl-button span"),t=null==e?null:e.innerHTML;if(t&&!t.includes("0 错误")&&!t.includes("0 Errors"))throw this.$message.error("模型存在错误,请处理"),new Error("模型存在错误,请处理")}if("xml"==e)try{let{xml:e}=await this.modeler.saveXML({format:i});return"flowable"!=this.option.engine&&(e=e.replace(/flowable:/g,this.option.engine+":")),t&&this.downloadFile(this.modeler.getDefinitions().rootElements[0].name+".bpmn20.xml",e,"application/xml"),e}catch(o){}else try{const{svg:e}=await this.modeler.saveSVG({format:i});return t&&this.downloadFile(this.modeler.getDefinitions().rootElements[0].name,e,"image/svg+xml"),e}catch(o){}},downloadFile(e,t,n){let i=document.createElement("a"),o=window.URL.createObjectURL(new Blob([t],{type:n}));i.href=o,i.download=e,i.click(),window.URL.revokeObjectURL(o)},async handlePreview(e){const t=await this.getData("xml");"preview"==e?(this.previewXML=t,this.previewVisible=!0):"get"==e&&this.$emit("get",t)},handleImport(){this.createNewDiagram(this.importXML,!0),this.importVisible=!1},getElementRegistry(){const e=this.modeler.get("elementRegistry").getAll();return 0==e.length?[]:("bpmn:Process"!=e[0].type&&e.unshift({businessObject:this.modeler.getDefinitions().rootElements.find(e=>"bpmn:Process"==e.$type)}),{getAll(){return e}})}}},fke=mke,vke=(n("c87c"),Object(DJ["a"])(fke,a,l,!1,null,null,null)),bke=vke.exports,yke=n("92af");const _ke=(e,t={})=>{yke["a"].use(t.locale),yke["a"].i18n(t.i18n),e.prototype.$axios=t.axios||window.axios,e.component("wf-design",bke)};"undefined"!==typeof window&&window.Vue&&_ke(window.Vue);var wke={author:"ssc",version:gke.version,locale:yke["a"].locale,install:_ke};t["default"]=wke},"52a2":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},5350:function(e,t,n){var i=n("986e"),o=n("76b2"),r=i("keys");e.exports=function(e){return r[e]||(r[e]=o(e))}},"53c2":function(e,t,n){"use strict";function i(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"===typeof btoa){var r=o(i),s=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(s).concat([r]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=i(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(i)for(var r=0;r.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}",""]),e.exports=t},"58d1":function(e,t,n){var i=n("933a"),o=Function.prototype.call;e.exports=i?o.bind(o):function(){return o.apply(o,arguments)}},"5a43":function(e,t,n){var i=n("c401");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"5bd0":function(e,t,n){var i=n("ba88");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("5a179cdb",i,!0,{sourceMap:!1,shadowMode:!1})},"5cb9":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:50%;background-repeat:no-repeat}",""]),e.exports=t},"5f86":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.djs-parent{--color-grey-225-10-15:#22242a;--color-grey-225-10-35:#505562;--color-grey-225-10-55:#818798;--color-grey-225-10-75:#b9bcc6;--color-grey-225-10-80:#c7c9d1;--color-grey-225-10-85:#d5d7dd;--color-grey-225-10-90:#e3e4e8;--color-grey-225-10-95:#f1f2f4;--color-grey-225-10-97:#f7f7f8;--color-blue-205-100-45:#0086e6;--color-blue-205-100-45-opacity-30:hsla(205,100%,45%,30%);--color-blue-205-100-50:#0095ff;--color-blue-205-100-50-opacity-15:hsla(205,100%,50%,15%);--color-blue-205-100-70:#80caff;--color-blue-205-100-95:#e5f4ff;--color-green-150-86-44:#10d170;--color-red-360-100-40:#c00;--color-red-360-100-45:#e60000;--color-red-360-100-92:#ffd6d6;--color-red-360-100-97:#fff0f0;--color-white:#fff;--color-black:#000;--color-black-opacity-10:hsla(0,0%,0%,10%);--color-black-opacity-30:hsla(0,0%,0%,30%);--canvas-fill-color:var(--color-white);--bendpoint-fill-color:var(--color-blue-205-100-45);--bendpoint-stroke-color:var(--canvas-fill-color);--context-pad-entry-background-color:var(--color-white);--context-pad-entry-hover-background-color:var(--color-grey-225-10-95);--element-dragger-color:var(--color-blue-205-100-50);--element-hover-outline-fill-color:var(--color-blue-205-100-45);--element-selected-outline-stroke-color:var(--color-blue-205-100-50);--element-selected-outline-secondary-stroke-color:var(--color-blue-205-100-70);--lasso-fill-color:var(--color-blue-205-100-50-opacity-15);--lasso-stroke-color:var(--element-selected-outline-stroke-color);--palette-entry-color:var(--color-grey-225-10-15);--palette-entry-hover-color:var(--color-blue-205-100-45);--palette-entry-selected-color:var(--color-blue-205-100-50);--palette-separator-color:var(--color-grey-225-10-75);--palette-toggle-hover-background-color:var(--color-grey-225-10-55);--palette-background-color:var(--color-grey-225-10-97);--palette-border-color:var(--color-grey-225-10-75);--popup-font-size:14px;--popup-header-entry-selected-color:var(--color-blue-205-100-50);--popup-header-font-weight:bolder;--popup-background-color:var(--color-white);--popup-border-color:transparent;--popup-shadow-color:var(--color-black-opacity-30);--popup-description-color:var(--color-grey-225-10-55);--popup-no-results-color:var(--color-grey-225-10-55);--popup-entry-title-color:var(--color-grey-225-10-55);--popup-entry-hover-color:var(--color-grey-225-10-95);--popup-search-border-color:var(--color-grey-225-10-75);--popup-search-focus-border-color:var(--color-blue-205-100-50);--popup-search-focus-background-color:var(--color-blue-205-100-95);--resizer-fill-color:var(--color-blue-205-100-45);--resizer-stroke-color:var(--canvas-fill-color);--search-container-background-color:var(--color-grey-225-10-97);--search-container-border-color:var(--color-blue-205-100-50);--search-container-box-shadow-color:var(--color-blue-205-100-95);--search-container-box-shadow-inset-color:var(--color-grey-225-10-80);--search-input-border-color:var(--color-grey-225-10-75);--search-result-border-color:var(--color-grey-225-10-75);--search-result-highlight-color:var(--color-black);--search-result-selected-color:var(--color-blue-205-100-45-opacity-30);--shape-attach-allowed-stroke-color:var(--color-blue-205-100-50);--shape-connect-allowed-fill-color:var(--color-grey-225-10-97);--shape-drop-allowed-fill-color:var(--color-grey-225-10-97);--shape-drop-not-allowed-fill-color:var(--color-red-360-100-97);--shape-resize-preview-stroke-color:var(--color-blue-205-100-50);--snap-line-stroke-color:var(--color-blue-205-100-45-opacity-30);--space-tool-crosshair-stroke-color:var(--color-black);--tooltip-error-background-color:var(--color-red-360-100-97);--tooltip-error-border-color:var(--color-red-360-100-45);--tooltip-error-color:var(--color-red-360-100-45)}.djs-outline,.djs-selection-outline{fill:none;shape-rendering:geometricPrecision;stroke-width:2px}.djs-outline{visibility:hidden}.djs-element.selected .djs-outline,.djs-selection-outline{stroke:var(--element-selected-outline-stroke-color)}.djs-element.selected .djs-outline{visibility:visible}.djs-multi-select .djs-element.selected .djs-outline{stroke:var(--element-selected-outline-secondary-stroke-color)}.djs-shape.connect-ok .djs-visual>:first-child{fill:var(--shape-connect-allowed-fill-color)!important}.djs-shape.connect-not-ok .djs-visual>:first-child,.djs-shape.drop-not-ok .djs-visual>:first-child{fill:var(--shape-drop-not-allowed-fill-color)!important}.djs-shape.new-parent .djs-visual>:first-child{fill:var(--shape-drop-allowed-fill-color)!important}svg.drop-not-ok{background:var(--shape-drop-not-allowed-fill-color)!important}svg.new-parent{background:var(--shape-drop-allowed-fill-color)!important}.connect-not-ok,.connect-not-ok *,.drop-not-ok,.drop-not-ok *{cursor:not-allowed!important}.connect-ok,.connect-ok *,.drop-ok,.drop-ok *{cursor:default!important}.djs-element.attach-ok .djs-visual>:first-child{stroke-width:5px!important;stroke:var(--shape-attach-allowed-stroke-color)!important}.djs-frame.connect-not-ok .djs-visual>:first-child,.djs-frame.drop-not-ok .djs-visual>:first-child{stroke-width:3px!important;stroke:var(--shape-drop-not-allowed-fill-color)!important;fill:none!important}.djs-lasso-overlay{fill:var(--lasso-fill-color);stroke:var(--lasso-stroke-color);stroke-width:2px;shape-rendering:geometricPrecision;pointer-events:none}.djs-resize-overlay{fill:none;stroke-dasharray:5 1 3 1;stroke:var(--shape-resize-preview-stroke-color);pointer-events:none}.djs-resizer-hit{fill:none;pointer-events:all}.djs-resizer-visual{fill:var(--resizer-fill-color);stroke-width:1px;stroke:var(--resizer-stroke-color);shape-rendering:geometricPrecision}.djs-resizer:hover .djs-resizer-visual{stroke:var(--resizer-stroke-color);stroke-opacity:1}.djs-cursor-resize-ns,.djs-resizer-n,.djs-resizer-s{cursor:ns-resize}.djs-cursor-resize-ew,.djs-resizer-e,.djs-resizer-w{cursor:ew-resize}.djs-cursor-resize-nwse,.djs-resizer-nw,.djs-resizer-se{cursor:nwse-resize}.djs-cursor-resize-nesw,.djs-resizer-ne,.djs-resizer-sw{cursor:nesw-resize}.djs-shape.djs-resizing>.djs-outline{visibility:hidden!important}.djs-dragger>.djs-resizer,.djs-shape.djs-resizing>.djs-resizer{visibility:hidden}.djs-dragger *{fill:none!important;stroke:var(--element-dragger-color)!important}.djs-dragger text,.djs-dragger tspan,marker.djs-dragger circle,marker.djs-dragger path,marker.djs-dragger polygon,marker.djs-dragger polyline,marker.djs-dragger rect{fill:var(--element-dragger-color)!important;stroke:none!important}marker.djs-dragger text,marker.djs-dragger tspan{fill:none!important;stroke:var(--element-dragger-color)!important}.djs-dragging{opacity:.3}.djs-dragging,.djs-dragging>*{pointer-events:none!important}.djs-dragging .djs-context-pad,.djs-dragging .djs-outline{display:none!important}.djs-outline,.djs-visual{pointer-events:none}.djs-element.attach-ok .djs-hit{stroke-width:60px!important}.djs-element>.djs-hit-all,.djs-element>.djs-hit-no-move{pointer-events:all}.djs-element>.djs-hit-click-stroke,.djs-element>.djs-hit-stroke{pointer-events:stroke}.djs-connection .djs-visual{stroke-width:2px;fill:none}.djs-cursor-grab{cursor:grab}.djs-cursor-grabbing{cursor:grabbing}.djs-cursor-crosshair{cursor:crosshair}.djs-cursor-move{cursor:move}.djs-cursor-resize-ns{cursor:ns-resize}.djs-cursor-resize-ew{cursor:ew-resize}.djs-snap-line{stroke:var(--snap-line-stroke-color);stroke-linecap:round;stroke-width:2px;pointer-events:none}.djs-crosshair{stroke:var(--space-tool-crosshair-stroke-color);stroke-linecap:round;stroke-width:1px;pointer-events:none;shape-rendering:geometricPrecision;stroke-dasharray:5,5}.djs-palette{position:absolute;left:20px;top:20px;box-sizing:border-box;width:48px}.djs-palette .separator{margin:5px;padding-top:5px;border:none;border-bottom:solid 1px var(--palette-separator-color);clear:both}.djs-palette .entry:before{vertical-align:initial}.djs-palette .djs-palette-toggle{cursor:pointer}.djs-palette .djs-palette-toggle,.djs-palette .entry{color:var(--palette-entry-color);font-size:30px;text-align:center}.djs-palette .entry{float:left}.djs-palette .entry img{max-width:100%}.djs-palette .djs-palette-entries:after{content:"";display:table;clear:both}.djs-palette .djs-palette-toggle:hover{background:var(--palette-toggle-hover-background-color)}.djs-palette .entry:hover{color:var(--palette-entry-hover-color)}.djs-palette .highlighted-entry{color:var(--palette-entry-selected-color)!important}.djs-palette .djs-palette-toggle,.djs-palette .entry{width:46px;height:46px;line-height:46px;cursor:default}.djs-palette.two-column.open{width:94px}.djs-palette:not(.open) .djs-palette-entries{display:none}.djs-palette:not(.open){overflow:hidden}.djs-palette.open .djs-palette-toggle{display:none}.djs-overlay-context-pad{width:72px;z-index:100}.djs-context-pad{position:absolute;display:none;pointer-events:none;line-height:1}.djs-context-pad .entry{width:22px;height:22px;text-align:center;display:inline-block;font-size:22px;margin:0 2px 2px 0;border-radius:3px;cursor:default;background-color:var(--context-pad-entry-background-color);box-shadow:0 0 2px 1px var(--context-pad-entry-background-color);pointer-events:all;vertical-align:middle}.djs-context-pad .entry:hover{background:var(--context-pad-entry-hover-background-color)}.djs-context-pad.open{display:block}.djs-popup-backdrop{position:fixed;width:100vw;height:100vh;top:0;left:0;z-index:200;line-height:1;font-family:IBM Plex Sans,sans-serif}.djs-popup{width:-moz-min-content;width:min-content;background:var(--popup-background-color);overflow:hidden;position:absolute;box-shadow:0 2px 6px var(--popup-shadow-color);border:solid 1px var(--popup-border-color);min-width:120px;outline:none}.djs-popup,.djs-popup-search input{box-sizing:border-box;font-size:var(--popup-font-size)}.djs-popup-search input{width:100%;padding:3px 6px;border-radius:2px;border:solid 1px var(--popup-search-border-color);line-height:21px}.djs-popup-search input:focus{background-color:var(--popup-search-focus-background-color);border:solid 1px var(--popup-search-focus-border-color);outline:none}.djs-popup-header{display:flex;align-items:stretch;line-height:20px;margin:10px 12px 10px 12px}.djs-popup-header .entry{border-radius:2px}.djs-popup-header .entry.active{color:var(--popup-header-entry-selected-color)}.djs-popup-header .entry.disabled{color:inherit}.djs-popup-search{margin:10px 12px}.djs-popup-title{font-size:var(--popup-font-size);font-weight:var(--popup-header-font-weight);flex:1;margin:0}.djs-popup-search{position:relative;width:auto}.djs-popup-search-icon{position:absolute;left:8px;top:7px}.djs-popup-search input{padding-left:25px}.djs-popup-results{margin:7px 3px 7px 12px;list-style:none;max-height:280px;overflow:auto;padding-right:9px}.djs-popup-group{margin:0;padding:0;width:100%}.djs-popup-body .entry,.djs-popup-body .entry-header{padding:5px 7px;cursor:default;border-radius:4px}.djs-popup-body .entry-header{font-weight:var(--popup-header-font-weight);color:var(--popup-entry-title-color);padding-left:0}.djs-popup-label:not(:first-child),.djs-popup [class*=icon] .djs-popup-label{margin-left:.5em}.djs-popup-entry-icon,.djs-popup [class*=icon]:before{width:1em;height:1em;display:inline-block;font-size:1.4em;vertical-align:middle}.djs-popup-body .entry-header:not(:first-child){margin-top:8px;margin-bottom:2px}.djs-popup-body .entry{display:flex;flex-direction:row;align-items:stretch;height:-moz-min-content;height:min-content}.djs-popup .entry.selected{background-color:var(--popup-entry-hover-color)}.djs-popup-body .entry:not(:first-child){margin-top:2px}.djs-popup-entry-content{display:flex;flex-direction:column;flex:1;overflow:hidden}.djs-popup-entry-description{color:var(--popup-description-color)}.djs-popup-entry-description,.djs-popup-label{line-height:1.4em}.djs-popup-entry-description,.djs-popup-label,.djs-popup-title,.djs-popup .entry-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.djs-popup-entry-name{display:flex}.entry-content{display:flex;flex-direction:column;flex:1;overflow:hidden}.djs-popup-body{flex-direction:column;width:auto}.djs-popup ::-webkit-scrollbar{width:6px}.djs-popup ::-webkit-scrollbar-thumb{border-radius:3px;background-color:rgba(0,0,0,.2)}.djs-popup ::-webkit-scrollbar-track{box-shadow:none;background:transparent;margin:0;padding:5px}.djs-popup-no-results{padding:0 12px 12px 12px;color:var(--popup-no-results-color)}.djs-popup-entry-docs{flex:0;flex-direction:row;align-items:center;padding-left:5px;display:none}.djs-popup-body .entry:hover .djs-popup-entry-docs{display:flex}.djs-popup-entry-docs svg{vertical-align:middle;margin:auto 2px auto 5px}.djs-palette{background:var(--palette-background-color);border:solid 1px var(--palette-border-color);border-radius:2px}.djs-connection,.djs-shape{touch-action:none}.djs-bendpoint,.djs-segment-dragger{display:none}.djs-segment-dragger .djs-visual{display:none;fill:var(--bendpoint-fill-color);stroke:var(--bendpoint-stroke-color);stroke-width:1px;stroke-opacity:1}.djs-segment-dragger:hover .djs-visual{display:block}.djs-bendpoint .djs-visual{fill:var(--bendpoint-fill-color);stroke:var(--bendpoint-stroke-color);stroke-width:1px}.djs-bendpoint:hover,.djs-bendpoints.hover .djs-bendpoint,.djs-bendpoints.hover .djs-segment-dragger,.djs-bendpoints.selected .djs-bendpoint,.djs-bendpoints.selected .djs-segment-dragger,.djs-segment-dragger:hover{display:block}.djs-bendpoints:not(.hover) .floating,.djs-drag-active .djs-bendpoints *{display:none}.djs-bendpoint.floating .djs-visual,.djs-bendpoint:hover .djs-visual,.djs-segment-dragger.djs-dragging .djs-visual,.djs-segment-dragger:hover .djs-visual{fill:var(--bendpoint-fill-color);stroke:var(--bendpoint-stroke-color);stroke-opacity:1}.djs-bendpoint.floating .djs-hit{pointer-events:none}.djs-bendpoint .djs-hit,.djs-segment-dragger .djs-hit{fill:none;pointer-events:all}.djs-segment-dragger.horizontal .djs-hit{cursor:ns-resize}.djs-segment-dragger.vertical .djs-hit{cursor:ew-resize}.djs-segment-dragger.djs-dragging .djs-hit{pointer-events:none}.djs-updating,.djs-updating>*{pointer-events:none!important}.connect-not-ok .djs-bendpoint,.connect-ok .djs-bendpoint,.djs-multi-select .djs-bendpoint,.djs-multi-select .djs-segment-dragger,.djs-updating .djs-bendpoint,.djs-updating .djs-context-pad,.djs-updating .djs-outline,.drop-not-ok .djs-bendpoint,.drop-ok .djs-bendpoint{display:none!important}.djs-bendpoint.djs-dragging,.djs-segment-dragger.djs-dragging{display:block;opacity:1}.djs-tooltip-error{width:160px;padding:6px;background:var(--tooltip-error-background-color);border:solid 1px var(--tooltip-error-border-color);border-radius:2px;color:var(--tooltip-error-color);font-size:12px;line-height:16px;opacity:.75}.djs-tooltip-error:hover{opacity:1}.djs-search-container{position:absolute;top:20px;left:0;right:0;margin-left:auto;margin-right:auto;width:25%;min-width:300px;max-width:400px;z-index:10;font-size:1.05em;opacity:.9;background:var(--search-container-background-color);border:solid 1px var(--search-container-border-color);border-radius:2px;box-shadow:0 0 0 2px var(--search-container-box-shadow-color),0 0 0 1px var(--search-container-box-shadow-inset-color) inset}.djs-search-container:not(.open){display:none}.djs-search-input input{font-size:1.05em;width:100%;padding:6px 10px;border:1px solid var(--search-input-border-color);box-sizing:border-box}.djs-search-input input:focus{outline:none;border-color:var(--search-input-border-color)}.djs-search-results{position:relative;overflow-y:auto;max-height:200px}.djs-search-results:hover{cursor:pointer}.djs-search-result{width:100%;padding:6px 10px;background:#fff;border-bottom:solid 1px var(--search-result-border-color);border-radius:1px}.djs-search-highlight{color:var(--search-result-highlight-color)}.djs-search-result-primary{margin:0 0 10px}.djs-search-result-secondary{font-family:monospace;margin:0}.djs-search-overlay,.djs-search-result-selected,.djs-search-result-selected:hover,.djs-search-result:hover{background:var(--search-result-selected-color)}.djs-element-hidden,.djs-element-hidden .djs-hit,.djs-element-hidden .djs-outline,.djs-label-hidden .djs-label{display:none!important}.djs-element .djs-hit-all,.djs-element .djs-hit-click-stroke,.djs-element .djs-hit-stroke{cursor:move}',""]),e.exports=t},6024:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.bpmn-icon-trash:before{content:"\\e801"}.bpmn-icon-gateway-parallel:before{content:"\\e804"}.bpmn-icon-intermediate-event-catch-cancel:before{content:"\\e805"}.bpmn-icon-intermediate-event-catch-non-interrupting-message:before{content:"\\e806"}.bpmn-icon-start-event-compensation:before{content:"\\e807"}.bpmn-icon-start-event-non-interrupting-parallel-multiple:before{content:"\\e808"}.bpmn-icon-loop-marker:before{content:"\\e809"}.bpmn-icon-parallel-mi-marker:before{content:"\\e80a"}.bpmn-icon-start-event-non-interrupting-signal:before{content:"\\e80b"}.bpmn-icon-intermediate-event-catch-non-interrupting-timer:before{content:"\\e80c"}.bpmn-icon-intermediate-event-catch-parallel-multiple:before{content:"\\e80d"}.bpmn-icon-intermediate-event-catch-compensation:before{content:"\\e80e"}.bpmn-icon-gateway-xor:before{content:"\\e80f"}.bpmn-icon-end-event-cancel:before{content:"\\e811"}.bpmn-icon-intermediate-event-catch-condition:before{content:"\\e812"}.bpmn-icon-intermediate-event-catch-non-interrupting-parallel-multiple:before{content:"\\e813"}.bpmn-icon-start-event-condition:before{content:"\\e814"}.bpmn-icon-start-event-non-interrupting-timer:before{content:"\\e815"}.bpmn-icon-sequential-mi-marker:before{content:"\\e816"}.bpmn-icon-user-task:before{content:"\\e817"}.bpmn-icon-business-rule:before{content:"\\e818"}.bpmn-icon-sub-process-marker:before{content:"\\e819"}.bpmn-icon-start-event-parallel-multiple:before{content:"\\e81a"}.bpmn-icon-start-event-error:before{content:"\\e81b"}.bpmn-icon-intermediate-event-catch-signal:before{content:"\\e81c"}.bpmn-icon-intermediate-event-catch-error:before{content:"\\e81d"}.bpmn-icon-end-event-compensation:before{content:"\\e81e"}.bpmn-icon-subprocess-collapsed:before{content:"\\e81f"}.bpmn-icon-subprocess-expanded:before{content:"\\e820"}.bpmn-icon-task:before{content:"\\e821"}.bpmn-icon-end-event-error:before{content:"\\e822"}.bpmn-icon-intermediate-event-catch-escalation:before{content:"\\e823"}.bpmn-icon-intermediate-event-catch-timer:before{content:"\\e824"}.bpmn-icon-start-event-escalation:before{content:"\\e825"}.bpmn-icon-start-event-signal:before{content:"\\e826"}.bpmn-icon-business-rule-task:before{content:"\\e827"}.bpmn-icon-manual:before{content:"\\e828"}.bpmn-icon-receive:before{content:"\\e829"}.bpmn-icon-call-activity:before{content:"\\e82a"}.bpmn-icon-start-event-timer:before{content:"\\e82b"}.bpmn-icon-start-event-message:before{content:"\\e82c"}.bpmn-icon-intermediate-event-none:before{content:"\\e82d"}.bpmn-icon-intermediate-event-catch-link:before{content:"\\e82e"}.bpmn-icon-end-event-escalation:before{content:"\\e82f"}.bpmn-icon-bpmn-io:before{content:"\\e831"}.bpmn-icon-gateway-complex:before{content:"\\e832"}.bpmn-icon-gateway-eventbased:before{content:"\\e833"}.bpmn-icon-gateway-none:before{content:"\\e834"}.bpmn-icon-gateway-or:before{content:"\\e835"}.bpmn-icon-end-event-terminate:before{content:"\\e836"}.bpmn-icon-end-event-signal:before{content:"\\e837"}.bpmn-icon-end-event-none:before{content:"\\e838"}.bpmn-icon-end-event-multiple:before{content:"\\e839"}.bpmn-icon-end-event-message:before{content:"\\e83a"}.bpmn-icon-end-event-link:before{content:"\\e83b"}.bpmn-icon-intermediate-event-catch-message:before{content:"\\e83c"}.bpmn-icon-intermediate-event-throw-compensation:before{content:"\\e83d"}.bpmn-icon-start-event-multiple:before{content:"\\e83e"}.bpmn-icon-script:before{content:"\\e83f"}.bpmn-icon-manual-task:before{content:"\\e840"}.bpmn-icon-send:before{content:"\\e841"}.bpmn-icon-service:before{content:"\\e842"}.bpmn-icon-receive-task:before{content:"\\e843"}.bpmn-icon-user:before{content:"\\e844"}.bpmn-icon-start-event-none:before{content:"\\e845"}.bpmn-icon-intermediate-event-throw-escalation:before{content:"\\e846"}.bpmn-icon-intermediate-event-catch-multiple:before{content:"\\e847"}.bpmn-icon-intermediate-event-catch-non-interrupting-escalation:before{content:"\\e848"}.bpmn-icon-intermediate-event-throw-link:before{content:"\\e849"}.bpmn-icon-start-event-non-interrupting-condition:before{content:"\\e84a"}.bpmn-icon-data-object:before{content:"\\e84b"}.bpmn-icon-script-task:before{content:"\\e84c"}.bpmn-icon-send-task:before{content:"\\e84d"}.bpmn-icon-data-store:before{content:"\\e84e"}.bpmn-icon-start-event-non-interrupting-escalation:before{content:"\\e84f"}.bpmn-icon-intermediate-event-throw-message:before{content:"\\e850"}.bpmn-icon-intermediate-event-catch-non-interrupting-multiple:before{content:"\\e851"}.bpmn-icon-intermediate-event-catch-non-interrupting-signal:before{content:"\\e852"}.bpmn-icon-intermediate-event-throw-multiple:before{content:"\\e853"}.bpmn-icon-start-event-non-interrupting-message:before{content:"\\e854"}.bpmn-icon-ad-hoc-marker:before{content:"\\e855"}.bpmn-icon-service-task:before{content:"\\e856"}.bpmn-icon-task-none:before{content:"\\e857"}.bpmn-icon-compensation-marker:before{content:"\\e858"}.bpmn-icon-start-event-non-interrupting-multiple:before{content:"\\e859"}.bpmn-icon-intermediate-event-throw-signal:before{content:"\\e85a"}.bpmn-icon-intermediate-event-catch-non-interrupting-condition:before{content:"\\e85b"}.bpmn-icon-participant:before{content:"\\e85c"}.bpmn-icon-event-subprocess-expanded:before{content:"\\e85d"}.bpmn-icon-lane-insert-below:before{content:"\\e85e"}.bpmn-icon-space-tool:before{content:"\\e85f"}.bpmn-icon-connection-multi:before{content:"\\e860"}.bpmn-icon-lane:before{content:"\\e861"}.bpmn-icon-lasso-tool:before{content:"\\e862"}.bpmn-icon-lane-insert-above:before{content:"\\e863"}.bpmn-icon-lane-divide-three:before{content:"\\e864"}.bpmn-icon-lane-divide-two:before{content:"\\e865"}.bpmn-icon-data-input:before{content:"\\e866"}.bpmn-icon-data-output:before{content:"\\e867"}.bpmn-icon-hand-tool:before{content:"\\e868"}.bpmn-icon-group:before{content:"\\e869"}.bpmn-icon-text-annotation:before{content:"\\e86b"}.bpmn-icon-transaction:before{content:"\\e8c4"}.bpmn-icon-screw-wrench:before{content:"\\e8db"}.bpmn-icon-connection:before{content:"\\e8dc"}.bpmn-icon-conditional-flow:before{content:"\\e8e0"}.bpmn-icon-default-flow:before{content:"\\e8e1"}',""]),e.exports=t},6043:function(e,t,n){var i=n("e244"),o=n("9564"),r=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?r(i[e]):i[e]&&i[e][t]}},"60c6":function(e,t,n){(function(e){(function(n,i){var o=i();e&&e.exports&&(t=e.exports=o),t.randomColor=o})(0,(function(){var e=null,t={};m();var n=[],i=function(t){if(t=t||{},void 0!==t.seed&&null!==t.seed&&t.seed===parseInt(t.seed,10))e=t.seed;else if("string"===typeof t.seed)e=y(t.seed);else{if(void 0!==t.seed&&null!==t.seed)throw new TypeError("The seed value must be an integer or string");e=null}var l,c,h;if(null!==t.count&&void 0!==t.count){for(var d=t.count,u=[],p=0;pu.length){var g=i(t);null!==e&&(t.seed=e),u.push(g)}return t.count=d,u}return l=o(t),c=r(l,t),h=s(l,c,t),a([l,c,h],t)};function o(e){if(n.length>0){var t=_(e.hue),i=u(t),o=(t[1]-t[0])/n.length,r=parseInt((i-t[0])/o);!0===n[r]?r=(r+2)%n.length:n[r]=!0;var s=(t[0]+r*o)%359,a=(t[0]+(r+1)*o)%359;return t=[s,a],i=u(t),i<0&&(i=360+i),i}t=c(e.hue);return i=u(t),i<0&&(i=360+i),i}function r(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return u([0,100]);var n=h(e),i=n[0],o=n[1];switch(t.luminosity){case"bright":i=55;break;case"dark":i=o-10;break;case"light":o=55;break}return u([i,o])}function s(e,t,n){var i=l(e,t),o=100;switch(n.luminosity){case"dark":o=i+20;break;case"light":i=(o+i)/2;break;case"random":i=0,o=100;break}return u([i,o])}function a(e,t){switch(t.format){case"hsvArray":return e;case"hslArray":return b(e);case"hsl":var n=b(e);return"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)";case"hsla":var i=b(e),o=t.alpha||Math.random();return"hsla("+i[0]+", "+i[1]+"%, "+i[2]+"%, "+o+")";case"rgbArray":return f(e);case"rgb":var r=f(e);return"rgb("+r.join(", ")+")";case"rgba":var s=f(e);o=t.alpha||Math.random();return"rgba("+s.join(", ")+", "+o+")";default:return p(e)}}function l(e,t){for(var n=d(e).lowerBounds,i=0;i=o&&t<=s){var l=(a-r)/(s-o),c=r-l*o;return l*t+c}}return 0}function c(e){if("number"===typeof parseInt(e)){var n=parseInt(e);if(n<360&&n>0)return[n,n]}if("string"===typeof e)if(t[e]){var i=t[e];if(i.hueRange)return i.hueRange}else if(e.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var o=v(e)[0];return[o,o]}return[0,360]}function h(e){return d(e).saturationRange}function d(e){for(var n in e>=334&&e<=360&&(e-=360),t){var i=t[n];if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return t[n]}return"Color not found"}function u(t){if(null===e){var n=.618033988749895,i=Math.random();return i+=n,i%=1,Math.floor(t[0]+i*(t[1]+1-t[0]))}var o=t[1]||1,r=t[0]||0;e=(9301*e+49297)%233280;var s=e/233280;return Math.floor(r+s*(o-r))}function p(e){var t=f(e);function n(e){var t=e.toString(16);return 1==t.length?"0"+t:t}var i="#"+n(t[0])+n(t[1])+n(t[2]);return i}function g(e,n,i){var o=i[0][0],r=i[i.length-1][0],s=i[i.length-1][1],a=i[0][1];t[e]={hueRange:n,lowerBounds:i,saturationRange:[o,r],brightnessRange:[s,a]}}function m(){g("monochrome",null,[[0,0],[100,0]]),g("red",[-26,18],[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]),g("orange",[18,46],[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]),g("yellow",[46,62],[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]),g("green",[62,178],[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]),g("blue",[178,257],[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]),g("purple",[257,282],[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]),g("pink",[282,334],[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]])}function f(e){var t=e[0];0===t&&(t=1),360===t&&(t=359),t/=360;var n=e[1]/100,i=e[2]/100,o=Math.floor(6*t),r=6*t-o,s=i*(1-n),a=i*(1-r*n),l=i*(1-(1-r)*n),c=256,h=256,d=256;switch(o){case 0:c=i,h=l,d=s;break;case 1:c=a,h=i,d=s;break;case 2:c=s,h=i,d=l;break;case 3:c=s,h=a,d=i;break;case 4:c=l,h=s,d=i;break;case 5:c=i,h=s,d=a;break}var u=[Math.floor(255*c),Math.floor(255*h),Math.floor(255*d)];return u}function v(e){e=e.replace(/^#/,""),e=3===e.length?e.replace(/(.)/g,"$1$1"):e;var t=parseInt(e.substr(0,2),16)/255,n=parseInt(e.substr(2,2),16)/255,i=parseInt(e.substr(4,2),16)/255,o=Math.max(t,n,i),r=o-Math.min(t,n,i),s=o?r/o:0;switch(o){case t:return[(n-i)/r%6*60||0,s,o];case n:return[60*((i-t)/r+2)||0,s,o];case i:return[60*((t-n)/r+4)||0,s,o]}}function b(e){var t=e[0],n=e[1]/100,i=e[2]/100,o=(2-n)*i;return[t,Math.round(n*i/(o<1?o:2-o)*1e4)/100,o/2*100]}function y(e){for(var t=0,n=0;n!==e.length;n++){if(t>=Number.MAX_SAFE_INTEGER)break;t+=e.charCodeAt(n)}return t}function _(e){if(isNaN(e)){if("string"===typeof e)if(t[e]){var n=t[e];if(n.hueRange)return n.hueRange}else if(e.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var i=v(e)[0];return d(i).hueRange}}else{var o=parseInt(e);if(o<360&&o>0)return d(e).hueRange}return[0,360]}return i}))}).call(this,n("4e3f")(e))},6120:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent;z-index:-10}.monaco-editor .inputarea.ime-input{z-index:10;caret-color:var(--vscode-editorCursor-foreground);color:var(--vscode-editor-foreground)}",""]),e.exports=t},"62fd":function(e,t){e.exports=function e(t,n){const i=n.enter||null,o=n.leave||null,r=i&&i(t),s=t.$descriptor;if(!1!==r&&!s.isGeneric){const i=s.properties.filter(e=>!e.isAttr&&!e.isReference&&"String"!==e.type);i.forEach(i=>{if(i.name in t){const o=t[i.name];i.isMany?o.forEach(t=>{e(t,n)}):e(o,n)}})}o&&o(t)}},6965:function(e,t,n){var i=n("1810"),o=i("toStringTag"),r={};r[o]="z",e.exports="[object z]"===String(r)},"69f1":function(e,t,n){var i=n("55ab"),o=n("b896"),r=n("4d82");e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"6a0b":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .overlayWidgets{position:absolute;top:0;left:0}",""]),e.exports=t},"6a70":function(e,t,n){var i=n("eee7"),o=n("69f1");e.exports=function(e,t){i(t)&&"cause"in t&&o(e,"cause",t.cause)}},"6aad":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block;color:var(--vscode-editorLineNumber-foreground)}.monaco-diff-editor .diff-review{position:absolute;-moz-user-select:none;user-select:none;-webkit-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute;box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}",""]),e.exports=t},"6b5e":function(e,t,n){"use strict";var i=n("92af");t["a"]={methods:{t(...e){return i["b"].apply(this,e)}}}},"6b7e":function(e,t,n){var i=n("7f82"),o=n("0b38");e.exports=function(e){var t=i(e,"string");return o(t)?t:t+""}},"6bc9":function(e,t,n){"use strict";n("e9a1")},"6cd1":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-editor .line-numbers{color:var(--vscode-editorLineNumber-foreground)}.monaco-editor .line-numbers.active-line-number{color:var(--vscode-editorLineNumber-activeForeground)}",""]),e.exports=t},"6f9e":function(e,t,n){var i=n("933a"),o=Function.prototype,r=o.call,s=i&&o.bind.bind(r,r);e.exports=i?s:function(e){return function(){return r.apply(e,arguments)}}},7043:function(e,t,n){var i=n("e5d9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("385da0b4",i,!0,{sourceMap:!1,shadowMode:!1})},"70a8":function(e,t,n){var i=n("6a0b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("1d6ab098",i,!0,{sourceMap:!1,shadowMode:!1})},7115:function(e,t,n){var i=n("c09a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3624864e",i,!0,{sourceMap:!1,shadowMode:!1})},7170:function(e,t,n){e.exports=n.p+"img/bpmn.4424ace0.svg"},"72b1":function(e,t,n){var i=n("407e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("363ce83c",i,!0,{sourceMap:!1,shadowMode:!1})},"73d0":function(e,t,n){const i=n("62fd"),{isArray:o,isObject:r}=n("3b15");class s{constructor({moddleRoot:e,rule:t}){this.rule=t,this.moddleRoot=e,this.messages=[],this.report=this.report.bind(this)}report(e,t,n){let i={id:e,message:t};n&&o(n)&&(i={...i,path:n}),n&&r(n)&&(i={...i,...n}),this.messages.push(i)}}e.exports=function({moddleRoot:e,rule:t}){const n=new s({rule:t,moddleRoot:e}),o=t.check,r=o&&o.enter||o,a=o&&o.leave;if(!r&&!a)throw new Error("no check implemented");return i(e,{enter:r?e=>r(e,n):null,leave:a?e=>a(e,n):null}),n.messages}},7433:function(e,t,n){var i=n("04c3");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:i(e)}},7443:function(e,t,n){e.exports=n.p+"fonts/bpmn.c58fab0a.eot"},"762a":function(e,t,n){var i=n("b623"),o=n("a2df");e.exports=function(e,t){var n=e[t];return o(n)?void 0:i(n)}},"769f":function(e,t,n){var i=n("f3d6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("16d935ea",i,!0,{sourceMap:!1,shadowMode:!1})},"76b2":function(e,t,n){var i=n("6f9e"),o=0,r=Math.random(),s=i(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+r,36)}},7741:function(e,t,n){const i=n("73d0"),o={0:"off",1:"warn",2:"error",3:"info"};function r(e={}){const{config:t,resolver:n}=e;if("undefined"===typeof n)throw new Error("must provide ");this.config=t,this.resolver=n,this.cachedRules={},this.cachedConfigs={}}function s(e){return"bpmnlint"===e?"bpmnlint":e.startsWith("bpmnlint-plugin-")?e:"bpmnlint-plugin-"+e}function a(e){return e.startsWith("bpmnlint-plugin-")?e.substring("bpmnlint-plugin-".length):e}e.exports=r,r.prototype.applyRule=function(e,t){const{config:n,rule:o,category:r,name:s}=t;try{const t=i({moddleRoot:e,rule:o,config:n});return t.map((function(e){return{...e,category:r}}))}catch(a){return[{message:"Rule error: "+a.message,category:"error"}]}},r.prototype.resolveRule=function(e,t){const{pkg:n,ruleName:i}=this.parseRuleName(e),o=`${n}-${i}`,r=this.cachedRules[o];return r?Promise.resolve(r):Promise.resolve(this.resolver.resolveRule(n,i)).then(n=>{if(!n)throw new Error(`unknown rule <${e}>`);const i=this.cachedRules[o]=n(t);return i})},r.prototype.resolveConfig=function(e){const{pkg:t,configName:n}=this.parseConfigName(e),i=`${t}-${n}`,o=this.cachedConfigs[i];return o?Promise.resolve(o):Promise.resolve(this.resolver.resolveConfig(t,n)).then(n=>{if(!n)throw new Error(`unknown config <${e}>`);const o=this.cachedConfigs[i]=this.normalizeConfig(n,t);return o})},r.prototype.resolveRules=function(e){return this.resolveConfiguredRules(e).then(e=>{const t=Object.entries(e).map(([e,t])=>{const{category:n,config:i}=this.parseRuleValue(t);return{name:e,category:n,config:i}}),n=t.filter(e=>"off"!==e.category),i=n.map(e=>{const{name:t,config:n}=e;return this.resolveRule(t,n).then((function(t){return{...e,rule:t}}))});return Promise.all(i)})},r.prototype.resolveConfiguredRules=function(e){let t=e.extends;return"string"===typeof t&&(t=[t]),"undefined"===typeof t&&(t=[]),Promise.all(t.map(e=>this.resolveConfig(e).then(e=>this.resolveConfiguredRules(e)))).then(t=>{const n=this.normalizeConfig(e,"bpmnlint").rules,i=[...t,n].reduce((e,t)=>({...e,...t}),{});return i})},r.prototype.lint=function(e,t){return t=t||this.config,this.resolveRules(t).then(t=>{const n={};return t.forEach(t=>{const{name:i}=t,o=this.applyRule(e,t);o.length&&(n[i]=o)}),n})},r.prototype.parseRuleValue=function(e){let t,n;return Array.isArray(e)?(t=e[0],n=e[1]):(t=e,n={}),"string"===typeof t&&(t=t.toLowerCase()),t=o[t]||t,{config:n,category:t}},r.prototype.parseRuleName=function(e,t="bpmnlint"){const n=/^(?:(?:(@[^/]+)\/)?([^@]{1}[^/]*)\/)?([^/]+)$/.exec(e);if(!n)throw new Error(`unparseable rule name <${e}>`);const[i,o,r,a]=n;if(!r)return{pkg:t,ruleName:a};const l=`${o?o+"/":""}${s(r)}`;return{pkg:l,ruleName:a}},r.prototype.parseConfigName=function(e){const t=/^(?:(?:plugin:(?:(@[^/]+)\/)?([^@]{1}[^/]*)\/)|bpmnlint:)([^/]+)$/.exec(e);if(!t)throw new Error(`unparseable config name <${e}>`);const[n,i,o,r]=t;if(!o)return{pkg:"bpmnlint",configName:r};const a=`${i?i+"/":""}${s(o)}`;return{pkg:a,configName:r}},r.prototype.getSimplePackageName=function(e){const t=/^(?:(@[^/]+)\/)?([^/]+)$/.exec(e);if(!t)throw new Error(`unparseable package name <${e}>`);const[n,i,o]=t;return`${i?i+"/":""}${a(o)}`},r.prototype.normalizeConfig=function(e,t){const n=e.rules||{},i=Object.keys(n).reduce((e,i)=>{const o=n[i],{pkg:r,ruleName:s}=this.parseRuleName(i,t),a="bpmnlint"===r?s:`${this.getSimplePackageName(r)}/${s}`;return e[a]=o,e},{});return{...e,rules:i}}},"780e":function(e,t,n){var i=n("5cb9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("efe58f82",i,!0,{sourceMap:!1,shadowMode:!1})},"78b0":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .mwh{position:absolute;color:var(--vscode-editorWhitespace-foreground)!important}",""]),e.exports=t},"7c08":function(e,t,n){var i=n("ce47");e.exports=function(e){return i(e.length)}},"7c0d":function(e,t,n){var i=n("9564"),o=n("b896"),r=n("2590"),s=n("49d8");e.exports=function(e,t,n,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:t;if(i(n)&&r(n,c,a),a.global)l?e[t]=n:s(t,n);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(h){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},"7d5d":function(e,t,n){"use strict";var i=n("83ec"),o=n("8a78").left,r=n("3d1a"),s=n("2c21"),a=n("f79e"),l=!a&&s>79&&s<83,c=l||!r("reduce");i({target:"Array",proto:!0,forced:c},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},"7f82":function(e,t,n){var i=n("58d1"),o=n("eee7"),r=n("0b38"),s=n("762a"),a=n("f10c"),l=n("1810"),c=TypeError,h=l("toPrimitive");e.exports=function(e,t){if(!o(e)||r(e))return e;var n,l=s(e,h);if(l){if(void 0===t&&(t="default"),n=i(l,e,t),!o(n)||r(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},"81e5":function(e,t,n){var i=n("6f9e");e.exports=i({}.isPrototypeOf)},"82a4":function(e,t,n){var i=n("933a"),o=Function.prototype,r=o.apply,s=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?s.bind(r):function(){return s.apply(r,arguments)})},"83ec":function(e,t,n){var i=n("e244"),o=n("42b1").f,r=n("69f1"),s=n("7c0d"),a=n("49d8"),l=n("8c42"),c=n("a056");e.exports=function(e,t){var n,h,d,u,p,g,m=e.target,f=e.global,v=e.stat;if(h=f?i:v?i[m]||a(m,{}):(i[m]||{}).prototype,h)for(d in t){if(p=t[d],e.dontCallGetSet?(g=o(h,d),u=g&&g.value):u=h[d],n=c(f?d:m+(v?".":"#")+d,e.forced),!n&&void 0!==u){if(typeof p==typeof u)continue;l(p,u)}(e.sham||u&&u.sham)&&r(p,"sham",!0),s(h,d,p,e)}}},"88cb":function(e,t,n){var i=n("1ffd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3237f5a0",i,!0,{sourceMap:!1,shadowMode:!1})},"8a25":function(e,t,n){var i=n("eccc");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("0ca4fbb7",i,!0,{sourceMap:!1,shadowMode:!1})},"8a78":function(e,t,n){var i=n("b623"),o=n("c673"),r=n("b4fd"),s=n("7c08"),a=TypeError,l=function(e){return function(t,n,l,c){i(n);var h=o(t),d=r(h),u=s(h),p=e?u-1:0,g=e?-1:1;if(l<2)while(1){if(p in d){c=d[p],p+=g;break}if(p+=g,e?p<0:u<=p)throw a("Reduce of empty array with no initial value")}for(;e?p>=0:u>p;p+=g)p in d&&(c=n(c,d[p],p,h));return c}};e.exports={left:l(!1),right:l(!0)}},"8a7d":function(e,t,n){var i=n("b1cc");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("591f7120",i,!0,{sourceMap:!1,shadowMode:!1})},"8a88":function(e,t,n){var i=n("d8c2");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("1e09bcf3",i,!0,{sourceMap:!1,shadowMode:!1})},"8bbf":function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__8bbf__},"8c32":function(e,t,n){var i=n("e09a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("130c92b9",i,!0,{sourceMap:!1,shadowMode:!1})},"8c42":function(e,t,n){var i=n("0b05"),o=n("c1ca"),r=n("42b1"),s=n("b896");e.exports=function(e,t,n){for(var a=o(t),l=s.f,c=r.f,h=0;h.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-multiple,.monaco-list.selection-single{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}",""]),e.exports=t},"8dcc":function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(t){return"Object"}}},9224:function(e){e.exports=JSON.parse('{"name":"@sscfaith/nutflow","version":"1.8.1","author":{"name":"ssc","email":"273702440@qq.com"},"main":"lib/index.umd.min.js","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","build:lib":"vue-cli-service build --target lib --name WfDesign --dest lib --filename index --formats umd-min ./packages/index.js","lint":"vue-cli-service lint"},"dependencies":{"bpmn-js":"13.2.0","bpmn-js-create-append-anything":"^0.3.0","bpmnlint":"^8.3.2","monaco-editor":"^0.39.0","randomcolor":"^0.6.2"},"devDependencies":{"@sscfaith/avue-form-design":"^1.5.6","@vue/cli-plugin-babel":"^4.5.15","@vue/cli-plugin-eslint":"^4.5.15","@vue/cli-service":"^4.5.15","avue-plugin-ueditor":"^0.2.3","babel-eslint":"^10.1.0","babel-plugin-import":"^1.13.3","core-js":"^3.21.1","element-ui":"^2.15.6","eslint":"^7.32.0","eslint-plugin-vue":"^7.20.0","sass":"^1.49.10","sass-loader":"^7.3.1","vue":"^2.6.14","vue-i18n":"^8.27.1","vue-template-compiler":"^2.6.14"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{"no-debugger":"off","no-console":"off","no-unused-vars":"off","no-mutating-props":"off"}},"browserslist":["> 1%","last 2 versions","not dead"],"files":["lib"],"keywords":["vue","element-ui","bpmn","bpmn.js","flow","flowable","activiti","camunda"]}')},"92af":function(e,t,n){"use strict";n.d(t,"b",(function(){return y}));var i={wf:{lang:"zh",panel:{process:{tab:"流程配置",basic:{label:"基本配置",key:"流程key",name:"流程名称",description:"流程描述",skipFirstNode:"跳过第一节点",rollbackNode:{label:"默认驳回节点",placeholder:"不选择默认驳回到上一节点"}},sn:{label:"流水号配置",configure:"配置",format:"流水号格式",name:"名称",prefix:"前缀",dateFormat:"日期格式",suffixLength:"后缀位数",initialValue:"初始数值",connector:"连接符",resetCycle:{label:"重置周期",dicData:[{label:"不重置",value:"none"},{label:"按天重置",value:"day"},{label:"按周重置",value:"week"},{label:"按月重置",value:"month"},{label:"按年重置",value:"year"}]}}},node:{tab:"节点配置",message:"选择节点后配置",basic:{title:"基本配置",id:"节点id",name:"节点名称",text:"注解内容",description:"节点描述",rollbackNode:{label:"驳回节点",placeholder:"不选择默认使用流程配置",backToRejecter:"重新提交后回到驳回人",backToRejecterText:"假如D驳回到A,A重新发起时直接到D,跳过B、C"},priority:"优先级",async:{label:"异步",yes:"是",no:"否"},dueDate:"超时",skipExpression:"跳过表达式"},assignee:{title:"人员配置",v1:{assignee:"处理人",candidateUsers:"候选用户",candidateGroups:"候选组",title:"人员选择",unselected:"未选择",selected:"已选择",message:"请至少选择一项"},v2:{configure:"人员配置",type:"类型",value:"值",typeDic:{user:"用户",role:"角色",dept:"部门",post:"职位",custom:"自定义"},typeList:[{label:"用户",value:"user"},{label:"角色",value:"role"},{label:"部门",value:"dept"},{label:"职位",value:"post"},{label:"自定义",value:"custom"}],customRemark:"请确保选择/填写的选项已实现相关逻辑",title:"人员选择",cancel:"取 消",submit:"确 定",user:{avatar:"头像",name:"姓名",dept:"部门",post:"职位"},message:"请至少选择一项",dept:{title:"部门选择",name:"部门名称",fullName:"部门全称",category:"部门类型"}}},button:{title:"按钮配置",label:"字段",prop:"属性",display:"是否显示"},condition:{title:"流转条件",conditionExpression:"流转条件"},examine:{hideAttachment:"隐藏审批附件",hideCopy:"隐藏选择抄送人",copyUser:"默认抄送人",hideAssignee:"隐藏选择审核人"},form:{title:"表单配置",exFormKey:"表单key",exFormUrl:"表单路由",router:"路由",remark:{r1:"发起流程会自动匹配",r2:"查看详情会自动匹配",r3:"请拷贝模版页面或参考demo项目实现自己的逻辑",r4:"会动态添加路由,无需配置。已知小问题:框架限制,刷新404",r5:"若配置此项,表单key的自动匹配路由将失效",r6:"请自行配置相应路由",r7:"移动端会自动匹配"},exAppFormUrl:"移动端路由",label:"字段",prop:"属性",readable:"可读",writable:"可写",unknown:"未知表单配置,请自行控制字段显隐等属性。"},listener:{taskTitle:"任务监听",executionTitle:"执行监听",add:"添加",edit:"编辑",delete:"删除",event:"事件",type:"类型",value:"值",operations:"操作",submit:"确定",listenerType:{class:"类",expression:"表达式",delegateExpression:"代理表达式"},message:"确定要删除吗",warning:"警告",name:"名称"},multiInstance:{title:"多实例配置",type:"类型",parallel:"并行",sequential:"串行",completionCondition:"完成条件"},event:{title:"事件配置",isInterrupting:"是否中断",condition:"表达式",activityRef:"活动引用",errorRef:"错误引用",escalationRef:"升级引用",messageRef:"消息引用",signalRef:"信号引用",terminateAll:"全部终止",timer:{timeCycle:"时间周期",timeDate:"时间日期",timeDuration:"持续时间"}},call:{title:"调用活动",calledElement:"子流程key",inheritVariables:"继承变量",sameDeployment:"同一部署"},service:{title:"服务配置",type:"类型",typeOption:[{label:"类",value:"class"},{label:"代理表达式",value:"delegateExpression"},{label:"表达式",value:"expression"},{label:"Http",value:"http"},{label:"Shell",value:"shell"},{label:"Mail",value:"mail"}]},script:{title:"脚本配置"}}},toolbar:{open:"打开",create:"新建",fit:"自适应屏幕",center:"居中",zoomIn:"放大",zoomOut:"缩小",undo:"后退",redo:"前进",download:"下载",downloadXml:"下载XML",downloadSvg:"下载SVG",importXml:"导入XML",previewXml:"查看XML",getXml:"获取XML"},config:{title:"组件配置",lang:{label:"国际化",chinese:"中文",english:"英文"},mode:{label:"展示模式",design:"设计模式",view:"预览模式"},engine:{label:"流程引擎",flowable:"Flowable",camunda:"Camunda",activiti:"Activiti"},form:{label:"表单配置",configure:"配置",remark:"组件可接收avue-form的配置,其他不支持",title:"表单配置",submit:"确定"},button:{label:"按钮配置",configure:"配置",cancel:"收起",option:{page:!1,align:"center",column:[{label:"名称",prop:"label"},{label:"属性",prop:"prop"},{label:"默认是否显示",prop:"display",type:"select",dicData:[{label:"是",value:!0},{label:"否",value:!1}]}]}},user:{label:"人员配置方式"},lint:{label:"模型校验"},toolbar:{label:"顶部工具栏",checkAll:"全选",list:[{label:"打开",value:"open"},{label:"新建",value:"create"},{label:"自适应屏幕",value:"fit"},{label:"放大",value:"zoom-in"},{label:"缩小",value:"zoom-out"},{label:"后退",value:"undo"},{label:"前进",value:"redo"},{label:"导入XML",value:"import"},{label:"查看XML",value:"preview"},{label:"获取XML",value:"get"},{label:"下载XML",value:"download-xml"},{label:"下载SVG",value:"download-svg"}]},highlight:{label:"高亮节点",node:"节点",line:"连线",nodeId:"节点id",nodeClass:"节点样式",tooltip:"Tooltip",classes:[{label:"节点 - success",value:"nodeSuccess"},{label:"节点 - warn",value:"nodeWarn"},{label:"节点 - error",value:"nodeError"},{label:"连线 - success",value:"lineSuccess"},{label:"连线 - warn",value:"lineWarn"},{label:"连线 - error",value:"lineError"}]},minimap:"Minimap",simulation:"流程模拟",message:{copySuccess:"复制成功"}}}},o={wf:{lang:"en",panel:{process:{tab:"Process",basic:{label:"Basic",key:"Key",name:"Name",description:"Description",skipFirstNode:"Skip first node",rollbackNode:{label:"Default rejection node",placeholder:"Default reject to the previous node"}},sn:{label:"Serial Number",configure:"Configuration",format:"SN Format",name:"Name",prefix:"Prefix",dateFormat:"Date Format",suffixLength:"Suffix Digits",initialValue:"Initial Value",connector:"Connector",resetCycle:{label:"Reset Period",dicData:[{label:"Do not reset",value:"none"},{label:"Reset By Day",value:"day"},{label:"Reset By Week",value:"week"},{label:"Reset By Month",value:"month"},{label:"Reset By Year",value:"year"}]}}},node:{tab:"Node",message:"Configure after node selection",basic:{title:"Basic",id:"ID",name:"Name",text:"Annotation",description:"Description",rollbackNode:{label:"Rejection node",placeholder:"Default use process option",backToRejecter:"Back to rejecter",backToRejecterText:"假如D驳回到A,A重新发起时直接到D,跳过B、C"},priority:"Priority",async:{label:"Async",yes:"Yes",no:"No"},dueDate:"Due Date",skipExpression:"Skip Expression"},assignee:{title:"Staffing",v1:{assignee:"Assignee",candidateUsers:"Candidate Users",candidateGroups:"Candidate Groups",title:"Personnel Selection",unselected:"Not selected",selected:"Selected",message:"Please select at least one item"},v2:{configure:"Staffing",type:"Type",value:"Value",typeDic:{user:"User",role:"Role",dept:"Dept.",post:"Position",custom:"Customize"},typeList:[{label:"User",value:"user"},{label:"Role",value:"role"},{label:"Dept.",value:"dept"},{label:"Post",value:"post"},{label:"Custom",value:"custom"}],customRemark:"Please make sure that the selected/filled option has implemented the relevant logic",title:"Personnel Selection",cancel:"Cancel",submit:"Confirm",user:{avatar:"Avatar",name:"Name",dept:"Dept.",post:"Post"},message:"Please select at least one item",dept:{title:"Department Selection",name:"Name",fullName:"Full Name",category:"Category"}}},button:{title:"Button",label:"Field",prop:"Attribute",display:"Display"},condition:{title:"Conditions",conditionExpression:"Circulation Conditions"},examine:{hideAttachment:"Hide attachment",hideCopy:"Hide selected cc",copyUser:"Default copy user",hideAssignee:"Hide assignee"},form:{title:"Form",exFormKey:"Form Key",exFormUrl:"Form Routing",router:"Routing",remark:{r1:"The initiation process will automatically match",r2:"View details will automatically match",r3:"Please copy the template page or refer to the demo project to implement your own logic",r4:"Routes are added dynamically without configuration. Known small problem: frame limit, refresh 404",r5:"If this item is configured, the automatic matching route of form key will be invalid",r6:"Please configure the corresponding route by yourself",r7:"The App will automatically match"},exAppFormUrl:"App Form Routing",label:"Field",prop:"Attribute",readable:"Readable",writable:"Writable",unknown:"Unknown form configuration, please control the field display and hidden attributes yourself"},listener:{taskTitle:"Task Listener",executionTitle:"Execution Listener",add:"Add",edit:"Edit",delete:"Delete",event:"Event",type:"Class",value:"Value",operations:"Operation",submit:"Confirm",listenerType:{class:"Class",expression:"Expression",delegateExpression:"Delegate Expression"},message:"Are you sure you want to delete?",warning:"Warning",name:"Name"},multiInstance:{title:"Multi-instance",type:"Type",parallel:"Parallel",sequential:"Serial",completionCondition:"Completion Conditions"},event:{title:"Event",isInterrupting:"Is Interrupting",condition:"Condition",activityRef:"Activity Ref",errorRef:"Error Ref",escalationRef:"Escalation Ref",messageRef:"Message Ref",signalRef:"Signal Ref",terminateAll:"Terminate All",timer:{timeCycle:"Time Cycle",timeDate:"Time Date",timeDuration:"Time Duration"}},call:{title:"Call Activity",calledElement:"Call Element",inheritVariables:"Inherit Variables",sameDeployment:"Same Deployment"},service:{title:"Service Configuration",type:"Type",typeOption:[{label:"Class",value:"class"},{label:"Delegate Expression",value:"delegateExpression"},{label:"Expression",value:"expression"},{label:"HTTP",value:"http"},{label:"Shell",value:"shell"},{label:"Mail",value:"mail"}]},script:{title:"Script Configuration"}}},toolbar:{open:"Open",create:"New",fit:"Adaptive Screen",center:"Center",zoomIn:"Enlarge",zoomOut:"Minify",undo:"Back",redo:"Forward",download:"Download",downloadXml:"Download XML",downloadSvg:"Download SVG",importXml:"Import XML",previewXml:"View XML",getXml:"Obtain XML"},config:{title:"Component Configuration",lang:{label:"Language",chinese:"Chinese",english:"English"},mode:{label:"Mode",design:"Design Mode",view:"Preview Mode"},engine:{label:"Engine",flowable:"Flowable",camunda:"Camunda",activiti:"Activiti"},form:{label:"Form",configure:"Configuration",remark:"Support avue-form's option only",title:"Form Configuration",submit:"Confirm"},button:{label:"Button",configure:"Configuration",cancel:"Put Away",option:{page:!1,align:"center",column:[{label:"Name",prop:"label"},{label:"Attribute",prop:"prop"},{label:"Display",prop:"display",type:"select",dicData:[{label:"Yes",value:!0},{label:"No",value:!1}]}]}},user:{label:"User"},lint:{label:"Lint"},toolbar:{label:"Toolbar",checkAll:"Check All",list:[{label:"Open",value:"open"},{label:"New",value:"create"},{label:"Adaptive Screen",value:"fit"},{label:"Enlarge",value:"zoom-in"},{label:"Minify",value:"zoom-out"},{label:"Back",value:"undo"},{label:"Forward",value:"redo"},{label:"Import XML",value:"import"},{label:"View XML",value:"preview"},{label:"Obtain XML",value:"get"},{label:"Download XML",value:"download-xml"},{label:"Download SVG",value:"download-svg"}]},highlight:{label:"Highlight",node:"Node",line:"Connection",nodeId:"Node ID",nodeClass:"Node Style",tooltip:"Tooltip",classes:[{label:"Node - success",value:"nodeSuccess"},{label:"Node - warn",value:"nodeWarn"},{label:"Node - error",value:"nodeError"},{label:"Line - success",value:"lineSuccess"},{label:"Line - warn",value:"lineWarn"},{label:"Line - error",value:"lineError"}]},minimap:"Minimap",simulation:"Simulation",message:{copySuccess:"Copy succeeded"}}}},r=n("0c5e"),s=n.n(r),a=n("8bbf"),l=n.n(a);let c=e=>{var t={};return e&&"[object Function]"===t.toString.call(e)};"object"===typeof Int8Array||!l.a.prototype.$isServer&&"function"===typeof document.childNodes||(c=function(e){return"function"===typeof e||!1});const h=Object.prototype.hasOwnProperty;function d(e,t){return h.call(e,t)}const u=/(%|)\{([0-9a-zA-Z_]+)\}/g;var p=function(e){function t(e,...t){return"string"!=typeof e?e:(1===t.length&&"object"===typeof t[0]&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(u,(n,i,o,r)=>{let s;return"{"===e[r-1]&&"}"===e[r+n.length]?o:(s=d(t,o)?t[o]:null,null===s||void 0===s?"":s)}))}return t};const g=window.Vue,m=p(g);let f=i,v=!1,b=function(){const e=Object.getPrototypeOf(this||g||{}).$t;if("function"===typeof e&&(g||{}).locale)return v||(v=!0,g.locale(g.config.lang,s()(f,g.locale(g.config.lang)||{},{clone:!0}))),e.apply(this,arguments)};const y=function(e,t){let n=b.apply(this,arguments);if(null!==n&&void 0!==n)return n;const i=e.split(".");let o=f;for(let r=0,s=i.length;r*{flex:initial}.bts-notifications .bts-notification>:not(:last-child){margin-right:6px}.bts-notifications .bts-notification>.bts-icon{min-width:20px;text-align:center}.bts-notifications .bts-notification>.bts-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bts-notifications .bts-notification>.bts-scope{font-family:monospace;font-size:.8em;padding:2px 3px;border-radius:3px;cursor:default}.bts-notifications .bts-notification>.bts-icon [class*=" bpmn-icon-"]:before,.bts-notifications .bts-notification>.bts-icon [class^=bpmn-icon-]:before{margin:0}.bjs-container.paused .bts-play-pause.active,.bts-element-notification{color:var(--token-simulation-silver-darken-94,#efefef);background-color:var(--token-simulation-silver-darken-94,#efefef)}.bts-element-notification{border-radius:2px;height:30px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;padding:0 6px 0 6px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.bts-element-notification .bts-text{margin:0 3px 0 3px;white-space:nowrap}.bts-element-notification.success{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.bts-element-notification.warning{background-color:var(--token-simulation-red-base-62,#ff3d3d);color:var(--token-simulation-white,#fff)}.bts-toggle-mode{cursor:pointer;position:absolute;top:20px;left:20px;background-color:var(--token-simulation-silver-darken-94,#efefef);border-radius:2px;padding:6px;font-size:16px;color:var(--token-simulation-grey-darken-30,#212121);-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex}.bts-toggle-mode .bts-toggle{margin-left:.25em;display:inline-flex}.bjs-container.simulation .bts-toggle-mode,.bts-toggle-mode:hover{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.bjs-container .djs-palette{top:60px}.bjs-container.simulation .djs-palette{display:none}.bjs-container.simulation .djs-bendpoint,.bjs-container.simulation .djs-outline,.bjs-container.simulation .djs-resizer,.bjs-container.simulation .djs-segment-dragger{display:none!important}.bts-palette{position:absolute;top:60px;left:20px}.bts-palette.hidden{display:none}.bts-palette .bts-entry{cursor:pointer;background-color:var(--token-simulation-silver-darken-94,#efefef);border-radius:2px;padding:6px 0;margin-bottom:6px;font-size:16px;color:var(--token-simulation-grey-darken-30,#212121);-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;justify-content:center;align-items:center;width:30px;box-sizing:border-box;transition:all .1s ease}.bts-palette .bts-entry:last-child{margin-bottom:0}.bts-palette .bts-entry.active,.bts-palette .bts-entry:not(.disabled):hover{color:var(--token-simulation-white,#fff);background-color:var(--token-simulation-green-base-44,#10d070)}.bts-palette .bts-entry.disabled{pointer-events:none;color:var(--token-simulation-grey-base-40,#666)}.bts-log{position:absolute;top:30%;right:20px;bottom:50px;width:300px;background-color:var(--token-simulation-silver-darken-94,#efefef);border-radius:2px;z-index:10000;overflow:hidden;display:flex;flex-direction:column}.bts-log.hidden{display:none}.bts-log .bts-header{background-color:var(--token-simulation-green-base-44,#10d070);padding:6px 8px;color:var(--token-simulation-white,#fff);height:30px;box-sizing:border-box;font-size:16px;flex:0;display:flex;justify-content:space-between}.bts-log .bts-close{background:none;border:none;cursor:pointer;color:var(--token-simulation-white,#fff)}.bts-log .bts-log-icon{cursor:pointer}.bts-log .bts-content{overflow-y:auto;box-sizing:border-box;flex:1;margin:7px 3px 7px 12px;padding:5px 9px 5px 0}.bts-log ::-webkit-scrollbar{width:6px}.bts-log ::-webkit-scrollbar-thumb{border-radius:3px;background-color:rgba(0,0,0,.2)}.bts-log ::-webkit-scrollbar-track{box-shadow:none;background:transparent;margin:0;padding:5px}.bts-log .bts-entry{font-size:16px;margin:0 0 6px 0;padding:6px;background:var(--token-simulation-white,#fff);border-radius:2px;display:flex;align-items:stretch;justify-content:center}.bts-log .bts-entry.inactive{opacity:.5}.bts-log .bts-entry.success{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.bts-log .bts-entry.warning{background-color:var(--token-simulation-red-base-62,#ff3d3d);color:var(--token-simulation-white,#fff)}.bts-log .bts-entry:last-child{margin:0}.bts-log .bts-entry>*{flex:initial}.bts-log .bts-entry>:not(:last-child){margin-right:6px}.bts-log .bts-entry>.bts-icon{min-width:20px;text-align:center}.bts-log .bts-entry>.bts-scope{font-family:monospace;font-size:.8em;padding:2px 3px;border-radius:3px;cursor:default}.bts-log .bts-entry>.bts-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bts-log .bts-entry.placeholder.hidden{display:none}.bts-scopes{position:absolute;top:22px;left:190px;display:flex;flex-direction:row}.bts-scopes.hidden{display:none}.bts-scopes .bts-scope{border-radius:100%;width:25px;height:25px;font-size:14px;line-height:25px;text-align:center;background-color:var(--token-simulation-silver-darken-94,#efefef);margin-right:10px;cursor:pointer}.bts-scopes .bts-scope.inactive:hover{opacity:1}.bts-scopes .bts-scope.inactive{opacity:.25}.djs-container.highlight{background-color:var(--token-simulation-silver-base-97,#f8f8f8)}.bts-set-animation-speed{position:absolute;bottom:20px;left:50%;transform:translate(-50%);font-size:16px;text-align:center;background-color:var(--token-simulation-silver-darken-94,#efefef);border-radius:2px;display:flex;flex-direction:row;align-items:center;padding-left:6px;overflow:hidden}.bts-set-animation-speed.hidden{display:none}.bts-set-animation-speed .bts-animation-speed-buttons{display:flex;flex-direction:row;margin-left:6px}.bts-set-animation-speed .bts-animation-speed-button{padding:10px 0;width:30px;display:inline-flex;justify-content:center;border:none}.bts-set-animation-speed .bts-animation-speed-button.active,.bts-set-animation-speed .bts-animation-speed-button:hover{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.bts-icon{display:inline-flex;align-items:center;justify-content:center}.bts-icon>svg{height:1em}',""]),e.exports=t},a23c:function(e,t,n){var i=n("e263");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("152b2786",i,!0,{sourceMap:!1,shadowMode:!1})},a2df:function(e,t){e.exports=function(e){return null===e||void 0===e}},a2e5:function(e,t,n){var i=n("3f13");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("175f4c4c",i,!0,{sourceMap:!1,shadowMode:!1})},a452:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".bjsl-overlay{z-index:500}.bjsl-overlay:hover{z-index:1000}.bjsl-dropdown{display:none}.bjsl-dropdown.open,.bjsl-overlay:hover .bjsl-dropdown{display:block}.bjsl-issues{padding:8px;color:#444;font-family:Arial,sans-serif;font-size:12px;background:#fafafa;border:1px solid #ccc;border-radius:2px}.bjsl-icon{background:#fff;border-radius:100%;display:inline-block;height:20px;line-height:23px;text-align:center;width:20px}.bjsl-icon-error{background-color:#c30;color:#fff}.bjsl-icon-warning{background-color:#f7c71a;color:#fff}.bjsl-overlay{position:relative}.bjsl-issues-bottom-right .bjsl-dropdown-content,.bjsl-issues-top-right .bjsl-dropdown{top:0;left:0}.bjsl-issues-bottom-right .bjsl-dropdown,.bjsl-issues-top-right .bjsl-dropdown-content{bottom:0;left:0}.bjsl-issues-top-right .bjsl-dropdown-content{padding-bottom:5px}.bjsl-issues-bottom-right .bjsl-dropdown-content{padding-top:5px}.bjsl-dropdown-content{min-width:260px;position:absolute;height:-moz-fit-content;height:fit-content}.bjsl-dropdown{position:absolute}.bjsl-issues,.bjsl-issues ul{list-style:none;margin:0}.bjsl-issues ul{padding:0}.bjsl-issues li{display:flex;flex-direction:row}.bjsl-issues li:not(:first-child){margin-top:7px}.bjsl-issues .error svg{color:#c30}.bjsl-issues .warning svg{color:#f7c71a}.bjsl-issues a{color:#444;margin-left:8px}.bjsl-issues a,.bjsl-issues a:hover{text-decoration:none}.bjsl-button{border-radius:100px;position:absolute;bottom:20px;left:50%;transform:translate(-50%);background-color:#fafafa;padding:5px 10px;border:none;color:#ddd;display:flex;align-items:center;outline:none;font-weight:700}.bjsl-button-inactive:hover{color:#444}.bjsl-button svg{margin-top:-1px;margin-right:10px}.bjsl-button-success{background-color:#52b415;color:#fff}.bjsl-button-error{background-color:#c30;color:#fff}.bjsl-button-warning{background-color:#f7c71a;color:#fff}",""]),e.exports=t},a52d:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}",""]),e.exports=t},a59a:function(e,t,n){var i=n("fcfe");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("e12ae1d6",i,!0,{sourceMap:!1,shadowMode:!1})},ac97:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},acff:function(e,t,n){var i=n("3ffb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("2dbbf432",i,!0,{sourceMap:!1,shadowMode:!1})},ad2f:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}",""]),e.exports=t},adf0:function(e,t,n){var i=n("a52d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("fc7bcae8",i,!0,{sourceMap:!1,shadowMode:!1})},af67:function(e,t,n){var i=n("78b0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("1f104814",i,!0,{sourceMap:!1,shadowMode:!1})},afb9:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.quick-input-widget{position:absolute;width:600px;z-index:2550;left:50%;margin-left:-300px;-webkit-app-region:no-drag;border-radius:6px}.quick-input-titlebar{display:flex;align-items:center;border-top-left-radius:5px;border-top-right-radius:5px}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:50%;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:8px 6px 6px 6px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:25px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-message a{color:inherit}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{overflow:hidden;max-height:440px;padding-bottom:5px}.quick-input-list .monaco-scrollable-element{padding:0 5px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row{border-radius:3px}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label>span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:4px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px;margin-right:4px}.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}',""]),e.exports=t},b012:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}",""]),e.exports=t},b03b:function(e,t,n){e.exports=n.p+"img/bpmn.4424ace0.svg"},b042:function(e,t,n){var i=n("e4f5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3da601af",i,!0,{sourceMap:!1,shadowMode:!1})},b1cc:function(e,t,n){var i=n("53c2"),o=n("5f86"),r=n("ce75"),s=n("6024"),a=n("cfa0"),l=n("a0ff"),c=n("f767"),h=n("a452");t=i(!1),t.i(o),t.i(r),t.i(s),t.i(a),t.i(l),t.i(c),t.i(h),t.push([e.i,'.wf-design{outline:1px solid #e4e7ed}.wf-design,.wf-design .el-container{height:100%}.wf-design .el-container .el-header{height:50px!important;border-bottom:2px solid #e4e7ed}.wf-design .el-container .el-main{height:calc(100% - 52px);padding:0}.wf-design .el-container .el-main .modeler{height:100%;background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImEiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTBoNDBNMTAgMHY0ME0wIDIwaDQwTTIwIDB2NDBNMCAzMGg0ME0zMCAwdjQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlMGUwZTAiIG9wYWNpdHk9Ii4yIi8+PHBhdGggZD0iTTQwIDBIMHY0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIi8+PC9zdmc+") repeat!important}.wf-design .el-container .el-main .nodePrimary:not(.djs-connection) .djs-visual>:first-child{fill:#409eff!important}.wf-design .el-container .el-main .nodeSuccess:not(.djs-connection) .djs-visual>:first-child{fill:#67c23a!important}.wf-design .el-container .el-main .nodeWarn:not(.djs-connection) .djs-visual>:first-child{fill:#e6a23c!important}.wf-design .el-container .el-main .nodeError:not(.djs-connection) .djs-visual>:first-child{fill:#f56c6c!important}.wf-design .el-container .el-main .linePrimary:not(.djs-shape) .djs-visual :last-child{stroke:#409eff!important}.wf-design .el-container .el-main .lineSuccess:not(.djs-shape) .djs-visual :last-child{stroke:#67c23a!important}.wf-design .el-container .el-main .lineWarn:not(.djs-shape) .djs-visual :last-child{stroke:#e6a23c!important}.wf-design .el-container .el-main .lineError:not(.djs-shape) .djs-visual :last-child{stroke:#f56c6c!important}.wf-design .el-container .el-main .djs-element.hover .djs-outline,.wf-design .el-container .el-main .djs-element.selected .djs-outline{visibility:visible;shape-rendering:geometricPrecision;stroke-dasharray:3,3;stroke:var(--element-selected-outline-stroke-color);stroke-width:1px}.wf-design .el-container .el-aside{outline:1px solid #e4e7ed;height:100%;padding-top:10px}.wf-design .el-container .el-aside .el-tabs{height:100%}.wf-design .el-container .el-aside .el-tabs .el-tabs__header{margin:0;width:380px;background:#fff;z-index:1000;border-bottom:1px solid #e4e7ed}.wf-design .el-container .el-aside .el-tabs .el-tabs__content{height:calc(100% - 40px);overflow-y:scroll}.wf-design .el-container .el-aside .el-tabs .el-tabs__item{padding:0}.wf-design .el-container .el-aside .el-tabs .el-collapse .el-collapse-item__content{padding-bottom:10px}.wf-design .el-container .el-aside .el-select{width:100%}.wf-design__config--icon{width:48px;height:48px;font-size:30px;position:absolute;right:0;bottom:20%;display:flex;align-items:center;justify-content:center;border-radius:10px;cursor:pointer;background:#409eff;z-index:99}.wf-design__config--icon .modeler-sk{background:url("data:image/svg+xml;base64,3e68f5a6cc486e25451165f604ee6520")}.wf-design__config--icon i{color:#fff}.wf-design__config .el-drawer__body{padding:0 20px}.wf-design .djs-tooltip{font-size:13px;width:120px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wf-design .bjs-container .djs-palette{top:30px}.wf-drawer .el-drawer__body{overflow:hidden}.wf-drawer .wf-drawer__foot{width:100%;display:flex;justify-content:space-between;align-items:center;padding:0 20px;position:absolute;bottom:15px}.wf-drawer .wf-drawer__foot button{width:50%}',""]),e.exports=t},b3f9:function(e,t,n){var i=n("be5b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("65e46b62",i,!0,{sourceMap:!1,shadowMode:!1})},b400:function(e,t,n){var i=n("bba7");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("02378fc5",i,!0,{sourceMap:!1,shadowMode:!1})},b4fd:function(e,t,n){var i=n("6f9e"),o=n("ac97"),r=n("c401"),s=Object,a=i("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a(e,""):s(e)}:s},b609:function(e,t,n){var i=n("55ab"),o=n("ac97");e.exports=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b623:function(e,t,n){var i=n("9564"),o=n("8dcc"),r=TypeError;e.exports=function(e){if(i(e))return e;throw r(o(e)+" is not a function")}},b856:function(e,t,n){var i=n("b012");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("2d7da4a9",i,!0,{sourceMap:!1,shadowMode:!1})},b896:function(e,t,n){var i=n("55ab"),o=n("bf6f"),r=n("b609"),s=n("fbcf"),a=n("6b7e"),l=TypeError,c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,d="enumerable",u="configurable",p="writable";t.f=i?r?function(e,t,n){if(s(e),t=a(t),s(n),"function"===typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var i=h(e,t);i&&i[p]&&(e[t]=n.value,n={configurable:u in n?n[u]:i[u],enumerable:d in n?n[d]:i[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(s(e),t=a(t),s(n),o)try{return c(e,t,n)}catch(i){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ba52:function(e,t,n){var i=n("6f9e"),o=Error,r=i("".replace),s=function(e){return String(o(e).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(s);e.exports=function(e,t){if(l&&"string"==typeof e&&!o.prepareStackTrace)while(t--)e=r(e,a,"");return e}},ba88:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.hc-light .monaco-findInput.highlight-0 .controls,.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.hc-light .monaco-findInput.highlight-1 .controls,.monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:hsla(0,0%,100%,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:hsla(0,0%,100%,.44)}99%{background:transparent}}",""]),e.exports=t},bba7:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:auto}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:normal;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}',""]),e.exports=t},bd77:function(e,t,n){var i=n("c303");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},be5b:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".bpmn-tools[data-v-dea07c26]{display:flex;padding-top:10px;justify-content:space-between}",""]),e.exports=t},bf40:function(e,t,n){e.exports=n.p+"fonts/bpmn.07d959f3.woff"},bf6f:function(e,t,n){var i=n("55ab"),o=n("ac97"),r=n("f146");e.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},bf8d:function(e,t,n){"use strict";n("3971");t["a"]={props:{modeler:{type:Object,required:!0},element:{type:Object,default:()=>({})},nodes:{type:Array,default:()=>[]},formOption:{type:[Object,String],default:null},exFormOption:{type:[Object,String],default:null},indepFormOption:{type:[Object,String],default:null},userOption:{type:Object,default:null},groupOption:{type:Object,default:null},buttonOption:{type:Array,default:()=>[]},scriptOption:{type:Object,default:()=>{}},conditionOption:{type:Array,default:()=>[]}},computed:{backNodes(){const{id:e}=this.formData,t=this.nodes.findIndex(t=>t.id==e);return t>0&&!this.nodes.find(e=>"bpmn:Collaboration"==e.nodeType)?this.nodes.filter(e=>["bpmn:StartEvent","bpmn:UserTask"].includes(e.nodeType)):this.nodes}},data(){return{formData:{}}},watch:{element:{handler(e){if(0==Object.keys(e))return;const t={...e.businessObject,...e.businessObject.$attrs},n=t.documentation;n&&n.length>0&&(t.description=n[0].text),this.$set(this,"formData",t)},deep:!0,immediate:!0}},methods:{updateProperties(e){this.modeler.get("modeling").updateProperties(this.element,e)},updateDocumentation(e){if(e){const t=this.modeler.get("bpmnFactory").create("bpmn:Documentation",{text:e});this.updateProperties({documentation:[t]})}else this.updateProperties({documentation:[]})},updateFormalExpression(e,t){t=e&&t?this.modeler.get("bpmnFactory").create("bpmn:FormalExpression",{body:t}):void 0,this.updateProperties({[e]:t})},createElement(e,t){return e&&t?this.modeler.get("bpmnFactory").create(e,t):null},getRootElements(e){const t=this.modeler.get("canvas").getRootElement().businessObject.$parent.rootElements;return e?t.filter(t=>t.$type==e):t},getExtensionElementsEq(e){const t=[],{extensionElements:n}=this.element.businessObject;return n&&n.values&&n.values.length>0&&n.values.forEach(n=>{n.$type===e&&t.push(n)}),t},getExtensionElementsNotEq(e){const t=[],{extensionElements:n}=this.element.businessObject;return n&&n.values&&n.values.length>0&&n.values.forEach(n=>{n.$type!==e&&t.push(n)}),t},setExtensionElements(e,t){if(e&&t){const n=this.modeler.get("bpmnFactory");let i=[];t.forEach(t=>i.push(n.create(e,t))),i=this.getExtensionElementsNotEq(e).concat(i),this.updateProperties({extensionElements:n.create("bpmn:ExtensionElements",{values:i})})}},clearExtensionElements(e){let t=[];e&&e.forEach(e=>{const n=this.getExtensionElementsEq(e);n&&n.length>0&&(t=t.concat(n))});const n=this.modeler.get("bpmnFactory");this.updateProperties({extensionElements:t.length>0?n.create("bpmn:ExtensionElements",{values:t}):void 0})},getEventDefinitions(e){const{eventDefinitions:t}=this.element.businessObject;if(!e)return t;const n=[];return t&&t.length>0?(t.forEach(t=>{t.$type==e&&n.push(t)}),n):null},setEventDefinitions(e,t){if(e&&t){const n=this.modeler.get("bpmnFactory");let i=this.getEventDefinitions(e)||[];i=i&&i.length>0?{...i[0],...t}:{...t};for(let e in i)e.startsWith("$")&&delete i[e];this.updateProperties({eventDefinitions:[n.create(e,i)]})}}}}},c09a:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:hsla(0,0%,100%,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar{background:transparent}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:hsla(0,0%,67.1%,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active{background:none}.monaco-diff-editor .delete-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-editor .insert-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-diff-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.hc-black .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-editor.hc-light .insert-sign{opacity:1}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .arrow-revert-change{z-index:10;position:absolute}.monaco-editor .arrow-revert-change:hover{cursor:pointer}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}.monaco-diff-editor .char-insert,.monaco-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-diff-editor .line-insert,.monaco-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground,--vscode-diffEditor-insertedTextBackground)}.monaco-editor .char-insert,.monaco-editor .line-insert{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-insertedTextBorder)}.monaco-editor.hc-black .char-insert,.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .char-insert,.monaco-editor.hc-light .line-insert{border-style:dashed}.monaco-editor .char-delete,.monaco-editor .line-delete{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-removedTextBorder)}.monaco-editor.hc-black .char-delete,.monaco-editor.hc-black .line-delete,.monaco-editor.hc-light .char-delete,.monaco-editor.hc-light .line-delete{border-style:dashed}.monaco-diff-editor .gutter-insert,.monaco-editor .gutter-insert,.monaco-editor .inline-added-margin-view-zone{background-color:var(--vscode-diffEditorGutter-insertedLineBackground,--vscode-diffEditor-insertedLineBackground,--vscode-diffEditor-insertedTextBackground)}.monaco-diff-editor .char-delete,.monaco-editor .char-delete{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-diff-editor .line-delete,.monaco-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground,--vscode-diffEditor-removedTextBackground)}.monaco-diff-editor .gutter-delete,.monaco-editor .gutter-delete,.monaco-editor .inline-deleted-margin-view-zone{background-color:var(--vscode-diffEditorGutter-removedLineBackground,--vscode-diffEditor-removedLineBackground,--vscode-diffEditor-removedTextBackground)}.monaco-diff-editor.side-by-side .editor.modified{box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow);border-left:1px solid var(--vscode-diffEditor-border)}.monaco-diff-editor .diffViewport{background:var(--vscode-scrollbarSlider-background)}.monaco-diff-editor .diffViewport:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-diff-editor .diffViewport:active{background:var(--vscode-scrollbarSlider-activeBackground)}",""]),e.exports=t},c1ca:function(e,t,n){var i=n("6043"),o=n("6f9e"),r=n("f0f1"),s=n("0ef1"),a=n("fbcf"),l=o([].concat);e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=s.f;return n?l(t,n(e)):t}},c223:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return h})),n.d(t,"g",(function(){return d}));const i="undefined"!==typeof e;let o;class r{static wrap(t){return i&&!e.isBuffer(t)&&(t=e.from(t.buffer,t.byteOffset,t.byteLength)),new r(t)}constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return i?this.buffer.toString():(o||(o=new TextDecoder),o.decode(this.buffer))}}function s(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function a(e,t,n){e[n+0]=255&t,t>>>=8,e[n+1]=255&t}function l(e,t){return e[t]*Math.pow(2,24)+e[t+1]*Math.pow(2,16)+e[t+2]*Math.pow(2,8)+e[t+3]}function c(e,t,n){e[n+3]=t,t>>>=8,e[n+2]=t,t>>>=8,e[n+1]=t,t>>>=8,e[n]=t}function h(e,t){return e[t]}function d(e,t,n){e[n]=t}}).call(this,n("f20c").Buffer)},c303:function(e,t,n){var i=n("2c21"),o=n("ac97"),r=n("e244"),s=r.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},c401:function(e,t,n){var i=n("6f9e"),o=i({}.toString),r=i("".slice);e.exports=function(e){return r(o(e),8,-1)}},c673:function(e,t,n){var i=n("0874"),o=Object;e.exports=function(e){return o(i(e))}},c6b4:function(e,t,n){var i=n("6aad");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("9f17fb24",i,!0,{sourceMap:!1,shadowMode:!1})},c87c:function(e,t,n){"use strict";n("8a7d")},c87e:function(e,t,n){var i; /*! Hammer.JS - v2.0.7 - 2016-04-22 * http://hammerjs.github.io/ * * Copyright (c) 2016 Jorik Tangelder; - * Licensed under the MIT license */(function(o,r,s,a){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],h=r.createElement("div"),d="function",u=Math.round,p=Math.abs,g=Date.now;function m(e,t,n){return setTimeout(C(e,n),t)}function f(e,t,n){return!!Array.isArray(e)&&(v(e,n[t],n),!0)}function v(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==a){i=0;while(i\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=o.console&&(o.console.warn||o.console.log);return r&&r.call(o.console,i,n),e.apply(this,arguments)}}l="function"!==typeof Object.assign?function(e){if(e===a||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n-1}function L(e){return e.trim().split(/\s+/g)}function M(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);var i=0;while(in[t]})):i.sort()),i}function I(e,t){var n,i,o=t[0].toUpperCase()+t.slice(1),r=0;while(r1&&!n.firstMultiple?n.firstMultiple=ue(t):1===o&&(n.firstMultiple=!1);var r=n.firstInput,s=n.firstMultiple,a=s?s.center:r.center,l=t.center=pe(i);t.timeStamp=g(),t.deltaTime=t.timeStamp-r.timeStamp,t.angle=ve(a,l),t.distance=fe(a,l),he(n,t),t.offsetDirection=me(t.deltaX,t.deltaY);var c=ge(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=p(c.x)>p(c.y)?c.x:c.y,t.scale=s?ye(s.pointers,i):1,t.rotation=s?be(s.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,de(n,t);var h=e.element;D(t.srcEvent.target,h)&&(h=t.srcEvent.target),t.target=h}function he(e,t){var n=t.center,i=e.offsetDelta||{},o=e.prevDelta||{},r=e.prevInput||{};t.eventType!==K&&r.eventType!==Y||(o=e.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=o.x+(n.x-i.x),t.deltaY=o.y+(n.y-i.y)}function de(e,t){var n,i,o,r,s=e.lastInterval||t,l=t.timeStamp-s.timeStamp;if(t.eventType!=$&&(l>U||s.velocity===a)){var c=t.deltaX-s.deltaX,h=t.deltaY-s.deltaY,d=ge(l,c,h);i=d.x,o=d.y,n=p(d.x)>p(d.y)?d.x:d.y,r=me(c,h),e.lastInterval=t}else n=s.velocity,i=s.velocityX,o=s.velocityY,r=s.direction;t.velocity=n,t.velocityX=i,t.velocityY=o,t.direction=r}function ue(e){var t=[],n=0;while(n=p(t)?e<0?J:X:t<0?Z:ee}function fe(e,t,n){n||(n=oe);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(i*i+o*o)}function ve(e,t,n){n||(n=oe);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,i)/Math.PI}function be(e,t){return ve(t[1],t[0],re)+ve(e[1],e[0],re)}function ye(e,t){return fe(t[0],t[1],re)/fe(e[0],e[1],re)}se.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(P(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(P(this.element),this.evWin,this.domHandler)}};var _e={mousedown:K,mousemove:G,mouseup:Y},we="mousedown",Ce="mousemove mouseup";function Ae(){this.evEl=we,this.evWin=Ce,this.pressed=!1,se.apply(this,arguments)}w(Ae,se,{handler:function(e){var t=_e[e.type];t&K&&0===e.button&&(this.pressed=!0),t&G&&1!==e.which&&(t=Y),this.pressed&&(t&Y&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:j,srcEvent:e}))}});var Ee={pointerdown:K,pointermove:G,pointerup:Y,pointercancel:$,pointerout:$},xe={2:W,3:H,4:j,5:Q},Se="pointerdown",De="pointermove pointerup pointercancel";function ke(){this.evEl=Se,this.evWin=De,se.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(Se="MSPointerDown",De="MSPointerMove MSPointerUp MSPointerCancel"),w(ke,se,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),o=Ee[i],r=xe[e.pointerType]||e.pointerType,s=r==W,a=M(t,e.pointerId,"pointerId");o&K&&(0===e.button||s)?a<0&&(t.push(e),a=t.length-1):o&(Y|$)&&(n=!0),a<0||(t[a]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:r,srcEvent:e}),n&&t.splice(a,1))}});var Le={touchstart:K,touchmove:G,touchend:Y,touchcancel:$},Me="touchstart",Be="touchstart touchmove touchend touchcancel";function Ne(){this.evTarget=Me,this.evWin=Be,this.started=!1,se.apply(this,arguments)}function Ie(e,t){var n=B(e.touches),i=B(e.changedTouches);return t&(Y|$)&&(n=N(n.concat(i),"identifier",!0)),[n,i]}w(Ne,se,{handler:function(e){var t=Le[e.type];if(t===K&&(this.started=!0),this.started){var n=Ie.call(this,e,t);t&(Y|$)&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:W,srcEvent:e})}}});var Te={touchstart:K,touchmove:G,touchend:Y,touchcancel:$},Re="touchstart touchmove touchend touchcancel";function Pe(){this.evTarget=Re,this.targetIds={},se.apply(this,arguments)}function Fe(e,t){var n=B(e.touches),i=this.targetIds;if(t&(K|G)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,s=B(e.changedTouches),a=[],l=this.target;if(r=n.filter((function(e){return D(e.target,l)})),t===K){o=0;while(o-1&&i.splice(e,1)};setTimeout(o,Oe)}}function je(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function i(n){t.manager.emit(n,e)}n=rt&&i(t.options.event+ht(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=lt},canEmit:function(){var e=0;while(et.threshold&&o&t.direction},attrTest:function(e){return pt.prototype.attrTest.call(this,e)&&(this.state&it||!(this.state&it)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=dt(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),w(mt,pt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[$e]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&it)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),w(ft,ct,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ge]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distancet.time;if(this._input=e,!i||!n||e.eventType&(Y|$)&&!o)this.reset();else if(e.eventType&K)this.reset(),this._timer=m((function(){this.state=st,this.tryEmit()}),t.time,this);else if(e.eventType&Y)return st;return lt},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===st&&(e&&e.eventType&Y?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=g(),this.manager.emit(this.options.event,this._input)))}}),w(vt,pt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[$e]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&it)}}),w(bt,pt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:te|ne,pointers:1},getTouchAction:function(){return gt.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(te|ne)?t=e.overallVelocity:n&te?t=e.overallVelocityX:n&ne&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&p(t)>this.options.velocity&&e.eventType&Y},emit:function(e){var t=dt(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),w(yt,ct,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ye]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance.monaco-button-label{flex-basis:100%}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{flex-grow:1;width:0;overflow:hidden}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label,.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{display:flex;justify-content:center;align-items:center;font-weight:400;font-style:inherit;padding:4px 0}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator,.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{padding:4px 0;cursor:default}.monaco-button-dropdown .monaco-button-dropdown-separator>div{height:100%;width:1px}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{border:1px solid var(--vscode-button-border,transparent);border-left-width:0!important;border-radius:0 2px 2px 0}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-radius:2px 0 0 2px}.monaco-description-button{display:flex;flex-direction:column;align-items:center;margin:4px 5px}.monaco-description-button .monaco-button-description{font-style:italic;font-size:11px;padding:4px 20px}.monaco-description-button .monaco-button-description,.monaco-description-button .monaco-button-label{display:flex;justify-content:center;align-items:center}.monaco-description-button .monaco-button-description>.codicon,.monaco-description-button .monaco-button-label>.codicon{margin:0 .2em;color:inherit!important}",""]),e.exports=t},ca23:function(e,t,n){var i=n("9564"),o=n("eee7"),r=n("13a8");e.exports=function(e,t,n){var s,a;return r&&i(s=t.constructor)&&s!==n&&o(a=s.prototype)&&a!==n.prototype&&r(e,a),e}},cbe4:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-custom-toggle{margin-left:2px;float:left;cursor:pointer;overflow:hidden;width:20px;height:20px;border-radius:3px;border:1px solid transparent;padding:1px;box-sizing:border-box;-moz-user-select:none;user-select:none;-webkit-user-select:none}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle,.hc-light .monaco-custom-toggle:hover{background:none}.monaco-custom-toggle.monaco-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}",""]),e.exports=t},cc1a:function(e,t,n){var i=n("11e2");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("15ad24d4",i,!0,{sourceMap:!1,shadowMode:!1})},ce47:function(e,t,n){var i=n("409e"),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},ce75:function(e,t,n){var i=n("53c2"),o=n("a0c9"),r=n("7443"),s=n("d0e4"),a=n("bf40"),l=n("305c"),c=n("b03b");t=i(!1);var h=o(r),d=o(r,{hash:"#iefix"}),u=o(s),p=o(a),g=o(l),m=o(c,{hash:"#bpmn"});t.push([e.i,"@font-face{font-family:bpmn;src:url("+h+");src:url("+d+') format("embedded-opentype"),url('+u+') format("woff2"),url('+p+') format("woff"),url('+g+') format("truetype"),url('+m+') format("svg");font-weight:400;font-style:normal}[class*=" bpmn-icon-"]:before,[class^=bpmn-icon-]:before{font-family:bpmn;font-style:normal;font-weight:400;speak:never;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bpmn-icon-trash:before{content:"\\e801"}.bpmn-icon-gateway-parallel:before{content:"\\e804"}.bpmn-icon-intermediate-event-catch-cancel:before{content:"\\e805"}.bpmn-icon-intermediate-event-catch-non-interrupting-message:before{content:"\\e806"}.bpmn-icon-start-event-compensation:before{content:"\\e807"}.bpmn-icon-start-event-non-interrupting-parallel-multiple:before{content:"\\e808"}.bpmn-icon-loop-marker:before{content:"\\e809"}.bpmn-icon-parallel-mi-marker:before{content:"\\e80a"}.bpmn-icon-start-event-non-interrupting-signal:before{content:"\\e80b"}.bpmn-icon-intermediate-event-catch-non-interrupting-timer:before{content:"\\e80c"}.bpmn-icon-intermediate-event-catch-parallel-multiple:before{content:"\\e80d"}.bpmn-icon-intermediate-event-catch-compensation:before{content:"\\e80e"}.bpmn-icon-gateway-xor:before{content:"\\e80f"}.bpmn-icon-end-event-cancel:before{content:"\\e811"}.bpmn-icon-intermediate-event-catch-condition:before{content:"\\e812"}.bpmn-icon-intermediate-event-catch-non-interrupting-parallel-multiple:before{content:"\\e813"}.bpmn-icon-start-event-condition:before{content:"\\e814"}.bpmn-icon-start-event-non-interrupting-timer:before{content:"\\e815"}.bpmn-icon-sequential-mi-marker:before{content:"\\e816"}.bpmn-icon-user-task:before{content:"\\e817"}.bpmn-icon-business-rule:before{content:"\\e818"}.bpmn-icon-sub-process-marker:before{content:"\\e819"}.bpmn-icon-start-event-parallel-multiple:before{content:"\\e81a"}.bpmn-icon-start-event-error:before{content:"\\e81b"}.bpmn-icon-intermediate-event-catch-signal:before{content:"\\e81c"}.bpmn-icon-intermediate-event-catch-error:before{content:"\\e81d"}.bpmn-icon-end-event-compensation:before{content:"\\e81e"}.bpmn-icon-subprocess-collapsed:before{content:"\\e81f"}.bpmn-icon-subprocess-expanded:before{content:"\\e820"}.bpmn-icon-task:before{content:"\\e821"}.bpmn-icon-end-event-error:before{content:"\\e822"}.bpmn-icon-intermediate-event-catch-escalation:before{content:"\\e823"}.bpmn-icon-intermediate-event-catch-timer:before{content:"\\e824"}.bpmn-icon-start-event-escalation:before{content:"\\e825"}.bpmn-icon-start-event-signal:before{content:"\\e826"}.bpmn-icon-business-rule-task:before{content:"\\e827"}.bpmn-icon-manual:before{content:"\\e828"}.bpmn-icon-receive:before{content:"\\e829"}.bpmn-icon-call-activity:before{content:"\\e82a"}.bpmn-icon-start-event-timer:before{content:"\\e82b"}.bpmn-icon-start-event-message:before{content:"\\e82c"}.bpmn-icon-intermediate-event-none:before{content:"\\e82d"}.bpmn-icon-intermediate-event-catch-link:before{content:"\\e82e"}.bpmn-icon-end-event-escalation:before{content:"\\e82f"}.bpmn-icon-bpmn-io:before{content:"\\e831"}.bpmn-icon-gateway-complex:before{content:"\\e832"}.bpmn-icon-gateway-eventbased:before{content:"\\e833"}.bpmn-icon-gateway-none:before{content:"\\e834"}.bpmn-icon-gateway-or:before{content:"\\e835"}.bpmn-icon-end-event-terminate:before{content:"\\e836"}.bpmn-icon-end-event-signal:before{content:"\\e837"}.bpmn-icon-end-event-none:before{content:"\\e838"}.bpmn-icon-end-event-multiple:before{content:"\\e839"}.bpmn-icon-end-event-message:before{content:"\\e83a"}.bpmn-icon-end-event-link:before{content:"\\e83b"}.bpmn-icon-intermediate-event-catch-message:before{content:"\\e83c"}.bpmn-icon-intermediate-event-throw-compensation:before{content:"\\e83d"}.bpmn-icon-start-event-multiple:before{content:"\\e83e"}.bpmn-icon-script:before{content:"\\e83f"}.bpmn-icon-manual-task:before{content:"\\e840"}.bpmn-icon-send:before{content:"\\e841"}.bpmn-icon-service:before{content:"\\e842"}.bpmn-icon-receive-task:before{content:"\\e843"}.bpmn-icon-user:before{content:"\\e844"}.bpmn-icon-start-event-none:before{content:"\\e845"}.bpmn-icon-intermediate-event-throw-escalation:before{content:"\\e846"}.bpmn-icon-intermediate-event-catch-multiple:before{content:"\\e847"}.bpmn-icon-intermediate-event-catch-non-interrupting-escalation:before{content:"\\e848"}.bpmn-icon-intermediate-event-throw-link:before{content:"\\e849"}.bpmn-icon-start-event-non-interrupting-condition:before{content:"\\e84a"}.bpmn-icon-data-object:before{content:"\\e84b"}.bpmn-icon-script-task:before{content:"\\e84c"}.bpmn-icon-send-task:before{content:"\\e84d"}.bpmn-icon-data-store:before{content:"\\e84e"}.bpmn-icon-start-event-non-interrupting-escalation:before{content:"\\e84f"}.bpmn-icon-intermediate-event-throw-message:before{content:"\\e850"}.bpmn-icon-intermediate-event-catch-non-interrupting-multiple:before{content:"\\e851"}.bpmn-icon-intermediate-event-catch-non-interrupting-signal:before{content:"\\e852"}.bpmn-icon-intermediate-event-throw-multiple:before{content:"\\e853"}.bpmn-icon-start-event-non-interrupting-message:before{content:"\\e854"}.bpmn-icon-ad-hoc-marker:before{content:"\\e855"}.bpmn-icon-service-task:before{content:"\\e856"}.bpmn-icon-task-none:before{content:"\\e857"}.bpmn-icon-compensation-marker:before{content:"\\e858"}.bpmn-icon-start-event-non-interrupting-multiple:before{content:"\\e859"}.bpmn-icon-intermediate-event-throw-signal:before{content:"\\e85a"}.bpmn-icon-intermediate-event-catch-non-interrupting-condition:before{content:"\\e85b"}.bpmn-icon-participant:before{content:"\\e85c"}.bpmn-icon-event-subprocess-expanded:before{content:"\\e85d"}.bpmn-icon-lane-insert-below:before{content:"\\e85e"}.bpmn-icon-space-tool:before{content:"\\e85f"}.bpmn-icon-connection-multi:before{content:"\\e860"}.bpmn-icon-lane:before{content:"\\e861"}.bpmn-icon-lasso-tool:before{content:"\\e862"}.bpmn-icon-lane-insert-above:before{content:"\\e863"}.bpmn-icon-lane-divide-three:before{content:"\\e864"}.bpmn-icon-lane-divide-two:before{content:"\\e865"}.bpmn-icon-data-input:before{content:"\\e866"}.bpmn-icon-data-output:before{content:"\\e867"}.bpmn-icon-hand-tool:before{content:"\\e868"}.bpmn-icon-group:before{content:"\\e869"}.bpmn-icon-text-annotation:before{content:"\\e86b"}.bpmn-icon-transaction:before{content:"\\e8c4"}.bpmn-icon-screw-wrench:before{content:"\\e8db"}.bpmn-icon-connection:before{content:"\\e8dc"}.bpmn-icon-conditional-flow:before{content:"\\e8e0"}.bpmn-icon-default-flow:before{content:"\\e8e1"}',""]),e.exports=t},cf9a:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("3971"),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__),wf_mixins_bpmn__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("bf8d"),wf_mixins_locale__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("6b5e"),_assignee_user_select_vue__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("f9ae");__webpack_exports__["a"]={name:"wf-form",mixins:[wf_mixins_bpmn__WEBPACK_IMPORTED_MODULE_1__["a"],wf_mixins_locale__WEBPACK_IMPORTED_MODULE_2__["a"]],components:{UserSelect:_assignee_user_select_vue__WEBPACK_IMPORTED_MODULE_3__["a"]},computed:{userUrl(){return this.userOption.userUrl},customOption(){return this.userOption.customOption},indepFormList(){return this.formOption.list||[]}},data(){return{extensionType:"flowable:FormProperty",form:{},column:[],align:"center",mode:"",defaultChecked:"",copyExtensionType:"flowable:CopyUser",indepOption:{menuBtn:!1,size:"mini",column:[{prop:"indepFormSummary",label:"汇总表单",labelTip:"1、系统会自动汇总当前节点之前/选择的所有表单,并且表单只读。
      2、因avue限制,表单请不要使用group!并确保所有表单字段的prop唯一。
      3、请确保当前节点之前的表单配置正确。",span:24,type:"radio",dicData:[{label:"是",value:"1"},{label:"否",value:"0"}],value:"0",change:({value:e})=>{if(!e)return;const t=this.findObject(this.indepOption.column,"indepSummaryNode");-1!=t&&("1"==e?(t.display=!0,t.dicData=this.nodes):t.display=!1,this.handleUpdateProperties("indepFormSummary",e))},display:!0},{prop:"indepSummaryNode",label:"汇总节点",type:"select",span:24,placeholder:"不选择则表示之前所有节点",multiple:!0,dicData:[],props:{label:"name",value:"id"},display:!0,change:({value:e})=>{e&&0!=e.length&&this.handleUpdateProperties("indepSummaryNode",e.join(","))}},{prop:"indepFormKey",label:"表单key",dicData:[],props:{label:"name",value:"formKey"},type:"select",span:24,change:({value:e,column:t})=>{if(this.indepOption.init)if(e){const n=t.dicData.find(t=>t.formKey==e);n&&(this.handleUpdateProperties("indepFormKey",e),this.resolveColumn(this.getAvueColumn(n.content)))}else this.handleUpdateProperties("indepFormKey",void 0),this.resolveColumn([])},display:!0}]},readableCheckAll:!0,writableCheckAll:!0}},watch:{formData:{handler(e){let{hideAttachment:t,hideCopy:n,hideExamine:i,exFormKey:o,exFormUrl:r,exAppFormUrl:s,indepFormKey:a,indepFormSummary:l,indepSummaryNode:c}=e;if("bpmn:UserTask"==this.element.type)t=!!t&&JSON.parse(t),n=!!n&&JSON.parse(n),i=!!i&&JSON.parse(i);else if("bpmn:StartEvent"==this.element.type){const e=this.getExtensionElementsEq("flowable:HideCopy");n=!!(e&&e.length>0)&&JSON.parse(e[0].value);const t=this.getExtensionElementsEq("flowable:HideExamine");i=!!(t&&t.length>0)&&JSON.parse(t[0].value);const l=this.getExtensionElementsEq("flowable:ExFormKey");l&&l.length>0&&(o=l[0].value);const c=this.getExtensionElementsEq("flowable:ExFormUrl");c&&c.length>0&&(r=c[0].value);const h=this.getExtensionElementsEq("flowable:ExAppFormUrl");h&&h.length>0&&(s=h[0].value);const d=this.getExtensionElementsEq("flowable:IndepFormKey");d&&d.length>0&&(a=d[0].value)}this.$set(this.form,"hideAttachment",t),this.$set(this.form,"hideCopy",n),this.$set(this.form,"hideExamine",i);const h=this.getExtensionElementsEq(this.copyExtensionType);if(h&&h.length>0){const e=[],t=[];h.forEach(n=>{e.push(n.value),t.push(n.text)}),this.$set(this.form,"copyUser",e.join(",")),this.$set(this.form,"$copyUser",t.join(","))}else this.$delete(this.form,"copyUser"),this.$delete(this.form,"$copyUser");let d=[];if(this.formOption)d=this.getAvueColumn(this.formOption),this.handleUpdateProperties("exFormKey",void 0),this.handleUpdateProperties("exFormUrl",void 0),this.handleUpdateProperties("exAppFormUrl",void 0),this.handleUpdateProperties("indepFormKey",void 0),this.resolveColumn(d);else if(this.exFormOption){const e=this.exFormOption.column,t=this.getExtensionElementsEq(this.extensionType);d=t&&t.length>0?t.map(e=>({label:e.name,prop:e.id,readable:Boolean(e.readable),writable:Boolean(e.writable)})):e&&e.length>0?this.getAvueColumn(this.exFormOption):[],o=this.exFormOption.exFormKey||o||"",r=this.exFormOption.exFormUrl||r||"",s=this.exFormOption.exAppFormUrl||s||"",this.$set(this.form,"exFormKey",o),this.$set(this.form,"exFormUrl",r),this.$set(this.form,"exAppFormUrl",s),this.$set(this,"mode","ex-form"),this.handleUpdateProperties("exFormKey",o),this.handleUpdateProperties("exFormUrl",r),this.handleUpdateProperties("exAppFormUrl",s),this.handleUpdateProperties("indepFormKey",void 0),this.resolveColumn(d)}else if(this.indepFormOption){this.indepOption.init=!1,this.handleUpdateProperties("exFormKey",void 0),this.handleUpdateProperties("exFormUrl",void 0),this.handleUpdateProperties("exAppFormUrl",void 0);const{list:e}=this.indepFormOption;if(this.findObject(this.indepOption.column,"indepFormKey").dicData=e,this.$set(this,"mode","indep"),a){const t=e.find(e=>e.formKey==a);t&&this.resolveColumn(this.getAvueColumn(t.content)),this.$set(this.form,"indepFormKey",a)}else this.resolveColumn([]),this.$delete(this.form,"indepFormKey");if(l){this.$set(this.form,"indepFormSummary",l);const e=this.findObject(this.indepOption.column,"indepSummaryNode");-1!=e&&(e.dicData=this.nodes)}else this.$set(this.form,"indepFormSummary","0");c?this.$set(this.form,"indepSummaryNode",c.split(",")):this.$set(this.form,"indepSummaryNode",[]),this.$nextTick(()=>{this.indepOption.init=!0,"bpmn:StartEvent"==this.element.type&&(this.findObject(this.indepOption.column,"indepFormSummary").display=!1,this.findObject(this.indepOption.column,"indepSummaryNode").display=!1)})}},deep:!0,immediate:!0}},methods:{handleCheckChange(){const e=[],t=[],n=[],i=[];this.column.forEach(o=>{const{prop:r,label:s,readable:a,writable:l,children:c}=o;e.push({id:r,name:s,readable:a,writable:l}),a&&t.push(o),l&&n.push(o),i.push(o),c&&c.length>0&&c.forEach(o=>{e.push({id:o.prop,name:o.label,readable:o.readable,writable:o.writable}),o.readable&&t.push(o),o.writable&&n.push(o),i.push(o)})}),this.setExtensionElements(this.extensionType,e),t.length==i.length?this.$set(this,"readableCheckAll",!0):this.$set(this,"readableCheckAll",!1),n.length==i.length?this.$set(this,"writableCheckAll",!0):this.$set(this,"writableCheckAll",!1)},resolveColumn(e=[]){let{extensionElements:t}=this.formData;const n=[],i=[],o=[],r=[];if(e.length>0)if(t&&t.values&&t.values.length>0){const t=this.getExtensionElementsEq(this.extensionType);e.forEach(e=>{let s=t.find(t=>t.id==e.prop);if(s){const{readable:t,writable:n}=s;e.readable=JSON.parse(t),e.writable=JSON.parse(n)}const{prop:a,label:l,readable:c,writable:h,children:d}=e;n.push({id:a,name:l,readable:c,writable:h}),c&&i.push(e),h&&o.push(e),r.push(e),d&&d.length>0&&d.forEach(e=>{if(this.align="left",s=t.find(t=>t.id==e.prop),s){const{readable:t,writable:n}=s;e.readable=JSON.parse(t),e.writable=JSON.parse(n)}n.push({id:e.prop,name:e.label,readable:e.readable,writable:e.writable}),c&&i.push(e),h&&o.push(e),r.push(e)})})}else e.forEach(e=>{const{prop:t,label:s,readable:a,writable:l,children:c}=e;n.push({id:t,name:s,readable:a,writable:l}),a&&i.push(e),l&&o.push(e),r.push(e),c&&c.length>0&&(this.align="left",c.forEach(e=>{n.push({id:e.prop,name:e.label,readable:e.readable,writable:e.writable}),e.readable&&i.push(e),e.writable&&o.push(e),r.push(e)}))});this.setExtensionElements(this.extensionType,n),this.$set(this,"column",e),i.length==r.length?this.$set(this,"readableCheckAll",!0):this.$set(this,"readableCheckAll",!1),o.length==r.length?this.$set(this,"writableCheckAll",!0):this.$set(this,"writableCheckAll",!1)},getAvueColumn(option){const column=[];return option?("string"==typeof option&&(option=eval("("+option+")")),option.column&&option.column.length>0&&option.column.forEach(e=>{const{label:t,prop:n,type:i}=e,o={label:t,prop:n,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())},r=[];"dynamic"==i?e.children.column.forEach(e=>{r.push({label:e.label,prop:e.prop,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())})}):e.params&&e.params.children&&e.params.children.column&&e.params.children.column.length>0&&e.params.children.column.forEach(e=>{r.push({label:e.label,prop:e.prop,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())})}),r.length>0&&(o.children=r),column.push(o)}),option.group&&option.group.length>0&&option.group.forEach(e=>{e.column&&e.column.length>0&&e.column.forEach(e=>{const{label:t,prop:n,type:i}=e,o={label:t,prop:n,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())},r=[];"dynamic"==i?e.children.column.forEach(e=>{r.push({label:e.label,prop:e.prop,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())})}):e.params&&e.params.children&&e.params.children.column&&e.params.children.column.length>0&&e.params.children.column.forEach(e=>{r.push({label:e.label,prop:e.prop,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())})}),r.length>0&&(o.children=r),column.push(o)})}),column):column},handleUpdateProperties(e,t){"bpmn:UserTask"==this.element.type?this.updateProperties({[e]:t||void 0}):this.setExtensionElements("flowable:"+e.replace(e[0],e[0].toUpperCase()),t?[{value:t+""}]:[])},handleUserSelect(){this.defaultChecked=this.form.copyUser,this.$refs["user-select"].visible=!0},handleUserSelectConfirm(e,t){const n=[];e.split(",").forEach((e,i)=>{n.push({value:e,text:t.split(",")[i]})}),this.setExtensionElements(this.copyExtensionType,n),this.$set(this.form,"copyUser",e),this.$set(this.form,"$copyUser",t)},handleUserClear(){this.setExtensionElements(this.copyExtensionType,[]),this.$delete(this.form,"copyUser"),this.$delete(this.form,"$copyUser")},handleCheckAll(e,t){this.column.forEach(n=>{n[t]=e,n.children&&n.children.length>0&&n.children.forEach(n=>n[t]=e)}),this.handleCheckChange()}}}},cfa0:function(e,t,n){var i=n("53c2"),o=n("a0c9"),r=n("c88e"),s=n("7170");t=i(!1);var a=o(r),l=o(r,{hash:"#iefix"}),c=o(s,{hash:"#bpmn"});t.push([e.i,"@font-face{font-family:bpmn;src:url("+a+");src:url("+l+') format("embedded-opentype"),url('+c+') format("svg");font-weight:400;font-style:normal}@font-face{font-family:bpmn;src:url("data:application/octet-stream;base64,d09GRgABAAAAAD6EAAsAAAAAukAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAARAAAAGA+JEs0Y21hcAAAAYgAAAJyAAAHdFN1l/hnbHlmAAAD/AAANDcAAKHsuTD6FGhlYWQAADg0AAAAMAAAADYjByJvaGhlYQAAOGQAAAAbAAAAJAc8A79obXR4AAA4gAAAABEAAAGwpeAAAGxvY2EAADiUAAAA2gAAANrvU9ESbWF4cAAAOXAAAAAfAAAAIAGWBHZuYW1lAAA5kAAAAVIAAAI9ejh1lXBvc3QAADrkAAADngAACigQ+Ny7eJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGF+wTiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgOvGB88ZA56H8WQxTzGoZpQGFGFEVMAL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D8AAAA7AADoQAAA6EAAAAA8AADoQQAA6EEAAAA9AADoQgAA6EIAAAA+AADoQwAA6EMAAAA/AADoRAAA6EQAAABAAADoRQAA6EUAAABBAADoRgAA6EYAAABCAADoRwAA6EcAAABDAADoSAAA6EgAAABEAADoSQAA6EkAAABFAADoSgAA6EoAAABGAADoSwAA6EsAAABHAADoTAAA6EwAAABIAADoTQAA6E0AAABJAADoTgAA6E4AAABKAADoTwAA6E8AAABLAADoUAAA6FAAAABMAADoUQAA6FEAAABNAADoUgAA6FIAAABOAADoUwAA6FMAAABPAADoVAAA6FQAAABQAADoVQAA6FUAAABRAADoVgAA6FYAAABSAADoVwAA6FcAAABTAADoWAAA6FgAAABUAADoWQAA6FkAAABVAADoWgAA6FoAAABWAADoWwAA6FsAAABXAADoXAAA6FwAAABYAADoXQAA6F0AAABZAADoXgAA6F4AAABaAADoXwAA6F8AAABbAADoYAAA6GAAAABcAADoYQAA6GEAAABdAADoYgAA6GIAAABeAADoYwAA6GMAAABfAADoZAAA6GQAAABgAADoZQAA6GUAAABhAADoZgAA6GYAAABiAADoZwAA6GcAAABjAADoaAAA6GgAAABkAADoaQAA6GkAAABlAADoawAA6GsAAABmAADoxAAA6MQAAABnAADo2wAA6NsAAABoAADo3AAA6NwAAABpAADo4AAA6OAAAABqAADo4QAA6OEAAABrAAAAAAB+AOIBvgbaB0oKcArECt4L0BEmEd4SlhMAE3wUSBlsGdYdKh1EHh4eRB5qHtofTB/4ILYhGiF0IcQiAiJoIywkHiSYJPolXCY+JlwmlCckJ5YoMijkKUwpjCoqKmoqlirqK2QrwCwULHYs3i0+Lfguoi8QL6QwojC6MZox7jKeMvIzoDRWNeI2iDm4Odw6nDroO6Q8kD0+PrxAMEDaQb5CDEMeQ1xDqESGRShKVkpwS6ZL7kwWTERMWkyaTOJNPE12TahN0E8iT7hP6lBUUIpQsFDaUPYAAAAFAAD/wAM7AucAGwAsADEAQABNAAABBiIHDgEdAQcOARYzITI2Ji8BNTQmJyYjIicjB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dGUtZXZlbnQtdGhyb3ctbXVsdGlwbGUkc3RhcnQtZXZlbnQtbm9uLWludGVycnVwdGluZy1tZXNzYWdlDWFkLWhvYy1tYXJrZXIMc2VydmljZS10YXNrCXRhc2stbm9uZRNjb21wZW5zYXRpb24tbWFya2VyJXN0YXJ0LWV2ZW50LW5vbi1pbnRlcnJ1cHRpbmctbXVsdGlwbGUfaW50ZXJtZWRpYXRlLWV2ZW50LXRocm93LXNpZ25hbDNpbnRlcm1lZGlhdGUtZXZlbnQtY2F0Y2gtbm9uLWludGVycnVwdGluZy1jb25kaXRpb24LcGFydGljaXBhbnQZZXZlbnQtc3VicHJvY2Vzcy1leHBhbmRlZBFsYW5lLWluc2VydC1iZWxvdwpzcGFjZS10b29sEGNvbm5lY3Rpb24tbXVsdGkEbGFuZQpsYXNzby10b29sEWxhbmUtaW5zZXJ0LWFib3ZlEWxhbmUtZGl2aWRlLXRocmVlD2xhbmUtZGl2aWRlLXR3bwpkYXRhLWlucHV0C2RhdGEtb3V0cHV0CWhhbmQtdG9vbAVncm91cA90ZXh0LWFubm90YXRpb24LdHJhbnNhY3Rpb24Mc2NyZXctd3JlbmNoCmNvbm5lY3Rpb24QY29uZGl0aW9uYWwtZmxvdwxkZWZhdWx0LWZsb3cAAA==") format("truetype")}[class*=" bpmn-icon-"]:before,[class^=bpmn-icon-]:before{font-family:bpmn;font-style:normal;font-weight:400;speak:never;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bpmn-icon-trash:before{content:"\\e801"}.bpmn-icon-gateway-parallel:before{content:"\\e804"}.bpmn-icon-intermediate-event-catch-cancel:before{content:"\\e805"}.bpmn-icon-intermediate-event-catch-non-interrupting-message:before{content:"\\e806"}.bpmn-icon-start-event-compensation:before{content:"\\e807"}.bpmn-icon-start-event-non-interrupting-parallel-multiple:before{content:"\\e808"}.bpmn-icon-loop-marker:before{content:"\\e809"}.bpmn-icon-parallel-mi-marker:before{content:"\\e80a"}.bpmn-icon-start-event-non-interrupting-signal:before{content:"\\e80b"}.bpmn-icon-intermediate-event-catch-non-interrupting-timer:before{content:"\\e80c"}.bpmn-icon-intermediate-event-catch-parallel-multiple:before{content:"\\e80d"}.bpmn-icon-intermediate-event-catch-compensation:before{content:"\\e80e"}.bpmn-icon-gateway-xor:before{content:"\\e80f"}.bpmn-icon-end-event-cancel:before{content:"\\e811"}.bpmn-icon-intermediate-event-catch-condition:before{content:"\\e812"}.bpmn-icon-intermediate-event-catch-non-interrupting-parallel-multiple:before{content:"\\e813"}.bpmn-icon-start-event-condition:before{content:"\\e814"}.bpmn-icon-start-event-non-interrupting-timer:before{content:"\\e815"}.bpmn-icon-sequential-mi-marker:before{content:"\\e816"}.bpmn-icon-user-task:before{content:"\\e817"}.bpmn-icon-business-rule:before{content:"\\e818"}.bpmn-icon-sub-process-marker:before{content:"\\e819"}.bpmn-icon-start-event-parallel-multiple:before{content:"\\e81a"}.bpmn-icon-start-event-error:before{content:"\\e81b"}.bpmn-icon-intermediate-event-catch-signal:before{content:"\\e81c"}.bpmn-icon-intermediate-event-catch-error:before{content:"\\e81d"}.bpmn-icon-end-event-compensation:before{content:"\\e81e"}.bpmn-icon-subprocess-collapsed:before{content:"\\e81f"}.bpmn-icon-subprocess-expanded:before{content:"\\e820"}.bpmn-icon-task:before{content:"\\e821"}.bpmn-icon-end-event-error:before{content:"\\e822"}.bpmn-icon-intermediate-event-catch-escalation:before{content:"\\e823"}.bpmn-icon-intermediate-event-catch-timer:before{content:"\\e824"}.bpmn-icon-start-event-escalation:before{content:"\\e825"}.bpmn-icon-start-event-signal:before{content:"\\e826"}.bpmn-icon-business-rule-task:before{content:"\\e827"}.bpmn-icon-manual:before{content:"\\e828"}.bpmn-icon-receive:before{content:"\\e829"}.bpmn-icon-call-activity:before{content:"\\e82a"}.bpmn-icon-start-event-timer:before{content:"\\e82b"}.bpmn-icon-start-event-message:before{content:"\\e82c"}.bpmn-icon-intermediate-event-none:before{content:"\\e82d"}.bpmn-icon-intermediate-event-catch-link:before{content:"\\e82e"}.bpmn-icon-end-event-escalation:before{content:"\\e82f"}.bpmn-icon-bpmn-io:before{content:"\\e831"}.bpmn-icon-gateway-complex:before{content:"\\e832"}.bpmn-icon-gateway-eventbased:before{content:"\\e833"}.bpmn-icon-gateway-none:before{content:"\\e834"}.bpmn-icon-gateway-or:before{content:"\\e835"}.bpmn-icon-end-event-terminate:before{content:"\\e836"}.bpmn-icon-end-event-signal:before{content:"\\e837"}.bpmn-icon-end-event-none:before{content:"\\e838"}.bpmn-icon-end-event-multiple:before{content:"\\e839"}.bpmn-icon-end-event-message:before{content:"\\e83a"}.bpmn-icon-end-event-link:before{content:"\\e83b"}.bpmn-icon-intermediate-event-catch-message:before{content:"\\e83c"}.bpmn-icon-intermediate-event-throw-compensation:before{content:"\\e83d"}.bpmn-icon-start-event-multiple:before{content:"\\e83e"}.bpmn-icon-script:before{content:"\\e83f"}.bpmn-icon-manual-task:before{content:"\\e840"}.bpmn-icon-send:before{content:"\\e841"}.bpmn-icon-service:before{content:"\\e842"}.bpmn-icon-receive-task:before{content:"\\e843"}.bpmn-icon-user:before{content:"\\e844"}.bpmn-icon-start-event-none:before{content:"\\e845"}.bpmn-icon-intermediate-event-throw-escalation:before{content:"\\e846"}.bpmn-icon-intermediate-event-catch-multiple:before{content:"\\e847"}.bpmn-icon-intermediate-event-catch-non-interrupting-escalation:before{content:"\\e848"}.bpmn-icon-intermediate-event-throw-link:before{content:"\\e849"}.bpmn-icon-start-event-non-interrupting-condition:before{content:"\\e84a"}.bpmn-icon-data-object:before{content:"\\e84b"}.bpmn-icon-script-task:before{content:"\\e84c"}.bpmn-icon-send-task:before{content:"\\e84d"}.bpmn-icon-data-store:before{content:"\\e84e"}.bpmn-icon-start-event-non-interrupting-escalation:before{content:"\\e84f"}.bpmn-icon-intermediate-event-throw-message:before{content:"\\e850"}.bpmn-icon-intermediate-event-catch-non-interrupting-multiple:before{content:"\\e851"}.bpmn-icon-intermediate-event-catch-non-interrupting-signal:before{content:"\\e852"}.bpmn-icon-intermediate-event-throw-multiple:before{content:"\\e853"}.bpmn-icon-start-event-non-interrupting-message:before{content:"\\e854"}.bpmn-icon-ad-hoc-marker:before{content:"\\e855"}.bpmn-icon-service-task:before{content:"\\e856"}.bpmn-icon-task-none:before{content:"\\e857"}.bpmn-icon-compensation-marker:before{content:"\\e858"}.bpmn-icon-start-event-non-interrupting-multiple:before{content:"\\e859"}.bpmn-icon-intermediate-event-throw-signal:before{content:"\\e85a"}.bpmn-icon-intermediate-event-catch-non-interrupting-condition:before{content:"\\e85b"}.bpmn-icon-participant:before{content:"\\e85c"}.bpmn-icon-event-subprocess-expanded:before{content:"\\e85d"}.bpmn-icon-lane-insert-below:before{content:"\\e85e"}.bpmn-icon-space-tool:before{content:"\\e85f"}.bpmn-icon-connection-multi:before{content:"\\e860"}.bpmn-icon-lane:before{content:"\\e861"}.bpmn-icon-lasso-tool:before{content:"\\e862"}.bpmn-icon-lane-insert-above:before{content:"\\e863"}.bpmn-icon-lane-divide-three:before{content:"\\e864"}.bpmn-icon-lane-divide-two:before{content:"\\e865"}.bpmn-icon-data-input:before{content:"\\e866"}.bpmn-icon-data-output:before{content:"\\e867"}.bpmn-icon-hand-tool:before{content:"\\e868"}.bpmn-icon-group:before{content:"\\e869"}.bpmn-icon-text-annotation:before{content:"\\e86b"}.bpmn-icon-transaction:before{content:"\\e8c4"}.bpmn-icon-screw-wrench:before{content:"\\e8db"}.bpmn-icon-connection:before{content:"\\e8dc"}.bpmn-icon-conditional-flow:before{content:"\\e8e0"}.bpmn-icon-default-flow:before{content:"\\e8e1"}',""]),e.exports=t},cfad:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?i:n)(t)}},d0e4:function(e,t,n){e.exports=n.p+"fonts/bpmn.e3653fcb.woff2"},d2a1:function(e,t,n){var i=n("83ec"),o=n("e244"),r=n("82a4"),s=n("3abc"),a="WebAssembly",l=o[a],c=7!==Error("e",{cause:7}).cause,h=function(e,t){var n={};n[e]=s(e,t,c),i({global:!0,constructor:!0,arity:1,forced:c},n)},d=function(e,t){if(l&&l[e]){var n={};n[e]=s(a+"."+e,t,c),i({target:a,stat:!0,constructor:!0,arity:1,forced:c},n)}};h("Error",(function(e){return function(t){return r(e,this,arguments)}})),h("EvalError",(function(e){return function(t){return r(e,this,arguments)}})),h("RangeError",(function(e){return function(t){return r(e,this,arguments)}})),h("ReferenceError",(function(e){return function(t){return r(e,this,arguments)}})),h("SyntaxError",(function(e){return function(t){return r(e,this,arguments)}})),h("TypeError",(function(e){return function(t){return r(e,this,arguments)}})),h("URIError",(function(e){return function(t){return r(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return r(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return r(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return r(e,this,arguments)}}))},d53b:function(e,t,n){var i=n("6965"),o=n("9564"),r=n("c401"),s=n("1810"),a=s("toStringTag"),l=Object,c="Arguments"==r(function(){return arguments}()),h=function(e,t){try{return e[t]}catch(n){}};e.exports=i?r:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=h(t=l(e),a))?n:c?r(t):"Object"==(i=r(t))&&o(t.callee)?"Arguments":i}},d557:function(e,t,n){var i=n("312a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3cf09572",i,!0,{sourceMap:!1,shadowMode:!1})},d8c2:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:50%;background-repeat:no-repeat}",""]),e.exports=t},d8ce:function(e,t,n){var i=n("f804");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("79d262f6",i,!0,{sourceMap:!1,shadowMode:!1})},db4c:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));let i="undefined"!==typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function o(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,n)=>{const i=n[0],o=t[i];let r=e;return"string"===typeof o?r=o:"number"!==typeof o&&"boolean"!==typeof o&&void 0!==o&&null!==o||(r=String(o)),r}),i&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function r(e,t,...n){return o(t,n)}function s(e){}},dc75:function(e,t,n){var i=n("afb9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("0f5cdfee",i,!0,{sourceMap:!1,shadowMode:!1})},df3c:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".context-view{position:absolute}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;color:inherit}",""]),e.exports=t},df70:function(e,t,n){var i=n("139d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("70a7146b",i,!0,{sourceMap:!1,shadowMode:!1})},df93:function(e,t,n){var i=n("e577");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("7f190836",i,!0,{sourceMap:!1,shadowMode:!1})},dff0:function(e,t,n){var i=n("8dab");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("7ef46c60",i,!0,{sourceMap:!1,shadowMode:!1})},e09a:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:0;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label-container.disabled{color:var(--vscode-disabledForeground)}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}",""]),e.exports=t},e244:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||this||Function("return this")()}).call(this,n("c8ed"))},e263:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}",""]),e.exports=t},e3d4:function(e,t,n){"use strict";function i(e,t,n,i,o,r,s,a){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var h=c.render;c.render=function(e,t){return l.call(t),h(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return i}))},e3f4:function(e,t,n){(function(e){function n(e,t){for(var n=0,i=e.length-1;i>=0;i--){var o=e[i];"."===o?e.splice(i,1):".."===o?(e.splice(i,1),n++):n&&(e.splice(i,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function i(e){"string"!==typeof e&&(e+="");var t,n=0,i=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===i&&(o=!1,i=t+1);return-1===i?"":e.slice(n,i)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],i=0;i=-1&&!i;r--){var s=r>=0?arguments[r]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,i="/"===s.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),s="/"===r(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!i).join("/"),e||i||(e="."),e&&s&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function i(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=i(e.split("/")),r=i(n.split("/")),s=Math.min(o.length,r.length),a=s,l=0;l=1;--r)if(t=e.charCodeAt(r),47===t){if(!o){i=r;break}}else o=!1;return-1===i?n?"/":".":n&&1===i?"/":e.slice(0,i)},t.basename=function(e,t){var n=i(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,i=-1,o=!0,r=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(47!==a)-1===i&&(o=!1,i=s+1),46===a?-1===t?t=s:1!==r&&(r=1):-1!==t&&(r=-1);else if(!o){n=s+1;break}}return-1===t||-1===i||0===r||1===r&&t===i-1&&t===n+1?"":e.slice(t,i)};var r="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("2552"))},e4f5:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}",""]),e.exports=t},e577:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .view-ruler{position:absolute;top:0;box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset}",""]),e.exports=t},e5d9:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:transparent;transition:opacity .1s linear;z-index:11}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-scrollbarSlider-background)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-scrollbarSlider-activeBackground)}",""]),e.exports=t},e629:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},e635:function(e,t,n){var i=n("c91b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("8ddd7898",i,!0,{sourceMap:!1,shadowMode:!1})},e6b2:function(e,t){(function(t){e.exports=t}).call(this,{})},e9a1:function(e,t,n){var i=n("2375");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3463d5b3",i,!0,{sourceMap:!1,shadowMode:!1})},e9ce:function(e,t,n){var i=n("6f9e"),o=n("b623");e.exports=function(e,t,n){try{return i(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(r){}}},ea3c:function(e,t,n){e.exports=n("3aac"),e.exports.Collection=n("2875")},eba9:function(e,t,n){var i=n("58a5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("05f4173a",i,!0,{sourceMap:!1,shadowMode:!1})},ec81:function(e,t){var n="object"==typeof document&&document.all,i="undefined"==typeof n&&void 0!==n;e.exports={all:n,IS_HTMLDDA:i}},eca0:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .lines-content .core-guide{position:absolute;box-sizing:border-box}.monaco-editor .lines-content .core-guide-indent{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-background) inset}.monaco-editor .lines-content .core-guide-indent-active{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-activeBackground,--vscode-editorIndentGuide-background) inset}",""]),e.exports=t},eccc:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-select-box-dropdown-padding{--dropdown-padding-top:1px;--dropdown-padding-bottom:1px}.hc-black .monaco-select-box-dropdown-padding,.hc-light .monaco-select-box-dropdown-padding{--dropdown-padding-top:3px;--dropdown-padding-bottom:4px}.monaco-select-box-dropdown-container{display:none;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown *{margin:0}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown code{line-height:15px;font-family:var(--monaco-monospace-font)}.monaco-select-box-dropdown-container.visible{display:flex;flex-direction:column;text-align:left;width:1px;overflow:hidden;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{flex:0 0 auto;align-self:flex-start;padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom);padding-left:1px;padding-right:1px;width:100%;overflow:hidden;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane{padding:5px}.hc-black .monaco-select-box-dropdown-container>.select-box-dropdown-list-container{padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom)}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row{cursor:pointer}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-text{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-detail{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left;opacity:.7}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-decorator-right{text-overflow:ellipsis;overflow:hidden;padding-right:10px;white-space:nowrap;float:right}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.visually-hidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control{flex:1 1 auto;align-self:flex-start;opacity:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div{overflow:hidden;max-height:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div>.option-text-width-control{padding-left:4px;padding-right:8px;white-space:nowrap}",""]),e.exports=t},eee7:function(e,t,n){var i=n("9564"),o=n("ec81"),r=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:i(e)||e===r}:function(e){return"object"==typeof e?null!==e:i(e)}},f0db:function(e,t){e.exports=!1},f0f1:function(e,t,n){var i=n("396d"),o=n("e629"),r=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},f10c:function(e,t,n){var i=n("58d1"),o=n("9564"),r=n("eee7"),s=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&o(n=e.toString)&&!r(a=i(n,e)))return a;if(o(n=e.valueOf)&&!r(a=i(n,e)))return a;if("string"!==t&&o(n=e.toString)&&!r(a=i(n,e)))return a;throw s("Can't convert object to primitive value")}},f146:function(e,t,n){var i=n("e244"),o=n("eee7"),r=i.document,s=o(r)&&o(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},f20c:function(e,t,n){"use strict";(function(e){ + * Licensed under the MIT license */(function(o,r,s,a){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],h=r.createElement("div"),d="function",u=Math.round,p=Math.abs,g=Date.now;function m(e,t,n){return setTimeout(C(e,n),t)}function f(e,t,n){return!!Array.isArray(e)&&(v(e,n[t],n),!0)}function v(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==a){i=0;while(i\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=o.console&&(o.console.warn||o.console.log);return r&&r.call(o.console,i,n),e.apply(this,arguments)}}l="function"!==typeof Object.assign?function(e){if(e===a||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n-1}function L(e){return e.trim().split(/\s+/g)}function M(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);var i=0;while(in[t]})):i.sort()),i}function I(e,t){var n,i,o=t[0].toUpperCase()+t.slice(1),r=0;while(r1&&!n.firstMultiple?n.firstMultiple=ue(t):1===o&&(n.firstMultiple=!1);var r=n.firstInput,s=n.firstMultiple,a=s?s.center:r.center,l=t.center=pe(i);t.timeStamp=g(),t.deltaTime=t.timeStamp-r.timeStamp,t.angle=ve(a,l),t.distance=fe(a,l),he(n,t),t.offsetDirection=me(t.deltaX,t.deltaY);var c=ge(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=p(c.x)>p(c.y)?c.x:c.y,t.scale=s?ye(s.pointers,i):1,t.rotation=s?be(s.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,de(n,t);var h=e.element;D(t.srcEvent.target,h)&&(h=t.srcEvent.target),t.target=h}function he(e,t){var n=t.center,i=e.offsetDelta||{},o=e.prevDelta||{},r=e.prevInput||{};t.eventType!==K&&r.eventType!==Y||(o=e.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=o.x+(n.x-i.x),t.deltaY=o.y+(n.y-i.y)}function de(e,t){var n,i,o,r,s=e.lastInterval||t,l=t.timeStamp-s.timeStamp;if(t.eventType!=$&&(l>U||s.velocity===a)){var c=t.deltaX-s.deltaX,h=t.deltaY-s.deltaY,d=ge(l,c,h);i=d.x,o=d.y,n=p(d.x)>p(d.y)?d.x:d.y,r=me(c,h),e.lastInterval=t}else n=s.velocity,i=s.velocityX,o=s.velocityY,r=s.direction;t.velocity=n,t.velocityX=i,t.velocityY=o,t.direction=r}function ue(e){var t=[],n=0;while(n=p(t)?e<0?J:X:t<0?Z:ee}function fe(e,t,n){n||(n=oe);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(i*i+o*o)}function ve(e,t,n){n||(n=oe);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,i)/Math.PI}function be(e,t){return ve(t[1],t[0],re)+ve(e[1],e[0],re)}function ye(e,t){return fe(t[0],t[1],re)/fe(e[0],e[1],re)}se.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(P(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(P(this.element),this.evWin,this.domHandler)}};var _e={mousedown:K,mousemove:G,mouseup:Y},we="mousedown",Ce="mousemove mouseup";function Ae(){this.evEl=we,this.evWin=Ce,this.pressed=!1,se.apply(this,arguments)}w(Ae,se,{handler:function(e){var t=_e[e.type];t&K&&0===e.button&&(this.pressed=!0),t&G&&1!==e.which&&(t=Y),this.pressed&&(t&Y&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:j,srcEvent:e}))}});var Ee={pointerdown:K,pointermove:G,pointerup:Y,pointercancel:$,pointerout:$},xe={2:W,3:H,4:j,5:Q},Se="pointerdown",De="pointermove pointerup pointercancel";function ke(){this.evEl=Se,this.evWin=De,se.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(Se="MSPointerDown",De="MSPointerMove MSPointerUp MSPointerCancel"),w(ke,se,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),o=Ee[i],r=xe[e.pointerType]||e.pointerType,s=r==W,a=M(t,e.pointerId,"pointerId");o&K&&(0===e.button||s)?a<0&&(t.push(e),a=t.length-1):o&(Y|$)&&(n=!0),a<0||(t[a]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:r,srcEvent:e}),n&&t.splice(a,1))}});var Le={touchstart:K,touchmove:G,touchend:Y,touchcancel:$},Me="touchstart",Be="touchstart touchmove touchend touchcancel";function Ne(){this.evTarget=Me,this.evWin=Be,this.started=!1,se.apply(this,arguments)}function Ie(e,t){var n=B(e.touches),i=B(e.changedTouches);return t&(Y|$)&&(n=N(n.concat(i),"identifier",!0)),[n,i]}w(Ne,se,{handler:function(e){var t=Le[e.type];if(t===K&&(this.started=!0),this.started){var n=Ie.call(this,e,t);t&(Y|$)&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:W,srcEvent:e})}}});var Te={touchstart:K,touchmove:G,touchend:Y,touchcancel:$},Re="touchstart touchmove touchend touchcancel";function Pe(){this.evTarget=Re,this.targetIds={},se.apply(this,arguments)}function Fe(e,t){var n=B(e.touches),i=this.targetIds;if(t&(K|G)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,s=B(e.changedTouches),a=[],l=this.target;if(r=n.filter((function(e){return D(e.target,l)})),t===K){o=0;while(o-1&&i.splice(e,1)};setTimeout(o,Oe)}}function je(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function i(n){t.manager.emit(n,e)}n=rt&&i(t.options.event+ht(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=lt},canEmit:function(){var e=0;while(et.threshold&&o&t.direction},attrTest:function(e){return pt.prototype.attrTest.call(this,e)&&(this.state&it||!(this.state&it)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=dt(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),w(mt,pt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[$e]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&it)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),w(ft,ct,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ge]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distancet.time;if(this._input=e,!i||!n||e.eventType&(Y|$)&&!o)this.reset();else if(e.eventType&K)this.reset(),this._timer=m((function(){this.state=st,this.tryEmit()}),t.time,this);else if(e.eventType&Y)return st;return lt},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===st&&(e&&e.eventType&Y?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=g(),this.manager.emit(this.options.event,this._input)))}}),w(vt,pt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[$e]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&it)}}),w(bt,pt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:te|ne,pointers:1},getTouchAction:function(){return gt.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(te|ne)?t=e.overallVelocity:n&te?t=e.overallVelocityX:n&ne&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&p(t)>this.options.velocity&&e.eventType&Y},emit:function(e){var t=dt(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),w(yt,ct,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ye]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance.monaco-button-label{flex-basis:100%}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{flex-grow:1;width:0;overflow:hidden}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label,.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{display:flex;justify-content:center;align-items:center;font-weight:400;font-style:inherit;padding:4px 0}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator,.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{padding:4px 0;cursor:default}.monaco-button-dropdown .monaco-button-dropdown-separator>div{height:100%;width:1px}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{border:1px solid var(--vscode-button-border,transparent);border-left-width:0!important;border-radius:0 2px 2px 0}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-radius:2px 0 0 2px}.monaco-description-button{display:flex;flex-direction:column;align-items:center;margin:4px 5px}.monaco-description-button .monaco-button-description{font-style:italic;font-size:11px;padding:4px 20px}.monaco-description-button .monaco-button-description,.monaco-description-button .monaco-button-label{display:flex;justify-content:center;align-items:center}.monaco-description-button .monaco-button-description>.codicon,.monaco-description-button .monaco-button-label>.codicon{margin:0 .2em;color:inherit!important}",""]),e.exports=t},ca23:function(e,t,n){var i=n("9564"),o=n("eee7"),r=n("13a8");e.exports=function(e,t,n){var s,a;return r&&i(s=t.constructor)&&s!==n&&o(a=s.prototype)&&a!==n.prototype&&r(e,a),e}},cbe4:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-custom-toggle{margin-left:2px;float:left;cursor:pointer;overflow:hidden;width:20px;height:20px;border-radius:3px;border:1px solid transparent;padding:1px;box-sizing:border-box;-moz-user-select:none;user-select:none;-webkit-user-select:none}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle,.hc-light .monaco-custom-toggle:hover{background:none}.monaco-custom-toggle.monaco-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}",""]),e.exports=t},cc1a:function(e,t,n){var i=n("11e2");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("15ad24d4",i,!0,{sourceMap:!1,shadowMode:!1})},ce47:function(e,t,n){var i=n("409e"),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},ce75:function(e,t,n){var i=n("53c2"),o=n("a0c9"),r=n("7443"),s=n("d0e4"),a=n("bf40"),l=n("305c"),c=n("b03b");t=i(!1);var h=o(r),d=o(r,{hash:"#iefix"}),u=o(s),p=o(a),g=o(l),m=o(c,{hash:"#bpmn"});t.push([e.i,"@font-face{font-family:bpmn;src:url("+h+");src:url("+d+') format("embedded-opentype"),url('+u+') format("woff2"),url('+p+') format("woff"),url('+g+') format("truetype"),url('+m+') format("svg");font-weight:400;font-style:normal}[class*=" bpmn-icon-"]:before,[class^=bpmn-icon-]:before{font-family:bpmn;font-style:normal;font-weight:400;speak:never;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bpmn-icon-trash:before{content:"\\e801"}.bpmn-icon-gateway-parallel:before{content:"\\e804"}.bpmn-icon-intermediate-event-catch-cancel:before{content:"\\e805"}.bpmn-icon-intermediate-event-catch-non-interrupting-message:before{content:"\\e806"}.bpmn-icon-start-event-compensation:before{content:"\\e807"}.bpmn-icon-start-event-non-interrupting-parallel-multiple:before{content:"\\e808"}.bpmn-icon-loop-marker:before{content:"\\e809"}.bpmn-icon-parallel-mi-marker:before{content:"\\e80a"}.bpmn-icon-start-event-non-interrupting-signal:before{content:"\\e80b"}.bpmn-icon-intermediate-event-catch-non-interrupting-timer:before{content:"\\e80c"}.bpmn-icon-intermediate-event-catch-parallel-multiple:before{content:"\\e80d"}.bpmn-icon-intermediate-event-catch-compensation:before{content:"\\e80e"}.bpmn-icon-gateway-xor:before{content:"\\e80f"}.bpmn-icon-end-event-cancel:before{content:"\\e811"}.bpmn-icon-intermediate-event-catch-condition:before{content:"\\e812"}.bpmn-icon-intermediate-event-catch-non-interrupting-parallel-multiple:before{content:"\\e813"}.bpmn-icon-start-event-condition:before{content:"\\e814"}.bpmn-icon-start-event-non-interrupting-timer:before{content:"\\e815"}.bpmn-icon-sequential-mi-marker:before{content:"\\e816"}.bpmn-icon-user-task:before{content:"\\e817"}.bpmn-icon-business-rule:before{content:"\\e818"}.bpmn-icon-sub-process-marker:before{content:"\\e819"}.bpmn-icon-start-event-parallel-multiple:before{content:"\\e81a"}.bpmn-icon-start-event-error:before{content:"\\e81b"}.bpmn-icon-intermediate-event-catch-signal:before{content:"\\e81c"}.bpmn-icon-intermediate-event-catch-error:before{content:"\\e81d"}.bpmn-icon-end-event-compensation:before{content:"\\e81e"}.bpmn-icon-subprocess-collapsed:before{content:"\\e81f"}.bpmn-icon-subprocess-expanded:before{content:"\\e820"}.bpmn-icon-task:before{content:"\\e821"}.bpmn-icon-end-event-error:before{content:"\\e822"}.bpmn-icon-intermediate-event-catch-escalation:before{content:"\\e823"}.bpmn-icon-intermediate-event-catch-timer:before{content:"\\e824"}.bpmn-icon-start-event-escalation:before{content:"\\e825"}.bpmn-icon-start-event-signal:before{content:"\\e826"}.bpmn-icon-business-rule-task:before{content:"\\e827"}.bpmn-icon-manual:before{content:"\\e828"}.bpmn-icon-receive:before{content:"\\e829"}.bpmn-icon-call-activity:before{content:"\\e82a"}.bpmn-icon-start-event-timer:before{content:"\\e82b"}.bpmn-icon-start-event-message:before{content:"\\e82c"}.bpmn-icon-intermediate-event-none:before{content:"\\e82d"}.bpmn-icon-intermediate-event-catch-link:before{content:"\\e82e"}.bpmn-icon-end-event-escalation:before{content:"\\e82f"}.bpmn-icon-bpmn-io:before{content:"\\e831"}.bpmn-icon-gateway-complex:before{content:"\\e832"}.bpmn-icon-gateway-eventbased:before{content:"\\e833"}.bpmn-icon-gateway-none:before{content:"\\e834"}.bpmn-icon-gateway-or:before{content:"\\e835"}.bpmn-icon-end-event-terminate:before{content:"\\e836"}.bpmn-icon-end-event-signal:before{content:"\\e837"}.bpmn-icon-end-event-none:before{content:"\\e838"}.bpmn-icon-end-event-multiple:before{content:"\\e839"}.bpmn-icon-end-event-message:before{content:"\\e83a"}.bpmn-icon-end-event-link:before{content:"\\e83b"}.bpmn-icon-intermediate-event-catch-message:before{content:"\\e83c"}.bpmn-icon-intermediate-event-throw-compensation:before{content:"\\e83d"}.bpmn-icon-start-event-multiple:before{content:"\\e83e"}.bpmn-icon-script:before{content:"\\e83f"}.bpmn-icon-manual-task:before{content:"\\e840"}.bpmn-icon-send:before{content:"\\e841"}.bpmn-icon-service:before{content:"\\e842"}.bpmn-icon-receive-task:before{content:"\\e843"}.bpmn-icon-user:before{content:"\\e844"}.bpmn-icon-start-event-none:before{content:"\\e845"}.bpmn-icon-intermediate-event-throw-escalation:before{content:"\\e846"}.bpmn-icon-intermediate-event-catch-multiple:before{content:"\\e847"}.bpmn-icon-intermediate-event-catch-non-interrupting-escalation:before{content:"\\e848"}.bpmn-icon-intermediate-event-throw-link:before{content:"\\e849"}.bpmn-icon-start-event-non-interrupting-condition:before{content:"\\e84a"}.bpmn-icon-data-object:before{content:"\\e84b"}.bpmn-icon-script-task:before{content:"\\e84c"}.bpmn-icon-send-task:before{content:"\\e84d"}.bpmn-icon-data-store:before{content:"\\e84e"}.bpmn-icon-start-event-non-interrupting-escalation:before{content:"\\e84f"}.bpmn-icon-intermediate-event-throw-message:before{content:"\\e850"}.bpmn-icon-intermediate-event-catch-non-interrupting-multiple:before{content:"\\e851"}.bpmn-icon-intermediate-event-catch-non-interrupting-signal:before{content:"\\e852"}.bpmn-icon-intermediate-event-throw-multiple:before{content:"\\e853"}.bpmn-icon-start-event-non-interrupting-message:before{content:"\\e854"}.bpmn-icon-ad-hoc-marker:before{content:"\\e855"}.bpmn-icon-service-task:before{content:"\\e856"}.bpmn-icon-task-none:before{content:"\\e857"}.bpmn-icon-compensation-marker:before{content:"\\e858"}.bpmn-icon-start-event-non-interrupting-multiple:before{content:"\\e859"}.bpmn-icon-intermediate-event-throw-signal:before{content:"\\e85a"}.bpmn-icon-intermediate-event-catch-non-interrupting-condition:before{content:"\\e85b"}.bpmn-icon-participant:before{content:"\\e85c"}.bpmn-icon-event-subprocess-expanded:before{content:"\\e85d"}.bpmn-icon-lane-insert-below:before{content:"\\e85e"}.bpmn-icon-space-tool:before{content:"\\e85f"}.bpmn-icon-connection-multi:before{content:"\\e860"}.bpmn-icon-lane:before{content:"\\e861"}.bpmn-icon-lasso-tool:before{content:"\\e862"}.bpmn-icon-lane-insert-above:before{content:"\\e863"}.bpmn-icon-lane-divide-three:before{content:"\\e864"}.bpmn-icon-lane-divide-two:before{content:"\\e865"}.bpmn-icon-data-input:before{content:"\\e866"}.bpmn-icon-data-output:before{content:"\\e867"}.bpmn-icon-hand-tool:before{content:"\\e868"}.bpmn-icon-group:before{content:"\\e869"}.bpmn-icon-text-annotation:before{content:"\\e86b"}.bpmn-icon-transaction:before{content:"\\e8c4"}.bpmn-icon-screw-wrench:before{content:"\\e8db"}.bpmn-icon-connection:before{content:"\\e8dc"}.bpmn-icon-conditional-flow:before{content:"\\e8e0"}.bpmn-icon-default-flow:before{content:"\\e8e1"}',""]),e.exports=t},cf9a:function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("3971"),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__),wf_mixins_bpmn__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("bf8d"),wf_mixins_locale__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("6b5e"),_assignee_user_select_vue__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("f9ae");__webpack_exports__["a"]={name:"wf-form",mixins:[wf_mixins_bpmn__WEBPACK_IMPORTED_MODULE_1__["a"],wf_mixins_locale__WEBPACK_IMPORTED_MODULE_2__["a"]],components:{UserSelect:_assignee_user_select_vue__WEBPACK_IMPORTED_MODULE_3__["a"]},computed:{userUrl(){return this.userOption.userUrl},customOption(){return this.userOption.customOption},indepFormList(){return this.formOption.list||[]}},data(){return{extensionType:"flowable:FormProperty",form:{},column:[],align:"center",mode:"",defaultChecked:"",copyExtensionType:"flowable:CopyUser",indepOption:{menuBtn:!1,size:"mini",column:[{prop:"indepFormSummary",label:"汇总表单",labelTip:"1、系统会自动汇总当前节点之前/选择的所有表单,并且表单只读。
      2、因avue限制,表单请不要使用group!并确保所有表单字段的prop唯一。
      3、请确保当前节点之前的表单配置正确。",span:24,type:"radio",dicData:[{label:"是",value:"1"},{label:"否",value:"0"}],value:"0",change:({value:e})=>{if(!e)return;const t=this.findObject(this.indepOption.column,"indepSummaryNode");-1!=t&&("1"==e?(t.display=!0,t.dicData=this.nodes):t.display=!1,this.handleUpdateProperties("indepFormSummary",e))},display:!0},{prop:"indepSummaryNode",label:"汇总节点",type:"select",span:24,placeholder:"不选择则表示之前所有节点",multiple:!0,dicData:[],props:{label:"name",value:"id"},display:!0,change:({value:e})=>{e&&0!=e.length&&this.handleUpdateProperties("indepSummaryNode",e.join(","))}},{prop:"indepFormKey",label:"表单key",dicData:[],props:{label:"name",value:"formKey"},type:"select",span:24,change:({value:e,column:t})=>{if(this.indepOption.init)if(e){const n=t.dicData.find(t=>t.formKey==e);n&&(this.handleUpdateProperties("indepFormKey",e),this.resolveColumn(this.getAvueColumn(n.content)))}else this.handleUpdateProperties("indepFormKey",void 0),this.resolveColumn([])},display:!0}]},readableCheckAll:!0,writableCheckAll:!0}},watch:{formData:{handler(e){let{hideAttachment:t,hideCopy:n,hideExamine:i,exFormKey:o,exFormUrl:r,exAppFormUrl:s,indepFormKey:a,indepFormSummary:l,indepSummaryNode:c}=e;if("bpmn:UserTask"==this.element.type)t=!!t&&JSON.parse(t),n=!!n&&JSON.parse(n),i=!!i&&JSON.parse(i);else if("bpmn:StartEvent"==this.element.type){const e=this.getExtensionElementsEq("flowable:HideCopy");n=!!(e&&e.length>0)&&JSON.parse(e[0].value);const t=this.getExtensionElementsEq("flowable:HideExamine");i=!!(t&&t.length>0)&&JSON.parse(t[0].value);const l=this.getExtensionElementsEq("flowable:ExFormKey");l&&l.length>0&&(o=l[0].value);const c=this.getExtensionElementsEq("flowable:ExFormUrl");c&&c.length>0&&(r=c[0].value);const h=this.getExtensionElementsEq("flowable:ExAppFormUrl");h&&h.length>0&&(s=h[0].value);const d=this.getExtensionElementsEq("flowable:IndepFormKey");d&&d.length>0&&(a=d[0].value)}this.$set(this.form,"hideAttachment",t),this.$set(this.form,"hideCopy",n),this.$set(this.form,"hideExamine",i);const h=this.getExtensionElementsEq(this.copyExtensionType);if(h&&h.length>0){const e=[],t=[];h.forEach(n=>{e.push(n.value),t.push(n.text)}),this.$set(this.form,"copyUser",e.join(",")),this.$set(this.form,"$copyUser",t.join(","))}else this.$delete(this.form,"copyUser"),this.$delete(this.form,"$copyUser");let d=[];if(this.formOption)d=this.getAvueColumn(this.formOption),this.handleUpdateProperties("exFormKey",void 0),this.handleUpdateProperties("exFormUrl",void 0),this.handleUpdateProperties("exAppFormUrl",void 0),this.handleUpdateProperties("indepFormKey",void 0),this.resolveColumn(d);else if(this.exFormOption){const e=this.exFormOption.column;if(e&&0!=e.length)d=this.getAvueColumn(this.exFormOption);else{const e=this.getExtensionElementsEq(this.extensionType);d=e&&e.length>0?e.map(e=>({label:e.name,prop:e.id,readable:Boolean(e.readable),writable:Boolean(e.writable)})):[]}o=this.exFormOption.exFormKey||o||"",r=this.exFormOption.exFormUrl||r||"",s=this.exFormOption.exAppFormUrl||s||"",this.$set(this.form,"exFormKey",o),this.$set(this.form,"exFormUrl",r),this.$set(this.form,"exAppFormUrl",s),this.$set(this,"mode","ex-form"),this.handleUpdateProperties("exFormKey",o),this.handleUpdateProperties("exFormUrl",r),this.handleUpdateProperties("exAppFormUrl",s),this.handleUpdateProperties("indepFormKey",void 0),this.resolveColumn(d)}else if(this.indepFormOption){this.indepOption.init=!1,this.handleUpdateProperties("exFormKey",void 0),this.handleUpdateProperties("exFormUrl",void 0),this.handleUpdateProperties("exAppFormUrl",void 0);const{list:e}=this.indepFormOption;if(this.findObject(this.indepOption.column,"indepFormKey").dicData=e,this.$set(this,"mode","indep"),a){const t=e.find(e=>e.formKey==a);t&&this.resolveColumn(this.getAvueColumn(t.content)),this.$set(this.form,"indepFormKey",a)}else this.resolveColumn([]),this.$delete(this.form,"indepFormKey");if(l){this.$set(this.form,"indepFormSummary",l);const e=this.findObject(this.indepOption.column,"indepSummaryNode");-1!=e&&(e.dicData=this.nodes)}else this.$set(this.form,"indepFormSummary","0");c?this.$set(this.form,"indepSummaryNode",c.split(",")):this.$set(this.form,"indepSummaryNode",[]),this.$nextTick(()=>{this.indepOption.init=!0,"bpmn:StartEvent"==this.element.type&&(this.findObject(this.indepOption.column,"indepFormSummary").display=!1,this.findObject(this.indepOption.column,"indepSummaryNode").display=!1)})}},deep:!0,immediate:!0}},methods:{handleCheckChange(){const e=[],t=[],n=[],i=[];this.column.forEach(o=>{const{prop:r,label:s,readable:a,writable:l,children:c}=o;e.push({id:r,name:s,readable:a,writable:l}),a&&t.push(o),l&&n.push(o),i.push(o),c&&c.length>0&&c.forEach(o=>{e.push({id:o.prop,name:o.label,readable:o.readable,writable:o.writable}),o.readable&&t.push(o),o.writable&&n.push(o),i.push(o)})}),this.setExtensionElements(this.extensionType,e),t.length==i.length?this.$set(this,"readableCheckAll",!0):this.$set(this,"readableCheckAll",!1),n.length==i.length?this.$set(this,"writableCheckAll",!0):this.$set(this,"writableCheckAll",!1)},resolveColumn(e=[]){let{extensionElements:t}=this.formData;const n=[],i=[],o=[],r=[];if(e.length>0)if(t&&t.values&&t.values.length>0){const t=this.getExtensionElementsEq(this.extensionType);e.forEach(e=>{let s=t.find(t=>t.id==e.prop);if(s){const{readable:t,writable:n}=s;e.readable=JSON.parse(t),e.writable=JSON.parse(n)}const{prop:a,label:l,readable:c,writable:h,children:d}=e;n.push({id:a,name:l,readable:c,writable:h}),c&&i.push(e),h&&o.push(e),r.push(e),d&&d.length>0&&d.forEach(e=>{if(this.align="left",s=t.find(t=>t.id==e.prop),s){const{readable:t,writable:n}=s;e.readable=JSON.parse(t),e.writable=JSON.parse(n)}n.push({id:e.prop,name:e.label,readable:e.readable,writable:e.writable}),c&&i.push(e),h&&o.push(e),r.push(e)})})}else e.forEach(e=>{const{prop:t,label:s,readable:a,writable:l,children:c}=e;n.push({id:t,name:s,readable:a,writable:l}),a&&i.push(e),l&&o.push(e),r.push(e),c&&c.length>0&&(this.align="left",c.forEach(e=>{n.push({id:e.prop,name:e.label,readable:e.readable,writable:e.writable}),e.readable&&i.push(e),e.writable&&o.push(e),r.push(e)}))});this.setExtensionElements(this.extensionType,n),this.$set(this,"column",e),i.length==r.length?this.$set(this,"readableCheckAll",!0):this.$set(this,"readableCheckAll",!1),o.length==r.length?this.$set(this,"writableCheckAll",!0):this.$set(this,"writableCheckAll",!1)},getAvueColumn(option){const column=[];return option?("string"==typeof option&&(option=eval("("+option+")")),option.column&&option.column.length>0&&option.column.forEach(e=>{const{label:t,prop:n,type:i}=e,o={label:t,prop:n,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())},r=[];"dynamic"==i?e.children.column.forEach(e=>{r.push({label:e.label,prop:e.prop,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())})}):e.params&&e.params.children&&e.params.children.column&&e.params.children.column.length>0&&e.params.children.column.forEach(e=>{r.push({label:e.label,prop:e.prop,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())})}),r.length>0&&(o.children=r),column.push(o)}),option.group&&option.group.length>0&&option.group.forEach(e=>{e.column&&e.column.length>0&&e.column.forEach(e=>{const{label:t,prop:n,type:i}=e,o={label:t,prop:n,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())},r=[];"dynamic"==i?e.children.column.forEach(e=>{r.push({label:e.label,prop:e.prop,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())})}):e.params&&e.params.children&&e.params.children.column&&e.params.children.column.length>0&&e.params.children.column.forEach(e=>{r.push({label:e.label,prop:e.prop,writable:!0,readable:!0,random:Math.ceil(1e4*Math.random())})}),r.length>0&&(o.children=r),column.push(o)})}),column):column},handleUpdateProperties(e,t){"bpmn:UserTask"==this.element.type?this.updateProperties({[e]:t||void 0}):this.setExtensionElements("flowable:"+e.replace(e[0],e[0].toUpperCase()),t?[{value:t+""}]:[])},handleUserSelect(){this.defaultChecked=this.form.copyUser,this.$refs["user-select"].visible=!0},handleUserSelectConfirm(e,t){const n=[];e.split(",").forEach((e,i)=>{n.push({value:e,text:t.split(",")[i]})}),this.setExtensionElements(this.copyExtensionType,n),this.$set(this.form,"copyUser",e),this.$set(this.form,"$copyUser",t)},handleUserClear(){this.setExtensionElements(this.copyExtensionType,[]),this.$delete(this.form,"copyUser"),this.$delete(this.form,"$copyUser")},handleCheckAll(e,t){this.column.forEach(n=>{n[t]=e,n.children&&n.children.length>0&&n.children.forEach(n=>n[t]=e)}),this.handleCheckChange()}}}},cfa0:function(e,t,n){var i=n("53c2"),o=n("a0c9"),r=n("c88e"),s=n("7170");t=i(!1);var a=o(r),l=o(r,{hash:"#iefix"}),c=o(s,{hash:"#bpmn"});t.push([e.i,"@font-face{font-family:bpmn;src:url("+a+");src:url("+l+') format("embedded-opentype"),url('+c+') format("svg");font-weight:400;font-style:normal}@font-face{font-family:bpmn;src:url("data:application/octet-stream;base64,d09GRgABAAAAAD6EAAsAAAAAukAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAARAAAAGA+JEs0Y21hcAAAAYgAAAJyAAAHdFN1l/hnbHlmAAAD/AAANDcAAKHsuTD6FGhlYWQAADg0AAAAMAAAADYjByJvaGhlYQAAOGQAAAAbAAAAJAc8A79obXR4AAA4gAAAABEAAAGwpeAAAGxvY2EAADiUAAAA2gAAANrvU9ESbWF4cAAAOXAAAAAfAAAAIAGWBHZuYW1lAAA5kAAAAVIAAAI9ejh1lXBvc3QAADrkAAADngAACigQ+Ny7eJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBp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A0AADoOQAA6DkAAAA1AADoOgAA6DoAAAA2AADoOwAA6DsAAAA3AADoPAAA6DwAAAA4AADoPQAA6D0AAAA5AADoPgAA6D4AAAA6AADoPwAA6D8AAAA7AADoQAAA6EAAAAA8AADoQQAA6EEAAAA9AADoQgAA6EIAAAA+AADoQwAA6EMAAAA/AADoRAAA6EQAAABAAADoRQAA6EUAAABBAADoRgAA6EYAAABCAADoRwAA6EcAAABDAADoSAAA6EgAAABEAADoSQAA6EkAAABFAADoSgAA6EoAAABGAADoSwAA6EsAAABHAADoTAAA6EwAAABIAADoTQAA6E0AAABJAADoTgAA6E4AAABKAADoTwAA6E8AAABLAADoUAAA6FAAAABMAADoUQAA6FEAAABNAADoUgAA6FIAAABOAADoUwAA6FMAAABPAADoVAAA6FQAAABQAADoVQAA6FUAAABRAADoVgAA6FYAAABSAADoVwAA6FcAAABTAADoWAAA6FgAAABUAADoWQAA6FkAAABVAADoWgAA6FoAAABWAADoWwAA6FsAAABXAADoXAAA6FwAAABYAADoXQAA6F0AAABZAADoXgAA6F4AAABaAADoXwAA6F8AAABbAADoYAAA6GAAAABcAADoYQAA6GEAAABdAADoYgAA6GIAAABeAADoYwAA6GMAAABfAADoZAAA6GQAAABgAADoZQAA6GUAAABhAADoZgAA6GYAAABiAADoZwAA6GcAAABjAADoaAAA6GgAAABkAADoaQAA6GkAAABlAADoawAA6GsAAABmAADoxAAA6MQAAABnAADo2wAA6NsAAABoAADo3AAA6NwAAABpAADo4AAA6OAAAABqAADo4QAA6OEAAABrAAAAAAB+AOIBvgbaB0oKcArECt4L0BEmEd4SlhMAE3wUSBlsGdYdKh1EHh4eRB5qHtofTB/4ILYhGiF0IcQiAiJoIywkHiSYJPolXCY+JlwmlCckJ5YoMijkKUwpjCoqKmoqlirqK2QrwCwULHYs3i0+Lfguoi8QL6QwojC6MZox7jKeMvIzoDRWNeI2iDm4Odw6nDroO6Q8kD0+PrxAMEDaQb5CDEMeQ1xDqESGRShKVkpwS6ZL7kwWTERMW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taW50ZXJydXB0aW5nLW11bHRpcGxlMGludGVybWVkaWF0ZS1ldmVudC1jYXRjaC1ub24taW50ZXJydXB0aW5nLXNpZ25hbCFpbnRlcm1lZGlhdGUtZXZlbnQtdGhyb3ctbXVsdGlwbGUkc3RhcnQtZXZlbnQtbm9uLWludGVycnVwdGluZy1tZXNzYWdlDWFkLWhvYy1tYXJrZXIMc2VydmljZS10YXNrCXRhc2stbm9uZRNjb21wZW5zYXRpb24tbWFya2VyJXN0YXJ0LWV2ZW50LW5vbi1pbnRlcnJ1cHRpbmctbXVsdGlwbGUfaW50ZXJtZWRpYXRlLWV2ZW50LXRocm93LXNpZ25hbDNpbnRlcm1lZGlhdGUtZXZlbnQtY2F0Y2gtbm9uLWludGVycnVwdGluZy1jb25kaXRpb24LcGFydGljaXBhbnQZZXZlbnQtc3VicHJvY2Vzcy1leHBhbmRlZBFsYW5lLWluc2VydC1iZWxvdwpzcGFjZS10b29sEGNvbm5lY3Rpb24tbXVsdGkEbGFuZQpsYXNzby10b29sEWxhbmUtaW5zZXJ0LWFib3ZlEWxhbmUtZGl2aWRlLXRocmVlD2xhbmUtZGl2aWRlLXR3bwpkYXRhLWlucHV0C2RhdGEtb3V0cHV0CWhhbmQtdG9vbAVncm91cA90ZXh0LWFubm90YXRpb24LdHJhbnNhY3Rpb24Mc2NyZXctd3JlbmNoCmNvbm5lY3Rpb24QY29uZGl0aW9uYWwtZmxvdwxkZWZhdWx0LWZsb3cAAA==") format("truetype")}[class*=" bpmn-icon-"]:before,[class^=bpmn-icon-]:before{font-family:bpmn;font-style:normal;font-weight:400;speak:never;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bpmn-icon-trash:before{content:"\\e801"}.bpmn-icon-gateway-parallel:before{content:"\\e804"}.bpmn-icon-intermediate-event-catch-cancel:before{content:"\\e805"}.bpmn-icon-intermediate-event-catch-non-interrupting-message:before{content:"\\e806"}.bpmn-icon-start-event-compensation:before{content:"\\e807"}.bpmn-icon-start-event-non-interrupting-parallel-multiple:before{content:"\\e808"}.bpmn-icon-loop-marker:before{content:"\\e809"}.bpmn-icon-parallel-mi-marker:before{content:"\\e80a"}.bpmn-icon-start-event-non-interrupting-signal:before{content:"\\e80b"}.bpmn-icon-intermediate-event-catch-non-interrupting-timer:before{content:"\\e80c"}.bpmn-icon-intermediate-event-catch-parallel-multiple:before{content:"\\e80d"}.bpmn-icon-intermediate-event-catch-compensation:before{content:"\\e80e"}.bpmn-icon-gateway-xor:before{content:"\\e80f"}.bpmn-icon-end-event-cancel:before{content:"\\e811"}.bpmn-icon-intermediate-event-catch-condition:before{content:"\\e812"}.bpmn-icon-intermediate-event-catch-non-interrupting-parallel-multiple:before{content:"\\e813"}.bpmn-icon-start-event-condition:before{content:"\\e814"}.bpmn-icon-start-event-non-interrupting-timer:before{content:"\\e815"}.bpmn-icon-sequential-mi-marker:before{content:"\\e816"}.bpmn-icon-user-task:before{content:"\\e817"}.bpmn-icon-business-rule:before{content:"\\e818"}.bpmn-icon-sub-process-marker:before{content:"\\e819"}.bpmn-icon-start-event-parallel-multiple:before{content:"\\e81a"}.bpmn-icon-start-event-error:before{content:"\\e81b"}.bpmn-icon-intermediate-event-catch-signal:before{content:"\\e81c"}.bpmn-icon-intermediate-event-catch-error:before{content:"\\e81d"}.bpmn-icon-end-event-compensation:before{content:"\\e81e"}.bpmn-icon-subprocess-collapsed:before{content:"\\e81f"}.bpmn-icon-subprocess-expanded:before{content:"\\e820"}.bpmn-icon-task:before{content:"\\e821"}.bpmn-icon-end-event-error:before{content:"\\e822"}.bpmn-icon-intermediate-event-catch-escalation:before{content:"\\e823"}.bpmn-icon-intermediate-event-catch-timer:before{content:"\\e824"}.bpmn-icon-start-event-escalation:before{content:"\\e825"}.bpmn-icon-start-event-signal:before{content:"\\e826"}.bpmn-icon-business-rule-task:before{content:"\\e827"}.bpmn-icon-manual:before{content:"\\e828"}.bpmn-icon-receive:before{content:"\\e829"}.bpmn-icon-call-activity:before{content:"\\e82a"}.bpmn-icon-start-event-timer:before{content:"\\e82b"}.bpmn-icon-start-event-message:before{content:"\\e82c"}.bpmn-icon-intermediate-event-none:before{content:"\\e82d"}.bpmn-icon-intermediate-event-catch-link:before{content:"\\e82e"}.bpmn-icon-end-event-escalation:before{content:"\\e82f"}.bpmn-icon-bpmn-io:before{content:"\\e831"}.bpmn-icon-gateway-complex:before{content:"\\e832"}.bpmn-icon-gateway-eventbased:before{content:"\\e833"}.bpmn-icon-gateway-none:before{content:"\\e834"}.bpmn-icon-gateway-or:before{content:"\\e835"}.bpmn-icon-end-event-terminate:before{content:"\\e836"}.bpmn-icon-end-event-signal:before{content:"\\e837"}.bpmn-icon-end-event-none:before{content:"\\e838"}.bpmn-icon-end-event-multiple:before{content:"\\e839"}.bpmn-icon-end-event-message:before{content:"\\e83a"}.bpmn-icon-end-event-link:before{content:"\\e83b"}.bpmn-icon-intermediate-event-catch-message:before{content:"\\e83c"}.bpmn-icon-intermediate-event-throw-compensation:before{content:"\\e83d"}.bpmn-icon-start-event-multiple:before{content:"\\e83e"}.bpmn-icon-script:before{content:"\\e83f"}.bpmn-icon-manual-task:before{content:"\\e840"}.bpmn-icon-send:before{content:"\\e841"}.bpmn-icon-service:before{content:"\\e842"}.bpmn-icon-receive-task:before{content:"\\e843"}.bpmn-icon-user:before{content:"\\e844"}.bpmn-icon-start-event-none:before{content:"\\e845"}.bpmn-icon-intermediate-event-throw-escalation:before{content:"\\e846"}.bpmn-icon-intermediate-event-catch-multiple:before{content:"\\e847"}.bpmn-icon-intermediate-event-catch-non-interrupting-escalation:before{content:"\\e848"}.bpmn-icon-intermediate-event-throw-link:before{content:"\\e849"}.bpmn-icon-start-event-non-interrupting-condition:before{content:"\\e84a"}.bpmn-icon-data-object:before{content:"\\e84b"}.bpmn-icon-script-task:before{content:"\\e84c"}.bpmn-icon-send-task:before{content:"\\e84d"}.bpmn-icon-data-store:before{content:"\\e84e"}.bpmn-icon-start-event-non-interrupting-escalation:before{content:"\\e84f"}.bpmn-icon-intermediate-event-throw-message:before{content:"\\e850"}.bpmn-icon-intermediate-event-catch-non-interrupting-multiple:before{content:"\\e851"}.bpmn-icon-intermediate-event-catch-non-interrupting-signal:before{content:"\\e852"}.bpmn-icon-intermediate-event-throw-multiple:before{content:"\\e853"}.bpmn-icon-start-event-non-interrupting-message:before{content:"\\e854"}.bpmn-icon-ad-hoc-marker:before{content:"\\e855"}.bpmn-icon-service-task:before{content:"\\e856"}.bpmn-icon-task-none:before{content:"\\e857"}.bpmn-icon-compensation-marker:before{content:"\\e858"}.bpmn-icon-start-event-non-interrupting-multiple:before{content:"\\e859"}.bpmn-icon-intermediate-event-throw-signal:before{content:"\\e85a"}.bpmn-icon-intermediate-event-catch-non-interrupting-condition:before{content:"\\e85b"}.bpmn-icon-participant:before{content:"\\e85c"}.bpmn-icon-event-subprocess-expanded:before{content:"\\e85d"}.bpmn-icon-lane-insert-below:before{content:"\\e85e"}.bpmn-icon-space-tool:before{content:"\\e85f"}.bpmn-icon-connection-multi:before{content:"\\e860"}.bpmn-icon-lane:before{content:"\\e861"}.bpmn-icon-lasso-tool:before{content:"\\e862"}.bpmn-icon-lane-insert-above:before{content:"\\e863"}.bpmn-icon-lane-divide-three:before{content:"\\e864"}.bpmn-icon-lane-divide-two:before{content:"\\e865"}.bpmn-icon-data-input:before{content:"\\e866"}.bpmn-icon-data-output:before{content:"\\e867"}.bpmn-icon-hand-tool:before{content:"\\e868"}.bpmn-icon-group:before{content:"\\e869"}.bpmn-icon-text-annotation:before{content:"\\e86b"}.bpmn-icon-transaction:before{content:"\\e8c4"}.bpmn-icon-screw-wrench:before{content:"\\e8db"}.bpmn-icon-connection:before{content:"\\e8dc"}.bpmn-icon-conditional-flow:before{content:"\\e8e0"}.bpmn-icon-default-flow:before{content:"\\e8e1"}',""]),e.exports=t},cfad:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?i:n)(t)}},d0e4:function(e,t,n){e.exports=n.p+"fonts/bpmn.e3653fcb.woff2"},d2a1:function(e,t,n){var i=n("83ec"),o=n("e244"),r=n("82a4"),s=n("3abc"),a="WebAssembly",l=o[a],c=7!==Error("e",{cause:7}).cause,h=function(e,t){var n={};n[e]=s(e,t,c),i({global:!0,constructor:!0,arity:1,forced:c},n)},d=function(e,t){if(l&&l[e]){var n={};n[e]=s(a+"."+e,t,c),i({target:a,stat:!0,constructor:!0,arity:1,forced:c},n)}};h("Error",(function(e){return function(t){return r(e,this,arguments)}})),h("EvalError",(function(e){return function(t){return r(e,this,arguments)}})),h("RangeError",(function(e){return function(t){return r(e,this,arguments)}})),h("ReferenceError",(function(e){return function(t){return r(e,this,arguments)}})),h("SyntaxError",(function(e){return function(t){return r(e,this,arguments)}})),h("TypeError",(function(e){return function(t){return r(e,this,arguments)}})),h("URIError",(function(e){return function(t){return r(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return r(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return r(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return r(e,this,arguments)}}))},d53b:function(e,t,n){var i=n("6965"),o=n("9564"),r=n("c401"),s=n("1810"),a=s("toStringTag"),l=Object,c="Arguments"==r(function(){return arguments}()),h=function(e,t){try{return e[t]}catch(n){}};e.exports=i?r:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=h(t=l(e),a))?n:c?r(t):"Object"==(i=r(t))&&o(t.callee)?"Arguments":i}},d557:function(e,t,n){var i=n("312a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3cf09572",i,!0,{sourceMap:!1,shadowMode:!1})},d8c2:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:50%;background-repeat:no-repeat}",""]),e.exports=t},d8ce:function(e,t,n){var i=n("f804");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("79d262f6",i,!0,{sourceMap:!1,shadowMode:!1})},db4c:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));let i="undefined"!==typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function o(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,n)=>{const i=n[0],o=t[i];let r=e;return"string"===typeof o?r=o:"number"!==typeof o&&"boolean"!==typeof o&&void 0!==o&&null!==o||(r=String(o)),r}),i&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function r(e,t,...n){return o(t,n)}function s(e){}},dc75:function(e,t,n){var i=n("afb9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("0f5cdfee",i,!0,{sourceMap:!1,shadowMode:!1})},df3c:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".context-view{position:absolute}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;color:inherit}",""]),e.exports=t},df70:function(e,t,n){var i=n("139d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("70a7146b",i,!0,{sourceMap:!1,shadowMode:!1})},df93:function(e,t,n){var i=n("e577");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("7f190836",i,!0,{sourceMap:!1,shadowMode:!1})},dff0:function(e,t,n){var i=n("8dab");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("7ef46c60",i,!0,{sourceMap:!1,shadowMode:!1})},e09a:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:0;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label-container.disabled{color:var(--vscode-disabledForeground)}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}",""]),e.exports=t},e244:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||this||Function("return this")()}).call(this,n("c8ed"))},e263:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}",""]),e.exports=t},e3d4:function(e,t,n){"use strict";function i(e,t,n,i,o,r,s,a){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var h=c.render;c.render=function(e,t){return l.call(t),h(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return i}))},e3f4:function(e,t,n){(function(e){function n(e,t){for(var n=0,i=e.length-1;i>=0;i--){var o=e[i];"."===o?e.splice(i,1):".."===o?(e.splice(i,1),n++):n&&(e.splice(i,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function i(e){"string"!==typeof e&&(e+="");var t,n=0,i=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===i&&(o=!1,i=t+1);return-1===i?"":e.slice(n,i)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],i=0;i=-1&&!i;r--){var s=r>=0?arguments[r]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,i="/"===s.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),s="/"===r(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!i).join("/"),e||i||(e="."),e&&s&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function i(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=i(e.split("/")),r=i(n.split("/")),s=Math.min(o.length,r.length),a=s,l=0;l=1;--r)if(t=e.charCodeAt(r),47===t){if(!o){i=r;break}}else o=!1;return-1===i?n?"/":".":n&&1===i?"/":e.slice(0,i)},t.basename=function(e,t){var n=i(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,i=-1,o=!0,r=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(47!==a)-1===i&&(o=!1,i=s+1),46===a?-1===t?t=s:1!==r&&(r=1):-1!==t&&(r=-1);else if(!o){n=s+1;break}}return-1===t||-1===i||0===r||1===r&&t===i-1&&t===n+1?"":e.slice(t,i)};var r="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("2552"))},e4f5:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}",""]),e.exports=t},e577:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .view-ruler{position:absolute;top:0;box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset}",""]),e.exports=t},e5d9:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:transparent;transition:opacity .1s linear;z-index:11}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-scrollbarSlider-background)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-scrollbarSlider-activeBackground)}",""]),e.exports=t},e629:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},e635:function(e,t,n){var i=n("c91b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("8ddd7898",i,!0,{sourceMap:!1,shadowMode:!1})},e6b2:function(e,t){(function(t){e.exports=t}).call(this,{})},e9a1:function(e,t,n){var i=n("2375");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3463d5b3",i,!0,{sourceMap:!1,shadowMode:!1})},e9ce:function(e,t,n){var i=n("6f9e"),o=n("b623");e.exports=function(e,t,n){try{return i(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(r){}}},ea3c:function(e,t,n){e.exports=n("3aac"),e.exports.Collection=n("2875")},eba9:function(e,t,n){var i=n("58a5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("05f4173a",i,!0,{sourceMap:!1,shadowMode:!1})},ec81:function(e,t){var n="object"==typeof document&&document.all,i="undefined"==typeof n&&void 0!==n;e.exports={all:n,IS_HTMLDDA:i}},eca0:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .lines-content .core-guide{position:absolute;box-sizing:border-box}.monaco-editor .lines-content .core-guide-indent{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-background) inset}.monaco-editor .lines-content .core-guide-indent-active{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-activeBackground,--vscode-editorIndentGuide-background) inset}",""]),e.exports=t},eccc:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-select-box-dropdown-padding{--dropdown-padding-top:1px;--dropdown-padding-bottom:1px}.hc-black .monaco-select-box-dropdown-padding,.hc-light .monaco-select-box-dropdown-padding{--dropdown-padding-top:3px;--dropdown-padding-bottom:4px}.monaco-select-box-dropdown-container{display:none;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown *{margin:0}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown code{line-height:15px;font-family:var(--monaco-monospace-font)}.monaco-select-box-dropdown-container.visible{display:flex;flex-direction:column;text-align:left;width:1px;overflow:hidden;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{flex:0 0 auto;align-self:flex-start;padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom);padding-left:1px;padding-right:1px;width:100%;overflow:hidden;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane{padding:5px}.hc-black .monaco-select-box-dropdown-container>.select-box-dropdown-list-container{padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom)}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row{cursor:pointer}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-text{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-detail{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left;opacity:.7}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-decorator-right{text-overflow:ellipsis;overflow:hidden;padding-right:10px;white-space:nowrap;float:right}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.visually-hidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control{flex:1 1 auto;align-self:flex-start;opacity:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div{overflow:hidden;max-height:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div>.option-text-width-control{padding-left:4px;padding-right:8px;white-space:nowrap}",""]),e.exports=t},eee7:function(e,t,n){var i=n("9564"),o=n("ec81"),r=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:i(e)||e===r}:function(e){return"object"==typeof e?null!==e:i(e)}},f0db:function(e,t){e.exports=!1},f0f1:function(e,t,n){var i=n("396d"),o=n("e629"),r=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},f10c:function(e,t,n){var i=n("58d1"),o=n("9564"),r=n("eee7"),s=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&o(n=e.toString)&&!r(a=i(n,e)))return a;if(o(n=e.valueOf)&&!r(a=i(n,e)))return a;if("string"!==t&&o(n=e.toString)&&!r(a=i(n,e)))return a;throw s("Can't convert object to primitive value")}},f146:function(e,t,n){var i=n("e244"),o=n("eee7"),r=i.document,s=o(r)&&o(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},f20c:function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. *