| /plugin/character/ |
| D | syntax.php | 29 const ES = [ define in syntax_plugin_character 73 foreach (self::ES as $key => $entry) { 101 if (!empty(self::ES[$codepoint])) { 103 $charname = ' '.self::ES[$codepoint][1]; 151 if ($type != 'escape_sequence' && !empty(self::ES[$codepoint])) 153 .self::ES[$codepoint][0].'</code><span></span>';
|
| /plugin/structgeohash/ |
| D | README.md | 3 [ES] Un plugin para dokuwiki que extiende la funcionalidad del plugin struct agregando un campo de …
|
| /plugin/elasticsearch/vendor/ruflin/elastica/ |
| D | CHANGELOG.md | 143 * Added `Elastica\Suggest\Phrase::addDirectGenerator` to align with ES specification [#1964](https:… 294 * `Terms::setMinimumMatch()` has been removed as not supported by ES 7.x 310 * Scroll releases previous ResultSet from memory before calling ES for next data batch [#1740](http… 376 * Always set the Guzzle `base_uri` to support connecting to multiple ES hosts. [#1618](https://gith… 441 …ScoreFunction` without `$field` parameter is deprecated since ES 6.0 and will fail since ES 7.0 [#… 475 * Use `source` script field instead of deprecated (since ES 5.6) `inline` field. [#1497](https://gi… 503 - Added clear() to `Scroll` for closing search context on ES manually 508 - Clear search context on ES after usage in `Scroll` 521 - Removed ```optimize``` from Index class as it has been deprecated in ES 2.1 and removed in [ES 5.… 697 - Remove index.merge.policy.merge_factor, and set/get MergePolicy as it looks deprecated from ES 1.6 [all …]
|
| /plugin/pdfjs/pdfjs/web/locale/ |
| D | locale.properties | 94 [es-ES] 95 @import url(es-ES/viewer.properties)
|
| /plugin/elasticsearch/vendor/elasticsearch/elasticsearch/ |
| D | CHANGELOG.md | 19 - Updated the endpoints for ES 7.12 + removed cpliakas/git-wrapper 279 - Fix tests for PHP 7 with ES 6.7 [[5401479](https://github.com/elastic/elasticsearch-php/pull/884/… 339 …Note: I'm considering PutTemplate removal a bugfix, since the API doesn't exist in ES Core anymore… 369 - [TEST] Use tests from corresponding ES version (#649) [[75c6680]](http://github.com/elasticsearch… 403 - Travis: add PHP 7.2 + ES 6.0 to build matrix (#622) [[061f100]](http://github.com/elasticsearch/e… 410 - [TEST] build against ES 6 on Travis [[b5886a8]](http://github.com/elasticsearch/elasticsearch-php…
|
| D | README.md | 88 …older than 1.0, you must install the `0.4` Elasticsearch-PHP branch. Since ES 0.90.x and below is … 89 …tures or breaks in backwards compatibility. Only use ES-PHP master if you are developing against E… 109 …omposer.json` file (change version to suit your version of Elasticsearch, for instance for ES 7.0):
|
| /plugin/asciidocjs/node_modules/escalade/ |
| D | readme.md | 32 > **Availability:** [CommonJS](https://unpkg.com/escalade/dist/index.js), [ES Module](https://unpkg… 39 > **Availability:** [CommonJS](https://unpkg.com/escalade/sync/index.js), [ES Module](https://unpkg…
|
| /plugin/letsencrypt/ |
| D | country-codes.csv | 200 Spain,ES
|
| /plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/ |
| D | community.asciidoc | 152 It will help you to manage your ES Indices with no downtime. This helper
|
| D | release-notes.asciidoc | 47 * Added the `ingest.geoip.downloader.enabled=false` setting for ES 81 * Updated the endpoints for ES 7.12 + removed `cpliakas/git-wrapper` in favor of
|
| D | connecting.asciidoc | 58 credentials to ES-PHP so that requests can be authenticated server-side.
|
| /plugin/quickstats/GEOIP/ |
| D | geoip.inc | 150 "ES" => 67, 408 "ES",
|
| /plugin/asciidocjs/node_modules/uglify-js/ |
| D | README.md | 121 --module Process input as ES module (implies --toplevel) 534 ES module, i.e. implicit `"use strict";` and support for top-level `await`, 652 ES module, i.e. implicit `"use strict";` and support for top-level `await`. 753 ES module, i.e. implicit `"use strict";` alongside with `toplevel` enabled.
|
| /plugin/aichat/vendor/mehrab-wj/tiktoken-php/data/ |
| H A D | vocab.bpe | 6211 ES T 7343 ES S 10761 I ES 15477 ĠR ES 19281 R ES 21306 ĠY ES 21942 ĠD ES 25298 AG ES 28124 L ES 29208 AT ES [all …]
|
| /plugin/geonav/db/ |
| D | test.sqlite | 570 (3��,3207EUESESP724Spain, Kingdom ofSpain �Q��FQ208AS…
|
| /plugin/authgooglesheets/vendor/monolog/monolog/ |
| D | CHANGELOG.md | 147 …* Added ElasticsearchHandler to send records via the official ES library. Elastica users should no…
|
| /plugin/asciidocjs/node_modules/async/ |
| D | CHANGELOG.md | 153 …/waterfall'`. If you are using only a few Async functions, and are using a ES bundler such as Roll…
|
| /plugin/html2pdf/html2pdf/html2ps/data/ |
| D | LineBreak.txt | 1074 0421;AL # CYRILLIC CAPITAL LETTER ES 1106 0441;AL # CYRILLIC SMALL LETTER ES 1210 04AA;AL # CYRILLIC CAPITAL LETTER ES WITH DESCENDER 1211 04AB;AL # CYRILLIC SMALL LETTER ES WITH DESCENDER 14603 10314;AL # OLD ITALIC LETTER ES 14755 1041D;AL # DESERET CAPITAL LETTER ES 14795 10445;AL # DESERET SMALL LETTER ES
|
| /plugin/vegalite/ |
| H A D | vega.min.js | 1 …ES(t){return 36===t||95===t||t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||92===t||t>=128&&vS.test(St…
|
| /plugin/sequencediagram/bower_components/lodash/doc/ |
| D | README.md | 7768 [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) 9698 // Use the ES template literal delimiter as an "interpolate" delimiter.
|
| /plugin/amcharts/assets/amcharts/plugins/export/libs/pdfmake/ |
| D | pdfmake.min.js.map | 1 …ES template delimiters.\n\t * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft…
|
| /plugin/bpmnio/vendor/dmn-js/dist/ |
| H A D | dmn-modeler.production.min.js | 24 </div>`;J.RESULT_HTML='<div class="djs-search-result"></div>';J.RESULT_PRIMARY_HTML='<div class="djs-search-result-primary"></div>';J.RESULT_SECONDARY_HTML='<p class="djs-search-result-secondary"></p>';var mE={__depends__:[qe,mo,ht],searchPad:["type",J]};function gE(n){if(O(n,"dmn:Decision")||O(n,"dmn:BusinessKnowledgeModel")||O(n,"dmn:InputData")||O(n,"dmn:KnowledgeSource"))return"name";if(O(n,"dmn:TextAnnotation"))return"text"}function fs(n){var e=n.businessObject,t=gE(e);if(t)return e[t]||""}function yE(n,e,t){var i=n.businessObject,r=gE(i);return r&&(i[r]=e),t&&(n.hidden=!e),n}function gf(n,e,t){this._elementRegistry=n,this._canvas=t,e.registerProvider(this)}gf.$inject=["elementRegistry","searchPad","canvas"];gf.prototype.find=function(n){let e=this._canvas.getRootElement(),t=this._elementRegistry.filter(function(i){return!i.labelTarget});return t=Ee(t,function(i){return i!==e}),t=Vt(t,function(i){return{primaryTokens:xE(fs(i),n),secondaryTokens:xE(i.id,n),element:i}}),t=Ee(t,function(i){return vE(i.primaryTokens)||vE(i.secondaryTokens)}),t=Fn(t,function(i){return fs(i.element)+i.element.id}),t};function vE(n){return Ee(n,function(t){return!!t.matched}).length>0}function xE(n,e){let t=[],i=n;if(!n)return t;n=n.toLowerCase(),e=e.toLowerCase();let r=n.indexOf(e);return r>-1?(r!==0&&t.push({normal:i.substr(0,r)}),t.push({matched:i.substr(r,e.length)}),e.length+r<n.length&&t.push({normal:i.substr(e.length+r,n.length)})):t.push({normal:i}),t}var bE={__depends__:[mE],__init__:["dmnSearch"],dmnSearch:["type",gf]};function br(n){Et.call(this,n)}fe(br,Et);br.prototype._navigationModules=[nE,iE,bE];br.prototype._modules=[].concat(br.prototype._modules,br.prototype._navigationModules);function tx(n){return n&&n[n.length-1]}function _E(n){return n.y}function wE(n){return n.x}var f$={left:wE,center:wE,right:function(n){return n.x+n.width},top:_E,middle:_E,bottom:function(n){return n.y+n.height}};function go(n,e){this._modeling=n,this._rules=e}go.$inject=["modeling","rules"];go.prototype._getOrientationDetails=function(n){var e=["top","bottom","middle"],t="x",i="width";return e.indexOf(n)!==-1&&(t="y",i="height"),{axis:t,dimension:i}};go.prototype._isType=function(n,e){return e.indexOf(n)!==-1};go.prototype._alignmentPosition=function(n,e){var t=this._getOrientationDetails(n),i=t.axis,r=t.dimension,o={},s={},a=!1,l,c,u;function f(h,d){return Math.round((h[i]+d[i]+d[r])/2)}if(this._isType(n,["left","top"]))o[n]=e[0][i];else if(this._isType(n,["right","bottom"]))u=tx(e),o[n]=u[i]+u[r];else if(this._isType(n,["center","middle"])){if(k(e,function(h){var d=h[i]+Math.round(h[r]/2);s[d]?s[d].elements.push(h):s[d]={elements:[h],center:d}}),l=Fn(s,function(h){return h.elements.length>1&&(a=!0),h.elements.length}),a)return o[n]=tx(l).center,o;c=e[0],e=Fn(e,function(h){return h[i]+h[r]}),u=tx(e),o[n]=f(c,u)}return o};go.prototype.trigger=function(n,e){var t=this._modeling,i,r=Ee(n,function(l){return!(l.waypoints||l.host||l.labelTarget)});if(i=this._rules.allowed("elements.align",{elements:r}),F(i)&&(r=i),!(r.length<2||!i)){var o=f$[e],s=Fn(r,o),a=this._alignmentPosition(e,s);t.alignElements(s,a)}};var CE={__init__:["alignElements"],alignElements:["type",go]};var h$=10,ix=50,d$=250;function rx(n,e,t,i){for(var r;r=p$(n,t,e);)t=i(e,t,r);return t}function EE(n){return function(e,t,i){var r={x:t.x,y:t.y};return["x","y"].forEach(function(o){var s=n[o];if(s){var a=o==="x"?"width":"height",l=s.margin,c=s.minDistance;l<0?r[o]=Math.min(i[o]+l-e[a]/2,t[o]-c+l):r[o]=Math.max(i[o]+i[a]+l+e[a]/2,t[o]+c+l)}}),r}}function p$(n,e,t){var i={x:e.x-t.width/2,y:e.y-t.height/2,width:t.width,height:t.height},r=m$(n);return ye(r,function(o){if(o===t)return!1;var s=vt(o,i,h$);return s==="intersect"})}function SE(n,e){e||(e={});function t(p){return p.source===n?1:-1}var i=e.defaultDistance||ix,r=e.direction||"e",o=e.filter,s=e.getWeight||t,a=e.maxDistance||d$,l=e.reference||"start";o||(o=v$);function c(p,m){return r==="n"?l==="start"?G(p).top-G(m).bottom:l==="center"?G(p).top-le(m).y:G(p).top-G(m).top:r==="w"?l==="start"?G(p).left-G(m).right:l==="center"?G(p).left-le(m).x:G(p).left-G(m).left:r==="s"?l==="start"?G(m).top-G(p).bottom:l==="center"?le(m).y-G(p).bottom:G(m).bottom-G(p).bottom:l==="start"?G(m).left-G(p).right:l==="center"?le(m).x-G(p).right:G(m).right-G(p).right}var u=n.incoming.filter(o).map(function(p){var m=s(p),g=m<0?c(p.source,n):c(n,p.source);return{id:p.source.id,distance:g,weight:m}}),f=n.outgoing.filter(o).map(function(p){var m=s(p),g=m>0?c(n,p.target):c(p.target,n);return{id:p.target.id,distance:g,weight:m}}),h=u.concat(f).reduce(function(p,m){return p[m.id+"__weight_"+m.weight]=m,p},{}),d=st(h,function(p,m){var g=m.distance,b=m.weight;return g<0||g>a||(p[String(g)]||(p[String(g)]=0),p[String(g)]+=1*b,(!p.distance||p[p.distance]<p[String(g)])&&(p.distance=g)),p},{});return d.distance||i}function m$(n){var e=nx(n);return n.host&&(e=e.concat(nx(n.host))),n.attachers&&(e=e.concat(n.attachers.reduce(function(t,i){return t.concat(nx(i))},[]))),e}function nx(n){return y$(n).concat(g$(n))}function g$(n){return n.incoming.map(function(e){return e.source})}function y$(n){return n.outgoing.map(function(e){return e.target})}function v$(){return!0}var x$=100;function Mp(n,e,t){n.on("autoPlace",x$,function(i){var r=i.shape,o=i.source;return b$(o,r)}),n.on("autoPlace.end",function(i){t.scrollToElement(i.shape)}),this.append=function(i,r,o){n.fire("autoPlace.start",{source:i,shape:r});var s=n.fire("autoPlace",{source:i,shape:r}),a=e.appendShape(i,r,s,i.parent,o);return n.fire("autoPlace.end",{source:i,shape:a}),a}}Mp.$inject=["eventBus","modeling","canvas"];function b$(n,e,t){t||(t={});var i=t.defaultDistance||ix,r=le(n),o=G(n);return{x:o.right+i+e.width/2,y:r.y}}function Pp(n,e){n.on("autoPlace.end",500,function(t){e.select(t.shape)})}Pp.$inject=["eventBus","selection"];var OE={__init__:["autoPlaceSelectionBehavior"],autoPlace:["type",Mp],autoPlaceSelectionBehavior:["type",Pp]};var _$={width:135,height:46},ox={width:180,height:80},w$={width:125,height:45},C$={width:100,height:63};function _r(n){Hn.call(this),this._drdFactory=n}fe(_r,Hn);_r.$inject=["drdFactory"];_r.prototype.baseCreate=Hn.prototype.create;_r.prototype.create=function(n,e){return this.createDrdElement(n,e)};_r.prototype.createDrdElement=function(n,e){var t=this._drdFactory,i;e=e||{};var r=e.businessObject;if(!r){if(!e.type)throw new Error("no shape type specified");r=t.create(e.type)}return r.di||(n==="connection"?r.di=t.createDiEdge(r,[]):n==="shape"&&(r.di=t.createDiShape(r,{}))),i=this._getDefaultSize(r),e=T({businessObject:r,id:r.id},i,e),this.baseCreate(n,e)};_r.prototype._getDefaultSize=function(n){return O(n,"dmn:BusinessKnowledgeModel")?_$:O(n,"dmn:Decision")?ox:O(n,"dmn:InputData")?w$:O(n,"dmn:KnowledgeSource")?C$:{width:100,height:80}};var sx="left",kE="right",Dp=60,RE=ox.width;function AE(n,e){if(O(e,"dmn:TextAnnotation"))return E$(n,e);if(O(e,"dmn:DRGElement"))return S$(n,e)}function E$(n,e){var t=G(n),i={x:t.right+e.width/2,y:t.top-50-e.height/2},r={y:{margin:-30,minDistance:20}};return rx(n,e,i,EE(r))}function S$(n,e){var t=G(n),i=le(n);function r(a){return a.target===n?1:-1}var o=SE(n,{defaultDistance:180,direction:"s",getWeight:r,filter:O$,reference:"center"}),s={x:i.x,y:t.bottom+o};return rx(n,e,s,k$(n))}function O$(n){return!O(n,"dmn:Association")}function TE(n,e){return Math.abs(e.x-n.x)}function k$(n){var e=le(n),t,i;return function(r,o,s){var a;return t?(o.x<e.x?t=s:i=s,TE(e,le(t))<TE(e,le(i))?a=sx:a=kE):(t=s,i=s,le(s).x-e.x>0?a=sx:a=kE),a===sx?{x:Math.min(le(t).x-RE-Dp,G(t).left-Dp-r.width/2),y:o.y}:{x:Math.max(le(i).x+RE+Dp,G(i).right+Dp+r.width/2),y:o.y}}}function Ip(n){n.on("autoPlace",function(e){var t=e.shape,i=e.source;return AE(i,t)})}Ip.$inject=["eventBus"];var ME={__depends__:[OE],__init__:["dmnAutoPlace"],dmnAutoPlace:["type",Ip]};var PE=1500;function Lp(n,e,t){var i=this,r=t.get("dragging",!1);function o(s){if(!s.hover){var a=s.originalEvent,l=i._findTargetGfx(a),c=l&&n.get(l);l&&c&&(s.stopPropagation(),r.hover({element:c,gfx:l}),r.move(a))}}r&&e.on("drag.start",function(s){e.once("drag.move",PE,function(a){o(a)})}),(function(){var s,a;e.on("element.hover",function(l){s=l.gfx,a=l.element}),e.on("element.hover",PE,function(l){a&&e.fire("element.out",{element:a,gfx:s})}),e.on("element.out",function(){s=null,a=null})})(),this._findTargetGfx=function(s){var a,l;if(s instanceof MouseEvent)return a=Un(s),l=document.elementFromPoint(a.x,a.y),R$(l)}}Lp.$inject=["elementRegistry","eventBus","injector"];function R$(n){return De(n,"svg, .djs-element",!0)}var DE={__init__:["hoverFix"],hoverFix:["type",Lp]};var Oa=Math.round,IE="djs-drag-active";function hs(n){n.preventDefault()}function T$(n){return typeof TouchEvent!="undefined"&&n instanceof TouchEvent}function A$(n){return Math.sqrt(Math.pow(n.x,2)+Math.pow(n.y,2))}function Bp(n,e,t,i){var r={threshold:5,trapClick:!0},o;function s(v){var x=e.viewbox(),C=e._container.getBoundingClientRect();return{x:x.x+(v.x-C.left)/x.scale,y:x.y+(v.y-C.top)/x.scale}}function a(v,x){x=x||o;var C=n.createEvent(T({},x.payload,x.data,{isTouch:x.isTouch}));return n.fire("drag."+v,C)===!1?!1:n.fire(x.prefix+"."+v,C)}function l(v){var x=v.filter(function(C){return i.get(C.id)});x.length&&t.select(x)}function c(v,x){var C=o.payload,E=o.displacement,S=o.globalStart,w=Un(v),R=xr(w,S),A=o.localStart,I=s(w),D=xr(I,A);if(!o.active&&(x||A$(R)>o.threshold)){if(T(C,{x:Oa(A.x+E.x),y:Oa(A.y+E.y),dx:0,dy:0},{originalEvent:v}),a("start")===!1)return g();o.active=!0,o.keepSelection||(C.previousSelection=t.get(),t.select(null)),o.cursor&&mf(o.cursor),e.addMarker(e.getRootElement(),IE)}vp(v),o.active&&(T(C,{x:Oa(I.x+E.x),y:Oa(I.y+E.y),dx:Oa(D.x),dy:Oa(D.y)},{originalEvent:v}),a("move"))}function u(v){var x,C=!0;o.active&&(v&&(o.payload.originalEvent=v,vp(v)),C=a("end")),C===!1&&a("rejected"),x=b(C!==!0),a("ended",x)}function f(v){Ve("Escape",v)&&(hs(v),g())}function h(v){var x;o.active&&(x=Op(n),setTimeout(x,400),hs(v)),u(v)}function d(v){c(v)}function p(v){var x=o.payload;x.hoverGfx=v.gfx,x.hover=v.element,a("hover")}function m(v){a("out");var x=o.payload;x.hoverGfx=null,x.hover=null}function g(v){var x;if(o){var C=o.active;C&&a("cancel"),x=b(v),C&&a("canceled",x)}}function b(v){var x,C;a("cleanup"),Sp(),o.trapClick?C=h:C=u,q.unbind(document,"mousemove",c),q.unbind(document,"dragstart",hs),q.unbind(document,"selectstart",hs),q.unbind(document,"mousedown",C,!0),q.unbind(document,"mouseup",C,!0),q.unbind(document,"keyup",f),q.unbind(document,"touchstart",d,!0),q.unbind(document,"touchcancel",g,!0),q.unbind(document,"touchmove",c,!0),q.unbind(document,"touchend",u,!0),n.off("element.hover",p),n.off("element.out",m),e.removeMarker(e.getRootElement(),IE);var E=o.payload.previousSelection;return v!==!1&&E&&!t.get().length&&l(E),x=o,o=null,x}function _(v,x,C,E){o&&g(!1),typeof x=="string"&&(E=C,C=x,x=null),E=T({},r,E||{});var S=E.data||{},w,R,A,I,D;if(E.trapClick?I=h:I=u,v?(w=vr(v)||v,R=Un(v),vp(v),w.type==="dragstart"&&hs(w)):(w=null,R={x:0,y:0}),A=s(R),x||(x=A),D=T$(w),o=T({prefix:C,data:S,payload:{},globalStart:R,displacement:xr(x,A),localStart:A,isTouch:D},E),E.manual||(D?(q.bind(document,"touchstart",d,!0),q.bind(document,"touchcancel",g,!0),q.bind(document,"touchmove",c,!0),q.bind(document,"touchend",u,!0)):(q.bind(document,"mousemove",c),q.bind(document,"dragstart",hs),q.bind(document,"selectstart",hs),q.bind(document,"mousedown",I,!0),q.bind(document,"mouseup",I,!0)),q.bind(document,"keyup",f),n.on("element.hover",p),n.on("element.out",m)),a("init")===!1)return g(),!1;E.autoActivate&&c(v,!0)}n.on("diagram.destroy",g),this.init=_,this.move=c,this.hover=p,this.out=m,this.end=u,this.cancel=g,this.context=function(){return o},this.setOptions=function(v){T(r,v)}}Bp.$inject=["eventBus","canvas","selection","elementRegistry"];var gn={__depends__:[DE,ht],dragging:["type",Bp]};function yo(n,e,t){this._canvas=t,this._opts=T({scrollThresholdIn:[20,20,20,20],scrollThresholdOut:[0,0,0,0],scrollRepeatTimeout:15,scrollStep:10},n);var i=this;e.on("drag.move",function(r){var o=i._toBorderPoint(r);i.startScroll(o)}),e.on(["drag.cleanup"],function(){i.stopScroll()})}yo.$inject=["config.autoScroll","eventBus","canvas"];yo.prototype.startScroll=function(n){var e=this._canvas,t=this._opts,i=this,r=e.getContainer().getBoundingClientRect(),o=[n.x,n.y,r.width-n.x,r.height-n.y];this.stopScroll();for(var s=0,a=0,l=0;l<4;l++)M$(o[l],t.scrollThresholdOut[l],t.scrollThresholdIn[l])&&(l===0?s=t.scrollStep:l==1?a=t.scrollStep:l==2?s=-t.scrollStep:l==3&&(a=-t.scrollStep));(s!==0||a!==0)&&(e.scroll({dx:s,dy:a}),this._scrolling=setTimeout(function(){i.startScroll(n)},t.scrollRepeatTimeout))};function M$(n,e,t){return e<n&&n<t}yo.prototype.stopScroll=function(){clearTimeout(this._scrolling)};yo.prototype.setOptions=function(n){this._opts=T({},this._opts,n)};yo.prototype._toBorderPoint=function(n){var e=this._canvas._container.getBoundingClientRect(),t=Un(n.originalEvent);return{x:t.x-e.left,y:t.y-e.top}};var LE={__depends__:[gn],__init__:["autoScroll"],autoScroll:["type",yo]};function yf(n){this._commandStack=n.get("commandStack",!1)}yf.$inject=["injector"];yf.prototype.allowed=function(n,e){var t=!0,i=this._commandStack;return i&&(t=i.canExecute(n,e)),t===void 0?!0:t};var yn={__init__:["rules"],rules:["type",yf]};var Np=Math.round,P$=Math.max;function D$(n,e){var t=n.x,i=n.y;return[["M",t,i],["m",0,-e],["a",e,e,0,1,1,0,2*e],["a",e,e,0,1,1,0,-2*e],["z"]]}function I$(n){var e=[];return n.forEach(function(t,i){e.push([i===0?"M":"L",t.x,t.y])}),e}var BE=10;function L$(n,e){var t,i;for(t=0;i=n[t];t++)if(pa(i,e)<=BE)return{point:n[t],bendpoint:!0,index:t};return null}function B$(n,e){var t=ef(D$(e,BE),I$(n)),i=t[0],r=t[t.length-1],o;return i?i!==r?i.segment2!==r.segment2?(o=P$(i.segment2,r.segment2)-1,{point:n[o],bendpoint:!0,index:o}):{point:{x:Np(i.x+r.x)/2,y:Np(i.y+r.y)/2},index:i.segment2}:{point:{x:Np(i.x),y:Np(i.y)},index:i.segment2}:null}function NE(n,e){return L$(n,e)||B$(n,e)}function N$(n){return Math.sqrt(Math.pow(n.x,2)+Math.pow(n.y,2))}function $$(n,e,t){var i=[{n:n[0]-t[0],lambda:e[0]},{n:n[1]-t[1],lambda:e[1]}],r=i[0].n*e[0]+i[1].n*e[1],o=i[0].lambda*e[0]+i[1].lambda*e[1];return-r/o}function ax(n,e){var t=e[0],i=e[1],r={x:i.x-t.x,y:i.y-t.y},o=$$([t.x,t.y],[r.x,r.y],[n.x,n.y]);return{x:t.x+o*r.x,y:t.y+o*r.y}}function $E(n,e){var t=ax(n,e),i={x:t.x-n.x,y:t.y-n.y};return N$(i)}var lx="djs-bendpoint",cx="djs-segment-dragger";function j$(n,e){var t=Un(e),i=n._container.getBoundingClientRect(),r;r={x:i.left,y:i.top};var o=n.viewbox();return{x:o.x+(t.x-r.x)/o.scale,y:o.y+(t.y-r.y)/o.scale}}function vf(n,e,t){var i=j$(n,t),r=NE(e,i);return r}function xf(n,e){var t=Q("g");ne(t).add(lx),K(n,t);var i=Q("circle");j(i,{cx:0,cy:0,r:4}),ne(i).add("djs-visual"),K(t,i);var r=Q("circle");return j(r,{cx:0,cy:0,r:10}),ne(r).add("djs-hit"),K(t,r),e&&ne(t).add(e),t}function F$(n,e,t,i){var r=Q("g");K(n,r);var o=18,s=6,a=11,l=q$(e,t,i),c=s+a,u=Q("rect");j(u,{x:-o/2,y:-s/2,width:o,height:s}),ne(u).add("djs-visual"),K(r,u);var f=Q("rect");return j(f,{x:-l/2,y:-c/2,width:l,height:c}),ne(f).add("djs-hit"),K(r,f),rC(r,i==="v"?90:0,0,0),r}function jp(n,e,t){var i=Q("g"),r=Ju(e,t),o=pr(e,t);return K(n,i),F$(i,e,t,o),ne(i).add(cx),ne(i).add(o==="h"?"horizontal":"vertical"),jt(i,r.x,r.y),i}function $p(n){return Math.abs(Math.round(n*2/3))}function jE(n,e){var t=V$(n,e);return ax(n,t)}function q$(n,e,t){var i=e.x-n.x,r=e.y-n.y;return $p(t==="h"?i:r)}function V$(n,e){for(var t=e.waypoints,i=1/0,r,o=0;o<t.length-1;o++){var s=t[o],a=t[o+1],l=$E(n,[s,a]);l<i&&(i=l,r=o)}return[t[r],t[r+1]]}function Fp(n,e,t,i,r){function o(v,x,C){var E=v.index,S=v.point,w,R,A,I,D,N;return E<=0||v.bendpoint?!1:(w=x[E-1],R=x[E],A=Ju(w,R),I=pr(w,R),D=Math.abs(S.x-A.x),N=Math.abs(S.y-A.y),I&&D<=C&&N<=C)}function s(v,x){var C=v.waypoints,E,S,w,R;return x.index<=0||x.bendpoint||(E={start:C[x.index-1],end:C[x.index]},S=pr(E.start,E.end),!S)?null:(S==="h"?w=E.end.x-E.start.x:w=E.end.y-E.start.y,R=$p(w)/2,R)}function a(v,x){var C=x.waypoints,E=vf(e,C,v),S;if(E){S=s(x,E);var w;if(o(E,C,S)?w=r.start(v,x,E.index):w=i.start(v,x,E.index,!E.bendpoint),w!==!1)return!0}}function l(v,x,C){q.bind(v,x,function(E){t.triggerMouseEvent(x,E,C),E.stopPropagation()})}function c(v,x){var C=e.getLayer("overlays"),E=X('.djs-bendpoints[data-element-id="'+Sa(v.id)+'"]',C);return!E&&x&&(E=Q("g"),j(E,{"data-element-id":v.id}),ne(E).add("djs-bendpoints"),K(C,E),l(E,"mousedown",v),l(E,"click",v),l(E,"dblclick",v)),E}function u(v,x){return X('.djs-segment-dragger[data-segment-idx="'+v+'"]',x)}function f(v,x){x.waypoints.forEach(function(C,E){var S=xf(v);K(v,S),jt(S,C.x,C.y)}),xf(v,"floating")}function h(v,x){for(var C=x.waypoints,E,S,w,R=1;R<C.length;R++)E=C[R-1],S=C[R],pr(E,S)&&(w=jp(v,E,S),j(w,{"data-segment-idx":R}),l(w,"mousemove",x))}function d(v){k(pn("."+lx,v),function(x){Fe(x)})}function p(v){k(pn("."+cx,v),function(x){Fe(x)})}function m(v){var x=c(v);return x||(x=c(v,!0),f(x,v),h(x,v)),x}function g(v){var x=c(v);x&&(p(x),d(x),h(x,v),f(x,v))}function b(v,x){var C=X(".floating",v),E=x.point;C&&jt(C,E.x,E.y)}function _(v,x,C){var E=u(x.index,v),S=C[x.index-1],w=C[x.index],R=x.point,A=Ju(S,w),I=pr(S,w),D,N;E&&(D=H$(E),N={x:R.x-A.x,y:R.y-A.y},I==="v"&&(N={x:N.y,y:N.x}),jt(D,N.x,N.y))}n.on("connection.changed",function(v){g(v.element)}),n.on("connection.remove",function(v){var x=c(v.element);x&&Fe(x)}),n.on("element.marker.update",function(v){var x=v.element,C;x.waypoints&&(C=m(x),v.add?ne(C).add(v.marker):ne(C).remove(v.marker))}),n.on("element.mousemove",function(v){var x=v.element,C=x.waypoints,E,S;if(C){if(E=c(x,!0),S=vf(e,C,v.originalEvent),!S)return;b(E,S),S.bendpoint||_(E,S,C)}}),n.on("element.mousedown",function(v){if(Sn(v)){var x=v.originalEvent,C=v.element;if(C.waypoints)return a(x,C)}}),n.on("selection.changed",function(v){var x=v.newSelection,C=x[0];C&&C.waypoints&&m(C)}),n.on("element.hover",function(v){var x=v.element;x.waypoints&&m(x)}),n.on("element.updateId",function(v){var x=v.element,C=v.newId;if(x.waypoints){var E=c(x);E&&j(E,{"data-element-id":C})}}),this.addHandles=m,this.updateHandles=g,this.getBendpointsContainer=c,this.getSegmentDragger=u}Fp.$inject=["eventBus","canvas","interactionEvents","bendpointMove","connectionSegmentMove"];function H$(n){return X(".djs-visual",n)}var FE=Math.round,ds="reconnectStart",ps="reconnectEnd",bf="updateWaypoints";function wf(n,e,t,i,r,o){this._injector=n,this.start=function(s,a,l,c){var u=t.getGraphics(a),f=a.source,h=a.target,d=a.waypoints,p;!c&&l===0?p=ds:!c&&l===d.length-1?p=ps:p=bf;var m=p===bf?"connection.updateWaypoints":"connection.reconnect",g=r.allowed(m,{connection:a,source:f,target:h});if(g===!1&&(g=r.allowed(m,{connection:a,source:h,target:f})),g!==!1)return i.init(s,"bendpoint.move",{data:{connection:a,connectionGfx:u,context:{allowed:g,bendpointIndex:l,connection:a,source:f,target:h,insert:c,type:p}}})},e.on("bendpoint.move.hover",function(s){var a=s.context,l=a.connection,c=l.source,u=l.target,f=s.hover,h=a.type;a.hover=f;var d;if(f){var p=h===bf?"connection.updateWaypoints":"connection.reconnect";if(d=a.allowed=r.allowed(p,{connection:l,source:h===ds?f:c,target:h===ps?f:u}),d){a.source=h===ds?f:c,a.target=h===ps?f:u;return}d===!1&&(d=a.allowed=r.allowed(p,{connection:l,source:h===ps?f:u,target:h===ds?f:c})),d&&(a.source=h===ps?f:u,a.target=h===ds?f:c)}}),e.on(["bendpoint.move.out","bendpoint.move.cleanup"],function(s){var a=s.context,l=a.type;a.hover=null,a.source=null,a.target=null,l!==bf&&(a.allowed=!1)}),e.on("bendpoint.move.end",function(s){var a=s.context,l=a.allowed,c=a.bendpointIndex,u=a.connection,f=a.insert,h=u.waypoints.slice(),d=a.source,p=a.target,m=a.type,g=a.hints||{},b={x:FE(s.x),y:FE(s.y)};if(!l)return!1;m===bf?(f?h.splice(c,0,b):h[c]=b,g.bendpointMove={insert:f,bendpointIndex:c},h=this.cropWaypoints(u,h),o.updateWaypoints(u,q1(h),g)):(m===ds?(g.docking="source",_f(a)&&(g.docking="target",g.newWaypoints=h.reverse())):m===ps&&(g.docking="target",_f(a)&&(g.docking="source",g.newWaypoints=h.reverse())),o.reconnect(u,d,p,b,g))},this)}wf.$inject=["injector","eventBus","canvas","dragging","rules","modeling"];wf.prototype.cropWaypoints=function(n,e){var t=this._injector.get("connectionDocking",!1);if(!t)return e;var i=n.waypoints;return n.waypoints=e,n.waypoints=t.getCroppedWaypoints(n),e=n.waypoints,n.waypoints=i,e};function _f(n){var e=n.hover,t=n.source,i=n.target,r=n.type;if(r===ds)return e&&i&&e===i&&t!==i;if(r===ps)return e&&t&&e===t&&t!==i}var z$="reconnectStart",W$="reconnectEnd",qE="updateWaypoints",Cf="connect-ok",qp="connect-not-ok",VE="connect-hover",HE="djs-updating",zE="djs-dragging",WE=1100;function Vp(n,e,t,i){this._injector=e;var r=e.get("connectionPreview",!1);t.on("bendpoint.move.start",function(o){var s=o.context,a=s.bendpointIndex,l=s.connection,c=s.insert,u=l.waypoints,f=u.slice();s.waypoints=u,c&&f.splice(a,0,{x:o.x,y:o.y}),l.waypoints=f;var h=s.draggerGfx=xf(i.getLayer("overlays"));ne(h).add("djs-dragging"),i.addMarker(l,zE),i.addMarker(l,HE)}),t.on("bendpoint.move.hover",function(o){var s=o.context,a=s.allowed,l=s.hover,c=s.type;if(l){if(i.addMarker(l,VE),c===qE)return;a?(i.removeMarker(l,qp),i.addMarker(l,Cf)):a===!1&&(i.removeMarker(l,Cf),i.addMarker(l,qp))}}),t.on(["bendpoint.move.out","bendpoint.move.cleanup"],WE,function(o){var s=o.context,a=s.hover,l=s.target;a&&(i.removeMarker(a,VE),i.removeMarker(a,l?Cf:qp))}),t.on("bendpoint.move.move",function(o){var s=o.context,a=s.allowed,l=s.bendpointIndex,c=s.draggerGfx,u=s.hover,f=s.type,h=s.connection,d=h.source,p=h.target,m=h.waypoints.slice(),g={x:o.x,y:o.y},b=s.hints||{},_={};r&&(b.connectionStart&&(_.connectionStart=b.connectionStart),b.connectionEnd&&(_.connectionEnd=b.connectionEnd),f===z$?_f(s)?(_.connectionEnd=_.connectionEnd||g,_.source=p,_.target=u||d,m=m.reverse()):(_.connectionStart=_.connectionStart||g,_.source=u||d,_.target=p):f===W$?_f(s)?(_.connectionStart=_.connectionStart||g,_.source=u||p,_.target=d,m=m.reverse()):(_.connectionEnd=_.connectionEnd||g,_.source=d,_.target=u||p):(_.noCropping=!0,_.noLayout=!0,m[l]=g),f===qE&&(m=n.cropWaypoints(h,m)),_.waypoints=m,r.drawPreview(s,a,_)),jt(c,o.x,o.y)},this),t.on(["bendpoint.move.end","bendpoint.move.cancel"],WE,function(o){var s=o.context,a=s.connection,l=s.draggerGfx,c=s.hover,u=s.target,f=s.waypoints;a.waypoints=f,Fe(l),i.removeMarker(a,HE),i.removeMarker(a,zE),c&&(i.removeMarker(c,Cf),i.removeMarker(c,u?Cf:qp)),r&&r.cleanUp(s)})}Vp.$inject=["bendpointMove","injector","eventBus","canvas"];var UE="connect-hover",QE="djs-updating";function KE(n,e,t){return ux(n,e,n[e]+t)}function ux(n,e,t){return{x:e==="x"?t:n.x,y:e==="y"?t:n.y}}function U$(n,e,t,i){var r=Math.max(e[i],t[i]),o=Math.min(e[i],t[i]),s=20,a=Math.min(Math.max(o+s,n[i]),r-s);return ux(e,i,a)}function XE(n){return n==="x"?"y":"x"}function GE(n,e,t){var i,r;return n.original?n.original:(i=le(e),r=XE(t),ux(n,r,i[r]))}function Hp(n,e,t,i,r,o){var s=n.get("connectionDocking",!1);this.start=function(f,h,d){var p,m=t.getGraphics(h),g=d-1,b=d,_=h.waypoints,v=_[g],x=_[b],C=vf(t,_,f),E,S,w;if(E=pr(v,x),!!E)return S=E==="v"?"x":"y",g===0&&(v=GE(v,h.source,S)),b===_.length-1&&(x=GE(x,h.target,S)),C?w=C.point:w={x:(v.x+x.x)/2,y:(v.y+x.y)/2},p={connection:h,segmentStartIndex:g,segmentEndIndex:b,segmentStart:v,segmentEnd:x,axis:S,dragPosition:w},i.init(f,w,"connectionSegment.move",{cursor:S==="x"?"resize-ew":"resize-ns",data:{connection:h,connectionGfx:m,context:p}})};function a(f,h){if(!s)return h;var d=f.waypoints,p;return f.waypoints=h,p=s.getCroppedWaypoints(f),f.waypoints=d,p}function l(f){r.update("connection",f.connection,f.connectionGfx)}function c(f,h,d){var p=f.newWaypoints,m=f.segmentStartIndex+h,g=p[m],b=f.segmentEndIndex+h,_=p[b],v=XE(f.axis),x=U$(d,g,_,v);jt(f.draggerGfx,x.x,x.y)}function u(f,h){var d=0,p=f.filter(function(m,g){return sp(f[g-1],f[g+1],m)?(d=g<=h?d-1:d,!1):!0});return{waypoints:p,segmentOffset:d}}e.on("connectionSegment.move.start",function(f){var h=f.context,d=f.connection,p=t.getLayer("overlays");h.originalWaypoints=d.waypoints.slice(),h.draggerGfx=jp(p,h.segmentStart,h.segmentEnd),ne(h.draggerGfx).add("djs-dragging"),t.addMarker(d,QE)}),e.on("connectionSegment.move.move",function(f){var h=f.context,d=h.connection,p=h.segmentStartIndex,m=h.segmentEndIndex,g=h.segmentStart,b=h.segmentEnd,_=h.axis,v=h.originalWaypoints.slice(),x=KE(g,_,f["d"+_]),C=KE(b,_,f["d"+_]),E=v.length,S=0;v[p]=x,v[m]=C;var w,R;p<2&&(w=vt(d.source,x),p===1?w==="intersect"&&(v.shift(),v[0]=x,S--):w!=="intersect"&&(v.unshift(g),S++)),m>E-3&&(R=vt(d.target,C),m===E-2?R==="intersect"&&(v.pop(),v[v.length-1]=C):R!=="intersect"&&v.push(b)),h.newWaypoints=d.waypoints=a(d,v),c(h,S,f),h.newSegmentStartIndex=p+S,l(f)}),e.on("connectionSegment.move.hover",function(f){f.context.hover=f.hover,t.addMarker(f.hover,UE)}),e.on(["connectionSegment.move.out","connectionSegment.move.cleanup"],function(f){var h=f.context.hover;h&&t.removeMarker(h,UE)}),e.on("connectionSegment.move.cleanup",function(f){var h=f.context,d=h.connection;h.draggerGfx&&Fe(h.draggerGfx),t.removeMarker(d,QE)}),e.on(["connectionSegment.move.cancel","connectionSegment.move.end"],function(f){var h=f.context,d=h.connection;d.waypoints=h.originalWaypoints,l(f)}),e.on("connectionSegment.move.end",function(f){var h=f.context,d=h.connection,p=h.newWaypoints,m=h.newSegmentStartIndex;p=p.map(function(C){return{original:C.original,x:Math.round(C.x),y:Math.round(C.y)}});var g=u(p,m),b=g.waypoints,_=a(d,b),v=g.segmentOffset,x={segmentMove:{segmentStartIndex:h.segmentStartIndex,newSegmentStartIndex:m+v}};o.updateWaypoints(d,_,x)})}Hp.$inject=["injector","eventBus","canvas","dragging","graphicsFactory","modeling"];var Q$=Math.abs,YE=Math.round;function ZE(n,e,t){t=t===void 0?10:t;var i,r;for(i=0;i<e.length;i++)if(r=e[i],Q$(r-n)<=t)return r}function JE(n){return{x:n.x,y:n.y}}function eS(n){return{x:n.x+n.width,y:n.y+n.height}}function ms(n,e){return!n||isNaN(n.x)||isNaN(n.y)?e:{x:YE(n.x+n.width/2),y:YE(n.y+n.height/2)}}function wr(n,e){var t=n.snapped;return t?typeof e=="string"?t[e]:t.x&&t.y:!1}function vn(n,e,t){if(typeof e!="string")throw new Error("axis must be in [x, y]");if(typeof t!="number"&&t!==!1)throw new Error("value must be Number or false");var i,r=n[e],o=n.snapped=n.snapped||{};return t===!1?o[e]=!1:(o[e]=!0,i=t-r,n[e]+=i,n["d"+e]+=i),r}function zp(n){return n.children||[]}var K$=Math.abs,tS=Math.round,fx=10;function Wp(n){function e(o,s){if(F(o)){for(var a=o.length;a--;)if(K$(o[a]-s)<=fx)return o[a]}else{o=+o;var l=s%o;if(l<fx)return s-l;if(l>o-fx)return s-l+o}return s}function t(o,s){if(o.waypoints)return jE(s,o);if(o.width)return{x:tS(o.width/2+o.x),y:tS(o.height/2+o.y)}}function i(o){var s=o.context,a=s.snapPoints,l=s.connection,c=l.waypoints,u=s.segmentStart,f=s.segmentStartIndex,h=s.segmentEnd,d=s.segmentEndIndex,p=s.axis;if(a)return a;var m=[c[f-1],u,h,c[d+1]];return f<2&&m.unshift(t(l.source,o)),d>c.length-3&&m.unshift(t(l.target,o)),s.snapPoints=a={horizontal:[],vertical:[]},k(m,function(g){g&&(g=g.original||g,p==="y"&&a.horizontal.push(g.y),p==="x"&&a.vertical.push(g.x))}),a}n.on("connectionSegment.move.move",1500,function(o){var s=i(o),a=o.x,l=o.y,c,u;if(s){c=e(s.vertical,a),u=e(s.horizontal,l);var f=a-c,h=l-u;T(o,{dx:o.dx-f,dy:o.dy-h,x:c,y:u}),(f||s.vertical.indexOf(a)!==-1)&&vn(o,"x",c),(h||s.horizontal.indexOf(l)!==-1)&&vn(o,"y",u)}});function r(o){var s=o.snapPoints,a=o.connection.waypoints,l=o.bendpointIndex;if(s)return s;var c=[a[l-1],a[l+1]];return o.snapPoints=s={horizontal:[],vertical:[]},k(c,function(u){u&&(u=u.original||u,s.horizontal.push(u.y),s.vertical.push(u.x))}),s}n.on(["connect.hover","connect.move","connect.end"],1500,function(o){var s=o.context,a=s.hover,l=a&&t(a,o);!Xe(a)||!l||!l.x||!l.y||(vn(o,"x",l.x),vn(o,"y",l.y))}),n.on(["bendpoint.move.move","bendpoint.move.end"],1500,function(o){var s=o.context,a=r(s),l=s.hover,c=l&&t(l,o),u=o.x,f=o.y,h,d;if(a){h=e(c?a.vertical.concat([c.x]):a.vertical,u),d=e(c?a.horizontal.concat([c.y]):a.horizontal,f);var p=u-h,m=f-d;T(o,{dx:o.dx-p,dy:o.dy-m,x:o.x-p,y:o.y-m}),(p||a.vertical.indexOf(u)!==-1)&&vn(o,"x",h),(m||a.horizontal.indexOf(f)!==-1)&&vn(o,"y",d)}})}Wp.$inject=["eventBus"];var nS={__depends__:[gn,yn],__init__:["bendpoints","bendpointSnapping","bendpointMovePreview"],bendpoints:["type",Fp],bendpointMove:["type",wf],bendpointMovePreview:["type",Vp],connectionSegmentMove:["type",Hp],bendpointSnapping:["type",Wp]};var G$=new po;function vo(n){this._scheduled={},n.on("diagram.destroy",()=>{Object.keys(this._scheduled).forEach(e=>{this.cancel(e)})})}vo.$inject=["eventBus"];vo.prototype.schedule=function(n,e=G$.next()){this.cancel(e);let t=this._schedule(n,e);return this._scheduled[e]=t,t.promise};vo.prototype._schedule=function(n,e){let t=X$();return{executionId:setTimeout(()=>{try{this._scheduled[e]=null;try{t.resolve(n())}catch(r){t.reject(r)}}catch(r){console.error("Scheduler#_schedule execution failed",r)}}),promise:t.promise}};vo.prototype.cancel=function(n){let e=this._scheduled[n];e&&(this._cancel(e),this._scheduled[n]=null)};vo.prototype._cancel=function(n){clearTimeout(n.executionId)};function X$(){let n={};return n.promise=new Promise((e,t)=>{n.resolve=e,n.reject=t}),n}var iS={scheduler:["type",vo]};var Y$="djs-element-hidden",Up=".entry",Z$=1e3,rS=8,J$=300;function tt(n,e,t,i){this._canvas=n,this._elementRegistry=e,this._eventBus=t,this._scheduler=i,this._current=null,this._init()}tt.$inject=["canvas","elementRegistry","eventBus","scheduler"];tt.prototype._init=function(){var n=this;this._eventBus.on("selection.changed",function(e){var t=e.newSelection,i=t.length?t.length===1?t[0]:t:null;i?n.open(i,!0):n.close()}),this._eventBus.on("elements.changed",function(e){var t=e.elements,i=n._current;if(i){var r=i.target,o=F(r)?r:[r],s=o.filter(function(l){return t.includes(l)});if(s.length){n.close();var a=o.filter(function(l){return n._elementRegistry.get(l.id)});a.length&&n._updateAndOpen(a.length>1?a:a[0])}}}),this._eventBus.on("canvas.viewbox.changed",function(){n._updatePosition()}),this._eventBus.on("element.marker.update",function(e){if(n.isOpen()){var t=e.element,i=n._current,r=F(i.target)?i.target:[i.target];r.includes(t)&&n._updateVisibility()}}),this._container=this._createContainer()};tt.prototype._createContainer=function(){var n=te('<div class="djs-context-pad-parent"></div>');return this._canvas.getContainer().appendChild(n),n};tt.prototype.registerProvider=function(n,e){e||(e=n,n=Z$),this._eventBus.on("contextPad.getProviders",n,function(t){t.providers.push(e)})};tt.prototype.getEntries=function(n){var e=this._getProviders(),t=F(n)?"getMultiElementContextPadEntries":"getContextPadEntries",i={};return k(e,function(r){if(ge(r[t])){var o=r[t](n);ge(o)?i=o(i):k(o,function(s,a){i[a]=s})}}),i};tt.prototype.trigger=function(n,e,t){var i=this,r,o,s=e.delegateTarget||e.target;if(!s)return e.preventDefault();if(r=et(s,"data-action"),o=e.originalEvent||e,n==="mouseover"){this._timeout=setTimeout(function(){i._mouseout=i.triggerEntry(r,"hover",o,t)},J$);return}else if(n==="mouseout"){clearTimeout(this._timeout),this._mouseout&&(this._mouseout(),this._mouseout=null);return}return this.triggerEntry(r,n,o,t)};tt.prototype.triggerEntry=function(n,e,t,i){if(this.isShown()){var r=this._current.target,o=this._current.entries,s=o[n];if(s){var a=s.action;if(this._eventBus.fire("contextPad.trigger",{entry:s,event:t})!==!1){if(ge(a)){if(e==="click")return a(t,r,i)}else if(a[e])return a[e](t,r,i);t.preventDefault()}}}};tt.prototype.open=function(n,e){if(!(!e&&this.isOpen(n))){var t=this._eventBus.fire("contextPad.open.allowed",{target:n});t!==!1&&(this.close(),this._updateAndOpen(n))}};tt.prototype._getProviders=function(){var n=this._eventBus.createEvent({type:"contextPad.getProviders",providers:[]});return this._eventBus.fire(n),n.providers};tt.prototype._updateAndOpen=function(n){var e=this.getEntries(n),t=this._createHtml(n),i;k(e,function(r,o){var s=r.group||"default",a=te(r.html||'<div class="entry" draggable="true"></div>'),l;et(a,"data-action",o),l=X("[data-group="+Sa(s)+"]",t),l||(l=te('<div class="group"></div>'),et(l,"data-group",s),t.appendChild(l)),l.appendChild(a),r.className&&ej(a,r.className),r.title&&et(a,"title",r.title),r.imageUrl&&(i=te("<img>"),et(i,"src",r.imageUrl),i.style.width="100%",i.style.height="100%",a.appendChild(i))}),ee(t).add("open"),this._current={entries:e,html:t,target:n},this._updatePosition(),this._updateVisibility(),this._eventBus.fire("contextPad.open",{current:this._current})};tt.prototype._createHtml=function(n){var e=this,t=te('<div class="djs-context-pad"></div>');return _t.bind(t,Up,"click",function(i){e.trigger("click",i)}),_t.bind(t,Up,"dragstart",function(i){e.trigger("dragstart",i)}),_t.bind(t,Up,"mouseover",function(i){e.trigger("mouseover",i)}),_t.bind(t,Up,"mouseout",function(i){e.trigger("mouseout",i)}),q.bind(t,"mousedown",function(i){i.stopPropagation()}),this._container.appendChild(t),this._eventBus.fire("contextPad.create",{target:n,pad:t}),t};tt.prototype.getPad=function(n){console.warn(new Error("ContextPad#getPad is deprecated and will be removed in future library versions, cf. https://github.com/bpmn-io/diagram-js/pull/888"));let e;return this.isOpen()&&nj(this._current.target,n)?e=this._current.html:e=this._createHtml(n),{html:e}};tt.prototype.close=function(){this.isOpen()&&(clearTimeout(this._timeout),this._container.innerHTML="",this._eventBus.fire("contextPad.close",{current:this._current}),this._current=null)};tt.prototype.isOpen=function(n){var e=this._current;if(!e)return!1;if(!n)return!0;var t=e.target;return F(n)!==F(t)?!1:F(n)?n.length===t.length&&kt(n,function(i){return t.includes(i)}):t===n};tt.prototype.isShown=function(){return this.isOpen()&&ee(this._current.html).has("open")};tt.prototype.show=function(){this.isOpen()&&(ee(this._current.html).add("open"),this._updatePosition(),this._eventBus.fire("contextPad.show",{current:this._current}))};tt.prototype.hide=function(){this.isOpen()&&(ee(this._current.html).remove("open"),this._eventBus.fire("contextPad.hide",{current:this._current}))};tt.prototype._getPosition=function(n){if(!F(n)&&Xe(n)){var e=this._canvas.viewbox(),t=tj(n),i=t.x*e.scale-e.x*e.scale,r=t.y*e.scale-e.y*e.scale;return{left:i+rS*this._canvas.zoom(),top:r}}var o=this._canvas.getContainer(),s=o.getBoundingClientRect(),a=this._getTargetBounds(n);return{left:a.right-s.left+rS*this._canvas.zoom(),top:a.top-s.top}};tt.prototype._updatePosition=function(){let n=()=>{if(this.isOpen()){var e=this._current.html,t=this._getPosition(this._current.target);"x"in t&&"y"in t?(e.style.left=t.x+"px",e.style.top=t.y+"px"):["top","right","bottom","left"].forEach(function(i){i in t&&(e.style[i]=t[i]+"px")})}};this._scheduler.schedule(n,"ContextPad#_updatePosition")};tt.prototype._updateVisibility=function(){let n=()=>{if(this.isOpen()){var e=this,t=this._current.target,i=F(t)?t:[t],r=i.some(function(o){return e._canvas.hasMarker(o,Y$)});r?e.hide():e.show()}};this._scheduler.schedule(n,"ContextPad#_updateVisibility")};tt.prototype._getTargetBounds=function(n){var e=this,t=F(n)?n:[n],i=t.map(function(r){return e._canvas.getGraphics(r)});return i.reduce(function(r,o){let s=o.getBoundingClientRect();return r.top=Math.min(r.top,s.top),r.right=Math.max(r.right,s.right),r.bottom=Math.max(r.bottom,s.bottom),r.left=Math.min(r.left,s.left),r.x=r.left,r.y=r.top,r.width=r.right-r.left,r.height=r.bottom-r.top,r},{top:1/0,right:-1/0,bottom:-1/0,left:1/0})};function ej(n,e){var t=ee(n);e=F(e)?e:e.split(/\s+/g),e.forEach(function(i){t.add(i)})}function tj(n){return n.waypoints[n.waypoints.length-1]}function nj(n,e){return n=F(n)?n:[n],e=F(e)?e:[e],n.length===e.length&&kt(n,function(t){return e.includes(t)})}var oS={__depends__:[fo,iS,mo],contextPad:["type",tt]};function Kp(n,e,t,i){function r(s,a){return i.allowed("connection.create",{source:s,target:a})}function o(s,a){return r(a,s)}n.on("connect.hover",function(s){var a=s.context,l=a.start,c=s.hover,u;if(a.hover=c,u=a.canExecute=r(l,c),!Yr(u)){if(u!==!1){a.source=l,a.target=c;return}u=a.canExecute=o(l,c),!Yr(u)&&u!==!1&&(a.source=c,a.target=l)}}),n.on(["connect.out","connect.cleanup"],function(s){var a=s.context;a.hover=null,a.source=null,a.target=null,a.canExecute=!1}),n.on("connect.end",function(s){var a=s.context,l=a.canExecute,c=a.connectionStart,u={x:s.x,y:s.y},f=a.source,h=a.target;if(!l)return!1;var d=null,p={connectionStart:Qp(a)?u:c,connectionEnd:Qp(a)?c:u};Pe(l)&&(d=l),a.connection=t.connect(f,h,d,p)}),this.start=function(s,a,l,c){Pe(l)||(c=l,l=le(a)),e.init(s,"connect",{autoActivate:c,data:{shape:a,context:{start:a,connectionStart:l}}})}}Kp.$inject=["eventBus","dragging","modeling","rules"];function Qp(n){var e=n.hover,t=n.source,i=n.target;return e&&t&&e===t&&t!==i}var ij=1100,rj=900,sS="connect-ok",aS="connect-not-ok";function Gp(n,e,t){var i=n.get("connectionPreview",!1);i&&e.on("connect.move",function(r){var o=r.context,s=o.canExecute,a=o.hover,l=o.source,c=o.start,u=o.startPosition,f=o.target,h=o.connectionStart||u,d=o.connectionEnd||{x:r.x,y:r.y},p=h,m=d;Qp(o)&&(p=d,m=h),i.drawPreview(o,s,{source:l||c,target:f||a,connectionStart:p,connectionEnd:m})}),e.on("connect.hover",rj,function(r){var o=r.context,s=r.hover,a=o.canExecute;a!==null&&t.addMarker(s,a?sS:aS)}),e.on(["connect.out","connect.cleanup"],ij,function(r){var o=r.hover;o&&(t.removeMarker(o,sS),t.removeMarker(o,aS))}),i&&e.on("connect.cleanup",function(r){i.cleanUp(r.context)})}Gp.$inject=["injector","eventBus","canvas"];var lS={__depends__:[ht,yn,gn],__init__:["connectPreview"],connect:["type",Kp],connectPreview:["type",Gp]};var oj=new po("ps"),sj=["marker-start","marker-mid","marker-end"],aj=["circle","ellipse","line","path","polygon","polyline","path","rect"];function ji(n,e,t,i){this._elementRegistry=n,this._canvas=t,this._styles=i}ji.$inject=["elementRegistry","eventBus","canvas","styles"];ji.prototype.cleanUp=function(){console.warn("PreviewSupport#cleanUp is deprecated and will be removed in future versions. You do not need to manually clean up previews anymore. cf. https://github.com/bpmn-io/diagram-js/pull/906")};ji.prototype.getGfx=function(n){return this._elementRegistry.getGraphics(n)};ji.prototype.addDragger=function(n,e,t,i="djs-dragger"){t=t||this.getGfx(n);var r=gv(t),o=t.getBoundingClientRect();return this._cloneMarkers(ls(r),i),j(r,this._styles.cls(i,[],{x:o.top,y:o.left})),K(e,r),j(r,"data-preview-support-element-id",n.id),r};ji.prototype.addFrame=function(n,e){var t=Q("rect",{class:"djs-resize-overlay",width:n.width,height:n.height,x:n.x,y:n.y});return K(e,t),j(t,"data-preview-support-element-id",n.id),t};ji.prototype._cloneMarkers=function(n,e="djs-dragger",t=n){var i=this;n.childNodes&&n.childNodes.forEach(r=>{i._cloneMarkers(r,e,t)}),fj(n)&&sj.forEach(function(r){if(j(n,r)){var o=lj(n,r,i._canvas.getContainer());o&&i._cloneMarker(t,n,o,r,e)}})};ji.prototype._cloneMarker=function(n,e,t,i,r="djs-dragger"){var o=[t.id,r,oj.next()].join("-"),s=X("marker#"+t.id,n);n=n||this._canvas._svg;var a=s||gv(t);a.id=o,ne(a).add(r);var l=X(":scope > defs",n);l||(l=Q("defs"),K(n,l)),K(l,a);var c=uj(a.id);j(e,i,c)};function lj(n,e,t){var i=cj(j(n,e));return X("marker#"+i,t||document)}function cj(n){return n.match(/url\(['"]?#([^'"]*)['"]?\)/)[1]}function uj(n){return"url(#"+n+")"}function fj(n){return aj.indexOf(n.nodeName)!==-1}var ka={__init__:["previewSupport"],previewSupport:["type",ji]};var hj="drop-ok",cS="drop-not-ok",uS="attach-ok",fS="new-parent",hS="create",dj=2e3;function Xp(n,e,t,i,r){function o(l,c,u,f,h){if(!c)return!1;l=Ee(l,function(_){var v=_.labelTarget;return!_.parent&&!(Bi(_)&&l.indexOf(v)!==-1)});var d=ye(l,function(_){return!Xe(_)}),p=!1,m=!1,g=!1;pS(l)&&(p=r.allowed("shape.attach",{position:u,shape:d,target:c})),p||(pS(l)?g=r.allowed("shape.create",{position:u,shape:d,source:f,target:c}):g=r.allowed("elements.create",{elements:l,position:u,target:c}));var b=h.connectionTarget;return g||p?(d&&f&&(m=r.allowed("connection.create",{source:b===f?d:f,target:b===f?f:d,hints:{targetParent:c,targetAttach:p}})),{attach:p,connect:m}):g===null||p===null?null:!1}function s(l,c){[uS,hj,cS,fS].forEach(function(u){u===c?n.addMarker(l,u):n.removeMarker(l,u)})}t.on(["create.move","create.hover"],function(l){var c=l.context,u=c.elements,f=l.hover,h=c.source,d=c.hints||{};if(!f){c.canExecute=!1,c.target=null;return}dS(l);var p={x:l.x,y:l.y},m=c.canExecute=f&&o(u,f,p,h,d);f&&m!==null&&(c.target=f,m&&m.attach?s(f,uS):s(f,m?fS:cS))}),t.on(["create.end","create.out","create.cleanup"],function(l){var c=l.hover;c&&s(c,null)}),t.on("create.end",function(l){var c=l.context,u=c.source,f=c.shape,h=c.elements,d=c.target,p=c.canExecute,m=p&&p.attach,g=p&&p.connect,b=c.hints||{};if(p===!1||!d)return!1;dS(l);var _={x:l.x,y:l.y};g?f=i.appendShape(u,f,_,d,{attach:m,connection:g===!0?{}:g,connectionTarget:b.connectionTarget}):(h=i.createElements(h,_,d,T({},b,{attach:m})),f=ye(h,function(v){return!Xe(v)})),T(c,{elements:h,shape:f}),T(l,{elements:h,shape:f})});function a(){var l=e.context();l&&l.prefix===hS&&e.cancel()}t.on("create.init",function(){t.on("elements.changed",a),t.once(["create.cancel","create.end"],dj,function(){t.off("elements.changed",a)})}),this.start=function(l,c,u){F(c)||(c=[c]);var f=ye(c,function(p){return!Xe(p)});if(f){u=T({elements:c,hints:{},shape:f},u||{}),k(c,function(p){se(p.x)||(p.x=0),se(p.y)||(p.y=0)});var h=Ee(c,function(p){return!p.hidden}),d=Tt(h);k(c,function(p){Xe(p)&&(p.waypoints=Vt(p.waypoints,function(m){return{x:m.x-d.x-d.width/2,y:m.y-d.y-d.height/2}})),T(p,{x:p.x-d.x-d.width/2,y:p.y-d.y-d.height/2})}),e.init(l,hS,{cursor:"grabbing",autoActivate:!0,data:{shape:f,elements:c,context:u}})}}}Xp.$inject=["canvas","dragging","eventBus","modeling","rules"];function dS(n){var e=n.context,t=e.createConstraints;t&&(t.left&&(n.x=Math.max(n.x,t.left)),t.right&&(n.x=Math.min(n.x,t.right)),t.top&&(n.y=Math.max(n.y,t.top)),t.bottom&&(n.y=Math.min(n.y,t.bottom)))}function pS(n){return n&&n.length===1&&!Xe(n[0])}var pj=750;function Yp(n,e,t,i,r){function o(s){var a=Q("g");j(a,r.cls("djs-drag-group",["no-events"]));var l=Q("g");return s.forEach(function(c){var u;c.hidden||(c.waypoints?(u=t._createContainer("connection",l),t.drawConnection(ls(u),c)):(u=t._createContainer("shape",l),t.drawShape(ls(u),c),jt(u,c.x,c.y)),i.addDragger(c,a,u))}),a}e.on("create.move",pj,function(s){var a=s.hover,l=s.context,c=l.elements,u=l.dragGroup;u||(u=l.dragGroup=o(c));var f;a?(u.parentNode||(f=n.getActiveLayer(),K(f,u)),jt(u,s.x,s.y)):Fe(u)}),e.on("create.cleanup",function(s){var a=s.context,l=a.dragGroup;l&&Fe(l)})}Yp.$inject=["canvas","eventBus","graphicsFactory","previewSupport","styles"];var Zp={__depends__:[gn,ka,yn,ht],__init__:["create","createPreview"],create:["type",Xp],createPreview:["type",Yp]};var om,He,xS,mj,xo,mS,bS,_S,hx,em,Ef,wS,gx,dx,px,gj,nm={},im=[],yj=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,sm=Array.isArray;function Cr(n,e){for(var t in e)n[t]=e[t];return n}function yx(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function am(n,e,t){var i,r,o,s={};for(o in e)o=="key"?i=e[o]:o=="ref"?r=e[o]:s[o]=e[o];if(arguments.length>2&&(s.children=arguments.length>3?om.call(arguments,2):t),typeof n=="function"&&n.defaultProps!=null)for(o in n.defaultProps)s[o]===void 0&&(s[o]=n.defaultProps[o]);return tm(n,s,i,r,null)}function tm(n,e,t,i,r){var o={type:n,props:e,key:t,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:r==null?++xS:r,__i:-1,__u:0};return r==null&&He.vnode!=null&&He.vnode(o),o}function lm(n){return n.children}function Sf(n,e){this.props=n,this.context=e}function Ra(n,e){if(e==null)return n.__?Ra(n.__,n.__i+1):null;for(var t;e<n.__k.length;e++)if((t=n.__k[e])!=null&&t.__e!=null)return t.__e;return typeof n.type=="function"?Ra(n):null}function vj(n){if(n.__P&&n.__d){var e=n.__v,t=e.__e,i=[],r=[],o=Cr({},e);o.__v=e.__v+1,He.vnode&&He.vnode(o),vx(n.__P,o,e,n.__n,n.__P.namespaceURI,32&e.__u?[t]:null,i,t==null?Ra(e):t,!!(32&e.__u),r),o.__v=e.__v,o.__.__k[o.__i]=o,OS(i,o,r),e.__e=e.__=null,o.__e!=t&&CS(o)}}function CS(n){if((n=n.__)!=null&&n.__c!=null)return n.__e=n.__c.base=null,n.__k.some(function(e){if(e!=null&&e.__e!=null)return n.__e=n.__c.base=e.__e}),CS(n)}function gS(n){(!n.__d&&(n.__d=!0)&&xo.push(n)&&!rm.__r++||mS!=He.debounceRendering)&&((mS=He.debounceRendering)||bS)(rm)}function rm(){try{for(var n,e=1;xo.length;)xo.length>e&&xo.sort(_S),n=xo.shift(),e=xo.length,vj(n)}finally{xo.length=rm.__r=0}}function ES(n,e,t,i,r,o,s,a,l,c,u){var f,h,d,p,m,g,b,_=i&&i.__k||im,v=e.length;for(l=xj(t,e,_,l,v),f=0;f<v;f++)(d=t.__k[f])!=null&&(h=d.__i!=-1&&_[d.__i]||nm,d.__i=f,g=vx(n,d,h,r,o,s,a,l,c,u),p=d.__e,d.ref&&h.ref!=d.ref&&(h.ref&&xx(h.ref,null,d),u.push(d.ref,d.__c||p,d)),m==null&&p!=null&&(m=p),(b=!!(4&d.__u))||h.__k===d.__k?(l=SS(d,l,n,b),b&&h.__e&&(h.__e=null)):typeof d.type=="function"&&g!==void 0?l=g:p&&(l=p.nextSibling),d.__u&=-7);return t.__e=m,l}function xj(n,e,t,i,r){var o,s,a,l,c,u=t.length,f=u,h=0;for(n.__k=new Array(r),o=0;o<r;o++)(s=e[o])!=null&&typeof s!="boolean"&&typeof s!="function"?(typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?s=n.__k[o]=tm(null,s,null,null,null):sm(s)?s=n.__k[o]=tm(lm,{children:s},null,null,null):s.constructor===void 0&&s.__b>0?s=n.__k[o]=tm(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):n.__k[o]=s,l=o+h,s.__=n,s.__b=n.__b+1,a=null,(c=s.__i=bj(s,t,l,f))!=-1&&(f--,(a=t[c])&&(a.__u|=2)),a==null||a.__v==null?(c==-1&&(r>u?h--:r<u&&h++),typeof s.type!="function"&&(s.__u|=4)):c!=l&&(c==l-1?h--:c==l+1?h++:(c>l?h--:h++,s.__u|=4))):n.__k[o]=null;if(f)for(o=0;o<u;o++)(a=t[o])!=null&&(2&a.__u)==0&&(a.__e==i&&(i=Ra(a)),RS(a,a));return i}function SS(n,e,t,i){var r,o;if(typeof n.type=="function"){for(r=n.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=n,e=SS(r[o],e,t,i));return e}n.__e!=e&&(i&&(e&&n.type&&!e.parentNode&&(e=Ra(n)),t.insertBefore(n.__e,e||null)),e=n.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType==8);return e}function bj(n,e,t,i){var r,o,s,a=n.key,l=n.type,c=e[t],u=c!=null&&(2&c.__u)==0;if(c===null&&a==null||u&&a==c.key&&l==c.type)return t;if(i>(u?1:0)){for(r=t-1,o=t+1;r>=0||o<e.length;)if((c=e[s=r>=0?r--:o++])!=null&&(2&c.__u)==0&&a==c.key&&l==c.type)return s}return-1}function yS(n,e,t){e[0]=="-"?n.setProperty(e,t==null?"":t):n[e]=t==null?"":typeof t!="number"||yj.test(e)?t:t+"px"}function Jp(n,e,t,i,r){var o,s;e:if(e=="style")if(typeof t=="string")n.style.cssText=t;else{if(typeof i=="string"&&(n.style.cssText=i=""),i)for(e in i)t&&e in t||yS(n.style,e,"");if(t)for(e in t)i&&t[e]==i[e]||yS(n.style,e,t[e])}else if(e[0]=="o"&&e[1]=="n")o=e!=(e=e.replace(wS,"$1")),s=e.toLowerCase(),e=s in n||e=="onFocusOut"||e=="onFocusIn"?s.slice(2):e.slice(2),n.l||(n.l={}),n.l[e+o]=t,t?i?t[Ef]=i[Ef]:(t[Ef]=gx,n.addEventListener(e,o?px:dx,o)):n.removeEventListener(e,o?px:dx,o);else{if(r=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in n)try{n[e]=t==null?"":t;break e}catch{}typeof t=="function"||(t==null||t===!1&&e[4]!="-"?n.removeAttribute(e):n.setAttribute(e,e=="popover"&&t==1?"":t))}}function vS(n){return function(e){if(this.l){var t=this.l[e.type+n];if(e[em]==null)e[em]=gx++;else if(e[em]<t[Ef])return;return t(He.event?He.event(e):e)}}}function vx(n,e,t,i,r,o,s,a,l,c){var u,f,h,d,p,m,g,b,_,v,x,C,E,S,w,R=e.type;if(e.constructor!==void 0)return null;128&t.__u&&(l=!!(32&t.__u),o=[a=e.__e=t.__e]),(u=He.__b)&&u(e);e:if(typeof R=="function")try{if(b=e.props,_=R.prototype&&R.prototype.render,v=(u=R.contextType)&&i[u.__c],x=u?v?v.props.value:u.__:i,t.__c?g=(f=e.__c=t.__c).__=f.__E:(_?e.__c=f=new R(b,x):(e.__c=f=new Sf(b,x),f.constructor=R,f.render=wj),v&&v.sub(f),f.state||(f.state={}),f.__n=i,h=f.__d=!0,f.__h=[],f._sb=[]),_&&f.__s==null&&(f.__s=f.state),_&&R.getDerivedStateFromProps!=null&&(f.__s==f.state&&(f.__s=Cr({},f.__s)),Cr(f.__s,R.getDerivedStateFromProps(b,f.__s))),d=f.props,p=f.state,f.__v=e,h)_&&R.getDerivedStateFromProps==null&&f.componentWillMount!=null&&f.componentWillMount(),_&&f.componentDidMount!=null&&f.__h.push(f.componentDidMount);else{if(_&&R.getDerivedStateFromProps==null&&b!==d&&f.componentWillReceiveProps!=null&&f.componentWillReceiveProps(b,x),e.__v==t.__v||!f.__e&&f.shouldComponentUpdate!=null&&f.shouldComponentUpdate(b,f.__s,x)===!1){e.__v!=t.__v&&(f.props=b,f.state=f.__s,f.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.some(function(A){A&&(A.__=e)}),im.push.apply(f.__h,f._sb),f._sb=[],f.__h.length&&s.push(f);break e}f.componentWillUpdate!=null&&f.componentWillUpdate(b,f.__s,x),_&&f.componentDidUpdate!=null&&f.__h.push(function(){f.componentDidUpdate(d,p,m)})}if(f.context=x,f.props=b,f.__P=n,f.__e=!1,C=He.__r,E=0,_)f.state=f.__s,f.__d=!1,C&&C(e),u=f.render(f.props,f.state,f.context),im.push.apply(f.__h,f._sb),f._sb=[];else do f.__d=!1,C&&C(e),u=f.render(f.props,f.state,f.context),f.state=f.__s;while(f.__d&&++E<25);f.state=f.__s,f.getChildContext!=null&&(i=Cr(Cr({},i),f.getChildContext())),_&&!h&&f.getSnapshotBeforeUpdate!=null&&(m=f.getSnapshotBeforeUpdate(d,p)),S=u!=null&&u.type===lm&&u.key==null?kS(u.props.children):u,a=ES(n,sm(S)?S:[S],e,t,i,r,o,s,a,l,c),f.base=e.__e,e.__u&=-161,f.__h.length&&s.push(f),g&&(f.__E=f.__=null)}catch(A){if(e.__v=null,l||o!=null)if(A.then){for(e.__u|=l?160:128;a&&a.nodeType==8&&a.nextSibling;)a=a.nextSibling;o[o.indexOf(a)]=null,e.__e=a}else{for(w=o.length;w--;)yx(o[w]);mx(e)}else e.__e=t.__e,e.__k=t.__k,A.then||mx(e);He.__e(A,e,t)}else o==null&&e.__v==t.__v?(e.__k=t.__k,e.__e=t.__e):a=e.__e=_j(t.__e,e,t,i,r,o,s,l,c);return(u=He.diffed)&&u(e),128&e.__u?void 0:a}function mx(n){n&&(n.__c&&(n.__c.__e=!0),n.__k&&n.__k.some(mx))}function OS(n,e,t){for(var i=0;i<t.length;i++)xx(t[i],t[++i],t[++i]);He.__c&&He.__c(e,n),n.some(function(r){try{n=r.__h,r.__h=[],n.some(function(o){o.call(r)})}catch(o){He.__e(o,r.__v)}})}function kS(n){return typeof n!="object"||n==null||n.__b>0?n:sm(n)?n.map(kS):n.constructor!==void 0?null:Cr({},n)}function _j(n,e,t,i,r,o,s,a,l){var c,u,f,h,d,p,m,g=t.props||nm,b=e.props,_=e.type;if(_=="svg"?r="http://www.w3.org/2000/svg":_=="math"?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),o!=null){for(c=0;c<o.length;c++)if((d=o[c])&&"setAttribute"in d==!!_&&(_?d.localName==_:d.nodeType==3)){n=d,o[c]=null;break}}if(n==null){if(_==null)return document.createTextNode(b);n=document.createElementNS(r,_,b.is&&b),a&&(He.__m&&He.__m(e,o),a=!1),o=null}if(_==null)g===b||a&&n.data==b||(n.data=b);else{if(o=_=="textarea"&&b.defaultValue!=null?null:o&&om.call(n.childNodes),!a&&o!=null)for(g={},c=0;c<n.attributes.length;c++)g[(d=n.attributes[c]).name]=d.value;for(c in g)d=g[c],c=="dangerouslySetInnerHTML"?f=d:c=="children"||c in b||c=="value"&&"defaultValue"in b||c=="checked"&&"defaultChecked"in b||Jp(n,c,null,d,r);for(c in b)d=b[c],c=="children"?h=d:c=="dangerouslySetInnerHTML"?u=d:c=="value"?p=d:c=="checked"?m=d:a&&typeof d!="function"||g[c]===d||Jp(n,c,d,g[c],r);if(u)a||f&&(u.__html==f.__html||u.__html==n.innerHTML)||(n.innerHTML=u.__html),e.__k=[];else if(f&&(n.innerHTML=""),ES(e.type=="template"?n.content:n,sm(h)?h:[h],e,t,i,_=="foreignObject"?"http://www.w3.org/1999/xhtml":r,o,s,o?o[0]:t.__k&&Ra(t,0),a,l),o!=null)for(c=o.length;c--;)yx(o[c]);a&&_!="textarea"||(c="value",_=="progress"&&p==null?n.removeAttribute("value"):p!=null&&(p!==n[c]||_=="progress"&&!p||_=="option"&&p!=g[c])&&Jp(n,c,p,g[c],r),c="checked",m!=null&&m!=n[c]&&Jp(n,c,m,g[c],r))}return n}function xx(n,e,t){try{if(typeof n=="function"){var i=typeof n.__u=="function";i&&n.__u(),i&&e==null||(n.__u=n(e))}else n.current=e}catch(r){He.__e(r,t)}}function RS(n,e,t){var i,r;if(He.unmount&&He.unmount(n),(i=n.ref)&&(i.current&&i.current!=n.__e||xx(i,null,e)),(i=n.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(o){He.__e(o,e)}i.base=i.__P=null}if(i=n.__k)for(r=0;r<i.length;r++)i[r]&&RS(i[r],e,t||typeof n.type!="function");t||yx(n.__e),n.__c=n.__=n.__e=void 0}function wj(n,e,t){return this.constructor(n,t)}function cm(n,e,t){var i,r,o,s;e==document&&(e=document.documentElement),He.__&&He.__(n,e),r=(i=typeof t=="function")?null:t&&t.__k||e.__k,o=[],s=[],vx(e,n=(!i&&t||e).__k=am(lm,null,[n]),r||nm,nm,e.namespaceURI,!i&&t?[t]:r?null:e.firstChild?om.call(e.childNodes):null,o,!i&&t?t:r?r.__e:e.firstChild,i,s),OS(o,n,s)}om=im.slice,He={__e:function(n,e,t,i){for(var r,o,s;e=e.__;)if((r=e.__c)&&!r.__)try{if((o=r.constructor)&&o.getDerivedStateFromError!=null&&(r.setState(o.getDerivedStateFromError(n)),s=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(n,i||{}),s=r.__d),s)return r.__E=r}catch(a){n=a}throw n}},xS=0,mj=function(n){return n!=null&&n.constructor===void 0},Sf.prototype.setState=function(n,e){var t;t=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=Cr({},this.state),typeof n=="function"&&(n=n(Cr({},t),this.props)),n&&Cr(t,n),n!=null&&this.__v&&(e&&this._sb.push(e),gS(this))},Sf.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),gS(this))},Sf.prototype.render=lm,xo=[],bS=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_S=function(n,e){return n.__v.__b-e.__v.__b},rm.__r=0,hx=Math.random().toString(8),em="__d"+hx,Ef="__a"+hx,wS=/(PointerCapture)$|Capture$/i,gx=0,dx=vS(!1),px=vS(!0),gj=0;var AS=function(n,e,t,i){var r;e[0]=0;for(var o=1;o<e.length;o++){var s=e[o++],a=e[o]?(e[0]|=s?1:2,t[e[o++]]):e[++o];s===3?i[0]=a:s===4?i[1]=Object.assign(i[1]||{},a):s===5?(i[1]=i[1]||{})[e[++o]]=a:s===6?i[1][e[++o]]+=a+"":s?(r=n.apply(a,AS(n,a,t,["",null])),i.push(r),a[0]?e[0]|=2:(e[o-2]=0,e[o]=r)):i.push(a)}return i},TS=new Map;function MS(n){var e=TS.get(this);return e||(e=new Map,TS.set(this,e)),(e=AS(this,e.get(n)||(e.set(n,e=(function(t){for(var i,r,o=1,s="",a="",l=[0],c=function(h){o===1&&(h||(s=s.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?l.push(0,h,s):o===3&&(h||s)?(l.push(3,h,s),o=2):o===2&&s==="..."&&h?l.push(4,h,0):o===2&&s&&!h?l.push(5,0,!0,s):o>=5&&((s||!h&&o===5)&&(l.push(o,0,s,r),o=6),h&&(l.push(o,h,0,r),o=6)),s=""},u=0;u<t.length;u++){u&&(o===1&&c(),c(u));for(var f=0;f<t[u].length;f++)i=t[u][f],o===1?i==="<"?(c(),l=[l],o=3):s+=i:o===4?s==="--"&&i===">"?(o=1,s=""):s=i+s[0]:a?i===a?a="":s+=i:i==='"'||i==="'"?a=i:i===">"?(c(),o=1):o&&(i==="="?(o=5,r=s,s=""):i==="/"&&(o<5||t[u][f+1]===">")?(c(),o===3&&(l=l[0]),o=l,(l=l[0]).push(2,0,o),o=0):i===" "||i===" "||i===` class [all...] |
| /plugin/bpmnio/vendor/bpmn-js/dist/ |
| H A D | bpmn-modeler.production.min.js | 7 `),this},this.appendIndent=function(){return t&&e.write(n.join(" ")),this},this.indent=function(){return n.push(""),this},this.unindent=function(){return n.pop(),this}}function uh(e){e=C({format:!1,preamble:!0},e||{});function t(n,r){var i=r||new Kw,o=new Yw(i,e.format);e.preamble&&o.append(Ow);var a=new qe,s=n.$model;if(a.getNamespaces().mapDefaultPrefixes(Xw(s)),a.build(n).serializeTo(o),!r)return i.value}return{toXML:t}}function Xw(e){let t=e.config&&e.config.nsMap||{},n={};for(let r in Gl)n[r]=Gl[r];for(let r in t){let i=t[r];n[i]=r}for(let r of e.getPackages())n[r.prefix]=r.uri;return n}function kc(e,t){tn.call(this,e,t)}kc.prototype=Object.create(tn.prototype);kc.prototype.fromXML=function(e,t,n){st(t)||(n=t,t="bpmn:Definitions");var r=new Mc(C({model:this,lax:!0},n)),i=r.handler(t);return r.fromXML(e,i)};kc.prototype.toXML=function(e,t){var n=new uh(t);return new Promise(function(r,i){try{var o=n.toXML(e);return r({xml:o})}catch(a){return i(a)}})};var Zw="BPMN20",Qw="http://www.omg.org/spec/BPMN/20100524/MODEL",Jw="bpmn",eS=[],tS=[{name:"Interface",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"operations",type:"Operation",isMany:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"Operation",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"inMessageRef",type:"Message",isReference:!0},{name:"outMessageRef",type:"Message",isReference:!0},{name:"errorRef",type:"Error",isMany:!0,isReference:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"EndPoint",superClass:["RootElement"]},{name:"Auditing",superClass:["BaseElement"]},{name:"GlobalTask",superClass:["CallableElement"],properties:[{name:"resources",type:"ResourceRole",isMany:!0}]},{name:"Monitoring",superClass:["BaseElement"]},{name:"Performer",superClass:["ResourceRole"]},{name:"Process",superClass:["FlowElementsContainer","CallableElement"],properties:[{name:"processType",type:"ProcessType",isAttr:!0},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"properties",type:"Property",isMany:!0},{name:"laneSets",isMany:!0,replaces:"FlowElementsContainer#laneSets",type:"LaneSet"},{name:"flowElements",isMany:!0,replaces:"FlowElementsContainer#flowElements",type:"FlowElement"},{name:"artifacts",type:"Artifact",isMany:!0},{name:"resources",type:"ResourceRole",isMany:!0},{name:"correlationSubscriptions",type:"CorrelationSubscription",isMany:!0},{name:"supports",type:"Process",isMany:!0,isReference:!0},{name:"definitionalCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"isExecutable",isAttr:!0,type:"Boolean"}]},{name:"LaneSet",superClass:["BaseElement"],properties:[{name:"lanes",type:"Lane",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Lane",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"partitionElementRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"partitionElement",type:"BaseElement"},{name:"flowNodeRef",type:"FlowNode",isMany:!0,isReference:!0},{name:"childLaneSet",type:"LaneSet",xml:{serialize:"xsi:type"}}]},{name:"GlobalManualTask",superClass:["GlobalTask"]},{name:"ManualTask",superClass:["Task"]},{name:"UserTask",superClass:["Task"],properties:[{name:"renderings",type:"Rendering",isMany:!0},{name:"implementation",isAttr:!0,type:"String"}]},{name:"Rendering",superClass:["BaseElement"]},{name:"HumanPerformer",superClass:["Performer"]},{name:"PotentialOwner",superClass:["HumanPerformer"]},{name:"GlobalUserTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"renderings",type:"Rendering",isMany:!0}]},{name:"Gateway",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"gatewayDirection",type:"GatewayDirection",default:"Unspecified",isAttr:!0}]},{name:"EventBasedGateway",superClass:["Gateway"],properties:[{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"eventGatewayType",type:"EventBasedGatewayType",isAttr:!0,default:"Exclusive"}]},{name:"ComplexGateway",superClass:["Gateway"],properties:[{name:"activationCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ExclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"InclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ParallelGateway",superClass:["Gateway"]},{name:"RootElement",isAbstract:!0,superClass:["BaseElement"]},{name:"Relationship",superClass:["BaseElement"],properties:[{name:"type",isAttr:!0,type:"String"},{name:"direction",type:"RelationshipDirection",isAttr:!0},{name:"source",isMany:!0,isReference:!0,type:"Element"},{name:"target",isMany:!0,isReference:!0,type:"Element"}]},{name:"BaseElement",isAbstract:!0,properties:[{name:"id",isAttr:!0,type:"String",isId:!0},{name:"documentation",type:"Documentation",isMany:!0},{name:"extensionDefinitions",type:"ExtensionDefinition",isMany:!0,isReference:!0},{name:"extensionElements",type:"ExtensionElements"}]},{name:"Extension",properties:[{name:"mustUnderstand",default:!1,isAttr:!0,type:"Boolean"},{name:"definition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"extensionAttributeDefinitions",type:"ExtensionAttributeDefinition",isMany:!0}]},{name:"ExtensionAttributeDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"type",isAttr:!0,type:"String"},{name:"isReference",default:!1,isAttr:!0,type:"Boolean"},{name:"extensionDefinition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionElements",properties:[{name:"valueRef",isAttr:!0,isReference:!0,type:"Element"},{name:"values",type:"Element",isMany:!0},{name:"extensionAttributeDefinition",type:"ExtensionAttributeDefinition",isAttr:!0,isReference:!0}]},{name:"Documentation",superClass:["BaseElement"],properties:[{name:"text",type:"String",isBody:!0},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Event",isAbstract:!0,superClass:["FlowNode","InteractionNode"],properties:[{name:"properties",type:"Property",isMany:!0}]},{name:"IntermediateCatchEvent",superClass:["CatchEvent"]},{name:"IntermediateThrowEvent",superClass:["ThrowEvent"]},{name:"EndEvent",superClass:["ThrowEvent"]},{name:"StartEvent",superClass:["CatchEvent"],properties:[{name:"isInterrupting",default:!0,isAttr:!0,type:"Boolean"}]},{name:"ThrowEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"inputSet",type:"InputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"CatchEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"parallelMultiple",isAttr:!0,type:"Boolean",default:!1},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"outputSet",type:"OutputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"BoundaryEvent",superClass:["CatchEvent"],properties:[{name:"cancelActivity",default:!0,isAttr:!0,type:"Boolean"},{name:"attachedToRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"EventDefinition",isAbstract:!0,superClass:["RootElement"]},{name:"CancelEventDefinition",superClass:["EventDefinition"]},{name:"ErrorEventDefinition",superClass:["EventDefinition"],properties:[{name:"errorRef",type:"Error",isAttr:!0,isReference:!0}]},{name:"TerminateEventDefinition",superClass:["EventDefinition"]},{name:"EscalationEventDefinition",superClass:["EventDefinition"],properties:[{name:"escalationRef",type:"Escalation",isAttr:!0,isReference:!0}]},{name:"Escalation",properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"escalationCode",isAttr:!0,type:"String"}],superClass:["RootElement"]},{name:"CompensateEventDefinition",superClass:["EventDefinition"],properties:[{name:"waitForCompletion",isAttr:!0,type:"Boolean",default:!0},{name:"activityRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"TimerEventDefinition",superClass:["EventDefinition"],properties:[{name:"timeDate",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeCycle",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeDuration",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"LinkEventDefinition",superClass:["EventDefinition"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"target",type:"LinkEventDefinition",isReference:!0},{name:"source",type:"LinkEventDefinition",isMany:!0,isReference:!0}]},{name:"MessageEventDefinition",superClass:["EventDefinition"],properties:[{name:"messageRef",type:"Message",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isReference:!0}]},{name:"ConditionalEventDefinition",superClass:["EventDefinition"],properties:[{name:"condition",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"SignalEventDefinition",superClass:["EventDefinition"],properties:[{name:"signalRef",type:"Signal",isAttr:!0,isReference:!0}]},{name:"Signal",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ImplicitThrowEvent",superClass:["ThrowEvent"]},{name:"DataState",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"ItemAwareElement",superClass:["BaseElement"],properties:[{name:"itemSubjectRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"dataState",type:"DataState"}]},{name:"DataAssociation",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"ItemAwareElement",isMany:!0,isReference:!0},{name:"targetRef",type:"ItemAwareElement",isReference:!0},{name:"transformation",type:"FormalExpression",xml:{serialize:"property"}},{name:"assignment",type:"Assignment",isMany:!0}]},{name:"DataInput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"inputSetRef",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithOptional",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithWhileExecuting",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"DataOutput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"outputSetRef",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithOptional",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithWhileExecuting",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"InputSet",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"dataInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"optionalInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"whileExecutingInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"outputSetRefs",type:"OutputSet",isMany:!0,isReference:!0}]},{name:"OutputSet",superClass:["BaseElement"],properties:[{name:"dataOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"inputSetRefs",type:"InputSet",isMany:!0,isReference:!0},{name:"optionalOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"whileExecutingOutputRefs",type:"DataOutput",isMany:!0,isReference:!0}]},{name:"Property",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"DataInputAssociation",superClass:["DataAssociation"]},{name:"DataOutputAssociation",superClass:["DataAssociation"]},{name:"InputOutputSpecification",superClass:["BaseElement"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"inputSets",type:"InputSet",isMany:!0},{name:"outputSets",type:"OutputSet",isMany:!0}]},{name:"DataObject",superClass:["FlowElement","ItemAwareElement"],properties:[{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"}]},{name:"InputOutputBinding",properties:[{name:"inputDataRef",type:"InputSet",isAttr:!0,isReference:!0},{name:"outputDataRef",type:"OutputSet",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"Assignment",superClass:["BaseElement"],properties:[{name:"from",type:"Expression",xml:{serialize:"xsi:type"}},{name:"to",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"DataStore",superClass:["RootElement","ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"capacity",isAttr:!0,type:"Integer"},{name:"isUnlimited",default:!0,isAttr:!0,type:"Boolean"}]},{name:"DataStoreReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataStoreRef",type:"DataStore",isAttr:!0,isReference:!0}]},{name:"DataObjectReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataObjectRef",type:"DataObject",isAttr:!0,isReference:!0}]},{name:"ConversationLink",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ConversationAssociation",superClass:["BaseElement"],properties:[{name:"innerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0},{name:"outerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0}]},{name:"CallConversation",superClass:["ConversationNode"],properties:[{name:"calledCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"Conversation",superClass:["ConversationNode"]},{name:"SubConversation",superClass:["ConversationNode"],properties:[{name:"conversationNodes",type:"ConversationNode",isMany:!0}]},{name:"ConversationNode",isAbstract:!0,superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"messageFlowRefs",type:"MessageFlow",isMany:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0}]},{name:"GlobalConversation",superClass:["Collaboration"]},{name:"PartnerEntity",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"PartnerRole",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"CorrelationProperty",superClass:["RootElement"],properties:[{name:"correlationPropertyRetrievalExpression",type:"CorrelationPropertyRetrievalExpression",isMany:!0},{name:"name",isAttr:!0,type:"String"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Error",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"errorCode",isAttr:!0,type:"String"}]},{name:"CorrelationKey",superClass:["BaseElement"],properties:[{name:"correlationPropertyRef",type:"CorrelationProperty",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Expression",superClass:["BaseElement"],isAbstract:!1,properties:[{name:"body",isBody:!0,type:"String"}]},{name:"FormalExpression",superClass:["Expression"],properties:[{name:"language",isAttr:!0,type:"String"},{name:"evaluatesToTypeRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Message",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"itemRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"ItemDefinition",superClass:["RootElement"],properties:[{name:"itemKind",type:"ItemKind",isAttr:!0},{name:"structureRef",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"import",type:"Import",isAttr:!0,isReference:!0}]},{name:"FlowElement",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"categoryValueRef",type:"CategoryValue",isMany:!0,isReference:!0}]},{name:"SequenceFlow",superClass:["FlowElement"],properties:[{name:"isImmediate",isAttr:!0,type:"Boolean"},{name:"conditionExpression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"sourceRef",type:"FlowNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"FlowNode",isAttr:!0,isReference:!0}]},{name:"FlowElementsContainer",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"laneSets",type:"LaneSet",isMany:!0},{name:"flowElements",type:"FlowElement",isMany:!0}]},{name:"CallableElement",isAbstract:!0,superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"supportedInterfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"ioBinding",type:"InputOutputBinding",isMany:!0,xml:{serialize:"property"}}]},{name:"FlowNode",isAbstract:!0,superClass:["FlowElement"],properties:[{name:"incoming",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"outgoing",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"lanes",type:"Lane",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"CorrelationPropertyRetrievalExpression",superClass:["BaseElement"],properties:[{name:"messagePath",type:"FormalExpression"},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"CorrelationPropertyBinding",superClass:["BaseElement"],properties:[{name:"dataPath",type:"FormalExpression"},{name:"correlationPropertyRef",type:"CorrelationProperty",isAttr:!0,isReference:!0}]},{name:"Resource",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"resourceParameters",type:"ResourceParameter",isMany:!0}]},{name:"ResourceParameter",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isRequired",isAttr:!0,type:"Boolean"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"CorrelationSubscription",superClass:["BaseElement"],properties:[{name:"correlationKeyRef",type:"CorrelationKey",isAttr:!0,isReference:!0},{name:"correlationPropertyBinding",type:"CorrelationPropertyBinding",isMany:!0}]},{name:"MessageFlow",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"MessageFlowAssociation",superClass:["BaseElement"],properties:[{name:"innerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0},{name:"outerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0}]},{name:"InteractionNode",isAbstract:!0,properties:[{name:"incomingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0},{name:"outgoingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"Participant",superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"interfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"participantMultiplicity",type:"ParticipantMultiplicity"},{name:"endPointRefs",type:"EndPoint",isMany:!0,isReference:!0},{name:"processRef",type:"Process",isAttr:!0,isReference:!0}]},{name:"ParticipantAssociation",superClass:["BaseElement"],properties:[{name:"innerParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"outerParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"ParticipantMultiplicity",properties:[{name:"minimum",default:0,isAttr:!0,type:"Integer"},{name:"maximum",default:1,isAttr:!0,type:"Integer"}],superClass:["BaseElement"]},{name:"Collaboration",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"participants",type:"Participant",isMany:!0},{name:"messageFlows",type:"MessageFlow",isMany:!0},{name:"artifacts",type:"Artifact",isMany:!0},{name:"conversations",type:"ConversationNode",isMany:!0},{name:"conversationAssociations",type:"ConversationAssociation"},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0},{name:"messageFlowAssociations",type:"MessageFlowAssociation",isMany:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"choreographyRef",type:"Choreography",isMany:!0,isReference:!0},{name:"conversationLinks",type:"ConversationLink",isMany:!0}]},{name:"ChoreographyActivity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"loopType",type:"ChoreographyLoopType",default:"None",isAttr:!0}]},{name:"CallChoreography",superClass:["ChoreographyActivity"],properties:[{name:"calledChoreographyRef",type:"Choreography",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"SubChoreography",superClass:["ChoreographyActivity","FlowElementsContainer"],properties:[{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"ChoreographyTask",superClass:["ChoreographyActivity"],properties:[{name:"messageFlowRef",type:"MessageFlow",isMany:!0,isReference:!0}]},{name:"Choreography",superClass:["Collaboration","FlowElementsContainer"]},{name:"GlobalChoreographyTask",superClass:["Choreography"],properties:[{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"TextAnnotation",superClass:["Artifact"],properties:[{name:"text",type:"String"},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Group",superClass:["Artifact"],properties:[{name:"categoryValueRef",type:"CategoryValue",isAttr:!0,isReference:!0}]},{name:"Association",superClass:["Artifact"],properties:[{name:"associationDirection",type:"AssociationDirection",isAttr:!0},{name:"sourceRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"targetRef",type:"BaseElement",isAttr:!0,isReference:!0}]},{name:"Category",superClass:["RootElement"],properties:[{name:"categoryValue",type:"CategoryValue",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Artifact",isAbstract:!0,superClass:["BaseElement"]},{name:"CategoryValue",superClass:["BaseElement"],properties:[{name:"categorizedFlowElements",type:"FlowElement",isMany:!0,isVirtual:!0,isReference:!0},{name:"value",isAttr:!0,type:"String"}]},{name:"Activity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"isForCompensation",default:!1,isAttr:!0,type:"Boolean"},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"boundaryEventRefs",type:"BoundaryEvent",isMany:!0,isReference:!0},{name:"properties",type:"Property",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"startQuantity",default:1,isAttr:!0,type:"Integer"},{name:"resources",type:"ResourceRole",isMany:!0},{name:"completionQuantity",default:1,isAttr:!0,type:"Integer"},{name:"loopCharacteristics",type:"LoopCharacteristics"}]},{name:"ServiceTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"SubProcess",superClass:["Activity","FlowElementsContainer","InteractionNode"],properties:[{name:"triggeredByEvent",default:!1,isAttr:!0,type:"Boolean"},{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"LoopCharacteristics",isAbstract:!0,superClass:["BaseElement"]},{name:"MultiInstanceLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"isSequential",default:!1,isAttr:!0,type:"Boolean"},{name:"behavior",type:"MultiInstanceBehavior",default:"All",isAttr:!0},{name:"loopCardinality",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopDataInputRef",type:"ItemAwareElement",isReference:!0},{name:"loopDataOutputRef",type:"ItemAwareElement",isReference:!0},{name:"inputDataItem",type:"DataInput",xml:{serialize:"property"}},{name:"outputDataItem",type:"DataOutput",xml:{serialize:"property"}},{name:"complexBehaviorDefinition",type:"ComplexBehaviorDefinition",isMany:!0},{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"oneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0},{name:"noneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0}]},{name:"StandardLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"testBefore",default:!1,isAttr:!0,type:"Boolean"},{name:"loopCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopMaximum",type:"Integer",isAttr:!0}]},{name:"CallActivity",superClass:["Activity","InteractionNode"],properties:[{name:"calledElement",type:"String",isAttr:!0}]},{name:"Task",superClass:["Activity","InteractionNode"]},{name:"SendTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ReceiveTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ScriptTask",superClass:["Task"],properties:[{name:"scriptFormat",isAttr:!0,type:"String"},{name:"script",type:"String"}]},{name:"BusinessRuleTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"AdHocSubProcess",superClass:["SubProcess"],properties:[{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"ordering",type:"AdHocOrdering",isAttr:!0},{name:"cancelRemainingInstances",default:!0,isAttr:!0,type:"Boolean"}]},{name:"Transaction",superClass:["SubProcess"],properties:[{name:"protocol",isAttr:!0,type:"String"},{name:"method",isAttr:!0,type:"String"}]},{name:"GlobalScriptTask",superClass:["GlobalTask"],properties:[{name:"scriptLanguage",isAttr:!0,type:"String"},{name:"script",isAttr:!0,type:"String"}]},{name:"GlobalBusinessRuleTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"ComplexBehaviorDefinition",superClass:["BaseElement"],properties:[{name:"condition",type:"FormalExpression"},{name:"event",type:"ImplicitThrowEvent"}]},{name:"ResourceRole",superClass:["BaseElement"],properties:[{name:"resourceRef",type:"Resource",isReference:!0},{name:"resourceParameterBindings",type:"ResourceParameterBinding",isMany:!0},{name:"resourceAssignmentExpression",type:"ResourceAssignmentExpression"},{name:"name",isAttr:!0,type:"String"}]},{name:"ResourceParameterBinding",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"parameterRef",type:"ResourceParameter",isAttr:!0,isReference:!0}],superClass:["BaseElement"]},{name:"ResourceAssignmentExpression",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}}],superClass:["BaseElement"]},{name:"Import",properties:[{name:"importType",isAttr:!0,type:"String"},{name:"location",isAttr:!0,type:"String"},{name:"namespace",isAttr:!0,type:"String"}]},{name:"Definitions",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"targetNamespace",isAttr:!0,type:"String"},{name:"expressionLanguage",default:"http://www.w3.org/1999/XPath",isAttr:!0,type:"String"},{name:"typeLanguage",default:"http://www.w3.org/2001/XMLSchema",isAttr:!0,type:"String"},{name:"imports",type:"Import",isMany:!0},{name:"extensions",type:"Extension",isMany:!0},{name:"rootElements",type:"RootElement",isMany:!0},{name:"diagrams",isMany:!0,type:"bpmndi:BPMNDiagram"},{name:"exporter",isAttr:!0,type:"String"},{name:"relationships",type:"Relationship",isMany:!0},{name:"exporterVersion",isAttr:!0,type:"String"}]}],nS=[{name:"ProcessType",literalValues:[{name:"None"},{name:"Public"},{name:"Private"}]},{name:"GatewayDirection",literalValues:[{name:"Unspecified"},{name:"Converging"},{name:"Diverging"},{name:"Mixed"}]},{name:"EventBasedGatewayType",literalValues:[{name:"Parallel"},{name:"Exclusive"}]},{name:"RelationshipDirection",literalValues:[{name:"None"},{name:"Forward"},{name:"Backward"},{name:"Both"}]},{name:"ItemKind",literalValues:[{name:"Physical"},{name:"Information"}]},{name:"ChoreographyLoopType",literalValues:[{name:"None"},{name:"Standard"},{name:"MultiInstanceSequential"},{name:"MultiInstanceParallel"}]},{name:"AssociationDirection",literalValues:[{name:"None"},{name:"One"},{name:"Both"}]},{name:"MultiInstanceBehavior",literalValues:[{name:"None"},{name:"One"},{name:"All"},{name:"Complex"}]},{name:"AdHocOrdering",literalValues:[{name:"Parallel"},{name:"Sequential"}]}],rS={tagAlias:"lowerCase",typePrefix:"t"},iS={name:Zw,uri:Qw,prefix:Jw,associations:eS,types:tS,enumerations:nS,xml:rS},oS="BPMNDI",aS="http://www.omg.org/spec/BPMN/20100524/DI",sS="bpmndi",cS=[{name:"BPMNDiagram",properties:[{name:"plane",type:"BPMNPlane",redefines:"di:Diagram#rootElement"},{name:"labelStyle",type:"BPMNLabelStyle",isMany:!0}],superClass:["di:Diagram"]},{name:"BPMNPlane",properties:[{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"}],superClass:["di:Plane"]},{name:"BPMNShape",properties:[{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"},{name:"isHorizontal",isAttr:!0,type:"Boolean"},{name:"isExpanded",isAttr:!0,type:"Boolean"},{name:"isMarkerVisible",isAttr:!0,type:"Boolean"},{name:"label",type:"BPMNLabel"},{name:"isMessageVisible",isAttr:!0,type:"Boolean"},{name:"participantBandKind",type:"ParticipantBandKind",isAttr:!0},{name:"choreographyActivityShape",type:"BPMNShape",isAttr:!0,isReference:!0}],superClass:["di:LabeledShape"]},{name:"BPMNEdge",properties:[{name:"label",type:"BPMNLabel"},{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"},{name:"sourceElement",isAttr:!0,isReference:!0,type:"di:DiagramElement",redefines:"di:Edge#source"},{name:"targetElement",isAttr:!0,isReference:!0,type:"di:DiagramElement",redefines:"di:Edge#target"},{name:"messageVisibleKind",type:"MessageVisibleKind",isAttr:!0,default:"initiating"}],superClass:["di:LabeledEdge"]},{name:"BPMNLabel",properties:[{name:"labelStyle",type:"BPMNLabelStyle",isAttr:!0,isReference:!0,redefines:"di:DiagramElement#style"}],superClass:["di:Label"]},{name:"BPMNLabelStyle",properties:[{name:"font",type:"dc:Font"}],superClass:["di:Style"]}],uS=[{name:"ParticipantBandKind",literalValues:[{name:"top_initiating"},{name:"middle_initiating"},{name:"bottom_initiating"},{name:"top_non_initiating"},{name:"middle_non_initiating"},{name:"bottom_non_initiating"}]},{name:"MessageVisibleKind",literalValues:[{name:"initiating"},{name:"non_initiating"}]}],pS=[],lS={name:oS,uri:aS,prefix:sS,types:cS,enumerations:uS,associations:pS},fS="DC",dS="http://www.omg.org/spec/DD/20100524/DC",mS="dc",hS=[{name:"Boolean"},{name:"Integer"},{name:"Real"},{name:"String"},{name:"Font",properties:[{name:"name",type:"String",isAttr:!0},{name:"size",type:"Real",isAttr:!0},{name:"isBold",type:"Boolean",isAttr:!0},{name:"isItalic",type:"Boolean",isAttr:!0},{name:"isUnderline",type:"Boolean",isAttr:!0},{name:"isStrikeThrough",type:"Boolean",isAttr:!0}]},{name:"Point",properties:[{name:"x",type:"Real",default:"0",isAttr:!0},{name:"y",type:"Real",default:"0",isAttr:!0}]},{name:"Bounds",properties:[{name:"x",type:"Real",default:"0",isAttr:!0},{name:"y",type:"Real",default:"0",isAttr:!0},{name:"width",type:"Real",isAttr:!0},{name:"height",type:"Real",isAttr:!0}]}],vS=[],gS={name:fS,uri:dS,prefix:mS,types:hS,associations:vS},yS="DI",_S="http://www.omg.org/spec/DD/20100524/DI",bS="di",xS=[{name:"DiagramElement",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"},{name:"extension",type:"Extension"},{name:"owningDiagram",type:"Diagram",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"owningElement",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"modelElement",isReadOnly:!0,isVirtual:!0,isReference:!0,type:"Element"},{name:"style",type:"Style",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"ownedElement",type:"DiagramElement",isReadOnly:!0,isMany:!0,isVirtual:!0}]},{name:"Node",isAbstract:!0,superClass:["DiagramElement"]},{name:"Edge",isAbstract:!0,superClass:["DiagramElement"],properties:[{name:"source",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"target",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"waypoint",isUnique:!1,isMany:!0,type:"dc:Point",xml:{serialize:"xsi:type"}}]},{name:"Diagram",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"},{name:"rootElement",type:"DiagramElement",isReadOnly:!0,isVirtual:!0},{name:"name",isAttr:!0,type:"String"},{name:"documentation",isAttr:!0,type:"String"},{name:"resolution",isAttr:!0,type:"Real"},{name:"ownedStyle",type:"Style",isReadOnly:!0,isMany:!0,isVirtual:!0}]},{name:"Shape",isAbstract:!0,superClass:["Node"],properties:[{name:"bounds",type:"dc:Bounds"}]},{name:"Plane",isAbstract:!0,superClass:["Node"],properties:[{name:"planeElement",type:"DiagramElement",subsettedProperty:"DiagramElement-ownedElement",isMany:!0}]},{name:"LabeledEdge",isAbstract:!0,superClass:["Edge"],properties:[{name:"ownedLabel",type:"Label",isReadOnly:!0,subsettedProperty:"DiagramElement-ownedElement",isMany:!0,isVirtual:!0}]},{name:"LabeledShape",isAbstract:!0,superClass:["Shape"],properties:[{name:"ownedLabel",type:"Label",isReadOnly:!0,subsettedProperty:"DiagramElement-ownedElement",isMany:!0,isVirtual:!0}]},{name:"Label",isAbstract:!0,superClass:["Node"],properties:[{name:"bounds",type:"dc:Bounds"}]},{name:"Style",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"}]},{name:"Extension",properties:[{name:"values",isMany:!0,type:"Element"}]}],ES=[],wS={tagAlias:"lowerCase"},SS={name:yS,uri:_S,prefix:bS,types:xS,associations:ES,xml:wS},CS="bpmn.io colors for BPMN",RS="http://bpmn.io/schema/bpmn/biocolor/1.0",PS="bioc",AS=[{name:"ColoredShape",extends:["bpmndi:BPMNShape"],properties:[{name:"stroke",isAttr:!0,type:"String"},{name:"fill",isAttr:!0,type:"String"}]},{name:"ColoredEdge",extends:["bpmndi:BPMNEdge"],properties:[{name:"stroke",isAttr:!0,type:"String"},{name:"fill",isAttr:!0,type:"String"}]}],TS=[],MS=[],DS={name:CS,uri:RS,prefix:PS,types:AS,enumerations:TS,associations:MS},kS="BPMN in Color",NS="http://www.omg.org/spec/BPMN/non-normative/color/1.0",OS="color",BS=[{name:"ColoredLabel",extends:["bpmndi:BPMNLabel"],properties:[{name:"color",isAttr:!0,type:"String"}]},{name:"ColoredShape",extends:["bpmndi:BPMNShape"],properties:[{name:"background-color",isAttr:!0,type:"String"},{name:"border-color",isAttr:!0,type:"String"}]},{name:"ColoredEdge",extends:["bpmndi:BPMNEdge"],properties:[{name:"border-color",isAttr:!0,type:"String"}]}],IS=[],LS=[],jS={name:kS,uri:NS,prefix:OS,types:BS,enumerations:IS,associations:LS},FS={bpmn:iS,bpmndi:lS,dc:gS,di:SS,bioc:DS,color:jS};function ph(e,t){let n=C({},FS,e);return new kc(n,t)}N();N();function Rt(e){return e?"<"+e.$type+(e.id?' id="'+e.id:"")+'" />':"<null>"}function Kt(e,t){return e.$instanceOf(t)}function HS(e){return re(e.rootElements,function(t){return Kt(t,"bpmn:Process")||Kt(t,"bpmn:Collaboration")})}function Yl(e){var t={},n=[],r={};function i(H,G){return function(oe){H(oe,G)}}function o(H){t[H.id]=H}function a(H){return t[H.id]}function s(H,G){var oe=H.gfx;if(oe)throw new Error(`already rendered ${Rt(H)}`);return e.element(H,r[H.id],G)}function c(H,G){return e.root(H,r[H.id],G)}function u(H,G){try{var oe=r[H.id]&&s(H,G);return o(H),oe}catch(xe){p(xe.message,{element:H,error:xe}),console.error(`failed to import ${Rt(H)}`,xe)}}function p(H,G){e.error(H,G)}var l=this.registerDi=function(G){var oe=G.bpmnElement;oe?r[oe.id]?p(`multiple DI elements defined for ${Rt(oe)}`,{element:oe}):r[oe.id]=G:p(`no bpmnElement referenced in ${Rt(G)}`,{element:G})};function f(H){d(H.plane)}function d(H){l(H),E(H.planeElement,m)}function m(H){l(H)}this.handleDefinitions=function(G,oe){var xe=G.diagrams;if(oe&&xe.indexOf(oe)===-1)throw new Error("diagram not part of <bpmn:Definitions />");if(!oe&&xe&&xe.length&&(oe=xe[0]),!oe)throw new Error("no diagram to display");r={},f(oe);var Gt=oe.plane;if(!Gt)throw new Error(`no plane for ${Rt(oe)}`);var P=Gt.bpmnElement;if(!P)if(P=HS(G),P)p(`correcting missing bpmnElement on ${Rt(Gt)} to ${Rt(P)}`),Gt.bpmnElement=P,l(Gt);else throw new Error("no process or collaboration to display");var _=c(P,Gt);if(Kt(P,"bpmn:Process")||Kt(P,"bpmn:SubProcess"))v(P,_);else if(Kt(P,"bpmn:Collaboration"))Ie(P,_),w(G.rootElements,_);else throw new Error(`unsupported bpmnElement for ${Rt(Gt)}: ${Rt(P)}`);g(n)};var g=this.handleDeferred=function(){for(var G;n.length;)G=n.shift(),G()};function v(H,G){ye(H,G),I(H.ioSpecification,G),T(H.artifacts,G),o(H)}function w(H,G){var oe=Q(H,function(xe){return!a(xe)&&Kt(xe,"bpmn:Process")&&xe.laneSets});oe.forEach(i(v,G))}function S(H,G){u(H,G)}function x(H,G){E(H,i(S,G))}function b(H,G){u(H,G)}function R(H,G){u(H,G)}function A(H,G){u(H,G)}function O(H,G){u(H,G)}function T(H,G){E(H,function(oe){Kt(oe,"bpmn:Association")?n.push(function(){O(oe,G)}):O(oe,G)})}function I(H,G){H&&(E(H.dataInputs,i(R,G)),E(H.dataOutputs,i(A,G)))}var L=this.handleSubProcess=function(G,oe){ye(G,oe),T(G.artifacts,oe)};function W(H,G){var oe=u(H,G);Kt(H,"bpmn:SubProcess")&&L(H,oe||G),Kt(H,"bpmn:Activity")&&I(H.ioSpecification,G),n.push(function(){E(H.dataInputAssociations,i(b,G)),E(H.dataOutputAssociations,i(b,G))})}function z(H,G){u(H,G)}function K(H,G){u(H,G)}function ve(H,G){n.push(function(){var oe=u(H,G);H.childLaneSet&&Jt(H.childLaneSet,oe||G),Ze(H)})}function Jt(H,G){E(H.lanes,i(ve,G))}function ke(H,G){E(H,i(Jt,G))}function ye(H,G){he(H.flowElements,G),H.laneSets&&ke(H.laneSets,G)}function he(H,G){E(H,function(oe){Kt(oe,"bpmn:SequenceFlow")?n.push(function(){z(oe,G)}):Kt(oe,"bpmn:BoundaryEvent")?n.unshift(function(){W(oe,G)}):Kt(oe,"bpmn:FlowNode")?W(oe,G):Kt(oe,"bpmn:DataObject")||(Kt(oe,"bpmn:DataStoreReference")||Kt(oe,"bpmn:DataObjectReference")?K(oe,G):p(`unrecognized flowElement ${Rt(oe)} in context ${Rt(G&&G.businessObject)}`,{element:oe,context:G}))})}function we(H,G){var oe=u(H,G),xe=H.processRef;xe&&v(xe,oe||G)}function Ie(H,G){E(H.participants,i(we,G)),n.push(function(){x(H.messageFlows,G)}),T(H.artifacts,G)}function Ze(H){E(H.flowNodeRef,function(G){var oe=G.get("lanes");oe&&oe.push(H)})}}N();function h(e,t){var n=j(e);return n&&typeof n.$instanceOf=="function"&&n.$instanceOf(t)}function te(e,t){return Lt(t,function(n){return h(e,n)})}function j(e){return e&&e.businessObject||e}function ce(e){return e&&e.di}function lh(e,t,n){var r,i,o,a,s=[];function c(u,p){var l={root:function(g,v){return r.add(g,v)},element:function(g,v,w){return r.add(g,v,w)},error:function(g,v){s.push({message:g,context:v})}},f=new Yl(l);p=p||u.diagrams&&u.diagrams[0];var d=$S(u,p);if(!d)throw new Error("no diagram to display");E(d,function(g){f.handleDefinitions(u,g)});var m=p.plane.bpmnElement.id;o.setRootElement(o.findRoot(m+"_plane")||o.findRoot(m))}return new Promise(function(u,p){try{return r=e.get("bpmnImporter"),i=e.get("eventBus"),o=e.get("canvas"),i.fire("import.render.start",{definitions:t}),c(t,n),i.fire("import.render.complete",{error:a,warnings:s}),u({warnings:s})}catch(l){return l.warnings=s,p(l)}})}function $S(e,t){if(!(!t||!t.plane)){var n=t.plane.bpmnElement,r=n;!h(n,"bpmn:Process")&&!h(n,"bpmn:Collaboration")&&(r=zS(n));var i;h(r,"bpmn:Collaboration")?i=r:i=re(e.rootElements,function(u){if(h(u,"bpmn:Collaboration"))return re(u.participants,function(p){return p.processRef===r})});var o=[r];i&&(o=je(i.participants,function(u){return u.processRef}),o.push(i));var a=fh(o),s=[t],c=[n];return E(e.diagrams,function(u){if(u.plane){var p=u.plane.bpmnElement;a.indexOf(p)!==-1&&c.indexOf(p)===-1&&(s.push(u),c.push(p))}}),s}}function fh(e){var t=[];return E(e,function(n){n&&(t.push(n),t=t.concat(fh(n.flowElements)))}),t}function zS(e){for(var t=e;t;){if(h(t,"bpmn:Process"))return t;t=t.$parent}}var GS='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.02 5.57" width="53" height="21"><path fill="currentColor" d="M1.88.92v.14c0 .41-.13.68-.4.8.33.14.46.44.46.86v.33c0 .61-.33.95-.95.95H0V0h.95c.65 0 .93.3.93.92zM.63.57v1.06h.24c.24 0 .38-.1.38-.43V.98c0-.28-.1-.4-.32-.4zm0 1.63v1.22h.36c.2 0 .32-.1.32-.39v-.35c0-.37-.12-.48-.4-.48H.63zM4.18.99v.52c0 .64-.31.98-.94.98h-.3V4h-.62V0h.92c.63 0 .94.35.94.99zM2.94.57v1.35h.3c.2 0 .3-.09.3-.37v-.6c0-.29-.1-.38-.3-.38h-.3zm2.89 2.27L6.25 0h.88v4h-.6V1.12L6.1 3.99h-.6l-.46-2.82v2.82h-.55V0h.87zM8.14 1.1V4h-.56V0h.79L9 2.4V0h.56v4h-.64zm2.49 2.29v.6h-.6v-.6zM12.12 1c0-.63.33-1 .95-1 .61 0 .95.37.95 1v2.04c0 .64-.34 1-.95 1-.62 0-.95-.37-.95-1zm.62 2.08c0 .28.13.39.33.39s.32-.1.32-.4V.98c0-.29-.12-.4-.32-.4s-.33.11-.33.4z"/><path fill="currentColor" d="M0 4.53h14.02v1.04H0zM11.08 0h.63v.62h-.63zm.63 4V1h-.63v2.98z"/></svg>',Xl=GS,Zl={verticalAlign:"middle"},Ql={color:"#404040"},VS={zIndex:"1001",position:"fixed",top:"0",left:"0",right:"0",bottom:"0"},WS={width:"100%",height:"100%",background:"rgba(40,40,40,0.2)"},US={position:"absolute",left:"50%",top:"40%",transform:"translate(-50%)",width:"260px",padding:"10px",background:"white",boxShadow:"0 1px 4px rgba(0,0,0,0.3)",fontFamily:"Helvetica, Arial, sans-serif",fontSize:"14px",display:"flex",lineHeight:"1.3"},qS='<div class="bjs-powered-by-lightbox"><div class="backdrop"></div><div class="notice"><a href="https://bpmn.io" target="_blank" rel="noopener" class="link">'+Xl+'</a><span>Web-based tooling for BPMN, DMN and forms powered by <a href="https://bpmn.io" target="_blank" rel="noopener">bpmn.io</a>.</span></div></div>',rr;function KS(){rr=ue(qS),vt(rr,VS),vt(_e("svg",rr),Zl),vt(_e(".backdrop",rr),WS),vt(_e(".notice",rr),US),vt(_e(".link",rr),Ql,{margin:"15px 20px 15px 10px",alignSelf:"center"})}function dh(){rr||(KS(),bt.bind(rr,".backdrop","click",function(e){document.body.removeChild(rr)})),document.body.appendChild(rr)}function $e(e){e=C({},XS,e),this._moddle=this._createModdle(e),this._container=this._createContainer(e),this._init(this._container,this._moddle,e),QS(this._container)}B($e,tr);$e.prototype.importXML=async function(t,n){let r=this;function i(a){return r.get("eventBus").createEvent(a)}let o=[];try{t=this._emit("import.parse.start",{xml:t})||t;let a;try{a=await this._moddle.fromXML(t,"bpmn:Definitions")}catch(f){throw this._emit("import.parse.complete",{error:f}),f}let s=a.rootElement,c=a.references,u=a.warnings,p=a.elementsById;o=o.concat(u),s=this._emit("import.parse.complete",i({error:null,definitions:s,elementsById:p,references:c,warnings:o}))||s;let l=await this.importDefinitions(s,n);return o=o.concat(l.warnings),this._emit("import.done",{error:null,warnings:o}),{warnings:o}}catch(a){let s=a;throw o=o.concat(s.warnings||[]),Nc(s,o),s=YS(s),this._emit("import.done",{error:s,warnings:s.warnings}),s}};$e.prototype.importDefinitions=async function(t,n){return this._setDefinitions(t),{warnings:(await this.open(n)).warnings}};$e.prototype.open=async function(t){let n=this._definitions,r=t;if(!n){let o=new Error("no XML imported");throw Nc(o,[]),o}if(typeof t=="string"&&(r=ZS(n,t),!r)){let o=new Error("BPMNDiagram <"+t+"> not found");throw Nc(o,[]),o}try{this.clear()}catch(o){throw Nc(o,[]),o}let{warnings:i}=await lh(this,n,r);return{warnings:i}};$e.prototype.saveXML=async function(t){t=t||{};let n=this._definitions,r,i;try{if(!n)throw new Error("no definitions loaded");n=this._emit("saveXML.start",{definitions:n})||n,i=(await this._moddle.toXML(n,t)).xml,i=this._emit("saveXML.serialized",{xml:i})||i}catch(a){r=a}let o=r?{error:r}:{xml:i};if(this._emit("saveXML.done",o),r)throw r;return o};$e.prototype.saveSVG=async function(){this._emit("saveSVG.start");let t,n;try{let r=this.get("canvas"),i=r.getActiveLayer(),o=_e(":scope > defs",r._svg),a=Rl(i),s=o?"<defs>"+Rl(o)+"</defs>":"",c=i.getBBox();t=`<?xml version="1.0" encoding="utf-8"?>
|
| /plugin/ol3/ |
| D | script.js | 8 …ES,t,e)})),Address:Fc((function(t,e){return Uc({},yS,t,e)}))}),bS=Gc(fS,{HTTP:Fc((function(t,e){re…
|
| /plugin/syntaxhighlighter4/dist/ |
| D | syntaxhighlighter.js.map | 1 …oss-browser syntax inconsistency.\n * Unless this is standardized (per the ES spec), regex syntax …
|