lingfang-bpmn-process-designer
Version:
A process designer base on Vue 2.x and ElementUI
2 lines • 2.28 MB
JavaScript
/*! For license information please see BpmnProcDesigner.common.js.LICENSE.txt */
module.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({0:function(e,t){},"0014":function(e,t,n){"use strict";var i=n("e81d").is,r=n("99e7"),o=r.CONSUME_TOKEN_EVENT,a=r.GENERATE_TOKEN_EVENT,s=r.UPDATE_ELEMENT_EVENT;function l(e,t,n){this._animation=e,this._eventBus=t,this._log=n}l.prototype.consume=function(e){var t=e.element,n=e.processInstanceId,r=t.children.filter((function(e){return i(e,"bpmn:StartEvent")}))[0];r?(this._log.log("Starting Subprocess","info","fa-sign-in"),this._eventBus.fire(a,{element:r,parentProcessInstanceId:n})):(this._log.log("Skipping Subprocess","info","fa-angle-double-right"),this._eventBus.fire(a,e)),this._eventBus.fire(s,{element:t})},l.prototype.generate=function(e){var t=this,n=e.element,r=e.processInstanceId;n.outgoing.filter((function(e){return i(e,"bpmn:SequenceFlow")})).forEach((function(e){t._animation.createAnimation(e,r,(function(){t._eventBus.fire(o,{element:e.target,processInstanceId:r})}))})),this._eventBus.fire(s,{element:n})},l.$inject=["animation","eventBus","log"],e.exports=l},"00ee":function(e,t,n){var i={};i[n("b622")("toStringTag")]="z",e.exports="[object z]"===String(i)},"0131":function(e,t,n){"use strict";var i=n("0af7"),r=n("99e7"),o=r.TOGGLE_MODE_EVENT,a=r.RESET_SIMULATION_EVENT,s=r.GENERATE_TOKEN_EVENT;function l(e,t){var n=this;this._overlays=e,t.on(o,(function(e){e.simulationModeActive||n.removeElementNotifications()})),t.on([a,s],(function(){n.removeElementNotifications()}))}l.prototype.addElementNotifications=function(e,t){var n=this;e.forEach((function(e){n.addElementNotification(e,t)}))},l.prototype.addElementNotification=function(e,t){var n={top:-15,right:15},r='<div class="element-notification '+(t.type||"")+'">'+(t.icon?'<i class="fa '+t.icon+'"></i>':"")+('<span class="text">'+t.text+"</span>"||!1)+"</div>",o=i(r);this._overlays.add(e,"element-notification",{position:n,html:o,show:{minZoom:.5}})},l.prototype.removeElementNotifications=function(e){var t=this;e?e.forEach((function(e){t.removeElementNotification(e)})):this._overlays.remove({type:"element-notification"})},l.prototype.removeElementNotification=function(e){this._overlays.remove({element:e})},l.$inject=["overlays","eventBus"],e.exports=l},"0288":function(e,t,n){"use strict";n("99af");var i=n("5530"),r=(n("d3b7"),n("e6cf"),null),o=null,a=null,s=function(e){if(e.response){var t=e.response.data;403===e.response.status&¬ification.error({message:"Forbidden",description:t.message}),401!==e.response.status||t.result&&t.result.isLogin||(notification.error({message:"Unauthorized",description:"Authorization verification failed"}),token&&store.dispatch("Logout").then((function(){setTimeout((function(){window.location.reload()}),1500)})))}return Promise.reject(e)},l="",c=null,u=null,d=null,p=null,h="/UUMS-system/user/list?pageNum=1&pageSize=10&sortField=createTime&sortOrder=desc",f={saveModel:function(e){return a({method:"POST",url:"".concat(l).concat("/UUMS-bpm/models/model/save"),data:e})},loadBpmnXml:function(e){return a({url:"".concat(l).concat("/UUMS-bpm/models/model","/").concat(e)})},userSearch:function(e){return a({url:"".concat(l).concat(h,"&loginName=").concat(e)})},userSearchByCode:function(e){return a({url:"".concat(l).concat(h,"&userCode=").concat(e)})},groupSearch:function(e){},frmOfTask:function(e){return a({url:"".concat(l).concat("/UUMS-bpm/form/task_form","?taskId=").concat(e)})},frmOfProcessKey:function(e){return a({url:"".concat(l).concat("/UUMS-bpm/form/by_process_key","?processKey=").concat(e)})},startProcess:function(e){return a({url:"".concat(l).concat("/UUMS-bpm/process/start"),method:"POST",data:Object(i.a)({},e)})},historyInstTasks:function(e){return a({url:"".concat(l).concat("/UUMS-bpm/history/instanceTasks"),params:e})},frmOfInstance:function(e){return a({url:"".concat(l).concat("/UUMS-bpm/form/instance"),params:e})},taskComplete:function(e){return a({url:"".concat(l).concat("/UUMS-bpm/task/complete"),method:"POST",data:Object(i.a)({},e)})},getDeptListEnableLazy:function(e){return e.tenantId=this.getCurrentTenantId(),a({url:"".concat(l).concat("/UUMS-system/dept/list/lazyEnable"),method:"get",params:e})},loadAllPos:function(e){return e.tenantId=this.getCurrentTenantId(),a({url:"".concat(l).concat("/UUMS-system/sysPost/getPostListByDept"),method:"get",params:e})},loadGraphicInfo:function(e){return a({url:"".concat(l).concat("/UUMS-bpm/history/activities"),params:e})},loadFrmByFrmKey:function(e){return a({url:"".concat(l).concat("/UUMS-bpm/form/frm_by_key"),params:e})},setConfig:function(e){var t,n,i;e&&(l=e.host,c=e.getTenantId,u=e.getToken,d=e.fileSaveUrl,p=e.appId,t=e.getTenantId,n=e.getToken,i=e.axiosProvider,r=t,o=n,a||((a=i).interceptors.request.use((function(e){return e.headers.Authorization=o?"Bearer ".concat(o()):"",e.headers.tenantId=r?r():"",console.log("request==============>",e),e}),s),a.interceptors.response.use((function(e){return console.log("response==============>",e.data),e.data}),s)))},getCurrentToken:function(){return u?u():null},getCurrentTenantId:function(){return c?c():null},getFileSaveUrl:function(){return d},getAppId:function(){return p}};t.a=f},"0366":function(e,t,n){var i=n("1c0b");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"0394":function(e,t,n){"use strict";var i=n("e81d").is,r=n("99e7"),o=r.CONSUME_TOKEN_EVENT,a=r.GENERATE_TOKEN_EVENT;function s(e,t){this._animation=e,this._eventBus=t}s.prototype.consume=function(e){this._eventBus.fire(a,{element:e})},s.prototype.generate=function(e){var t=this;e.outgoing.filter((function(e){return i(e,"bpmn:SequenceFlow")})).forEach((function(e){t._animation.createAnimation(e,(function(){t._eventBus.fire(o,{element:e.target})}))}))},s.$inject=["animation","eventBus"],e.exports=s},"03d6":function(e,t,n){var i=n("9c0e"),r=n("6ca1"),o=n("39ad")(!1),a=n("5a94")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);for(;t.length>l;)i(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},"04fb":function(e,t,n){"use strict";var i=n("99e7"),r=i.TOGGLE_MODE_EVENT,o=i.PROCESS_INSTANCE_CREATED_EVENT,a=i.PROCESS_INSTANCE_FINISHED_EVENT,s=i.PROCESS_INSTANCE_SHOWN_EVENT,l=i.PROCESS_INSTANCE_HIDDEN_EVENT;function c(e,t,n,i){var s=this;this._animation=e,this._eventBus=t,this._processInstances=n,this._elementRegistry=i,this._eventBus.on(o,500,(function(e){var t=e.parent,i=e.processInstanceId,r=n.getProcessInstances(t).filter((function(e){return!e.isFinished}));1===r.length?s.showProcessInstance(i,t):r.length>1&&s.hideProcessInstance(i)})),this._eventBus.on(a,500,(function(e){var t=e.parent,r=e.processInstanceId,o=n.getProcessInstances(t).filter((function(e){return r!==e.processInstanceId&&!e.isFinished}));o.length&&r===t.shownProcessInstance?s.showProcessInstance(o[0].processInstanceId,t):delete t.shownProcessInstance,t.parent||i.forEach((function(e){delete e.shownProcessInstance}))})),t.on(r,(function(){i.forEach((function(e){delete e.shownProcessInstance}))}))}c.prototype.showProcessInstance=function(e,t){this._animation.showProcessInstanceAnimations(e),t.shownProcessInstance=e,this._eventBus.fire(s,{processInstanceId:e})},c.prototype.hideProcessInstance=function(e){this._animation.hideProcessInstanceAnimations(e),this._eventBus.fire(l,{processInstanceId:e})},c.prototype.showNext=function(e){var t=this,n=this._processInstances.getProcessInstances(e),i=e.shownProcessInstance,r=0;for(let e=0;e<n.length&&n[e].processInstanceId!==i;e++)r++;n.forEach((function(e){t.hideProcessInstance(e.processInstanceId)})),r===n.length-1?this.showProcessInstance(n[0].processInstanceId,e):this.showProcessInstance(n[r+1].processInstanceId,e)},c.$inject=["animation","eventBus","processInstances","elementRegistry"],e.exports=c},"051b":function(e,t,n){var i=n("1a14"),r=n("10db");e.exports=n("0bad")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"057f":function(e,t,n){var i=n("fc6a"),r=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return r(e)}catch(e){return a.slice()}}(e):r(i(e))}},"05f5":function(e,t,n){var i=n("7a41"),r=n("ef08").document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},"06cf":function(e,t,n){var i=n("83ab"),r=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=i?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return o(!r.f.call(e,t),e[t])}},"072d":function(e,t,n){"use strict";var i=n("0bad"),r=n("9876"),o=n("fed5"),a=n("1917"),s=n("0983"),l=n("9fbb"),c=Object.assign;e.exports=!c||n("4b8b")((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=o.f,p=a.f;c>u;)for(var h,f=l(arguments[u++]),m=d?r(f).concat(d(f)):r(f),g=m.length,v=0;g>v;)h=m[v++],i&&!p.call(f,h)||(n[h]=f[h]);return n}:c},"078a":function(e,t,n){var i=n("96c1"),r=n("844f");e.exports=function(e,t){var n,o,a;return n=function(e){var t=i.copyOptions(e);return i.ensureSpacesExists(t),t}(t),o=r(e,n),a="compact"in n&&n.compact?"_parent":"parent",("addParent"in n&&n.addParent?JSON.stringify(o,(function(e,t){return e===a?"_":t}),n.spaces):JSON.stringify(o,null,n.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},"0808":function(e,t,n){},"0809":function(e,t,n){e.exports=n("ddeb")},"08a3":function(e,t,n){"use strict";function i(e,t){window.console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var r=function(e,t){e.locale=function(e,n,r){if(void 0===n)return t.locales[e];null===n?(t.locales[e]=void 0,delete t.locales[e]):function(e,t,n){if("object"==typeof t)n(t);else{var i=t.call(this);if("function"==typeof i)if(i.resolved)n(i.resolved);else if(i.requested)i.pendingCallbacks.push(n);else{i.requested=!0;var r=i.pendingCallbacks=[n];i((function(e){i.resolved=e;for(var t=0,n=r.length;t<n;t++)r[t](e)}),(function(){n()}))}else(o=i)&&"function"==typeof o.then&&i.then((function(e){n(e)}),(function(){n()})).catch((function(e){console.error(e),n()}))}var o}(0,n,(function(n){n?t.$set(t.locales,e,n):i("failed set `"+e+"` locale"),r&&r()}))}};var o,a;function s(e){if(!o){var t=e.$watch("__watcher__",(function(e){}));o=e._watchers[0].constructor,t()}return o}function l(e){return!a&&e&&e._data&&e._data.__ob__&&e._data.__ob__.dep&&(a=e._data.__ob__.dep.constructor),a}function c(e){return null==e}function u(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function d(e){return null!==e&&"object"==typeof e}var p=Object.prototype.toString;var h,f=Object.prototype.hasOwnProperty;function m(e,t){return f.call(e,t)}var g=null,v=null,b=/(%|)\{([0-9a-zA-Z_]+)\}/g,y=Object.create(null),x=[];x[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},x[1]={ws:[1],".":[2],"[":[4],eof:[7]},x[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},x[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},x[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},x[5]={"'":[4,0],eof:8,else:[5,0]},x[6]={'"':[4,0],eof:8,else:[6,0]};var _=/^\s?(true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function w(e){if(void 0===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:case 48:return e;case 95:case 36:case 45:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return t>=97&&t<=122||t>=65&&t<=90?"ident":t>=49&&t<=57?"number":"else"}function E(e){var t,n,i,r=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(i=r,_.test(i)?(n=(t=r).charCodeAt(0))!==t.charCodeAt(t.length-1)||34!==n&&39!==n?t:t.slice(1,-1):"*"+r)}function k(e){var t=y[e];return t||(t=function(e){var t,n,i,r,o,a,s,l=[],c=-1,u=0,d=0,p=[];function h(){var t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,n="\\"+t,p[0](),!0}for(p[1]=function(){void 0!==i&&(l.push(i),i=void 0)},p[0]=function(){void 0===i?i=n:i+=n},p[2]=function(){p[0](),d++},p[3]=function(){if(d>0)d--,u=4,p[0]();else{if(d=0,!1===(i=E(i)))return!1;p[1]()}};null!=u;)if(c++,"\\"!==(t=e[c])||!h()){if(r=w(t),8===(o=(s=x[u])[r]||s.else||8))return;if(u=o[0],(a=p[o[1]])&&(n=void 0===(n=o[2])?t:n,!1===a()))return;if(7===u)return l.raw=e,l}}(e))&&(y[e]=t),t}var S,C=function(e){function t(e){if(null==e)return!0;if(Array.isArray(e)){if(e.length>0)return!1;if(0===e.length)return!0}else if(n=e,"[object Object]"===p.call(n))for(var t in e)if(m(e,t))return!1;var n;return!0}return function(e,n){if(!d(e))return null;var i=k(n);if(t(i))return null;for(var r=i.length,o=e,a=0;a<r;){var s=o[i[a]];if(void 0===s){o=null;break}o=s,a++}return o}},O=function(e){var t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return(t=1===t.length&&"object"==typeof t[0]?t[0]:{})&&t.hasOwnProperty||(t={}),e.replace(b,(function(n,i,r,o){var a;return"{"===e[o-1]&&"}"===e[o+n.length]?r:c(a=m(t,r)?t[r]:n)?"":a}))},n=C();function r(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var i=e.config.lang,r=e.config.fallbackLang;return 1===t.length?d(t[0])||Array.isArray(t[0])?t=t[0]:"string"==typeof t[0]&&(i=t[0]):2===t.length&&("string"==typeof t[0]&&(i=t[0]),(d(t[1])||Array.isArray(t[1]))&&(t=t[1])),{lang:i,fallback:r,params:t}}function o(e,t){return!(!e||!t)&&!c(n(e,t))}function a(r,o,s){if(!r)return null;var l=n(r,o);if(Array.isArray(l))return l;if(c(l)&&(l=r[o]),c(l))return null;if("string"!=typeof l)return i("Value of key '"+o+"' is not a string!"),null;if(l.indexOf("@:")>=0){var u=l.match(/(@:[\w|.]+)/g);for(var d in u){var p=u[d],h=a(r,p.substr(2),s);l=l.replace(p,h)}}return s?e.config.i18nFormatter?e.config.i18nFormatter.apply(null,[l].concat(s)):t(l,s):l}function s(e,t,n,i,r){var o=null;return c(o=a(e(t),i,r))&&c(o=a(e(n),i,r))?null:o}function l(t,n,i,r){return c(r)?(e.config.missingHandler&&e.config.missingHandler.apply(null,[t,n,i]),n):r}function p(t){return e.locale(t)}function h(e){return this.$options.locales[e]}function f(e,t){if(!e&&"string"!=typeof e)return null;var n=e.split("|");return n[t=function(e,t){return e=Math.abs(e),2===t?function(e){return e?e>1?1:0:1}(e):e?Math.min(e,2):0}(t,n.length)]?n[t].trim():e}return e.t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!e)return"";var i=r.apply(void 0,t),o=i.lang,a=i.fallback,c=i.params;return l(o,e,null,s(p,o,a,e,c))},e.tc=function(t,n){for(var i=[],r=arguments.length-2;r-- >0;)i[r]=arguments[r+2];return f(e.t.apply(e,[t].concat(i)),n)},e.te=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=r.apply(void 0,t),a=i.lang;return o(p(a),e)},e.prototype.$t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!e)return"";var i=r.apply(void 0,t),o=i.lang,a=i.fallback,c=i.params,d=null;return this.$options.locales&&(d=s(u(h,this),o,a,e,c))?d:l(o,e,this,s(p,o,a,e,c))},e.prototype.$tc=function(e,t){for(var n,i=[],r=arguments.length-2;r-- >0;)i[r]=arguments[r+2];return"number"!=typeof t&&void 0!==t?e:f((n=this).$t.apply(n,[e].concat(i)),t)},e.prototype.$te=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=r.apply(void 0,t),a=i.lang,s=!1;return this.$options.locales&&(s=o(u(h)(a),e)),s||(s=o(p(a),e)),s},e.mixin({computed:{$lang:function(){return e.config.lang}}}),e};function T(e,t){void 0===t&&(t={});e.version&&Number(e.version.split(".")[0]);!function(e,t){var n=e.config.silent;e.config.silent=!0,S||(S=new e({data:{lang:t,locales:{}}}));e.config.silent=n}(e,"en"),r(e,S),function(e,t){var n=e.prototype._init;e.prototype._init=function(e){var i=this;n.call(this,e),this.$parent||(this._$lang=t,this._langUnwatch=this._$lang.$watch("$data",(function(e,t){i.$forceUpdate()}),{deep:!0}))};var i=e.prototype._destroy;e.prototype._destroy=function(){!this.$parent&&this._langUnwatch&&(this._langUnwatch(),this._langUnwatch=null,this._$lang=null),i.apply(this,arguments)}}(e,S),function(e,t,n){var i,r,o,a=s(t),c=l(t);Object.defineProperty(e.config,"lang",{enumerable:!0,configurable:!0,get:(i=function(){return t.lang},r=t,o=new a(r,i,null,{lazy:!0}),function(){return o.dirty&&o.evaluate(),c&&c.target&&o.depend(),o.value}),set:u((function(e){t.lang=e}),t)}),h=n,Object.defineProperty(e.config,"fallbackLang",{enumerable:!0,configurable:!0,get:function(){return h},set:function(e){h=e}}),Object.defineProperty(e.config,"missingHandler",{enumerable:!0,configurable:!0,get:function(){return g},set:function(e){g=e}}),Object.defineProperty(e.config,"i18nFormatter",{enumerable:!0,configurable:!0,get:function(){return v},set:function(e){v=e}})}(e,S,"en"),O(e)}T.version="__VERSION__","undefined"!=typeof window&&window.Vue&&window.Vue.use(T),e.exports=T},"0960":function(e,t,n){e.exports=n("b19a")},"0983":function(e,t,n){var i=n("c901");e.exports=function(e){return Object(i(e))}},"09c5":function(e,t,n){"use strict";n("45fc"),n("b0c0"),n("ac1f"),n("5319");var i=n("87f2").some,r={FailedJobRetryTimeCycle:["bpmn:StartEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent","bpmn:Activity"],Connector:["bpmn:EndEvent","bpmn:IntermediateThrowEvent"],Field:["bpmn:EndEvent","bpmn:IntermediateThrowEvent"]};function o(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}function a(e,t){return(n=e)&&n.length&&i(e,(function(e){return o(e,t)}));var n}function s(e,t,n){var a=t.name,s=r[a.replace(/activiti:/,"")];return a===e&&function(e,t){return i(t,(function(t){return o(e,t)}))}(n,s)}function l(e){e.on("property.clone",(function(e){var t=e.newElement,n=e.propertyDescriptor;this.canCloneProperty(t,n)}),this)}l.$inject=["eventBus"],l.prototype.canCloneProperty=function(e,t){return s("activiti:FailedJobRetryTimeCycle",t,e)?a(e.eventDefinitions,"bpmn:TimerEventDefinition")||a(e.eventDefinitions,"bpmn:SignalEventDefinition")||o(e.loopCharacteristics,"bpmn:MultiInstanceLoopCharacteristics"):s("activiti:Connector",t,e)||s("activiti:Field",t,e)?a(e.eventDefinitions,"bpmn:MessageEventDefinition"):void 0},e.exports=l},"0ae2":function(e,t,n){var i=n("9876"),r=n("fed5"),o=n("1917");e.exports=function(e){var t=i(e),n=r.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},"0af7":function(e,t,n){e.exports=n("f95b")},"0b99":function(e,t,n){"use strict";var i=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0c08":function(e,t,n){"use strict";var i=n("0288"),r={name:"sub-form",components:{},props:["visible","subFormKey","title","selectionMode","remote","remoteFunc","initData"],data:function(){return{size:"mini",subFrmJson:{list:[],config:{}},subFrmModels:{}}},computed:{},mounted:function(){this.initSubForm()},methods:{initSubForm:function(){var e=this.subFormKey,t=this;t.frmInit||i.a.loadFrmByFrmKey({frmKey:e}).then((function(e){e&&0===e.code&&e.data&&e.data.frmJson&&""!=e.data.frmJson&&(t.subFrmJson=JSON.parse(e.data.frmJson),t.frmInit=!0)}))},getSelection:function(){return this.$refs.subGenerateForm.getSelection()}},watch:{}},o=n("2877"),a=Object(o.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("fm-generate-form",{ref:"subGenerateForm",attrs:{data:e.subFrmJson,selectionMode:e.selectionMode,value:e.subFrmModels,remoteFuncs:e.remote}})],1)}),[],!1,null,null,null);t.a=a.exports},"0cfb":function(e,t,n){var i=n("83ab"),r=n("d039"),o=n("cc12");e.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d3b":function(e,t,n){var i=n("d039"),r=n("b622"),o=n("c430"),a=r("iterator");e.exports=!i((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,i){t.delete("b"),n+=i+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0e15":function(e,t,n){var i=n("597f");e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},"0ebc":function(e,t,n){"use strict";var i=n("4193"),r=n("e81d"),o=r.is,a=r.supportedElements,s=n("99e7"),l=s.TOGGLE_MODE_EVENT,c=s.GENERATE_TOKEN_EVENT,u=["bpmn:Process","bpmn:Collaboration","bpmn:Participant","bpmn:Lane","bpmn:TextAnnotation"];function d(e){return e.labelTarget}function p(e,t,n,r,a){var s=this;this._eventBus=e,this._elementRegistry=t,this._elementNotifications=a,this._notifications=r,this.canvasParent=n.getContainer().parentNode,e.on(c,2e4,(function(e){var t=e.element;if(o(t,"bpmn:StartEvent"))return s.allElementsSupported()?void 0:(s.showWarnings(),i(s.canvasParent).add("warning"),!0)})),e.on(l,(function(e){e.simulationModeActive||i(s.canvasParent).remove("warning")}))}p.prototype.allElementsSupported=function(){var e=!0;return this._elementRegistry.forEach((function(t){o(t,u)||o(t,a)||d(t)||(e=!1)})),e},p.prototype.showWarnings=function(e){var t=this,n=[];this._elementRegistry.forEach((function(e){o(e,u)||o(e,a)||d(e)||(t.showWarning(e),n.indexOf(e.type)&&(t._notifications.showNotification(e.type+" not supported","warning"),n.push(e.type)))}))},p.prototype.showWarning=function(e){this._elementNotifications.addElementNotification(e,{type:"warning",icon:"fa-exclamation-triangle",text:"Not supported"})},p.$inject=["eventBus","elementRegistry","canvas","notifications","elementNotifications"],e.exports=p},"0f59":function(e,t,n){},"0fab":function(e,t,n){e.exports=n("c7ca")},1:function(e,t){},1020:function(e,t){function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(t){var i=e[t];"object"!=typeof i||Object.isFrozen(i)||n(i)})),e}var i=n,r=n;i.default=r;class o{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data}ignoreMatch(){this.ignore=!0}}function a(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const l=e=>!!e.kind;class c{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=a(e)}openNode(e){if(!l(e))return;let t=e.kind;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){l(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}class u{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{u._collapse(e)})))}}class d extends u{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){return new c(this,this.options).value()}finalize(){return!0}}function p(e){return e?"string"==typeof e?e:e.source:null}const h="[a-zA-Z]\\w*",f="[a-zA-Z_]\\w*",m="\\b\\d+(\\.\\d+)?",g="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",v="\\b(0b[01]+)",b={begin:"\\\\[\\s\\S]",relevance:0},y={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[b]},x={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[b]},_={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},w=function(e,t,n={}){const i=s({className:"comment",begin:e,end:t,contains:[]},n);return i.contains.push(_),i.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),i},E=w("//","$"),k=w("/\\*","\\*/"),S=w("#","$"),C={className:"number",begin:m,relevance:0},O={className:"number",begin:g,relevance:0},T={className:"number",begin:v,relevance:0},j={className:"number",begin:m+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},A={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[b,{begin:/\[/,end:/\]/,relevance:0,contains:[b]}]}]},P={className:"title",begin:h,relevance:0},D={className:"title",begin:f,relevance:0},M={begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0};var N=Object.freeze({__proto__:null,IDENT_RE:h,UNDERSCORE_IDENT_RE:f,NUMBER_RE:m,C_NUMBER_RE:g,BINARY_NUMBER_RE:v,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=function(...e){return e.map((e=>p(e))).join("")}(t,/.*\b/,e.binary,/\b.*/)),s({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:b,APOS_STRING_MODE:y,QUOTE_STRING_MODE:x,PHRASAL_WORDS_MODE:_,COMMENT:w,C_LINE_COMMENT_MODE:E,C_BLOCK_COMMENT_MODE:k,HASH_COMMENT_MODE:S,NUMBER_MODE:C,C_NUMBER_MODE:O,BINARY_NUMBER_MODE:T,CSS_NUMBER_MODE:j,REGEXP_MODE:A,TITLE_MODE:P,UNDERSCORE_TITLE_MODE:D,METHOD_GUARD:M,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function I(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function L(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=I,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords)}function F(e,t){Array.isArray(e.illegal)&&(e.illegal=function(...e){return"("+e.map((e=>p(e))).join("|")+")"}(...e.illegal))}function R(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function $(e,t){void 0===e.relevance&&(e.relevance=1)}const B=["of","and","for","in","not","or","if","then","parent","list","value"];function q(e,t){return t?Number(t):function(e){return B.includes(e.toLowerCase())}(e)?0:1}function z(e,{plugins:t}){function n(t,n){return new RegExp(p(t),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=function(e){return new RegExp(e.toString()+"|").exec("").length-1}(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=n(function(e,t="|"){const n=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;let i=0,r="";for(let o=0;o<e.length;o++){i+=1;const a=i;let s=p(e[o]);for(o>0&&(r+=t),r+="(";s.length>0;){const e=n.exec(s);if(null==e){r+=s;break}r+=s.substring(0,e.index),s=s.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?r+="\\"+String(Number(e[1])+a):(r+=e[0],"("===e[0]&&i++)}r+=")"}return r}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),i=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,i)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new i;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=s(e.classNameAliases||{}),function t(i,o){const a=i;if(i.compiled)return a;[R].forEach((e=>e(i,o))),e.compilerExtensions.forEach((e=>e(i,o))),i.__beforeBegin=null,[L,F,$].forEach((e=>e(i,o))),i.compiled=!0;let l=null;if("object"==typeof i.keywords&&(l=i.keywords.$pattern,delete i.keywords.$pattern),i.keywords&&(i.keywords=function(e,t){const n={};return"string"==typeof e?i("keyword",e):Object.keys(e).forEach((function(t){i(t,e[t])})),n;function i(e,i){t&&(i=i.toLowerCase()),i.split(" ").forEach((function(t){const i=t.split("|");n[i[0]]=[e,q(i[0],i[1])]}))}}(i.keywords,e.case_insensitive)),i.lexemes&&l)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return l=l||i.lexemes||/\w+/,a.keywordPatternRe=n(l,!0),o&&(i.begin||(i.begin=/\B|\b/),a.beginRe=n(i.begin),i.endSameAsBegin&&(i.end=i.begin),i.end||i.endsWithParent||(i.end=/\B|\b/),i.end&&(a.endRe=n(i.end)),a.terminatorEnd=p(i.end)||"",i.endsWithParent&&o.terminatorEnd&&(a.terminatorEnd+=(i.end?"|":"")+o.terminatorEnd)),i.illegal&&(a.illegalRe=n(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return s(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(V(e))return s(e,{starts:e.starts?s(e.starts):null});if(Object.isFrozen(e))return s(e);return e}("self"===e?i:e)}))),i.contains.forEach((function(e){t(e,a)})),i.starts&&t(i.starts,o),a.matcher=function(e){const t=new r;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(a),a}(e)}function V(e){return!!e&&(e.endsWithParent||V(e.starts))}function H(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,a(this.code);let t={};return this.autoDetect?(t=e.highlightAuto(this.code),this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect(){return!this.language||(e=this.autodetect,Boolean(e||""===e));var e},ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(e){e.component("highlightjs",t)}}}}const U={"after:highlightBlock":({block:e,result:t,text:n})=>{const i=G(e);if(!i.length)return;const r=document.createElement("div");r.innerHTML=t.value,t.value=function(e,t,n){let i=0,r="";const o=[];function s(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:"start"===t[0].event?e:t:e.length?e:t}function l(e){function t(e){return" "+e.nodeName+'="'+a(e.value)+'"'}r+="<"+W(e)+[].map.call(e.attributes,t).join("")+">"}function c(e){r+="</"+W(e)+">"}function u(e){("start"===e.event?l:c)(e.node)}for(;e.length||t.length;){let t=s();if(r+=a(n.substring(i,t[0].offset)),i=t[0].offset,t===e){o.reverse().forEach(c);do{u(t.splice(0,1)[0]),t=s()}while(t===e&&t.length&&t[0].offset===i);o.reverse().forEach(l)}else"start"===t[0].event?o.push(t[0].node):o.pop(),u(t.splice(0,1)[0])}return r+a(n.substr(i))}(i,G(r),n)}};function W(e){return e.nodeName.toLowerCase()}function G(e){const t=[];return function e(n,i){for(let r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?i+=r.nodeValue.length:1===r.nodeType&&(t.push({event:"start",offset:i,node:r}),i=e(r,i),W(r).match(/br|hr|img|input/)||t.push({event:"stop",offset:i,node:r}));return i}(e,0),t}const K=e=>{console.error(e)},Y=(e,...t)=>{console.log(`WARN: ${e}`,...t)},X=(e,t)=>{console.log(`Deprecated as of ${e}. ${t}`)},J=a,Z=s,Q=Symbol("nomatch");var ee=function(e){const t=Object.create(null),n=Object.create(null),r=[];let a=!0;const s=/(^(<[^>]+>|\t|)+|\n)/gm,l="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let u={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:d};function p(e){return u.noHighlightRe.test(e)}function h(e,t,n,i){const r={code:t,language:e};k("before:highlight",r);const o=r.result?r.result:f(r.language,r.code,n,i);return o.code=r.code,k("after:highlight",o),o}function f(e,n,i,s){const c=n;function d(e,t){const n=E.case_insensitive?t[0].toLowerCase():t[0];return Object.prototype.hasOwnProperty.call(e.keywords,n)&&e.keywords[n]}function p(){null!=C.subLanguage?function(){if(""===j)return;let e=null;if("string"==typeof C.subLanguage){if(!t[C.subLanguage])return void T.addText(j);e=f(C.subLanguage,j,!0,O[C.subLanguage]),O[C.subLanguage]=e.top}else e=m(j,C.subLanguage.length?C.subLanguage:null);C.relevance>0&&(A+=e.relevance),T.addSublanguage(e.emitter,e.language)}():function(){if(!C.keywords)return void T.addText(j);let e=0;C.keywordPatternRe.lastIndex=0;let t=C.keywordPatternRe.exec(j),n="";for(;t;){n+=j.substring(e,t.index);const i=d(C,t);if(i){const[e,r]=i;T.addText(n),n="",A+=r;const o=E.classNameAliases[e]||e;T.addKeyword(t[0],o)}else n+=t[0];e=C.keywordPatternRe.lastIndex,t=C.keywordPatternRe.exec(j)}n+=j.substr(e),T.addText(n)}(),j=""}function h(e){return e.className&&T.openNode(E.classNameAliases[e.className]||e.className),C=Object.create(e,{parent:{value:C}}),C}function g(e,t,n){let i=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,n);if(i){if(e["on:end"]){const n=new o(e);e["on:end"](t,n),n.ignore&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return g(e.parent,t,n)}function v(e){return 0===C.matcher.regexIndex?(j+=e[0],1):(M=!0,0)}function b(e){const t=e[0],n=e.rule,i=new o(n),r=[n.__beforeBegin,n["on:begin"]];for(const n of r)if(n&&(n(e,i),i.ignore))return v(t);return n&&n.endSameAsBegin&&(n.endRe=new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),n.skip?j+=t:(n.excludeBegin&&(j+=t),p(),n.returnBegin||n.excludeBegin||(j=t)),h(n),n.returnBegin?0:t.length}function y(e){const t=e[0],n=c.substr(e.index),i=g(C,e,n);if(!i)return Q;const r=C;r.skip?j+=t:(r.returnEnd||r.excludeEnd||(j+=t),p(),r.excludeEnd&&(j=t));do{C.className&&T.closeNode(),C.skip||C.subLanguage||(A+=C.relevance),C=C.parent}while(C!==i.parent);return i.starts&&(i.endSameAsBegin&&(i.starts.endRe=i.endRe),h(i.starts)),r.returnEnd?0:t.length}let x={};function w(t,n){const r=n&&n[0];if(j+=t,null==r)return p(),0;if("begin"===x.type&&"end"===n.type&&x.index===n.index&&""===r){if(j+=c.slice(n.index,n.index+1),!a){const t=new Error("0 width match regex");throw t.languageName=e,t.badRule=x.rule,t}return 1}if(x=n,"begin"===n.type)return b(n);if("illegal"===n.type&&!i){const e=new Error('Illegal lexeme "'+r+'" for mode "'+(C.className||"<unnamed>")+'"');throw e.mode=C,e}if("end"===n.type){const e=y(n);if(e!==Q)return e}if("illegal"===n.type&&""===r)return 1;if(D>1e5&&D>3*n.index){throw new Error("potential infinite loop, way more iterations than matches")}return j+=r,r.length}const E=_(e);if(!E)throw K(l.replace("{}",e)),new Error('Unknown language: "'+e+'"');const k=z(E,{plugins:r});let S="",C=s||k;const O={},T=new u.__emitter(u);!function(){const e=[];for(let t=C;t!==E;t=t.parent)t.className&&e.unshift(t.className);e.forEach((e=>T.openNode(e)))}();let j="",A=0,P=0,D=0,M=!1;try{for(C.matcher.considerAll();;){D++,M?M=!1:C.matcher.considerAll(),C.matcher.lastIndex=P;const e=C.matcher.exec(c);if(!e)break;const t=w(c.substring(P,e.index),e);P=e.index+t}return w(c.substr(P)),T.closeAllNodes(),T.finalize(),S=T.toHTML(),{relevance:A,value:S,language:e,illegal:!1,emitter:T,top:C}}catch(t){if(t.message&&t.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:t.message,context:c.slice(P-100,P+100),mode:t.mode},sofar:S,relevance:0,value:J(c),emitter:T};if(a)return{illegal:!1,relevance:0,value:J(c),emitter:T,language:e,top:C,errorRaised:t};throw t}}function m(e,n){n=n||u.languages||Object.keys(t);const i=function(e){const t={relevance:0,emitter:new u.__emitter(u),value:J(e),illegal:!1,top:c};return t.emitter.addText(e),t}(e),r=n.filter(_).filter(E).map((t=>f(t,e,!1)));r.unshift(i);const o=r.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(_(e.language).supersetOf===t.language)return 1;if(_(t.language).supersetOf===e.language)return-1}return 0})),[a,s]=o,l=a;return l.second_best=s,l}const g={"before:highlightBlock":({block:e})=>{u.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightBlock":({result:e})=>{u.useBR&&(e.value=e.value.replace(/\n/g,"<br>"))}},v=/^(<[^>]+>|\t)+/gm,b={"after:highlightBlock":({result:e})=>{u.tabReplace&&(e.value=e.value.replace(v,(e=>e.replace(/\t/g,u.tabReplace))))}};function y(e){let t=null;const i=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=u.languageDetectRe.exec(t);if(n){const t=_(n[1]);return t||(Y(l.replace("{}",n[1])),Y("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>p(e)||_(e)))}(e);if(p(i))return;k("before:highlightBlock",{block:e,language:i}),t=e;const r=t.textContent,o=i?h(i,r,!0):m(r);k("after:highlightBlock",{block:e,result:o,text:r}),e.innerHTML=o.value,function(e,t,i){const r=t?n[t]:i;e.classList.add("hljs"),r&&e.classList.add(r)}(e,i,o.language),e.result={language:o.language,re:o.relevance,relavance:o.relevance},o.second_best&&(e.second_best={language:o.second_best.language,re:o.second_best.relevance,relavance:o.second_best.relevance})}const x=()=>{if(x.called)return;x.called=!0;document.querySelectorAll("pre code").forEach(y)};function _(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function w(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{n[e]=t}))}function E(e){const t=_(e);return t&&!t.disableAutodetect}function k(e,t){const n=e;r.forEach((function(e){e[n]&&e[n](t)}))}Object.assign(e,{highlight:h,highlightAuto:m,fixMarkup:function(e){return X("10.2.0","fixMarkup will be removed entirely in v11.0"),X("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),t=e,u.tabReplace||u.useBR?t.replace(s,(e=>"\n"===e?u.useBR?"<br>":e:u.tabReplace?e.replace(/\t/g,u.tabReplace):e)):t;var t},highlightBlock:y,configure:function(e){e.useBR&&(X("10.3.0","'useBR' will be removed entirely in v11.0"),X("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),u=Z(u,e)},initHighlighting:x,initHighlightingOnLoad:function(){window.addEventListener("DOMContentLoaded",x,!1)},registerLanguage:function(n,i){let r=null;try{r=i(e)}catch(e){if(K("Language definition for '{}' could not be registered.".replace("{}",n)),!a)throw e;K(e),r=c}r.name||(r.name=n),t[n]=r,r.rawDefinition=i.bind(null,e),r.aliases&&w(r.aliases,{languageName:n})},listLanguages:function(){return Object.keys(t)},getLanguage:_,registerAliases:w,requireLanguage:function(e){X("10.4.0","requireLanguage will be removed entirely in v11."),X("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const t=_(e);if(t)return t;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:E,inherit:Z,addPlugin:function(e){r.push(e)},vuePlugin:H(e).VuePlugin}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString="10.5.0";for(const e in N)"object"==typeof N[e]&&i(N[e]);return Object.assign(e,N),e.addPlugin(g),e.addPlugin(U),e.addPlugin(b),e}({});e.exports=ee},1098:function(e,t,n){"use strict";t.__esModule=!0;var i=a(n("17ed")),r=a(n("f893")),o="function"==typeof r.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof r.default&&"symbol"===o(i.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":void 0===e?"undefined":o(e)}},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},1145:function(e,t){function n(e,t){return t.querySelector(e)}(t=e.exports=function(e,t){return n(e,t=t||document)}).all=function(e,t){return(t=t||document).querySelectorAll(e)},t.engine=function(e){if(!e.one)throw new Error(".one callback required");if(!e.all)throw new Error(".all callback required");return n=e.one,t.all=e.all,t}},1148:function(e,t,n){"use strict";var i=n("a691"),r=n("1d80");e.exports="".repeat||function(e){var t=String(r(this)),n="",o=i(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},1276:function(e,t,n){"use strict";var i=n("d784"),r=n("44e7"),o=n("825a"),a=n("1d80"),s=n("4840"),l=n("8aa5"),c=n("50c4"),u=n("14c3"),d=n("9263"),p=n("d039"),h=[].push,f=Math.min,m=4294967295,g=!p((function(){return!RegExp(m,"y")}));i("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(a(this)),o=void 0===n?m:n>>>0;if(0===o)return[];if(void 0===e)return[i];if(!r(e))return t.call(i,e,o);for(var s,l,c,u=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,g=new RegExp(e.source,p+"g");(s=d.call(g,i))&&!((l=g.lastIndex)>f&&(u.push(i.slice(f,s.index)),s.length>1&&s.index<i.length&&h.apply(u,s.slice(1)),c=s[0].length,f=l,u.length>=o));)g.lastIndex===s.index&&g.lastIndex++;return f===i.length?!c&&g.test("")||u.push(""):u.push(i.slice(f)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=a(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,r,n):i.call(String(r),t,n)},function(e,r){var a=n(i,e,this,r,i!==t);if(a.done)return a.value;var d=o(e),p=String(this),h=s(d,RegExp),v=d.unicode,b=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(g?"y":"g"),y=new h(g?d:"^(?:"+d.source+")",b),x=void 0===r?m:r>>>0;if(0===x)return[];if(0===p.length)return null===u(y,p)?[p]:[];for(var _=0,w=0,E=[];w<p.length;){y.lastIndex=g?w:0;var k,S=u(y,g?p:p.slice(w));if(null===S||(k=f(c(y.lastIndex+(g?0:w)),p.length))===_)w=l(p,w,v);else{if(E.push(p.slice(_,w)),E.length===x)return E;for(var C=1;C<=S.length-1;C++)if(E.push(S[C]),E.length===x)return E;w=_=k}}return E.push(p.slice(_)),E}]}),!g)},"12f2":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},"13d5":function(e,t,n){"use strict";var i=n("23e7"),r=n("d58f").left,o=n("a640"),a=n("ae40"),s=n("2d00"),l=n("605d"),c=o("reduce"),u=a("reduce",{1:0});i({target:"Array",proto:!0,forced:!c||!u||!l&&s>79&&s<83},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},1460:function(e,t){e.exports=function(e){for(var t;e.childNodes.length;)t=e.childNodes[0],e.removeChild(t);return e}},"14c3":function(e,t,n){var i=n("c6b6"),r=n("9263");e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"14e9":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=127)}({127:function(e,t,n){"use strict";n.r(t);var i=n(16),r=n(39),o=n.n(r),a=n(3),s=n(2),l={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function c(e){var t=e.move,n=e.size,i=e.bar,r={},o="translate"+i.axis+"("+t+"%)";return r[i.size]=n,r.transform=o,r.msTransform=o,r.webkitTransform=o,r}var u={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return l[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:c({size:t,move:n,bar:i})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=100*(Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-this.$refs.thumb[this.bar.offset]/2)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=t*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(s.on)(document,"mousemove",this.mouseMoveDocumentHandler),Object(s.on)(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=100*(-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-(this.$refs.thumb[this.bar.offset]-t))/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=n*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(s.off)(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(s.off)(document,"mouseup",this.mouseUpDocumentHandler)}},d={name:"ElScrollbar",components:{Bar:u},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=o()(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object