camunda-bpmn-js 4.12.1 → 4.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base-modeler.development.js +22 -0
- package/dist/base-modeler.production.min.js +1 -1
- package/dist/camunda-cloud-modeler.development.js +25 -2
- package/dist/camunda-cloud-modeler.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +25 -2
- package/dist/camunda-platform-modeler.production.min.js +1 -1
- package/package.json +3 -3
|
@@ -182,7 +182,7 @@ var AH=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[hr
|
|
|
182
182
|
* focus-trap 7.5.2
|
|
183
183
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
184
184
|
*/
|
|
185
|
-
function JH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function eU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JH(Object(n),!0).forEach((function(t){tU(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tU(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nU=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},rU=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},iU=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},oU=function(e){return iU(e)&&!e.shiftKey},sU=function(e){return iU(e)&&e.shiftKey},aU=function(e){return setTimeout(e,0)},lU=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},cU=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},pU=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},uU=[],dU=function(e,t){var n,r=(null==t?void 0:t.document)||document,i=(null==t?void 0:t.trapStack)||uU,o=eU({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:oU,isKeyBackward:sU},t),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},l=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return s.containerGroups.findIndex((function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||(null==n?void 0:n.includes(r))||i.find((function(t){return t===e}))}))},c=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];t=t.apply(void 0,i)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},p=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e||!KH(e,o.tabbableOptions))if(l(r.activeElement)>=0)e=r.activeElement;else{var t=s.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(s.containerGroups=s.containers.map((function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?BH([e],t.includeContainer,{filter:GH.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:QH}):LH(e,t.includeContainer,GH.bind(null,t)),ZH(n)}(e,o.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?BH([e],t.includeContainer,{filter:WH.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):LH(e,t.includeContainer,WH.bind(null,t))}(e,o.tabbableOptions),r=t.length>0?t[0]:void 0,i=t.length>0?t[t.length-1]:void 0,s=n.find((function(e){return XH(e)})),a=n.slice().reverse().find((function(e){return XH(e)})),l=!!t.find((function(e){return $H(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:r,lastTabbableNode:i,firstDomTabbableNode:s,lastDomTabbableNode:a,nextTabbableNode:function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find((function(e){return XH(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return XH(e)})):t[i+(r?1:-1)]}}})),s.tabbableGroups=s.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),s.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(s.containerGroups.find((function(e){return e.posTabIndexesFound}))&&s.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},d=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),s.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(p()))},h=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},f=function(e){var t=e.target,n=e.event,r=e.isBackward,i=void 0!==r&&r;t=t||pU(n),u();var a=null;if(s.tabbableGroups.length>0){var p=l(t,n),d=p>=0?s.containerGroups[p]:void 0;if(p<0)a=i?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(i){var h=lU(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(h<0&&(d.container===t||KH(t,o.tabbableOptions)&&!XH(t,o.tabbableOptions)&&!d.nextTabbableNode(t,!1))&&(h=p),h>=0){var f=0===h?s.tabbableGroups.length-1:h-1,m=s.tabbableGroups[f];a=$H(t)>=0?m.lastTabbableNode:m.lastDomTabbableNode}else iU(n)||(a=d.nextTabbableNode(t,!1))}else{var g=lU(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(g<0&&(d.container===t||KH(t,o.tabbableOptions)&&!XH(t,o.tabbableOptions)&&!d.nextTabbableNode(t))&&(g=p),g>=0){var y=g===s.tabbableGroups.length-1?0:g+1,v=s.tabbableGroups[y];a=$H(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else iU(n)||(a=d.nextTabbableNode(t))}}else a=c("fallbackFocus");return a},m=function(e){var t=pU(e);l(t,e)>=0||(cU(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):cU(o.allowOutsideClick,e)||e.preventDefault())},g=function(e){var t=pU(e),n=l(t,e)>=0;if(n||t instanceof Document)n&&(s.mostRecentlyFocusedNode=t);else{var r;e.stopImmediatePropagation();var i=!0;if(s.mostRecentlyFocusedNode)if($H(s.mostRecentlyFocusedNode)>0){var a=l(s.mostRecentlyFocusedNode),c=s.containerGroups[a].tabbableNodes;if(c.length>0){var u=c.findIndex((function(e){return e===s.mostRecentlyFocusedNode}));u>=0&&(o.isKeyForward(s.recentNavEvent)?u+1<c.length&&(r=c[u+1],i=!1):u-1>=0&&(r=c[u-1],i=!1))}}else s.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return $H(e)>0}))}))||(i=!1);else i=!1;i&&(r=f({target:s.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(s.recentNavEvent)})),d(r||(s.mostRecentlyFocusedNode||p()))}s.recentNavEvent=void 0},y=function(e){if(function(e){return"Escape"===(null==e?void 0:e.key)||"Esc"===(null==e?void 0:e.key)||27===(null==e?void 0:e.keyCode)}(e)&&!1!==cU(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(o.isKeyForward(e)||o.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s.recentNavEvent=e;var n=f({event:e,isBackward:t});n&&(iU(e)&&e.preventDefault(),d(n))}(e,o.isKeyBackward(e))},v=function(e){var t=pU(e);l(t,e)>=0||cU(o.clickOutsideDeactivates,e)||cU(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},b=function(){if(s.active)return nU(i,n),s.delayInitialFocusTimer=o.delayInitialFocus?aU((function(){d(p())})):d(p()),r.addEventListener("focusin",g,!0),r.addEventListener("mousedown",m,{capture:!0,passive:!1}),r.addEventListener("touchstart",m,{capture:!0,passive:!1}),r.addEventListener("click",v,{capture:!0,passive:!1}),r.addEventListener("keydown",y,{capture:!0,passive:!1}),n},w=function(){if(s.active)return r.removeEventListener("focusin",g,!0),r.removeEventListener("mousedown",m,!0),r.removeEventListener("touchstart",m,!0),r.removeEventListener("click",v,!0),r.removeEventListener("keydown",y,!0),n},x="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){var t=e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===s.mostRecentlyFocusedNode}))}));t&&d(p())})):void 0,_=function(){x&&(x.disconnect(),s.active&&!s.paused&&s.containers.map((function(e){x.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),i=a(e,"checkCanFocusTrap");i||u(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=r.activeElement,null==t||t();var o=function(){i&&u(),b(),_(),null==n||n()};return i?(i(s.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!s.active)return this;var t=eU({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,w(),s.active=!1,s.paused=!1,_(),rU(i,n);var r=a(t,"onDeactivate"),l=a(t,"onPostDeactivate"),c=a(t,"checkCanReturnFocus"),p=a(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var u=function(){aU((function(){p&&d(h(s.nodeFocusedBeforeActivation)),null==l||l()}))};return p&&c?(c(h(s.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){if(s.paused||!s.active)return this;var t=a(e,"onPause"),n=a(e,"onPostPause");return s.paused=!0,null==t||t(),w(),_(),null==n||n(),this},unpause:function(e){if(!s.paused||!s.active)return this;var t=a(e,"onUnpause"),n=a(e,"onPostUnpause");return s.paused=!1,null==t||t(),u(),b(),_(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),s.active&&u(),_(),this}}).updateContainerElements(e),n},hU=function(e){return B_("svg",{...e,children:B_("path",{fillRule:"evenodd",d:"m11.657 8-4.95 4.95a1 1 0 0 1-1.414-1.414L8.828 8 5.293 4.464A1 1 0 1 1 6.707 3.05L11.657 8Z"})})};hU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var fU=function(e){return B_("svg",{...e,children:B_("path",{fillRule:"evenodd",d:"M9 13V9h4a1 1 0 0 0 0-2H9V3a1 1 0 1 0-2 0v4H3a1 1 0 1 0 0 2h4v4a1 1 0 0 0 2 0Z"})})};fU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var mU=function(e){return B_("svg",{...e,children:B_("path",{fillRule:"evenodd",d:"M12 6v7c0 1.1-.4 1.55-1.5 1.55h-5C4.4 14.55 4 14.1 4 13V6h8Zm-1.5 1.5h-5v4.3c0 .66.5 1.2 1.111 1.2H9.39c.611 0 1.111-.54 1.111-1.2V7.5ZM13 3h-2l-1-1H6L5 3H3v1.5h10V3Z"})})};mU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var gU=function(e){return B_("svg",{...e,children:[B_("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),B_("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),B_("path",{d:"M7 3H5v2h2V3zm4 0H9v2h2V3zM7 7H5v2h2V7zm4 0H9v2h2V7zm-4 4H5v2h2v-2zm4 0H9v2h2v-2z",fill:"#161616"})]})};gU.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var yU=function(e){return B_("svg",{...e,children:B_("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.637 12.637v-4.72h1.362v4.721c0 .36-.137.676-.411.95-.275.275-.591.412-.95.412H3.362c-.38 0-.703-.132-.967-.396A1.315 1.315 0 0 1 2 12.638V3.362c0-.38.132-.703.396-.967S2.982 2 3.363 2h4.553v1.363H3.363v9.274h9.274ZM14 2H9.28l-.001 1.362h2.408L5.065 9.984l.95.95 6.622-6.622v2.409H14V2Z",fill:"currentcolor"})})};yU.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var vU=function(e){return B_("svg",{...e,children:B_("path",{d:"M3.617 11.99c-.137.684-.392 1.19-.765 1.518-.362.328-.882.492-1.558.492H0l.309-1.579h1.264l1.515-7.64h-.912l.309-1.579h.911l.236-1.191c.137-.685.387-1.192.75-1.52C4.753.164 5.277 0 5.953 0h1.294L6.94 1.579H5.675l-.323 1.623h1.264l-.309 1.579H5.043l-1.426 7.208ZM5.605 11.021l3.029-4.155L7.28 3.202h2.073l.706 2.547h.176l1.691-2.547H14l-3.014 4.051 1.338 3.768H10.25l-.706-2.606H9.37L7.678 11.02H5.605Z",fill:"currentcolor"})})};vU.defaultProps={width:"14",height:"14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var bU=function(e){return B_("svg",{...e,children:[B_("path",{d:"M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 26a12 12 0 1 1 12-12 12 12 0 0 1-12 12Z"}),B_("circle",{cx:"16",cy:"23.5",r:"1.5"}),B_("path",{d:"M17 8h-1.5a4.49 4.49 0 0 0-4.5 4.5v.5h2v-.5a2.5 2.5 0 0 1 2.5-2.5H17a2.5 2.5 0 0 1 0 5h-2v4.5h2V17a4.5 4.5 0 0 0 0-9Z"}),B_("path",{style:{fill:"none"},d:"M0 0h32v32H0z"})]})};bU.defaultProps={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"};var wU=function(e){return B_("svg",{...e,children:[B_("path",{fill:"currentColor",d:"M28 4H10a2.006 2.006 0 0 0-2 2v14a2.006 2.006 0 0 0 2 2h18a2.006 2.006 0 0 0 2-2V6a2.006 2.006 0 0 0-2-2Zm0 16H10V6h18Z"}),B_("path",{fill:"currentColor",d:"M18 26H4V16h2v-2H4a2.006 2.006 0 0 0-2 2v10a2.006 2.006 0 0 0 2 2h14a2.006 2.006 0 0 0 2-2v-2h-2Z"})]})};wU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 32 32"};var xU=function(e){return B_("svg",{...e,children:B_("path",{fillRule:"evenodd",d:"m12 4.7-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8 12 4.7Z",fill:"currentColor"})})};function _U(e){const{element:t,headerProvider:n}=e,{getElementIcon:r,getDocumentationRef:i,getElementLabel:o,getTypeLabel:s}=n,a=o(t),l=s(t),c=i&&i(t),p=r(t);return B_("div",{class:"bio-properties-panel-header",children:[B_("div",{class:"bio-properties-panel-header-icon",children:p&&B_(p,{width:"32",height:"32",viewBox:"0 0 32 32"})}),B_("div",{class:"bio-properties-panel-header-labels",children:[B_("div",{title:l,class:"bio-properties-panel-header-type",children:l}),a?B_("div",{title:a,class:"bio-properties-panel-header-label",children:a}):null]}),B_("div",{class:"bio-properties-panel-header-actions",children:c?B_("a",{rel:"noopener",class:"bio-properties-panel-header-link",href:c,title:"Open documentation",target:"_blank",children:B_(yU,{})}):null})]})}xU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};const kU=Mx({description:{},getDescriptionForId:()=>{}}),EU=Mx({errors:{}}),OU=Mx({eventBus:null}),PU=Mx({layout:{},setLayout:()=>{},getLayoutForKey:()=>{},setLayoutForKey:()=>{}}),SU=Mx({tooltip:{},getTooltipForId:()=>{}});function CU(e){const{forId:t,element:n}=e,r=function(e,t){const{getTooltipForId:n}=Yx(SU);return n(e,t)}(t,n),i=e.value||r;return i?B_(TU,{...e,value:i,forId:DU(t)}):e.children}function TU(e){const{forId:t,value:n,parent:r,direction:i="right",position:o}=e,[s,a]=Hx(!1),[l,c]=Hx(!1);let p=null;const u=Qx(null),d=Qx(null),h=async e=>{const t=()=>a(!0);s||p||(e instanceof MouseEvent?p=setTimeout(t,200):(t(),c(!0)))},f=()=>{a(!1),c(!1)};Wx((()=>{const{current:e}=u;if(!e)return;const t=e=>{const t=document.activeElement===u.current||document.activeElement.closest(".bio-properties-panel-tooltip");!s||(({x:e,y:t})=>{const n=d.current,r=u.current;return n&&(MU(e,t,r.getBoundingClientRect())||MU(e,t,n.getBoundingClientRect()))})({x:e.x,y:e.y})||t&&l||f()},n=e=>{const{relatedTarget:t}=e;s&&!u.current.matches(":hover")&&t&&!t.closest(".bio-properties-panel-tooltip")&&f()};return document.addEventListener("wheel",t),document.addEventListener("focusout",n),document.addEventListener("mousemove",t),()=>{document.removeEventListener("wheel",t),document.removeEventListener("mousemove",t),document.removeEventListener("focusout",n)}}),[u.current,s,l]);const m=()=>B_("div",{class:`bio-properties-panel-tooltip ${i}`,role:"tooltip",id:"bio-properties-panel-tooltip","aria-labelledby":t,style:o||AU(u.current),ref:d,onClick:e=>e.stopPropagation(),children:[B_("div",{class:"bio-properties-panel-tooltip-content",children:n}),B_("div",{class:"bio-properties-panel-tooltip-arrow"})]});return B_("div",{class:"bio-properties-panel-tooltip-wrapper",tabIndex:"0",ref:u,onMouseEnter:h,onMouseLeave:()=>{clearTimeout(p),p=null},onFocus:h,onKeyDown:e=>{"Escape"===e.code&&f()},children:[e.children,s?r?x_(m(),r.current):m():null]})}function MU(e,t,n){const{top:r,right:i,bottom:o,left:s}=n;return e>=s&&e<=i&&t>=r&&t<=o}function AU(e){const t=e.getBoundingClientRect();return`right: ${`calc(100% - ${t.x}px)`}; top: ${t.top-10+"px"};`}function DU(e){return`bio-properties-panel-${e}`}function NU(e){const{errors:t}=Yx(EU);return t[e]}function RU(){const{errors:e}=Yx(EU);return e}function jU(e,t,n){const r=Yx(OU);n||({eventBus:n}=r);const i=Qx(!1);n&&!i.current&&n.on(e,t),Wx((()=>(n&&i.current&&n.on(e,t),i.current=!0,()=>{n&&n.off(e,t)})),[t,e,n])}function IU(e,t){const{getLayoutForKey:n,setLayoutForKey:r}=Yx(PU);return[n(e,t),Xx((t=>{r(e,t)}),[r])]}function LU(e){const t=Qx();return Wx((()=>{t.current=e})),t.current}function BU(e){const{onShow:t}=Yx(PU),n=Qx(),r=Qx(!1),i=Xx((n=>{n.id===e&&(t(),r.current||(r.current=!0))}),[e]);return Wx((()=>{r.current&&n.current&&(d(n.current.focus)&&n.current.focus(),d(n.current.select)&&n.current.select(),r.current=!1)})),jU("propertiesPanel.showEntry",i),n}function zU(e,t,n){const[r,i]=Hx(ve(t)),o=Xx((()=>{const e=ve(t);e!==r&&i(e)}),[t,r]);Wx((()=>{o()}),[o]),jU("propertiesPanel.attach",o),jU("propertiesPanel.detach",o),Wx((()=>{const t=IntersectionObserver;if(!t)return;if(!e.current||!r)return;const i=new t((e=>{0!==r.scrollHeight&&e.forEach((e=>{e.intersectionRatio<1?n(!0):1===e.intersectionRatio&&n(!1)}))}),{root:r,rootMargin:"0px 0px 999999% 0px",threshold:[1]});return i.observe(e.current),()=>{i.unobserve(e.current)}}),[e.current,r,n])}function $U(e){const t=Qx(e);return t.current=e,Xx(((...e)=>t.current(...e)),[])}function qU(e){const{element:t,entries:n=[],id:r,label:i,shouldOpen:o=!1}=e,s=Qx(null),[a,l]=IU(["groups",r,"open"],o),c=Xx((()=>l(!0)),[l]),[p,u]=Hx(!1),[h,f]=Hx(!1);Wx((()=>{const e=requestAnimationFrame((()=>{const e=n.find((e=>{const{id:t,isEdited:n}=e,r=ve(`[data-entry-id="${t}"]`);if(!d(n)||!r)return!1;return n(ve(".bio-properties-panel-input",r))}));u(e)}));return()=>cancelAnimationFrame(e)}),[n,u]);const m=RU(),g=n.some((e=>m[e.id]));zU(s,"div.bio-properties-panel-scroll-container",f);const y={...Yx(PU),onShow:c};return B_("div",{class:"bio-properties-panel-group","data-group-id":"group-"+r,ref:s,children:[B_("div",{class:F_("bio-properties-panel-group-header",p?"":"empty",a?"open":"",h&&a?"sticky":""),onClick:()=>l(!a),children:[B_("div",{title:e.tooltip?null:i,"data-title":i,class:"bio-properties-panel-group-header-title",children:B_(CU,{value:e.tooltip,forId:"group-"+r,element:t,parent:s,children:i})}),B_("div",{class:"bio-properties-panel-group-header-buttons",children:[B_(FU,{edited:p,hasErrors:g}),B_("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:B_(hU,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})]})]}),B_("div",{class:F_("bio-properties-panel-group-entries",a?"open":""),children:B_(PU.Provider,{value:y,children:n.map((e=>{const{component:n,id:r}=e;return lx(n,{...e,element:t,key:r})}))})})]})}function FU(e){const{edited:t,hasErrors:n}=e;return n?B_("div",{title:"Section contains an error",class:"bio-properties-panel-dot bio-properties-panel-dot--error"}):t?B_("div",{title:"Section contains data",class:"bio-properties-panel-dot"}):null}function VU(e){const{text:t,icon:n}=e;return B_("div",{class:"bio-properties-panel open",children:B_("section",{class:"bio-properties-panel-placeholder",children:[n&&B_(n,{class:"bio-properties-panel-placeholder-icon"}),B_("p",{class:"bio-properties-panel-placeholder-text",children:t})]})})}function HU(e){const{element:t,forId:n,value:r}=e,i=function(e,t){const{getDescriptionForId:n}=Yx(kU);return n(e,t)}(n,t),o=r||i;if(o)return B_("div",{class:"bio-properties-panel-description",children:o})}const UU=()=>{},WU=p_(((e,t)=>{const{onInput:n,disabled:r,tooltipContainer:i,enableGutters:o,value:s,onLint:a=UU,onPopupOpen:l=UU,popupOpen:c,contentAttributes:p={},hostLanguage:u=null,singleLine:d=!1}=e,h=Qx(),[f,m]=Hx(),[g,y]=Hx(s||"");!function(e,t){const[n,r]=Hx(void 0);t.current=Zx((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),r(t))}})),[e]),Wx((()=>{void 0!==n&&e&&(e.focus(n),r(!1))}),[e,n])}(f,t);const v=$U((e=>{n(e),y(e)}));Wx((()=>{let e;return e=new KV({container:h.current,onChange:v,value:g,onLint:a,contentAttributes:p,tooltipContainer:i,enableGutters:o,hostLanguage:u,singleLine:d,lineWrap:!0}),m(e),()=>{a([]),h.current.innerHTML="",m(null)}}),[]),Wx((()=>{f&&s!==g&&(f.setValue(s),y(s))}),[s]);return B_("div",{class:F_("bio-properties-panel-feelers-editor-container",c?"popupOpen":null),children:[B_("div",{class:"bio-properties-panel-feelers-editor__open-popup-placeholder",children:"Opened in editor"}),B_("div",{name:e.name,class:F_("bio-properties-panel-feelers-editor bio-properties-panel-input",g?"edited":null,r?"disabled":null),ref:h,onClick:()=>{t.current.focus()}}),B_("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l("feelers"),children:B_(wU,{})})]})})),GU=()=>{},QU=p_(((e,t)=>{const{contentAttributes:n,enableGutters:r,value:i,onInput:o,onFeelToggle:s=GU,onLint:a=GU,onPopupOpen:l=GU,placeholder:c,popupOpen:p,disabled:u,tooltipContainer:d,variables:h}=e,f=Qx(),[m,g]=Hx(),[y,v]=Hx(i||"");!function(e,t){const[n,r]=Hx(void 0);t.current=Zx((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),r(t))}})),[e]),Wx((()=>{void 0!==n&&e&&(e.focus(n),r(!1))}),[e,n])}(m,t);const b=$U((e=>{o(e),v(e)}));Wx((()=>{let e;return e=new MH({container:f.current,onChange:b,onKeyDown:t=>{if("Backspace"!==t.key||!e)return;const n=e.getSelection(),r=n.ranges[n.mainIndex];0===r.from&&0===r.to&&s()},onLint:a,placeholder:c,tooltipContainer:d,value:y,variables:h,extensions:[...r?[YL()]:[],YI.lineWrapping],contentAttributes:n}),g(e),()=>{a([]),f.current.innerHTML="",g(null)}}),[]),Wx((()=>{m&&i!==y&&(m.setValue(i),v(i))}),[i]),Wx((()=>{m&&m.setVariables(h)}),[h]),Wx((()=>{m&&m.setPlaceholder(c)}),[c]);return B_("div",{class:F_("bio-properties-panel-feel-editor-container",u?"disabled":null,p?"popupOpen":null),children:[B_("div",{class:"bio-properties-panel-feel-editor__open-popup-placeholder",children:"Opened in editor"}),B_("div",{name:e.name,class:F_("bio-properties-panel-input",y?"edited":null),ref:f,onClick:()=>{t.current.focus()}}),B_("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l(),children:B_(wU,{})})]})}));function ZU(e){const{active:t}=e;return t?B_("span",{class:"bio-properties-panel-feel-indicator",children:"="}):null}const XU=()=>{};function YU(e){const{feel:t=!1,active:n,disabled:r=!1,onClick:i=XU}=e,o=`Click to ${n?"remove":"set a"} dynamic value with FEEL expression`;return B_("button",{type:"button",class:F_("bio-properties-panel-feel-icon",n?"active":null,"required"===t?"required":"optional"),onClick:e=>{i(e),e.pointerType||e.stopPropagation()},disabled:"required"===t||r,title:"required"===t?"FEEL expression is mandatory":o,children:B_(vU,{})})}const KU=Mx({open:()=>{},close:()=>{},source:null});function JU(e,t){let n,r,i;function o(t){const o={x:t.clientX-r,y:t.clientY-i};return e.call(n,t,o)}function s(){document.removeEventListener("dragover",o,!0),document.removeEventListener("dragenter",eW,!0),document.removeEventListener("dragend",s),document.removeEventListener("drop",eW)}return function(e){n=this,r=e.clientX,i=e.clientY,e.dataTransfer&&e.dataTransfer.setDragImage(t||ge('<canvas width="0" height="0" />'),0,0),document.addEventListener("dragover",o,!0),document.addEventListener("dragenter",eW,!0),document.addEventListener("dragend",s),document.addEventListener("drop",eW)}}function eW(e){e.preventDefault(),e.stopPropagation()}const tW=()=>{};const nW=p_((function(e,t){const{container:n,className:r,delayInitialFocus:i,position:o,width:s,height:a,onClose:l,onPostActivate:c=tW,onPostDeactivate:p=tW,returnFocus:u=!0,closeOnEscape:d=!0,title:h}=e,f=Qx(null),m=Qx(null),g=t||m,y=Zx((()=>function(e){if("string"==typeof e)return ve(e);return e}(n)),[n]),v=()=>{f.current&&f.current.activate()};let b={};return o&&(b={...b,top:o.top+"px",left:o.left+"px"}),s&&(b.width=s+"px"),a&&(b.height=a+"px"),Wx((()=>(g.current&&g.current.addEventListener("focusin",v),()=>{g.current.removeEventListener("focusin",v)})),[g]),Wx((()=>(g.current&&(f.current=dU(g.current,{clickOutsideDeactivates:!0,delayInitialFocus:i,fallbackFocus:g.current,onPostActivate:c,onPostDeactivate:p,returnFocusOnDeactivate:u}),f.current.activate()),()=>f.current&&f.current.deactivate())),[g]),jU("propertiesPanel.detach",l),x_(B_("div",{"aria-label":h,tabIndex:-1,ref:g,onKeyDown:e=>{e.stopPropagation(),d&&"Escape"===e.key&&l()},role:"dialog",class:F_("bio-properties-panel-popup",r),style:b,children:e.children}),y||document.body)}));function rW(e){return e.closest(".bio-properties-panel-popup")}nW.Title=function(e){const{children:t,className:n,draggable:r,emit:i=(()=>{}),title:o,showCloseButton:s=!1,closeButtonTooltip:a="Close popup",onClose:l,...c}=e,p=Qx({startPosition:null,newPosition:null}),u=Qx(),d=Qx(),h=(e,t)=>{!function(e){e.preventDefault(),e.stopPropagation()}(e);const{x:n,y:r}=t,o={x:p.current.startPosition.x+n,y:p.current.startPosition.y+r},s=rW(d.current);s.style.top=o.y+"px",s.style.left=o.x+"px",i("dragover",{newPosition:o,delta:t})};return B_("div",{class:F_("bio-properties-panel-popup__header",r&&"draggable",n),ref:d,draggable:r,onDragStart:e=>{JU(h,u.current)(e),e.stopPropagation();const t=rW(d.current).getBoundingClientRect();p.current.startPosition={x:t.left,y:t.top},i("dragstart")},onDragEnd:()=>{p.current.newPosition=null,i("dragend")},...c,children:[r&&B_(px,{children:[B_("div",{ref:u,class:"bio-properties-panel-popup__drag-preview"}),B_("div",{class:"bio-properties-panel-popup__drag-handle",children:B_(gU,{})})]}),B_("div",{class:"bio-properties-panel-popup__title",children:o}),t,s&&B_("button",{title:a,class:"bio-properties-panel-popup__close",onClick:l,children:B_(xU,{})})]})},nW.Body=function(e){const{children:t,className:n,...r}=e;return B_("div",{class:F_("bio-properties-panel-popup__body",n),...r,children:t})},nW.Footer=function(e){const{children:t,className:n,...r}=e;return B_("div",{class:F_("bio-properties-panel-popup__footer",n),...r,children:e.children})};const iW=700,oW=250;function sW(e){const{element:t,eventBus:n={fire(){},on(){},off(){}},popupContainer:r}=e,i=LU(t),[o,s]=Hx({}),[a,l]=Hx(!1),[c,p]=Hx(null),[u,d]=Hx(null),h=(e,t)=>{n.fire("feelPopup."+e,t)},f=Xx((()=>!!a),[a]);!function(e,t){const n=Qx(!1);Wx((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{a||h("closed")}),[a]);const m=(e,t,n)=>{p(e),s(t),l(!0),d(n),h("open")},g=(e={})=>{const{id:t}=e;t&&t!==c||(l(!1),p(null))},y={open:m,close:g,source:c};return Wx((()=>{t&&i&&t!==i&&g()}),[t]),Wx((()=>{const e=()=>f();return n.on("feelPopup._close",g),n.on("feelPopup._open",(e=>{const{entryId:t,popupConfig:n,sourceElement:r}=e;m(t,n,r)})),n.on("feelPopup._isOpen",e),()=>{n.off("feelPopup._close",g),n.off("feelPopup._open",m),n.off("feelPopup._isOpen",e)}}),[n,f]),B_(KU.Provider,{value:y,children:[a&&B_(aW,{onClose:g,container:r,sourceElement:u,emit:h,...o}),e.children]})}function aW(e){const{container:t,id:n,hostLanguage:r,onInput:i,onClose:o,position:s,singleLine:a,sourceElement:l,title:c,tooltipContainer:p,type:u,value:d,variables:h,emit:f}=e,m=Qx(),g=Qx(),y=Qx(!1);return Wx((()=>(f("opened",{domNode:g.current}),()=>f("close",{domNode:g.current}))),[]),Wx((()=>{m.current&&m.current.focus()}),[m]),B_(nW,{container:t,className:"bio-properties-panel-feel-popup",emit:f,position:s,title:c,onClose:o,returnFocus:!1,closeOnEscape:!1,delayInitialFocus:!1,onPostDeactivate:()=>{l&&l.focus()},height:oW,width:iW,ref:g,children:[B_(nW.Title,{title:c,emit:f,showCloseButton:!0,closeButtonTooltip:"Save and close",onClose:o,draggable:!0,children:["feel"===u&&B_("a",{href:"https://docs.camunda.io/docs/components/modeler/feel/what-is-feel/",target:"_blank",class:"bio-properties-panel-feel-popup__title-link",children:["Learn FEEL expressions",B_(bU,{})]}),"feelers"===u&&B_("a",{href:"https://docs.camunda.io/docs/components/modeler/forms/configuration/forms-config-templating-syntax/",target:"_blank",class:"bio-properties-panel-feel-popup__title-link",children:["Learn templating",B_(bU,{})]})]}),B_(nW.Body,{children:B_("div",{onKeyDownCapture:e=>{"Escape"===e.key&&(y.current=e.target.closest(".cm-editor").querySelector(".cm-tooltip-autocomplete"))},onKeyDown:e=>{"Escape"===e.key&&(y.current||(o(),y.current=!1))},class:"bio-properties-panel-feel-popup__body",children:["feel"===u&&B_(QU,{enableGutters:!0,id:lW(n),name:n,onInput:i,value:d,variables:h,ref:m,tooltipContainer:p}),"feelers"===u&&B_(WU,{id:lW(n),contentAttributes:{"aria-label":c},enableGutters:!0,hostLanguage:r,name:n,onInput:i,value:d,ref:m,singleLine:a,tooltipContainer:p})]})})]})}function lW(e){return`bio-properties-panel-${e}`}function cW(e){const{id:t,label:n,onInput:r,value:i,switcherLabel:o,inline:s,onFocus:a,onBlur:l,inputRef:c,tooltip:p}=e,[u,d]=Hx(i);return Wx((()=>{i!==u&&d(i)}),[i]),B_("div",{class:F_("bio-properties-panel-toggle-switch",{inline:s}),children:[B_("label",{class:"bio-properties-panel-label",for:dW(t),children:B_(CU,{value:p,forId:t,element:e.element,children:n})}),B_("div",{class:"bio-properties-panel-field-wrapper",children:[B_("label",{class:"bio-properties-panel-toggle-switch__switcher",children:[B_("input",{ref:c,id:dW(t),class:"bio-properties-panel-input",type:"checkbox",onFocus:a,onBlur:l,name:t,onInput:e=>{(async()=>{r(!i)})(),d(e.target.value)},checked:!!u}),B_("span",{class:"bio-properties-panel-toggle-switch__slider"})]}),o&&B_("p",{class:"bio-properties-panel-toggle-switch__label",children:o})]})]})}function pW(e){const{element:t,id:n,description:r,label:i,switcherLabel:o,inline:s,getValue:a,setValue:l,onFocus:c,onBlur:p,tooltip:u}=e;return B_("div",{class:"bio-properties-panel-entry bio-properties-panel-toggle-switch-entry","data-entry-id":n,children:[B_(cW,{id:n,label:i,value:a(t),onInput:l,onFocus:c,onBlur:p,switcherLabel:o,inline:s,tooltip:u,element:t}),B_(HU,{forId:n,element:t,value:r})]})}function uW(e){return e&&!!e.checked}function dW(e){return`bio-properties-panel-${e}`}function hW(e){const{debounce:t,disabled:n,displayLabel:r=!0,id:i,inputRef:o,label:s,max:a,min:l,onInput:c,step:p,value:u="",onFocus:d,onBlur:h}=e,[f,m]=Hx(u),g=Zx((()=>t((e=>{e.validity.valid&&c(e.value?parseFloat(e.value):void 0)}))),[c,t]);return Wx((()=>{u!==f&&m(u)}),[u]),B_("div",{class:"bio-properties-panel-numberfield",children:[r&&B_("label",{for:gW(i),class:"bio-properties-panel-label",children:s}),B_("input",{id:gW(i),ref:o,type:"number",name:i,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",max:a,min:l,onInput:e=>{g(e.target),m(e.target.value)},onFocus:d,onBlur:h,step:p,value:f})]})}function fW(e){const{debounce:t,description:n,disabled:r,element:i,getValue:o,id:s,label:a,max:l,min:c,setValue:p,step:u,onFocus:h,onBlur:f,validate:m}=e,g=NU(s),[y,v]=Hx(null);let b=o(i);Wx((()=>{if(d(m)){const e=m(b)||null;v(e)}}),[b,m]);const w=g||y;return B_("div",{class:F_("bio-properties-panel-entry",w?"has-error":""),"data-entry-id":s,children:[B_(hW,{debounce:t,disabled:r,id:s,label:a,onFocus:h,onBlur:f,onInput:e=>{let t=null;d(m)&&(t=m(e)||null),p(e,t),v(t)},max:l,min:c,step:u,value:b},i),w&&B_("div",{class:"bio-properties-panel-error",children:w}),B_(HU,{forId:s,element:i,value:n})]})}function mW(e){return e&&!!e.value}function gW(e){return`bio-properties-panel-${e}`}const yW=()=>{};const vW=(bW=function(e){const{debounce:t,id:n,element:r,label:i,hostLanguage:o,onInput:s,onError:a,placeholder:l,feel:c,value:p="",disabled:u=!1,variables:d,singleLine:f,tooltipContainer:m,OptionalComponent:g=wW,tooltip:y}=e,[v,b]=Hx(p),w=BU(n),x=Qx(),_=h(v)&&v.startsWith("=")||"required"===c,k=h(v)&&v.startsWith("=")?v.substring(1):v,[E,O]=Hx(void 0),{open:P,source:S}=Yx(KU),C=S===n,T=(e=0)=>{const t=x.current.contains(document.activeElement)?document.activeElement.selectionStart:1/0;O(t+e)},M=Zx((()=>t((e=>{s(e)}))),[s,t]),A=e=>{b(e),M(void 0===e||""===e||"="===e?void 0:e)},D=$U((()=>{"required"!==c&&A(_?k:"="+v)})),N=e=>{_&&(e="="+e),e!==v&&(A(e),!_&&h(e)&&e.startsWith("=")&&T(-1))},R=$U((e=>{e&&e.length?a("Unparsable FEEL expression."):a(void 0)})),j=(e="feel")=>{const t={id:n,hostLanguage:o,onInput:N,position:TW(x.current),singleLine:f,title:MW(r,i),tooltipContainer:m,type:e,value:k,variables:d};P(n,t,w.current)};return Wx((()=>{void 0!==E&&(w.current.focus(E),O(void 0))}),[E]),Wx((()=>{p!==v&&A(p||(_?"=":""))}),[p]),Wx((()=>{const e=e=>{_&&e.clipboardData.setData("application/FEEL",e.clipboardData.getData("text"))},t=e=>{_||C||e.clipboardData.getData("application/FEEL")&&setTimeout((()=>{D(),T()}))};return x.current.addEventListener("copy",e),x.current.addEventListener("cut",e),x.current.addEventListener("paste",t),()=>{x.current.removeEventListener("copy",e),x.current.removeEventListener("cut",e),x.current.removeEventListener("paste",t)}}),[x,_,D,T]),B_("div",{class:F_("bio-properties-panel-feel-entry",{"feel-active":_}),children:[B_("label",{for:CW(n),class:"bio-properties-panel-label",onClick:()=>T(),children:[B_(CU,{value:y,forId:n,element:e.element,children:i}),B_(YU,{label:i,feel:c,onClick:D,active:_})]}),B_("div",{class:"bio-properties-panel-feel-container",ref:x,children:[B_(ZU,{active:_,disabled:"optional"!==c||u,onClick:D}),_?B_(QU,{name:n,onInput:N,contentAttributes:{id:CW(n),"aria-label":i},disabled:u,popupOpen:C,onFeelToggle:()=>{D(),T(!0)},onLint:R,onPopupOpen:j,placeholder:l,value:k,variables:d,ref:w,tooltipContainer:m}):B_(g,{...e,popupOpen:C,onInput:N,contentAttributes:{id:CW(n),"aria-label":i},value:v,ref:w,onPopupOpen:j,containerRef:x})]})]})},function(e){const{id:t}=e,{close:n}=Yx(KU),r=$U(n);return Wx((()=>()=>{r({id:t})}),[]),B_(bW,{...e})});var bW;const wW=p_(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a,placeholder:l}=e,c=Qx();return t.current={focus:e=>{const t=c.current;t&&(t.focus(),"number"==typeof e&&(e>o.length&&(e=o.length),t.setSelectionRange(e,e)))}},B_("input",{id:CW(n),type:"text",ref:c,name:n,spellCheck:"false",autoComplete:"off",disabled:r,class:"bio-properties-panel-input",onInput:e=>i(e.target.value),onFocus:s,onBlur:a,placeholder:l,value:o||""})})),xW=p_(((e,t)=>{const{id:n,debounce:r,disabled:i,onInput:o,value:s,min:a,max:l,step:c,onFocus:p,onBlur:u}=e,d=Qx();return t.current={focus:e=>{const t=d.current;t&&(t.focus(),"number"==typeof e&&e!==1/0&&(e>s.length&&(e=s.length),t.setSelectionRange(e,e)))}},B_(hW,{id:n,debounce:r,disabled:i,displayLabel:!1,inputRef:d,max:l,min:a,onInput:o,step:c,value:s,onFocus:p,onBlur:u})})),_W=p_(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a,placeholder:l}=e,c=Qx();return t.current={focus:()=>{const e=c.current;e&&(e.focus(),e.setSelectionRange(0,0))}},B_("textarea",{id:CW(n),type:"text",ref:c,name:n,spellCheck:"false",autoComplete:"off",disabled:r,class:"bio-properties-panel-input",onInput:e=>i(e.target.value),onFocus:s,onBlur:a,placeholder:l,value:o||"","data-gramm":"false"})}));p_(((e,t)=>{const{id:n,onInput:r,value:i,onFocus:o,onBlur:s,switcherLabel:a}=e,l=Qx();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},B_(cW,{id:n,value:i,inputRef:l,onInput:r,onFocus:o,onBlur:s,switcherLabel:a})}));const kW=p_(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a}=e,l=Qx();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},B_("input",{ref:l,id:CW(n),name:n,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:({target:e})=>{i(e.checked)},checked:o,disabled:r})}));function EW(e){const{element:t,id:n,description:r,debounce:i,disabled:o,feel:s,label:a,getValue:l,setValue:c,tooltipContainer:p,hostLanguage:u,singleLine:h,validate:f,show:m=yW,example:g,variables:y,onFocus:v,onBlur:b,placeholder:w,tooltip:x}=e,[_,k]=Hx(null),[E,O]=Hx(null);let P=l(t);Wx((()=>{if(d(f)){const e=f(P)||null;k(e)}}),[P,f]);const S=$U((e=>{let t=null;d(f)&&(t=f(e)||null),e!==P&&c(e,t),k(t)})),C=Xx((e=>{O(e)}),[]),T=NU(n)||E||_;return B_("div",{class:F_(e.class,"bio-properties-panel-entry",T?"has-error":""),"data-entry-id":n,children:[lx(vW,{...e,debounce:i,disabled:o,feel:s,id:n,key:t,label:a,onInput:S,onError:C,onFocus:v,onBlur:b,placeholder:w,example:g,hostLanguage:u,singleLine:h,show:m,value:P,variables:y,tooltipContainer:p,OptionalComponent:e.OptionalComponent,tooltip:x}),T&&B_("div",{class:"bio-properties-panel-error",children:T}),B_(HU,{forId:n,element:t,value:r})]})}function OW(e){return B_(EW,{class:"bio-properties-panel-feel-number",OptionalComponent:xW,...e})}function PW(e){return B_(EW,{class:"bio-properties-panel-feel-checkbox",OptionalComponent:kW,...e})}function SW(e){return!!e&&("checkbox"===e.type?!!e.checked||e.classList.contains("edited"):!!e.value||e.classList.contains("edited"))}function CW(e){return`bio-properties-panel-${e}`}function TW(e){const{top:t,left:n}=e.getBoundingClientRect();return{left:n-iW-20,top:t}}function MW(e,t){let n="";return e&&e.type&&(n=`${e.type} / `),`${n}${t}`}const AW={},DW={},NW={};function RW(e){const{element:t,headerProvider:n,placeholderProvider:r,groups:i,layoutConfig:o,layoutChanged:s,descriptionConfig:a,descriptionLoaded:l,tooltipConfig:p,tooltipLoaded:u,feelPopupContainer:d,eventBus:h}=e,[f,m]=Hx(jW(o));!function(e,t){const n=Qx(!1);Gx((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{const e=jW(o);m(e)}),[o]),Wx((()=>{"function"==typeof s&&s(f)}),[f,s]);const g={layout:f,setLayout:m,getLayoutForKey:(e,t)=>z(f,e,t),setLayoutForKey:(e,t)=>{const n=L({},f);B(n,e,t),m(n)}},y=Zx((()=>function(e={}){return{...DW,...e}}(a)),[a]);Wx((()=>{"function"==typeof l&&l(y)}),[y,l]);const v={description:y,getDescriptionForId:(e,t)=>y[e]&&y[e](t)},b=Zx((()=>function(e={}){return{...NW,...e}}(p)),[p]);Wx((()=>{"function"==typeof u&&u(b)}),[b,u]);const w={tooltip:b,getTooltipForId:(e,t)=>b[e]&&b[e](t)},[x,_]=Hx({});jU("propertiesPanel.setErrors",(({errors:e})=>_(e)),h);const k={errors:x},E={eventBus:h},O={element:t};return r&&!t?B_(VU,{...r.getEmpty()}):r&&c(t)?B_(VU,{...r.getMultiple()}):B_(PU.Provider,{value:O,children:B_(EU.Provider,{value:k,children:B_(kU.Provider,{value:v,children:B_(SU.Provider,{value:w,children:B_(PU.Provider,{value:g,children:B_(OU.Provider,{value:E,children:B_(sW,{element:t,eventBus:h,popupContainer:d,children:B_("div",{class:"bio-properties-panel",children:[B_(_U,{element:t,headerProvider:n}),B_("div",{class:"bio-properties-panel-scroll-container",children:i.map((e=>{const{component:n=qU,id:r}=e;return lx(n,{...e,key:r,element:t})}))})]})})})})})})})})}function jW(e={},t=AW){return{...t,...e}}function IW(e){const{class:t,children:n,menuItems:r=[]}=e,i=Qx(null),o=Qx(null),[s,a]=Hx(!1),l=()=>a(!1);function c(e,t){e.stopPropagation(),l(),t()}var p,u;return p=[i.current],u=()=>l(),Wx((()=>{function e(e){p.some((t=>t&&t.contains(e.target)))||u()}return document.addEventListener("click",e,{capture:!0}),()=>document.removeEventListener("click",e,{capture:!0})}),[...p,u]),B_("div",{class:F_("bio-properties-panel-dropdown-button",{open:s},t),onClick:function(e){o.current&&o.current.contains(e.target)||(e.stopPropagation(),a((e=>!e)))},ref:i,children:[n,B_("div",{class:"bio-properties-panel-dropdown-button__menu",ref:o,children:r.map(((e,t)=>B_(LW,{onClick:c,item:e},t)))})]})}function LW({item:e,onClick:t}){return e.separator?B_("div",{class:"bio-properties-panel-dropdown-button__menu-item bio-properties-panel-dropdown-button__menu-item--separator"}):e.action?B_("button",{type:"button",class:"bio-properties-panel-dropdown-button__menu-item bio-properties-panel-dropdown-button__menu-item--actionable",onClick:n=>t(n,e.action),children:e.entry}):B_("div",{class:"bio-properties-panel-dropdown-button__menu-item",children:e.entry})}function BW(e){const{children:t=null,class:n,onClick:r=(()=>{}),...i}=e;return B_("button",{type:"button",...i,onClick:r,class:F_("bio-properties-panel-group-header-button",n),children:t})}function zW(e,t){return t=t||{},e.replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}function $W(e){const{element:t,entries:n=[],id:r,label:i,open:o,remove:s,translate:a=zW}=e,[l,c]=Hx(o),{onShow:p}=Yx(PU),u={...Yx(PU),onShow:Xx((()=>{c(!0),d(p)&&p()}),[p,c])},h=a("<empty>");return B_("div",{"data-entry-id":r,class:F_("bio-properties-panel-collapsible-entry",l?"open":""),children:[B_("div",{class:"bio-properties-panel-collapsible-entry-header",onClick:()=>c(!l),children:[B_("div",{title:i||h,class:F_("bio-properties-panel-collapsible-entry-header-title",!i&&"empty"),children:i||h}),B_("button",{type:"button",title:a("Toggle list item"),class:"bio-properties-panel-arrow bio-properties-panel-collapsible-entry-arrow",children:B_(hU,{class:l?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}),s?B_("button",{type:"button",title:a("Delete item"),class:"bio-properties-panel-remove-entry",onClick:s,children:B_(mU,{})}):null]}),B_("div",{class:F_("bio-properties-panel-collapsible-entry-entries",l?"open":""),children:B_(PU.Provider,{value:u,children:n.map((e=>{const{component:n,id:r}=e;return lx(n,{...e,element:t,key:r})}))})})]})}function qW(e){const{autoFocusEntry:t,autoOpen:n,translate:r=zW}=e;return Wx((()=>{if(n&&t){const e=ve(`[data-entry-id="${t}"]`),n=ve(".bio-properties-panel-input",e);n&&(d(n.select)?n.select():d(n.focus)&&n.focus(),n.scrollIntoView())}}),[n,t]),B_("div",{class:"bio-properties-panel-list-item",children:B_($W,{...e,open:n,translate:r})})}const FW=()=>{};function VW(e){const{add:t,element:n,id:r,items:i,label:o,shouldOpen:s=!1,translate:a=zW}=e;Wx((()=>{null!=e.shouldSort&&console.warn("the property 'shouldSort' is no longer supported")}),[e.shouldSort]);const l=Qx(null),[c,p]=IU(["groups",r,"open"],s),[u,d]=Hx(!1),h=Xx((()=>p(!0)),[p]),[f,m]=Hx([]),[g,y]=Hx(!1),v=LU(n),b=Xx((()=>p(!c)),[c]),w=n===v&&c&&g?function(e,t){const n=e.map((e=>e.id)),r=t.map((e=>e.id));return n.filter((e=>!r.includes(e)))}(i,f):[];Wx((()=>{m(i),y(!1)}),[i]),zU(l,"div.bio-properties-panel-scroll-container",d);const x=!!i.length,_={...Yx(PU),onShow:h},k=RU(),E=i.some((e=>!!k[e.id]||(e.entries?e.entries.some((e=>k[e.id])):void 0)));return B_("div",{class:"bio-properties-panel-group","data-group-id":"group-"+r,ref:l,children:[B_("div",{class:F_("bio-properties-panel-group-header",x?"":"empty",x&&c?"open":"",u&&c?"sticky":""),onClick:x?b:FW,children:[B_("div",{title:e.tooltip?null:o,"data-title":o,class:"bio-properties-panel-group-header-title",children:B_(CU,{value:e.tooltip,forId:"group-"+r,element:n,parent:l,children:o})}),B_("div",{class:"bio-properties-panel-group-header-buttons",children:[t?B_("button",{type:"button",title:a("Create new list item"),class:"bio-properties-panel-group-header-button bio-properties-panel-add-entry",onClick:e=>{y(!0),p(!0),t(e)},children:[B_(fU,{}),x?null:B_("span",{class:"bio-properties-panel-add-entry-label",children:a("Create")})]}):null,x?B_("div",{title:a("List contains {numOfItems} item"+(1!=i.length?"s":""),{numOfItems:i.length}),class:F_("bio-properties-panel-list-badge",E?"bio-properties-panel-list-badge--error":""),children:i.length}):null,x?B_("button",{type:"button",title:a("Toggle section"),class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:B_(hU,{class:c?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}):null]})]}),B_("div",{class:F_("bio-properties-panel-list",c&&x?"open":""),children:B_(PU.Provider,{value:_,children:i.map(((e,t)=>{if(!e)return;const{id:r}=e,i=w.includes(e.id);return lx(qW,{...e,autoOpen:i,element:n,index:t,key:r,translate:a})}))})})]})}function HW(e){const{id:t,label:n,onChange:r,disabled:i,value:o=!1,onFocus:s,onBlur:a,tooltip:l}=e,[c,p]=Hx(o);Wx((()=>{o!==c&&p(o)}),[o]);return B_("div",{class:"bio-properties-panel-checkbox",children:[B_("input",{ref:BU(t),id:GW(t),name:t,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:e=>{(({target:e})=>{r(e.checked)})(e),p(e.target.value)},checked:c,disabled:i}),B_("label",{for:GW(t),class:"bio-properties-panel-label",children:B_(CU,{value:l,forId:t,element:e.element,children:n})})]})}function UW(e){const{element:t,id:n,description:r,label:i,getValue:o,setValue:s,disabled:a,onFocus:l,onBlur:c,tooltip:p}=e,u=o(t),d=NU(n);return B_("div",{class:"bio-properties-panel-entry bio-properties-panel-checkbox-entry","data-entry-id":n,children:[B_(HW,{disabled:a,id:n,label:i,onChange:s,onFocus:l,onBlur:c,value:u,tooltip:p,element:t},t),d&&B_("div",{class:"bio-properties-panel-error",children:d}),B_(HU,{forId:n,element:t,value:r})]})}function WW(e){return e&&!!e.checked}function GW(e){return`bio-properties-panel-${e}`}function QW(e){const{id:t,label:n,onChange:r,options:i=[],value:o="",disabled:s,onFocus:a,onBlur:l,tooltip:c}=e,p=BU(t),[u,d]=Hx(o);return Wx((()=>{o!==u&&d(o)}),[o]),B_("div",{class:"bio-properties-panel-select",children:[B_("label",{for:YW(t),class:"bio-properties-panel-label",children:B_(CU,{value:c,forId:t,element:e.element,children:n})}),B_("select",{ref:p,id:YW(t),name:t,class:"bio-properties-panel-input",onInput:e=>{(({target:e})=>{r(e.value)})(e),d(e.target.value)},onFocus:a,onBlur:l,value:u,disabled:s,children:i.map(((e,t)=>e.children?B_("optgroup",{label:e.label,children:e.children.map(((e,t)=>B_("option",{value:e.value,disabled:e.disabled,children:e.label},t)))},t):B_("option",{value:e.value,disabled:e.disabled,children:e.label},t)))})]})}function ZW(e){const{element:t,id:n,description:r,label:i,getValue:o,setValue:s,getOptions:a,disabled:l,onFocus:c,onBlur:p,validate:u,tooltip:h}=e,f=a(t),m=NU(n),[g,y]=Hx(null);let v=o(t);Wx((()=>{if(d(u)){const e=u(v)||null;y(e)}}),[v,u]);const b=m||g;return B_("div",{class:F_("bio-properties-panel-entry",b?"has-error":""),"data-entry-id":n,children:[B_(QW,{id:n,label:i,value:v,onChange:e=>{let t=null;d(u)&&(t=u(e)||null),s(e,t),y(t)},onFocus:c,onBlur:p,options:f,disabled:l,tooltip:h,element:t},t),b&&B_("div",{class:"bio-properties-panel-error",children:b}),B_(HU,{forId:n,element:t,value:r})]})}function XW(e){return e&&!!e.value}function YW(e){return`bio-properties-panel-${e}`}function KW(e){e.style.height="auto",e.style.height=`${e.scrollHeight+2}px`}function JW(e){const{id:t,label:n,debounce:r,onInput:i,value:o="",disabled:s,monospace:a,onFocus:l,onBlur:c,autoResize:p,placeholder:u,rows:d=(p?1:2),tooltip:h}=e,[f,m]=Hx(o),g=BU(t),y=Zx((()=>r((e=>i(e.value.length?e.value:void 0)))),[i,r]);return Gx((()=>{p&&KW(g.current)}),[]),Wx((()=>{o!==f&&m(o)}),[o]),B_("div",{class:"bio-properties-panel-textarea",children:[B_("label",{for:nG(t),class:"bio-properties-panel-label",children:B_(CU,{value:h,forId:t,element:e.element,children:n})}),B_("textarea",{ref:g,id:nG(t),name:t,spellCheck:"false",class:F_("bio-properties-panel-input",a?"bio-properties-panel-input-monospace":"",p?"auto-resize":""),onInput:e=>{y(e.target),p&&KW(e.target),m(e.target.value)},onFocus:l,onBlur:c,placeholder:u,rows:d,value:f,disabled:s,"data-gramm":"false"})]})}function eG(e){const{element:t,id:n,description:r,debounce:i,label:o,getValue:s,setValue:a,rows:l,monospace:c,disabled:p,validate:u,onFocus:h,onBlur:f,placeholder:m,autoResize:g,tooltip:y}=e,v=NU(n),[b,w]=Hx(null);let x=s(t);Wx((()=>{if(d(u)){const e=u(x)||null;w(e)}}),[x,u]);const _=v||b;return B_("div",{class:F_("bio-properties-panel-entry",_?"has-error":""),"data-entry-id":n,children:[B_(JW,{id:n,label:o,value:x,onInput:e=>{let t=null;d(u)&&(t=u(e)||null),a(e,t),w(t)},onFocus:h,onBlur:f,rows:l,debounce:i,monospace:c,disabled:p,placeholder:m,autoResize:g,tooltip:y,element:t},t),_&&B_("div",{class:"bio-properties-panel-error",children:_}),B_(HU,{forId:n,element:t,value:r})]})}function tG(e){return e&&!!e.value}function nG(e){return`bio-properties-panel-${e}`}function rG(e){const{debounce:t,disabled:n=!1,id:r,label:i,onInput:o,onFocus:s,onBlur:a,placeholder:l,value:c="",tooltip:p}=e,[u,d]=Hx(c||""),h=BU(r),f=Zx((()=>t((e=>o(e.value.length?e.value:void 0)))),[o,t]);return Wx((()=>{c!==u&&d(c)}),[c]),B_("div",{class:"bio-properties-panel-textfield",children:[B_("label",{for:sG(r),class:"bio-properties-panel-label",children:B_(CU,{value:p,forId:r,element:e.element,children:i})}),B_("input",{ref:h,id:sG(r),type:"text",name:r,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",onInput:e=>{f(e.target),d(e.target.value)},onFocus:s,onBlur:a,placeholder:l,value:u})]})}function iG(e){const{element:t,id:n,description:r,debounce:i,disabled:o,label:s,getValue:a,setValue:l,validate:c,onFocus:p,onBlur:u,placeholder:h,tooltip:f}=e,m=NU(n),[g,y]=Hx(null);let v=a(t);Wx((()=>{if(d(c)){const e=c(v)||null;y(e)}}),[v,c]);const b=m||g;return B_("div",{class:F_("bio-properties-panel-entry",b?"has-error":""),"data-entry-id":n,children:[B_(rG,{debounce:i,disabled:o,id:n,label:s,onInput:e=>{let t=null;d(c)&&(t=c(e)||null),l(e,t),y(t)},onFocus:p,onBlur:u,placeholder:h,value:v,tooltip:f,element:t},t),b&&B_("div",{class:"bio-properties-panel-error",children:b}),B_(HU,{forId:n,element:t,value:r})]})}function oG(e){return e&&!!e.value}function sG(e){return`bio-properties-panel-${e}`}function aG(e){return function(t){return!1!==e?j(t,u(e)?e:300):t}}aG.$inject=["config.debounceInput"];var lG={debounceInput:["factory",aG]};class cG{constructor(e){this._eventBus=e}isOpen(){return this._eventBus.fire("feelPopup._isOpen")}open(e,t,n){return this._eventBus.fire("feelPopup._open",{entryId:e,popupConfig:t,sourceElement:n})}close(){return this._eventBus.fire("feelPopup._close")}}cG.$inject=["eventBus"];var pG={feelPopup:["type",cG]},uG={},dG={};const hG=Object.prototype.toString,fG=Object.prototype.hasOwnProperty;function mG(e){return void 0===e}function gG(e){return void 0!==e}function yG(e){return null==e}function vG(e){return"[object Array]"===hG.call(e)}function bG(e){return"[object Object]"===hG.call(e)}function wG(e){const t=hG.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function xG(e){if(!vG(e))throw new Error("must supply array")}function _G(e,t){return fG.call(e,t)}function kG(e,t){const n=NG(t);let r;return EG(e,(function(e,t){if(n(e,t))return r=e,!1})),r}function EG(e,t){let n,r;if(mG(e))return;const i=vG(e)?jG:RG;for(let o in e)if(_G(e,o)&&(n=e[o],r=t(n,i(o)),!1===r))return n}function OG(e,t,n){return EG(e,(function(e,r){n=t(n,e,r)})),n}function PG(e,t){return!!OG(e,(function(e,n,r){return e&&t(n,r)}),!0)}function SG(e,t){let n=[];return EG(e,(function(e,r){n.push(t(e,r))})),n}function CG(e){return e&&Object.keys(e)||[]}function TG(e,t,n={}){return t=DG(t),EG(e,(function(e){let r=t(e)||"_",i=n[r];i||(i=n[r]=[]),i.push(e)})),n}function MG(e,...t){e=DG(e);let n={};return EG(t,(t=>TG(t,e,n))),SG(n,(function(e,t){return e[0]}))}const AG=MG;function DG(e){return wG(e)?e:t=>t[e]}function NG(e){return wG(e)?e:t=>t===e}function RG(e){return e}function jG(e){return Number(e)}dG.assign=function(e,...t){return Object.assign(e,...t)},dG.bind=function(e,t){return e.bind(t)},dG.debounce=function(e,t){let n,r,i,o;function s(n){let s=Date.now(),c=n?0:o+t-s;if(c>0)return a(c);e.apply(i,r),l()}function a(e){n=setTimeout(s,e)}function l(){n&&clearTimeout(n),n=o=r=i=void 0}function c(...e){o=Date.now(),r=e,i=this,n||a(t)}return c.flush=function(){n&&s(!0),l()},c.cancel=l,c},dG.ensureArray=xG,dG.every=PG,dG.filter=function(e,t){const n=NG(t);let r=[];return EG(e,(function(e,t){n(e,t)&&r.push(e)})),r},dG.find=kG,dG.findIndex=function(e,t){const n=NG(t);let r=vG(e)?-1:void 0;return EG(e,(function(e,t){if(n(e,t))return r=t,!1})),r},dG.flatten=function(e){return Array.prototype.concat.apply([],e)},dG.forEach=EG,dG.get=function(e,t,n){let r=e;return EG(t,(function(e){if(yG(r))return r=void 0,!1;r=r[e]})),mG(r)?n:r},dG.groupBy=TG,dG.has=_G,dG.isArray=vG,dG.isDefined=gG,dG.isFunction=wG,dG.isNil=yG,dG.isNumber=function(e){return"[object Number]"===hG.call(e)},dG.isObject=bG,dG.isString=function(e){return"[object String]"===hG.call(e)},dG.isUndefined=mG,dG.keys=CG,dG.map=SG,dG.matchPattern=function(e){return function(t){return PG(e,(function(e,n){return t[n]===e}))}},dG.merge=function e(t,...n){return n.length?(EG(n,(function(n){n&&bG(n)&&EG(n,(function(n,r){if("__proto__"===r)return;let i=t[r];bG(n)?(bG(i)||(i={}),t[r]=e(i,n)):t[r]=n}))})),t):t},dG.omit=function(e,t){let n={};return EG(Object(e),(function(e,r){-1===t.indexOf(r)&&(n[r]=e)})),n},dG.pick=function(e,t){let n={},r=Object(e);return EG(t,(function(t){t in r&&(n[t]=e[t])})),n},dG.reduce=OG,dG.set=function(e,t,n){let r=e;return EG(t,(function(e,i){if("number"!=typeof e&&"string"!=typeof e)throw new Error("illegal key type: "+typeof e+". Key should be of type number or string.");if("constructor"===e)throw new Error("illegal key: constructor");if("__proto__"===e)throw new Error("illegal key: __proto__");let o=t[i+1],s=r[e];gG(o)&&yG(s)&&(s=r[e]=isNaN(+o)?{}:[]),mG(o)?mG(n)?delete r[e]:r[e]=n:r=s})),e},dG.size=function(e){return CG(e).length},dG.some=function(e,t){return!!kG(e,t)},dG.sortBy=function(e,t){t=DG(t);let n=[];return EG(e,(function(e,r){let i=t(e,r),o={d:i,v:e};for(var s=0;s<n.length;s++){let{d:e}=n[s];if(i<e)return void n.splice(s,0,o)}n.push(o)})),SG(n,(e=>e.v))},dG.throttle=function(e,t){let n=!1;return function(...r){n||(e(...r),n=!0,setTimeout((()=>{n=!1}),t))}},dG.unionBy=AG,dG.uniqueBy=MG,dG.values=function(e){return SG(e,(e=>e))},dG.without=function(e,t){if(mG(e))return[];xG(e);const n=NG(t);return e.filter((function(e,t){return!n(e,t)}))},Object.defineProperty(uG,"__esModule",{value:!0});var IG=dG;function LG(e){return(zG(e,"zeebe:IoMapping")||[])[0]}function BG(e){return function(e,t){var n=LG(e);return n&&n.get(t)||[]}(e,"inputParameters")}function zG(e,t,n){var r=function(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=IG.filter(i,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(r[0]||{})[n]||[]:r}function $G(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function qG(e,t,n){n=n||0,IG.isArray(e)||(e=[e]),IG.forEach(e,(function(e,r){var i=t(e,r,n);IG.isArray(i)&&i.length&&qG(i,t,n+1)}))}function FG(e,t,n){var r=!n||-1===e.indexOf(t);return r&&e.push(t),r}function VG(e,t,n){var r=[],i=[];return qG(e,(function(e,n,o){FG(r,e,t);var s=e.flowElements;if(s&&FG(i,s,t))return s})),r}function HG(e,t){return VG(e,!t)}function UG(e,t){var n=IG.findIndex(e,(function(e){return e.name===t.name&&e.scope===t.scope}));n>=0?e[n].origin=function(e,t){return e.concat(t)}(e[n].origin,t.origin):e.push(t)}function WG(e,t,n){var r,i,o,s,a=(r=n,i=t,o=$G(e),s=IG.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return IG.find(BG(e),(function(e){return e.target===t}))}(e,i)})),s||r);return{name:t,origin:[e],scope:a}}var GG=[function(e){var t=e.elements,n=e.processVariables;return IG.isArray(t)||(t=[t]),IG.forEach(t,(function(e){var t=function(e){return(LG(e)||{}).inputParameters}(e);IG.forEach(t,(function(t){var r=WG(e,t.target,e);UG(n,r)}))})),n},function(e){var t=e.elements,n=e.processVariables;return IG.isArray(t)||(t=[t]),IG.forEach(t,(function(e){var t=e.loopCharacteristics,r=t&&function(e){const t=zG(e,"zeebe:LoopCharacteristics")[0];return t&&t.inputElement}(t);if(r){var i=WG(e,r,e);UG(n,i)}})),n},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return IG.isArray(t)||(t=[t]),IG.forEach(t,(function(e){var t=function(e){return(LG(e)||{}).outputParameters}(e);IG.forEach(t,(function(t){var i=WG(e,t.target,n);UG(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return IG.isArray(t)||(t=[t]),IG.forEach(t,(function(e){var t=e.loopCharacteristics,i=t&&function(e){const t=zG(e,"zeebe:LoopCharacteristics")[0];return t&&t.outputCollection}(t);if(i){var o=WG(e,i,n);UG(r,o)}})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return IG.isArray(t)||(t=[t]),IG.forEach(t,(function(e){var t=function(e){return(zG(e,"zeebe:CalledDecision")||[])[0]}(e)||function(e){return(zG(e,"zeebe:Script")||[])[0]}(e);if(t){var i=t.resultVariable;if(i){var o=WG(e,i,n);UG(r,o)}}})),r}];function QG(e,t=[]){var n=[],r=HG([e],!1);const i=[];return IG.forEach([...GG,...t],(function(t){i.push(t({elements:r,containerElement:e,processVariables:n}))})),Promise.all(i).then((()=>n))}async function ZG(e,t,n=[]){var r=await QG(t,n),i=function(e,t){var n=HG(t);return IG.find(n,(function(t){return t.id===e}))}(e,t),o=IG.filter(r,(function(e){return e.scope.id===i.id})),s=$G(i);return function(e,t){return e.concat(t)}(o,IG.filter(r,(function(e){return IG.find(s,(function(t){return t.id===e.scope.id}))})))}function XG(e){return e&&e.businessObject||e}function YG(e,t){var n=XG(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}var KG=uG.getProcessVariables=QG,JG=uG.getVariablesForElement=function(e,t=[]){return ZG(function(e){const t=XG(e);if(YG(e,"bpmn:Participant"))return t.processRef.id;return t.id}(e),function(e){const t=XG(e);if(YG(t,"bpmn:Participant"))return t.processRef;if(YG(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!YG(n,"bpmn:Process");)n=n.$parent;return n}(e),t)};uG.getVariablesForScope=ZG;var eQ={};Object.defineProperty(eQ,"__esModule",{value:!0});var tQ=dG;function nQ(e){var t=function(e){return rQ(e,"camunda:FormData")[0]}(e);return t&&t.get("fields")||[]}function rQ(e,t,n){var r=function(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=tQ.filter(i,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(r[0]||{})[n]||[]:r}function iQ(e,t){var n=function(e){return(rQ(e,"camunda:InputOutput")||[])[0]}(e);return n&&n.get(t)||[]}function oQ(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function sQ(e,t,n){n=n||0,tQ.isArray(e)||(e=[e]),tQ.forEach(e,(function(e,r){var i=t(e,r,n);tQ.isArray(i)&&i.length&&sQ(i,t,n+1)}))}function aQ(e,t,n){var r=!n||-1===e.indexOf(t);return r&&e.push(t),r}function lQ(e,t,n){var r=[],i=[];return sQ(e,(function(e,n,o){aQ(r,e,t);var s=e.flowElements;if(s&&aQ(i,s,t))return s})),r}function cQ(e,t){return lQ(e,!t)}function pQ(e,t){var n=tQ.findIndex(e,(function(e){return e.name===t.name&&e.scope===t.scope}));n>=0?e[n].origin=function(e,t){return e.concat(t)}(e[n].origin,t.origin):e.push(t)}function uQ(e,t,n){var r,i,o,s,a=(r=n,i=t,o=oQ(e),s=tQ.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return tQ.find(function(e){return iQ(e,"inputParameters")}(e),(function(e){return e.name===t}))}(e,i)})),s||r);return{name:t,origin:[e],scope:a}}function dQ(e,t){var n=e.eventDefinitions;return n&&t?tQ.filter(n,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})):n}var hQ=[function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return tQ.isArray(t)||(t=[t]),tQ.forEach(t,(function(e){var t=function(e){return iQ(e,"outputParameters")}(e);tQ.forEach(t,(function(t){var i=uQ(e,t.name,n);pQ(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return tQ.isArray(t)||(t=[t]),tQ.forEach(t,(function(e){var t=function(e){return e.get("camunda:resultVariable")}(e);if(t){var i=uQ(e,t,n);pQ(r,i)}})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return tQ.isArray(t)||(t=[t]),tQ.forEach(t,(function(e){var t=nQ(e);tQ.forEach(t,(function(t){var i=uQ(e,t.id,n);pQ(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return tQ.isArray(t)||(t=[t]),tQ.forEach(t,(function(e){var t=function(e){return rQ(e,"camunda:Out")}(e);tQ.forEach(t,(function(t){if(!t.local){var i=uQ(e,t.target,n);pQ(r,i)}}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables,i=function(e,t){var i=uQ(e,t,n);pQ(r,i)};return tQ.isArray(t)||(t=[t]),tQ.forEach(t,(function(e){var t=function(e){return dQ(e,"bpmn:ErrorEventDefinition")}(e);tQ.forEach(t,(function(t){var n=t.get("errorCodeVariable"),r=t.get("errorMessageVariable");n&&i(e,n),r&&i(e,r)}));var n=function(e){return dQ(e,"bpmn:EscalationEventDefinition")}(e);tQ.forEach(n,(function(t){var n=t.get("escalationCodeVariable");n&&i(e,n)}))})),r}];function fQ(e,t=[]){const n=[];var r=[],i=cQ([e],!1);return tQ.forEach([...hQ,...t],(function(t){n.push(t({elements:i,containerElement:e,processVariables:r}))})),Promise.all(n).then((()=>r))}eQ.getProcessVariables=fQ,eQ.getVariablesForScope=async function(e,t,n=[]){var r=await fQ(t,n),i=function(e,t){var n=cQ(t);return tQ.find(n,(function(t){return t.id===e}))}(e,t),o=tQ.filter(r,(function(e){return e.scope.id===i.id})),s=oQ(i);return function(e,t){return e.concat(t)}(o,tQ.filter(r,(function(e){return tQ.find(s,(function(t){return t.id===e.scope.id}))})))};const mQ=Mx({selectedElement:null,injector:null,getService:()=>null});function gQ(e,t){const{getService:n}=Yx(mQ);return n(e,t)}function yQ(){return yQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yQ.apply(null,arguments)}function vQ(){return vQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vQ.apply(null,arguments)}function bQ(){return bQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bQ.apply(null,arguments)}function wQ(){return wQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wQ.apply(null,arguments)}function xQ(){return xQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xQ.apply(null,arguments)}function _Q(){return _Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_Q.apply(null,arguments)}function kQ(){return kQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kQ.apply(null,arguments)}var EQ=({styles:e={},...t})=>I_("svg",kQ({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),I_("path",{stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"1.1,4.3",d:"M1.5 30.5L27 5"}),I_("path",{d:"M31.803.197L26.5 16.107l-1.52-1.52 3.783-11.35-11.35 3.783-1.52-1.52z"}));function OQ(){return OQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OQ.apply(null,arguments)}function PQ(){return PQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PQ.apply(null,arguments)}function SQ(){return SQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SQ.apply(null,arguments)}function CQ(){return CQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CQ.apply(null,arguments)}function TQ(){return TQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TQ.apply(null,arguments)}function MQ(){return MQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},MQ.apply(null,arguments)}function AQ(){return AQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AQ.apply(null,arguments)}function DQ(){return DQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DQ.apply(null,arguments)}function NQ(){return NQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NQ.apply(null,arguments)}function RQ(){return RQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RQ.apply(null,arguments)}function jQ(){return jQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jQ.apply(null,arguments)}function IQ(){return IQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IQ.apply(null,arguments)}function LQ(){return LQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LQ.apply(null,arguments)}function BQ(){return BQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BQ.apply(null,arguments)}function zQ(){return zQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zQ.apply(null,arguments)}function $Q(){return $Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$Q.apply(null,arguments)}function qQ(){return qQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qQ.apply(null,arguments)}function FQ(){return FQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FQ.apply(null,arguments)}function VQ(){return VQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VQ.apply(null,arguments)}function HQ(){return HQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HQ.apply(null,arguments)}function UQ(){return UQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UQ.apply(null,arguments)}function WQ(){return WQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WQ.apply(null,arguments)}function GQ(){return GQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GQ.apply(null,arguments)}function QQ(){return QQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QQ.apply(null,arguments)}var ZQ=({styles:e={},...t})=>I_("svg",QQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.111.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.454 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.215-2.282-2.022-5.3-3.217-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.082 11.082 0 0116 5.021zm-3.956 3.946l-3.096 3.097 3.985 3.985-3.913 3.913 3.047 3.048 3.913-3.913 3.988 3.987 3.097-3.096L19.076 16l3.914-3.913-3.048-3.048-3.913 3.913-3.986-3.985zm-.002 1.222l3.988 3.987 3.913-3.913 1.826 1.826-3.913 3.913 3.985 3.986-1.873 1.873-3.985-3.985-3.913 3.913-1.827-1.827 3.914-3.913-3.988-3.987 1.873-1.873z"}));function XQ(){return XQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XQ.apply(null,arguments)}var YQ=({styles:e={},...t})=>I_("svg",XQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm-.56 5.772l-7.408 5.231 7.409 5.234v-5.057c2.385 1.687 4.771 3.371 7.157 5.057V10.793l-7.157 5.055v-5.055zm-.865 1.665v7.125l-5.048-3.562 5.048-3.563zm7.161 0v7.132l-5.048-3.566 5.048-3.566z"}));function KQ(){return KQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KQ.apply(null,arguments)}var JQ=({styles:e={},...t})=>I_("svg",KQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.97.04h-.127C8.713-.018 2.003 5.334.437 12.286c-1.51 6.123.98 13.005 6.136 16.665 5.125 3.788 12.546 4.105 17.912.623 5.272-3.276 8.33-9.766 7.325-15.916-.904-6.241-5.79-11.7-11.95-13.143A16.082 16.082 0 0015.97.04zm-.181 1.724c.115 0 .23 0 .347.003 6.625-.066 12.823 5.149 13.89 11.69 1.13 5.91-1.908 12.349-7.262 15.138-5.473 3.013-12.866 1.884-17.116-2.726C1.291 21.372.444 13.914 3.802 8.602c2.493-4.112 7.169-6.819 11.987-6.838zm.283 1.554c-.117 0-.234.002-.351.005-6.1 0-11.691 5.049-12.346 11.114-.78 5.684 2.795 11.612 8.218 13.52 5.139 1.943 11.416.101 14.624-4.38 3.461-4.583 3.262-11.538-.596-15.831-2.36-2.747-5.924-4.423-9.549-4.428zm-.078 1.695c.078 0 .156 0 .234.003 5.4 0 10.321 4.556 10.734 9.942.563 5.13-2.958 10.364-7.971 11.678-4.832 1.41-10.457-.935-12.746-5.446-2.463-4.559-1.2-10.795 3.014-13.883a11.072 11.072 0 016.735-2.294zm-5.352 4.266V22.761h10.716V9.279H10.642zm.863.866h8.987v11.75h-8.987v-11.75zm.927 1.323v.862h7.133v-.862h-7.133zm0 2.602v.866h7.133v-.866h-7.133zm0 3.008v.862h7.133v-.862h-7.133zm0 2.717v.863h7.133v-.863h-7.133z"}));function eZ(){return eZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eZ.apply(null,arguments)}var tZ=({styles:e={},...t})=>I_("svg",eZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm6.132 4.194c-1.21 2.455-2.422 4.91-3.633 7.364l-4.516-5.875-4.103 12.133 4.6-5.912c1.58 1.81 3.162 3.619 4.744 5.429L22.13 9.215zM14.383 13.1l4.295 5.445 1.073-2.387-1.027 4.131-4.384-5.157-1.778 2.75 1.821-4.782z"}));function nZ(){return nZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nZ.apply(null,arguments)}var rZ=({styles:e={},...t})=>I_("svg",nZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.927c-1.672 4.654-2.734 9.502-4.406 14.155 1.534-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.496-4.71-2.91-9.446-4.406-14.156zm.032 2.929c.822 2.586 1.598 5.186 2.42 7.771l-2.42-2.612c-.682.597-2.452 2.884-2.338 2.388.87-2.487 1.447-5.067 2.338-7.547z"}));function iZ(){return iZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iZ.apply(null,arguments)}var oZ=({styles:e={},...t})=>I_("svg",iZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm1.78 4.093v3.555H9.785v6.714h7.994v3.554l5.829-6.911-5.83-6.912zm.974 2.584l3.61 4.295-3.61 4.294v-1.933h-7.88v-4.688h7.88v-1.968z"}));function sZ(){return sZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sZ.apply(null,arguments)}var aZ=({styles:e={},...t})=>I_("svg",sZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm-7.245 5.475v11.06h14.502v-11.06H8.754zm3.222 1.728h8.057c-1.427.878-2.854 2.806-4.281 3.016l-3.776-3.016zm9.554 1.017v6.587H10.48V13.24l5.524 4.414 5.526-4.414z"}));function lZ(){return lZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lZ.apply(null,arguments)}var cZ=({styles:e={},...t})=>I_("svg",lZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.073l-7.62 5.531 2.91 8.95h9.42l2.91-8.95-7.62-5.53zm0 1.067l6.604 4.794-2.523 7.757h-8.162l-2.522-7.757 6.603-4.794z"}));function pZ(){return pZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pZ.apply(null,arguments)}var uZ=({styles:e={},...t})=>I_("svg",pZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M10.638 9.563V23.056h10.724V9.563H10.638zm.863.866h8.995v11.76H11.5V10.43zm.928 1.324v.862h7.139v-.862h-7.14zm0 2.605v.866h7.139v-.866h-7.14zm0 3.01v.863h7.139v-.863h-7.14zm0 2.72v.863h7.139v-.864h-7.14zM15.999.308h-.004l-.188.001h-.011l-.188.004h-.011L15.41.32h-.011l-.187.008h-.005L15.2.33l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.37h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003.178-.001h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 1.023l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.62h-.005l-.005-.002-.182-.035h-.006L18.938.58l-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.43 17.783.41l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.37h-.005L17.38.368l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.328h-.011L16.6.32h-.011l-.187-.006h-.011L16.204.31h-.011L16.005.31H16zm9.016 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zm-18.381.344l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003L4.682 5l-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.595h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01L16.32 3.6h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 13.135l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187V16.7l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zm-30.21.572l-.161.001-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158-.074-.155-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178-.001-.177v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057-.159-.028zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14v-.005l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 23.019l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 27.127l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z"}));function dZ(){return dZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dZ.apply(null,arguments)}var hZ=({styles:e={},...t})=>I_("svg",dZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.012 9.222c-1.673 4.657-2.735 9.508-4.409 14.164 1.536-1.526 2.874-3.236 4.41-4.762l4.408 4.762c-1.497-4.712-2.911-9.451-4.409-14.164zm.032 2.93c.823 2.588 1.599 5.19 2.421 7.777l-2.42-2.614c-.683.598-2.454 2.886-2.34 2.39.871-2.489 1.448-5.07 2.34-7.552zM16.012.312c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function fZ(){return fZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fZ.apply(null,arguments)}var mZ=({styles:e={},...t})=>I_("svg",fZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M8.742 10.464v11.072h14.516V10.464H8.742zm3.224 1.73h8.066a69569 69569 0 00-4.034 3.22l-4.032-3.22zm9.565 1.018v6.594H10.469v-6.593L16 17.63l5.532-4.419zM16 0h-.005l-.188.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06h-.005L17.38.06l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0H16zm9.015 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zM6.634 3.28l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.286h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 12.826l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zM.938 15L.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 22.71l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 26.818l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z"}));function gZ(){return gZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gZ.apply(null,arguments)}var yZ=({styles:e={},...t})=>I_("svg",gZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M23.637 13.902l-7.625-5.535-7.624 5.535 2.912 8.956h9.425l2.912-8.956zm-1.017.33l-2.524 7.762H11.93l-2.524-7.762 6.607-4.796 6.608 4.796zM16.012.311c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function vZ(){return vZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vZ.apply(null,arguments)}var bZ=({styles:e={},...t})=>I_("svg",vZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M13.51 9.081v4.428H9.08v4.982h4.428v4.428h4.982V18.49h4.428v-4.982H18.49V9.081h-4.982zm.83.83h3.32v4.428h4.429v3.322H17.66v4.428h-3.32v-4.454H9.91v-3.296h4.428V9.911zM16 0h-.005l-.188.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06h-.005L17.38.06l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0H16zm9.015 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zM6.634 3.28l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.286h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 12.826l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zM.938 15L.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 22.71l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 26.818l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z",opacity:".98"}));function wZ(){return wZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wZ.apply(null,arguments)}var xZ=({styles:e={},...t})=>I_("svg",wZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.012 8.816L9.21 21.026h13.606l-6.803-12.21zm0 1.776l5.332 9.57H10.681l5.331-9.57zm0-10.281c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function _Z(){return _Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_Z.apply(null,arguments)}var kZ=({styles:e={},...t})=>I_("svg",_Z({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.998 8.406c-3.018-.041-5.92 1.926-7.031 4.727-1.138 2.695-.51 6.012 1.537 8.103 1.99 2.141 5.268 2.93 8.014 1.927 2.878-.98 4.992-3.827 5.068-6.87.153-2.957-1.624-5.88-4.3-7.137a7.552 7.552 0 00-3.288-.75zm0 1.384c2.759-.052 5.373 1.973 6.015 4.655.704 2.578-.482 5.517-2.791 6.867-2.358 1.48-5.682 1.086-7.618-.918-2.043-1.971-2.407-5.381-.84-7.745 1.11-1.763 3.15-2.88 5.234-2.86zm1.962 1.765l-2.074 3.762c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.182l1.993-3.615c-.252-.14-.505-.278-.757-.417zm-1.965-8.268h-.158l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.048.12.047.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.138-.107-.121-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.005-.002-.006-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.141-.031-.006-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.001-.143-.026-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.01l-.148-.001h-.01zM10.357 4.66l-.156.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.004.003-.005.004-.11.096-.004.004-.004.003-.109.098-.004.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.003.004-.004.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.005-.086.117-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.029.15-.058.138-.085.119-.108.082-.106.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022-.16.008zm13.91 2.116l-.158.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.026.159.054.152.082.139.086.102.09.09.094.098.093.099.092.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.115.068.117.067.115.065.118.064.117.062.118.061.12.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.049.127.046.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.086.137.109.119.129.096.145.07.155.043.16.013.161-.017.155-.046.143-.074.126-.1.106-.122.082-.138.055-.152.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.059-.132-.002-.005-.002-.004-.061-.132-.003-.004-.002-.005-.062-.13-.003-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.073-.125-.003-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.08-.12-.004-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.117-.003-.005-.003-.004-.088-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.093-.113-.004-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.109-.004-.004-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023-.16.008zM4.288 12.828l-.158.032-.15.06-.135.088-.117.11-.095.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.006-.019.144v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.006l-.001.005-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.006.033.14v.006l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.103.102-.126.076-.142.049-.153.02-.16-.01-.161-.032-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.132-.024-.134-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.132.01-.139.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029-.16.002zm23.286 4.202l-.156.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.134-.026.132-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.062.119-.063.116-.067.119-.066.116-.068.115-.07.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.108-.085.109-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.082-.12.003-.005.002-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.004.003-.005.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.003-.005.002-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.002-.006.04-.138.002-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.141.001-.006.001-.005.031-.141.002-.006v-.005l.03-.142.001-.005.001-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022-.16.007zM6.681 22.734l-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.11.04.047.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.106.004.003.004.004.103.105.004.004.004.004.105.103.004.004.003.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.005.004.004.003.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.003.126.072.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.068.005.002.004.002.13.066.004.003.005.002.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.003.133.056.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.161-.015.155-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.158-.061-.15-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.079-.11-.08-.109-.082-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006-.16.024zm15.063 2.691l-.156.044-.12.057-.06.034-.12.066-.116.064-.119.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.036-.13.035-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021h.005l.006-.002.143-.022h.006l.005-.002.143-.024h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.036.005-.002.005-.001.14-.038.005-.001.005-.002.14-.04h.005l.005-.002.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.056.005-.003.005-.002.132-.057.005-.002.005-.003.132-.059.005-.002.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.002.005-.003.129-.066.004-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.002.065-.038.132-.093.112-.115.089-.135.062-.149.034-.157.004-.161-.027-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.045-.16-.017-.161.014zM15.994 0l-.187.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.01L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.184.027h-.006l-.005.001-.184.029h-.005l-.005.001-.183.031-.005.001-.006.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.177.027.17.03.173.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.088-.135.06-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.144-.073-.129-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.005-.001-.184-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06 17.385.06h-.005l-.187-.015h-.005l-.005-.001-.187-.013h-.01L16.799.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0h-.01zm8.86 2.939l-.157.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.127.125.123.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.085.152.083.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.161-.016.155-.046.143-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.002-.005-.003-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.002-.005-.102-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.004-.003-.005-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.003-.004-.004-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.003-.004-.133-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027-.16.004zm-18.381.348l-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.005-.003.004-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.005-.003.004-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023-.161.008zm24.514 11.15l-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.024.175-.027.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.161-.061.164-.063.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.078.158-.081.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.12.13.096.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.004.002-.005.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.17.002-.006.001-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.18.001-.006.001-.005.038-.182v-.005l.002-.005.035-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02-.161.009zM.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.005.074.169.002.005.002.004.076.169.002.005.002.004.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.156-.07-.162-.068-.16-.067-.164-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15 .777 15zM6.17 26.842l-.152.052-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.005.003.004.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.003.162.088.005.002.004.002.164.087.005.002.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.169.076.004.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.061.005.002.005.001.175.06.005.001.005.002.176.057.005.001.005.002.177.055.005.001.005.002.177.052.005.002.005.001.178.051.005.001.005.002.178.048.006.002h.005l.179.047.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.169-.044-.17-.045-.166-.048-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006-.16.024zm19.214.073l-.156.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.157.073-.158.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.048-.17.045-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.008.133-.017.115-.024h.005l.005-.002.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002h.005l.18-.047.004-.001.005-.002.179-.048.005-.002.005-.001.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.005-.002.004-.002.172-.068.005-.001.005-.002.171-.07.005-.002.005-.002.17-.072.005-.002.005-.002.169-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.002.167-.08.004-.003.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.002.163-.087.005-.002.005-.002.162-.088.005-.003.005-.003.161-.09.005-.002.004-.003.16-.092.005-.002.005-.003.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.002.155-.102.005-.003.004-.003.154-.104.004-.003.005-.003.152-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.111.004-.004.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02-.16.009z"}));function EZ(){return EZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},EZ.apply(null,arguments)}var OZ=({styles:e={},...t})=>I_("svg",EZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.157.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.408 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.215-2.282-2.022-5.3-3.217-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.082 11.082 0 0116 4.975zm-2.15 3.281v5.534H8.213v4.38h5.636v5.534h4.31V18.17h5.639v-4.38h-5.64V8.256h-4.31zm.865.865h2.583v5.534h5.635v2.65h-5.635v5.533h-2.583v-5.534h-5.64v-2.649h5.64V9.121z"}));function PZ(){return PZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PZ.apply(null,arguments)}var SZ=({styles:e={},...t})=>I_("svg",PZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.521L9.206 20.745h13.598L16.005 8.542zm0 1.775l5.329 9.564H10.677l5.328-9.564z"}));function CZ(){return CZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CZ.apply(null,arguments)}var TZ=({styles:e={},...t})=>I_("svg",CZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.97.04h-.127C8.713-.018 2.003 5.334.437 12.286c-1.51 6.123.98 13.005 6.136 16.665 5.125 3.788 12.546 4.105 17.912.623 5.272-3.276 8.33-9.766 7.325-15.916-.904-6.241-5.79-11.7-11.95-13.143A16.082 16.082 0 0015.97.04zm-.181 1.724c.115 0 .23 0 .347.003 6.625-.066 12.823 5.149 13.89 11.69 1.13 5.91-1.908 12.349-7.262 15.138-5.473 3.013-12.866 1.884-17.116-2.726C1.291 21.372.444 13.914 3.802 8.602c2.493-4.112 7.169-6.819 11.987-6.838zm.283 1.554c-.117 0-.234.002-.351.005-6.1 0-11.691 5.049-12.346 11.114-.78 5.684 2.795 11.612 8.218 13.52 5.139 1.943 11.416.101 14.624-4.38 3.461-4.583 3.262-11.538-.596-15.831-2.36-2.747-5.924-4.423-9.549-4.428zm-.078 1.695c.078 0 .156 0 .234.003 5.4 0 10.321 4.556 10.734 9.942.563 5.13-2.958 10.364-7.971 11.678-4.832 1.41-10.457-.935-12.746-5.446-2.463-4.559-1.2-10.795 3.014-13.883a11.072 11.072 0 016.735-2.294zm-.137 3.42c-2.965.02-5.792 1.968-6.884 4.722-1.137 2.693-.509 6.007 1.536 8.096 1.988 2.14 5.263 2.929 8.007 1.926 2.875-.98 4.987-3.824 5.063-6.865.154-2.954-1.622-5.875-4.295-7.13a7.545 7.545 0 00-3.427-.75zm.27 1.381c2.708.013 5.249 2.014 5.88 4.652.704 2.576-.481 5.512-2.788 6.862-2.356 1.478-5.677 1.084-7.611-.918-2.042-1.97-2.405-5.376-.839-7.738 1.11-1.762 3.146-2.877 5.229-2.857h.13zm1.831 1.764l-2.072 3.76c-.64.068-.792 1.039-.202 1.298.39.27.696-.18 1.051-.164h3.168v-.864h-3.18l1.992-3.612-.757-.418z"}));function MZ(){return MZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},MZ.apply(null,arguments)}var AZ=({styles:e={},...t})=>I_("svg",MZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.848.001C8.113-.093.931 6.281.125 13.983c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.207C29.105 4.938 23.55.48 17.367.06A16.448 16.448 0 0015.848 0v.001zm.293 1.727c7.113-.099 13.662 5.97 14.077 13.08.56 6.299-3.516 12.735-9.582 14.679-5.798 2.004-12.806-.12-16.283-5.237C.717 19.159.874 11.638 5.016 6.876 7.722 3.638 11.902 1.63 16.14 1.728zm-.415 1.555C9.157 3.258 3.256 9.156 3.278 15.729c-.16 5.965 4.365 11.725 10.293 12.737 5.409 1.065 11.37-1.744 13.775-6.753 2.534-4.986 1.386-11.627-2.953-15.251-2.364-2.077-5.512-3.27-8.667-3.18zm.507 1.692c5.82-.026 11.013 5.318 10.79 11.143-.024 5.3-4.313 10.267-9.636 10.803-5.075.667-10.426-2.588-11.885-7.553-1.535-4.744.494-10.46 4.925-12.885a11.072 11.072 0 015.806-1.508z"}));function DZ(){return DZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DZ.apply(null,arguments)}function NZ(){return NZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NZ.apply(null,arguments)}function RZ(){return RZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RZ.apply(null,arguments)}function jZ(){return jZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jZ.apply(null,arguments)}function IZ(){return IZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IZ.apply(null,arguments)}function LZ(){return LZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LZ.apply(null,arguments)}function BZ(){return BZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BZ.apply(null,arguments)}function zZ(){return zZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zZ.apply(null,arguments)}function $Z(){return $Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$Z.apply(null,arguments)}function qZ(){return qZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qZ.apply(null,arguments)}function FZ(){return FZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FZ.apply(null,arguments)}function VZ(){return VZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VZ.apply(null,arguments)}function HZ(){return HZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HZ.apply(null,arguments)}function UZ(){return UZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UZ.apply(null,arguments)}function WZ(){return WZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WZ.apply(null,arguments)}function GZ(){return GZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GZ.apply(null,arguments)}function QZ(){return QZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QZ.apply(null,arguments)}function ZZ(){return ZZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZZ.apply(null,arguments)}function XZ(){return XZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XZ.apply(null,arguments)}function YZ(){return YZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YZ.apply(null,arguments)}function KZ(){return KZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KZ.apply(null,arguments)}function JZ(){return JZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JZ.apply(null,arguments)}function eX(){return eX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eX.apply(null,arguments)}function tX(){return tX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tX.apply(null,arguments)}function nX(){return nX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nX.apply(null,arguments)}function rX(){return rX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rX.apply(null,arguments)}function iX(){return iX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iX.apply(null,arguments)}function oX(){return oX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oX.apply(null,arguments)}function sX(){return sX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sX.apply(null,arguments)}function aX(){return aX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aX.apply(null,arguments)}function lX(){return lX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lX.apply(null,arguments)}function cX(){return cX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cX.apply(null,arguments)}function pX(){return pX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pX.apply(null,arguments)}var uX=({styles:e={},...t})=>I_("svg",pX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M5.637 3A5.644 5.644 0 000 8.637v15.417a5.644 5.644 0 005.637 5.637h20.726A5.644 5.644 0 0032 24.054V8.637A5.644 5.644 0 0026.363 3H5.637zm0 1.778h20.726a3.83 3.83 0 013.859 3.859v15.417a3.83 3.83 0 01-3.859 3.858h-4.201V16.695H9.838v11.217H5.637a3.83 3.83 0 01-3.859-3.858V8.637a3.83 3.83 0 013.859-3.859zm5.33 13.046h10.066v10.065H10.967V17.824zm4.189 1.431V22.06H12.35v1.689h2.804V26.554h1.69V23.749h2.804V22.06h-2.804V19.255h-1.69z"}));function dX(){return dX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dX.apply(null,arguments)}var hX=({styles:e={},...t})=>I_("svg",dX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M5.636 3A5.642 5.642 0 000 8.636v15.418a5.643 5.643 0 005.636 5.636h20.728A5.643 5.643 0 0032 24.054V8.636A5.642 5.642 0 0026.364 3H5.636zm0 1.778h20.728a3.83 3.83 0 013.858 3.858v15.418a3.83 3.83 0 01-3.858 3.858h-4.203V16.723H9.84v11.189H5.636a3.83 3.83 0 01-3.858-3.858V8.636a3.83 3.83 0 013.858-3.858zm5.331 13.074h10.066v10.06H10.967v-10.06zm1.336 3.996v1.711h7.394v-1.71h-7.394z"}));function fX(){return fX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fX.apply(null,arguments)}function mX(){return mX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mX.apply(null,arguments)}function gX(){return gX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gX.apply(null,arguments)}function yX(){return yX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yX.apply(null,arguments)}var vX={Association:({styles:e={},...t})=>I_("svg",yQ({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),I_("path",{stroke:"#000",strokeWidth:"2",fill:"none",strokeDasharray:"3.3,6",strokeLinecap:"square",d:"M1.5 30.5l29-29"})),BusinessRuleTask:({styles:e={},...t})=>I_("svg",vQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zM5.296 7.398v12.665h16.87V7.398H5.296zm.718 4.386h15.433v3.44H9.985v-3.432h-.719v3.431H6.014v-3.44zm0 4.158h3.252v3.403H6.014v-3.403zm3.97 0h11.463v3.403H9.985v-3.403z"}),I_("path",{d:"M6.079 8.209v3.587H21.44V8.209z"})),CallActivity:({styles:e={},...t})=>I_("svg",bQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M24.978 3c3.761 0 6.89 2.979 7.018 6.695l.004.238V22.4c0 3.747-3.05 6.804-6.783 6.93l-.24.003H7.023c-3.761 0-6.89-2.978-7.018-6.695L0 22.4V9.933C0 6.187 3.05 3.13 6.783 3.004L7.023 3h17.955zm0 3.667H7.022c-1.842 0-3.255 1.344-3.35 3.079l-.005.187V22.4c0 1.761 1.35 3.167 3.16 3.262l.195.005L10 25.666V15h12v10.666h2.978c1.842 0 3.255-1.344 3.35-3.079l.005-.187V9.933c0-1.761-1.35-3.166-3.16-3.261l-.195-.005zm-3.732 9.087H10.754v9.912h10.491v-9.912zm-4.475 1.817v2.658h2.658v1.542H16.77v2.658H15.23V21.77H12.57V20.23h2.658V17.57h1.542z"})),Collaboration:({styles:e={},...t})=>I_("svg",wQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("g",{fillRule:"evenodd"},I_("path",{fillRule:"nonzero",d:"M0 0v8.62h32V0H0zm1.655 7.054v-5.37h28.62v5.37H1.656zM0 23.38V32h32v-8.62H0zm1.655 7.054v-5.37h28.62v5.37H1.656z"}),I_("path",{d:"M24 8l4 7h-8l4-7zm0 2l-2.28 4h4.56L24 10zM23.5 21h1v3h-1zM23.5 15h1v3h-1zM8 24l-4-7h8l-4 7zm0-2l2.28-4H5.72L8 22zM7.5 8h1v3h-1zM7.5 14h1v3h-1z"}))),ConditionalFlow:({styles:e={},...t})=>I_("svg",xQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M32 .041S20.42 5.95 14.537 8.713c1.26 1.15 2.432 2.392 3.648 3.588-5.703 5.78-3.15 3.303-8.087 8.316l-8.472 1.377L0 32l10.006-1.626.098-.598 1.279-7.873c4.975-5.052 2.403-2.555 8.118-8.346 1.218 1.214 2.43 2.435 3.648 3.648C26.29 11.018 32 .041 32 .041zM9.603 22.397L8.54 28.91 2.03 29.97l1.061-6.515 6.512-1.058z"})),SequenceFlow:({styles:e={},...t})=>I_("svg",_Q({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M32 .06S20.33 6.014 14.403 8.798c1.27 1.16 2.451 2.41 3.676 3.616L0 30.734 1.325 32l18.08-18.32c1.227 1.223 2.448 2.453 3.676 3.676C26.247 11.12 32 .06 32 .06z"})),DataInput:({styles:e={},...t})=>I_("svg",OQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M20.833 0H3.488v32H28V7.36L20.833 0zm-2.105 1.818v7.507h7.454v20.857H5.306V1.818h13.422zm1.818.493l5.06 5.196h-5.06V2.311zm-9.182.86v3.744H7.081v3.222h4.283v3.743l5.7-5.354-5.7-5.354zm.808 1.868l3.711 3.487-3.71 3.487V9.329H7.888V7.723h4.283V5.039z"})),DataInputAssociation:EQ,DataOutput:({styles:e={},...t})=>I_("svg",SQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M20.833 0H3.488v32H28V7.36L20.833 0zm-2.105 1.818v7.507h7.454v20.857H5.306V1.818h13.422zm1.818.493l5.06 5.196h-5.06V2.311zm-9.182.86v3.744H7.081v3.222h4.283v3.743l5.7-5.354-5.7-5.354z"})),DataOutputAssociation:EQ,DataObjectReference:({styles:e={},...t})=>I_("svg",PQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M21.345 0H4v32h24.512V7.36L21.345 0zM19.24 1.818v7.507h7.454v20.857H5.818V1.818H19.24zm1.818.493l5.06 5.196h-5.06V2.311z"})),DataStoreReference:({styles:e={},...t})=>I_("svg",CQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.008 1c-3.712 0-7.417.306-10.319.939-1.45.316-2.7.71-3.68 1.226C1.065 3.662.297 4.304.061 5.23a.823.823 0 00-.035.15L0 5.502l.017.084c-.012 7.41 0 14.46 0 22.08l.017.082c.203.985.995 1.656 1.975 2.172.98.517 2.23.91 3.68 1.226 2.902.633 6.607.94 10.319.94 3.711 0 7.416-.307 10.318-.94 1.451-.316 2.701-.71 3.68-1.226.98-.516 1.772-1.187 1.975-2.172l.017-.082V5.541a.825.825 0 000-.106v-.016l-.002-.013a.823.823 0 00-.046-.197c-.244-.916-1.007-1.55-1.943-2.044-.98-.516-2.23-.91-3.68-1.226C23.423 1.306 19.718 1 16.006 1zm0 1.646c3.62 0 7.245.308 9.968.901 1.36.297 2.497.67 3.263 1.074.612.323.932.643 1.063.882-.131.24-.451.56-1.063.882-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.901-1.361-.297-2.497-.67-3.264-1.074-.611-.322-.931-.642-1.062-.882.13-.24.451-.56 1.062-.882.767-.403 1.903-.777 3.264-1.074 2.723-.593 6.348-.9 9.968-.9zM1.664 7.647c.112.067.227.132.345.194.98.517 2.23.91 3.68 1.226 2.902.633 6.607.94 10.319.94 3.711 0 7.416-.307 10.318-.94 1.451-.316 2.701-.71 3.68-1.226.119-.062.234-.127.346-.194v1.93c-.08.245-.398.619-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.9-1.361-.298-2.497-.671-3.264-1.075-.714-.376-1.032-.75-1.112-.995v-1.93zm0 4.187c.112.067.227.132.345.195.98.516 2.23.91 3.68 1.226 2.902.632 6.607.938 10.319.938 3.711 0 7.416-.306 10.318-.938 1.451-.317 2.701-.71 3.68-1.226.119-.063.234-.128.346-.195v1.93c-.08.245-.398.619-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.9-1.361-.298-2.497-.67-3.264-1.075-.714-.376-1.032-.75-1.112-.995v-1.93zm0 4.188c.112.067.227.131.345.194.98.516 2.23.91 3.68 1.226 2.902.633 6.607.939 10.319.939 3.711 0 7.416-.306 10.318-.94 1.451-.316 2.701-.709 3.68-1.225.119-.063.234-.127.346-.194V27.47c-.08.245-.398.618-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.9-9.968.9-3.62 0-7.245-.306-9.968-.9-1.361-.297-2.497-.67-3.264-1.074-.714-.377-1.032-.75-1.112-.995V16.022z"})),DefaultFlow:({styles:e={},...t})=>I_("svg",TQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M32 .06S20.33 6.014 14.403 8.798c1.27 1.16 2.451 2.41 3.676 3.616L6.84 23.804H.046v1.755h5.063L0 30.735 1.325 32l6.357-6.441h7.145v-1.756H9.414l9.99-10.123c1.228 1.223 2.45 2.453 3.677 3.676C26.247 11.12 32 .06 32 .06z"})),CancelEndEvent:({styles:e={},...t})=>I_("svg",MQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-3.955 3.918L8.94 12.072l3.985 3.985-3.913 3.913 3.048 3.047 3.913-3.913 3.987 3.987 3.096-3.096-3.987-3.987 3.913-3.913-3.047-3.048-3.913 3.913-3.985-3.985z"})),CompensateEndEvent:({styles:e={},...t})=>I_("svg",AQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-.56 5.744l-7.407 5.23 7.408 5.234v-5.057c2.384 1.687 4.771 3.371 7.157 5.057V10.801l-7.157 5.054v-5.054z"})),ErrorEndEvent:({styles:e={},...t})=>I_("svg",DQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm6.132 4.166l-3.633 7.363-4.516-5.874-4.102 12.131 4.599-5.91 4.743 5.427 2.909-13.137z"})),EscalationEndEvent:({styles:e={},...t})=>I_("svg",NQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 3.9c-1.672 4.653-2.733 9.5-4.406 14.153 1.535-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.497-4.71-2.91-9.445-4.406-14.155z"})),LinkEndEvent:({styles:e={},...t})=>I_("svg",RQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.532 18.532 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm1.78 4.065v3.555H9.779v6.713h7.994v3.554l5.828-6.91-5.828-6.912z"})),MessageEndEvent:({styles:e={},...t})=>I_("svg",jQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.532 18.532 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-5.91 5.448l6.041 4.9 6.04-4.9H10.084zm-1.34 1.137v9.92h14.513v-9.718l-7.132 5.786-7.381-5.988z"})),MultipleEndEvent:({styles:e={},...t})=>I_("svg",IQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.529 18.529 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.011 3.039l-7.619 5.53 2.91 8.95h9.418l2.91-8.95-7.619-5.53z"})),EndEvent:({styles:e={},...t})=>I_("svg",LQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.84.042C8.654-.01 1.913 5.437.4 12.454-1.057 18.62 1.554 25.495 6.784 29.09c5.076 3.636 12.31 3.92 17.59.544 5.309-3.251 8.435-9.744 7.445-15.921C30.91 7.307 25.795 1.738 19.442.422a16.064 16.064 0 00-3.602-.38zm.382 5.01c5.28-.017 10.13 4.353 10.669 9.61.687 5.025-2.552 10.281-7.423 11.792-4.754 1.617-10.486-.447-12.962-4.856-2.74-4.575-1.574-11.094 2.768-14.27a11.05 11.05 0 016.948-2.276z"})),SignalEndEvent:({styles:e={},...t})=>I_("svg",BQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 3.492c-2.261 4.07-4.532 8.136-6.797 12.204h13.595L15.999 8.55z"})),TerminateEndEvent:({styles:e={},...t})=>I_("svg",zQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 2.859c-5.264-.2-9.495 5.551-7.755 10.516 1.366 5.085 8.108 7.436 12.339 4.301 4.455-2.807 4.708-9.943.462-13.058A8.128 8.128 0 0016 7.915z"})),EventSubProcess:({styles:e={},...t})=>I_("svg",$Q({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M7.295 4.78h1.779V3.003h-1.78V4.78zm3.558 0h1.779V3.003h-1.78V4.78zm3.557 0h1.78V3.003h-1.78V4.78zm3.558 0h1.78V3.003h-1.78V4.78zm3.558 0h1.779V3.003h-1.779V4.78zm3.558 0c.55.014 1.106-.034 1.654.045l.245-1.762c-.629-.096-1.266-.05-1.9-.061V4.78zM5.732 3.004a5.933 5.933 0 00-.915.093c.111.582.226 1.164.315 1.75.358-.101.947.098.746-.483-.096-.382.164-1.208-.146-1.36zm22.372 2.281c.427.234.812.547 1.13.915.42-.4 1.002-.777 1.33-1.18a5.863 5.863 0 00-1.593-1.289l-.867 1.554zm-25.27-1.44c-.587.354-1.11.811-1.539 1.345.47.333.96.86 1.417 1.077.299-.362.66-.673 1.065-.913-.328-.493-.55-1.055-.944-1.509zM30.515 7.26c-.563.046-.557.342-.378.784.154.25-.097.862.25.85.525-.023 1.14.043 1.612-.032a5.891 5.891 0 00-.362-2.027l-1.122.425zM.268 7.114A6.042 6.042 0 000 9.052h1.78c-.013-.5.047-1.003.208-1.478L.296 7.027l-.026.079-.002.008zM30.22 12.45H32v-1.779h-1.779v1.779zm-30.22.16h1.78v-1.779H0v1.78zm30.22 3.398H32v-1.78h-1.779v1.78zm-30.22.16h1.78v-1.779H0v1.779zm30.22 3.398H32v-1.78h-1.779v1.78zm-30.22.16h1.78v-1.78H0v1.78zm30.22 3.397H32v-1.779h-1.779v1.78zm-30.22.16h1.78v-1.778H0v1.778zm30.137 1.47a4.059 4.059 0 01-.522 1.32c.506.283 1.046.715 1.53.908a5.836 5.836 0 00.744-1.918c-.576-.094-1.209-.264-1.752-.31zm-29.984.51c.157.676.435 1.325.82 1.904l1.486-.977a4.065 4.065 0 01-.577-1.347l-1.73.42zm28.427 1.943c-.371.277-.79.49-1.234.627l.548 1.693a5.84 5.84 0 001.835-.96l-1.082-1.412-.066.05-.001.002zm-26.164 1.47c.567.413 1.21.722 1.886.907.14-.569.343-1.175.444-1.722a4.062 4.062 0 01-1.283-.624l-1.047 1.438zm3.88 1.119h1.779v-1.78h-1.78v1.78zm3.55 0h1.787v-1.78H9.846v1.78zm3.565 0h1.78v-1.78h-1.78v1.78zm3.558 0h1.78v-1.78h-1.78v1.78zm3.451 0h1.743v-1.78h-1.743v1.78zm3.665 0h1.779v-1.78h-1.78v1.78zm-1.922-.545V16.776H9.846V29.25h12.318zM10.967 17.905h10.068V27.97H10.967V17.905zm1.336 3.998v1.711h7.396v-1.711h-7.396z",opacity:".97"})),ComplexGateway:({styles:e={},...t})=>I_("svg",qQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm-.327 6.79v.007l-.145.027-.118.08-.083.123-.028.145v4.954L11.793 10.8l-.125-.08-.14-.029-.144.027-.122.082-.46.46-.085.125-.026.142.028.14.08.125 3.505 3.505H9.347l-.001-.002-.145.032-.118.08-.083.122-.028.146v.652l.029.147.082.119.12.08.144.032h4.956L10.8 20.207v-.001l-.084.124-.026.142.028.14.08.124.46.461.126.082.14.029.143-.027.124-.084L15.3 17.69v4.964-.001l.028.147.082.12.12.08.144.031h.652l.148-.03.118-.08.083-.12.028-.146v-4.962l3.505 3.505.126.082.14.027.142-.027.124-.084.461-.46.083-.123s.028-.144.027-.146l-.028-.14-.082-.126-3.496-3.496h4.948l.148-.03.119-.08.082-.12.028-.147v-.652l-.028-.145-.083-.122-.119-.08s-.147-.033-.147-.031h-4.964l3.512-3.512.082-.122.029-.144-.028-.14-.084-.124-.46-.461-.123-.082-.14-.027-.145.027-.122.082-3.507 3.507V9.348l-.028-.146-.082-.122-.12-.08-.147-.029h-.652z"})),EventBasedGateway:({styles:e={},...t})=>I_("svg",FQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16 0a1.29 1.29 0 00-.918.373L.371 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.915.372A1.294 1.294 0 0016 0zm-.002 2.181l13.821 13.821-13.821 13.821-13.821-13.82L15.998 2.18zm0 5.876l-.254.185-7.377 5.355 2.915 8.964h9.433l2.915-8.964-7.631-5.54zm0 1.07l6.614 4.8-2.526 7.769h-8.175l-2.526-7.768 6.614-4.802z"})),ExclusiveGateway:({styles:e={},...t})=>I_("svg",WQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16 0a1.29 1.29 0 00-.918.373L.371 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.915.372A1.294 1.294 0 0016 0zm-.002 2.181l13.821 13.821-13.821 13.821-13.821-13.82L15.998 2.18zm-5.162 7.69l-.166.032-.141.096-.532.532s-.097.142-.097.144l-.03.164.032.162.093.144 4.857 4.858-4.855 4.855v-.001L9.9 21l-.03.164.032.162s.093.142.093.144l.531.532.146.095.162.032.164-.03.144-.097 4.855-4.856 4.857 4.857.145.095.162.032.164-.03.144-.097.531-.532.095-.14.033-.168-.033-.162-.095-.146L17.144 16 22 11.144l.095-.14.033-.166-.033-.163-.097-.144-.532-.532-.14-.095-.163-.032-.166.032-.141.095L16 14.855l-4.858-4.858v-.002l-.144-.092-.162-.032z"})),Gateway:({styles:e={},...t})=>I_("svg",VQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.373a1.313 1.313 0 00-1.833 0L.373 15.084zm1.806.918L16 2.182l13.821 13.82L16 29.823 2.179 16.003z"})),InclusiveGateway:({styles:e={},...t})=>I_("svg",HQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm0 6.379a7.447 7.447 0 00-7.44 7.441A7.447 7.447 0 0016 23.443 7.447 7.447 0 0023.443 16a7.447 7.447 0 00-7.441-7.441zm0 .825a6.61 6.61 0 016.617 6.616A6.61 6.61 0 0116 22.618 6.61 6.61 0 019.385 16 6.61 6.61 0 0116 9.385z"})),ParallelGateway:({styles:e={},...t})=>I_("svg",UQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm-.377 5.708l-.168.032-.136.092-.096.14-.032.168v6.868h-6.87l-.002-.002-.166.037-.137.092v-.002l-.095.141-.033.167v.753s.032.169.034.17l.094.138.138.092.167.036h6.87v6.867l-.001-.001.033.17.095.138.138.092s.166.035.167.037h.752l.17-.036.137-.092.095-.137.033-.17v-6.867h6.868l.17-.035.137-.092.095-.137.033-.17v-.753s-.033-.165-.032-.167l-.096-.14-.138-.093s-.17-.037-.17-.035H16.81V8.323l-.033-.168-.094-.14-.138-.092-.17-.034h-.752z"})),Group:({styles:e={},...t})=>I_("svg",GQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.34.016c-2.333.025-4.684 1.77-5.29 4.17C.608 5.848.88 7.608.804 9.314v2.922h2.041c.038-2.332-.076-4.673.062-7C3.14 3.355 4.869 1.938 6.643 2.04h8.956V.009c-3.086 0-6.173-.02-9.258 0v.007zm13.094 2.023h1.92V.009h-1.92v2.03zm5.756 0c1.265-.069 2.66.045 3.602 1.055 1.036.983 1.201 2.523 1.122 3.91v6.313h2.078c-.03-2.677.062-5.36-.047-8.032-.17-2.743-2.62-5.111-5.215-5.236-.511-.064-1.027-.02-1.54-.033v2.023zM.803 18.319h2.041v-2.026H.804v2.026zm29.11 1.084h2.08v-2.03h-2.08v2.03zM.804 26.148c.004 2.218 1.393 4.366 3.313 5.28 1.728.853 3.681.448 5.521.544.43-.112 1.29.231 1.435-.183v-1.847c-1.788-.043-3.584.094-5.365-.082-1.67-.354-2.919-2.048-2.863-3.844v-3.644H.804v3.777zm29.11-.068c.04 1.961-1.508 3.787-3.381 3.842-1.954.06-3.914.02-5.87.026v2.03c2.118-.042 4.242.08 6.355-.063 2.524-.264 4.818-2.644 4.94-5.323.08-1.039.014-2.085.035-3.126h-2.078v2.613zm-15.006 5.898h1.92v-2.03h-1.92v2.03z"})),CancelIntermediateCatchEvent:ZQ,CompensateIntermediateCatchEvent:YQ,ConditionalIntermediateCatchEvent:JQ,ErrorIntermediateCatchEvent:tZ,EscalationIntermediateCatchEvent:rZ,LinkIntermediateCatchEvent:oZ,MessageIntermediateCatchEvent:aZ,MultipleIntermediateCatchEvent:cZ,ConditionalIntermediateCatchEventNonInterrupting:uZ,EscalationIntermediateCatchEventNonInterrupting:hZ,MessageIntermediateCatchEventNonInterrupting:mZ,MultipleIntermediateCatchEventNonInterrupting:yZ,ParallelIntermediateCatchEventNonInterrupting:bZ,SignalIntermediateCatchEventNonInterrupting:xZ,TimerIntermediateCatchEventNonInterrupting:kZ,ParallelMultipleIntermediateCatchEvent:OZ,SignalIntermediateCatchEvent:SZ,TimerIntermediateCatchEvent:TZ,IntermediateThrowEvent:AZ,CompensateIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",DZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm-.56 5.772l-7.408 5.231 7.409 5.234v-5.057c2.385 1.687 4.771 3.371 7.157 5.057V10.747l-7.157 5.055v-5.055z"})),EscalationIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",NZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.927c-1.672 4.654-2.734 9.502-4.406 14.155 1.534-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.496-4.71-2.91-9.446-4.406-14.156z"})),LinkIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",RZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm1.78 4.093v3.555H9.785v6.714h7.994v3.554l5.829-6.911-5.83-6.912z"})),MessageIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",jZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm-5.91 5.475l6.04 4.901 6.042-4.9H10.088zm-1.341 1.138v9.921h14.514V11.79l-7.132 5.787-7.382-5.99z"})),MultipleIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",IZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.073l-7.62 5.532 2.91 8.95h9.42l2.91-8.95-7.62-5.532z"})),SignalIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",LZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.52c-2.261 4.07-4.533 8.136-6.798 12.205h13.596L16.005 8.495z"})),Lane:({styles:e={},...t})=>I_("svg",BZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M0 7v18.62h32V7H0zm1.655 17.056V8.684h28.62v15.372H1.656z"})),ManualTask:({styles:e={},...t})=>I_("svg",zZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm4.43 1.328c-.222.005-.43.09-.606.203-.985.638-4.356 2.977-5.096 3.486-.67.46-1.12 1.153-1.38 1.974-.27.858-.235 1.793-.232 2.576.002.59.016 1.104.17 1.727.22.908.634 1.63 1.23 2.118.597.49 1.363.732 2.23.734 3.038.012 6.078.016 9.119 0 .327-.002.645-.127.848-.37.204-.241.287-.56.291-.914a1.732 1.732 0 00-.097-.625h.327c.335 0 .641-.11.852-.316.21-.206.317-.475.374-.754a1.783 1.783 0 00-.126-1.143 1.18 1.18 0 00.877-.521c.196-.306.257-.666.258-1.025.001-.375-.088-.738-.293-1.033a1.179 1.179 0 00-.958-.512h-.478c.108-.237.156-.505.155-.782-.003-.373-.098-.721-.316-.99a1.21 1.21 0 00-.943-.43c-2.273-.004-4.236.018-6.412.012l-.19-.001c.102-.104.202-.205.312-.314.337-.336.662-.652.83-.869.4-.516.46-1.215.123-1.729-.178-.272-.439-.456-.72-.494a.93.93 0 00-.148-.008zm.029.728l.022.001c.055.008.115.027.209.172.132.201.126.606-.09.884-.079.102-.431.465-.767.8-.337.334-.657.643-.815.836-.153.186-.096.338-.056.435.04.096.085.212.298.263.063.014.066.01.086.012l.066.003c2.429.027 4.986-.004 7.223-.003.194 0 .293.056.379.162.086.105.151.286.153.533 0 .257-.065.467-.155.59-.09.124-.183.182-.37.183-1.706-.001-3.411-.005-5.117-.009v.731c2.23.004 4.461.01 6.692.012.17 0 .265.06.361.2.096.138.164.364.163.615 0 .268-.058.501-.143.634-.085.132-.162.193-.385.195-2.32-.001-4.554-.006-6.688-.003v.73c1.905 0 3.809.003 5.713.001.194.005.316.09.416.26.102.173.151.442.093.728-.04.193-.102.313-.17.38-.067.065-.148.108-.343.108h-5.71l.002.734c1.445 0 2.89-.01 4.334-.001.162 0 .232.041.297.123.064.081.123.238.12.488-.003.244-.061.385-.12.455-.06.07-.127.11-.296.11-3.037.016-6.076.012-9.113 0-.735-.002-1.316-.196-1.77-.568-.454-.372-.793-.935-.986-1.728-.134-.546-.146-.978-.148-1.558-.003-.796-.018-1.664.199-2.354.222-.705.582-1.24 1.096-1.593.75-.515 4.14-2.866 5.079-3.474a.504.504 0 01.241-.087z"})),MessageFlow:({styles:e={},...t})=>I_("svg",$Z({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M4.073 26.607l1.295 1.296L1.325 32l-.662-.633L0 30.735l4.073-4.128zm6.953-7.046l1.296 1.296L1.325 32l7.555-7.656-1.295-1.296 1.455-1.474 1.986-2.013zM32 .06s-2.699 5.189-5.417 10.462l-.326.633c-1.14 2.214-2.265 4.407-3.176 6.2-1.228-1.222-2.449-2.452-3.676-3.675l-3.57 3.618-1.297-1.296 3.541-3.588c-.98-.964-1.932-1.958-2.923-2.91l-.753-.706c2.68-1.258 6.533-3.165 9.95-4.876l.617-.309C28.838 1.673 32 .06 32 .06zm-4.126 4.06l-.015.007-.115.057-.048.024-.115.057L17.7 9.172l5.017 4.948 5.157-10z"})),Participant:({styles:e={},...t})=>I_("svg",qZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M0 5v22.069h32V5H0zm30.276 1.684v18.82H6.62V6.684h23.655zm-28.62 0h3.31v18.82h-3.31V6.684z"})),Process:({styles:e={},...t})=>I_("svg",FZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{fillRule:"evenodd",d:"M16.177 0l.137.002c.452.009.9.037 1.342.082.346.036.62.303.68.646l.437 2.536c.055.319.296.57.608.655.986.269 1.923.653 2.796 1.14.28.155.624.145.885-.039l2.083-1.47a.775.775 0 01.937.022c.86.699 1.645 1.484 2.343 2.343.22.27.223.653.023.937l-1.439 2.038a.833.833 0 00-.031.896c.512.889.92 1.846 1.204 2.855a.833.833 0 00.653.601l2.435.42c.342.059.61.333.645.679a15.928 15.928 0 01.08 2.064l-.003.114c-.012.382-.038.76-.077 1.134a.775.775 0 01-.645.68l-2.396.412a.835.835 0 00-.656.61 12.511 12.511 0 01-1.2 2.917.832.832 0 00.034.892l1.396 1.978c.2.284.196.667-.023.936a16.104 16.104 0 01-2.343 2.343.775.775 0 01-.937.023l-1.99-1.404a.833.833 0 00-.88-.026c-.907.516-1.886.922-2.916 1.2a.833.833 0 00-.61.656l-.414 2.396a.775.775 0 01-.679.646 16.096 16.096 0 01-3.312 0 .775.775 0 01-.679-.646l-.423-2.452a.834.834 0 00-.598-.636 12.474 12.474 0 01-1.468-.514 12.49 12.49 0 01-1.417-.68.833.833 0 00-.878.03l-2.026 1.43a.775.775 0 01-.937-.023 16.069 16.069 0 01-2.342-2.342.774.774 0 01-.024-.936l1.402-1.986a.833.833 0 00.032-.896 12.507 12.507 0 01-1.214-2.911.833.833 0 00-.655-.606l-2.386-.412a.775.775 0 01-.646-.678 16.097 16.097 0 010-3.314.775.775 0 01.646-.678l2.386-.412a.833.833 0 00.655-.606 12.507 12.507 0 011.214-2.911.833.833 0 00-.032-.896L3.552 6.853a.774.774 0 01.023-.936 16.091 16.091 0 012.343-2.343.775.775 0 01.937-.023l2.03 1.433c.26.177.6.182.874.028.915-.512 1.88-.9 2.87-1.167a.833.833 0 00.612-.656l.424-2.46a.775.775 0 01.679-.645C14.845.032 15.348.004 15.85 0h.326zM16 6.4c-5.302 0-9.6 4.297-9.6 9.599 0 5.302 4.298 9.6 9.6 9.6s9.6-4.298 9.6-9.6-4.298-9.6-9.6-9.6zm-3 4.283c0-1.425 1.637-2.203 2.715-1.29l5.69 4.815c.794.672.794 1.91 0 2.583l-5.69 4.815c-1.078.913-2.715.134-2.715-1.29z"})),ReceiveTask:({styles:e={},...t})=>I_("svg",VZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zM5.23 7.764v11.577h17.55V7.764H5.23zm1.816.758h13.917l-6.959 4.577-6.958-4.577zm-1.06.21l8.018 5.274 8.018-5.275v9.853H5.987V8.73z"})),ScriptTask:({styles:e={},...t})=>I_("svg",HZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm2.99 3.077l-.077.045-.026.015c-1.09.646-1.84 1.239-2.336 1.818-.496.579-.735 1.162-.742 1.725-.014 1.119.812 1.958 1.544 2.708.732.75 1.385 1.456 1.446 2.041.032.298-.039.598-.364 1.008-.324.408-.911.897-1.85 1.445l-1.388.808h8.56l.101-.059c.996-.58 1.667-1.116 2.094-1.655.429-.54.603-1.107.547-1.638-.11-1.052-.967-1.818-1.688-2.556-.721-.739-1.306-1.436-1.298-2.092.004-.331.132-.7.535-1.171.402-.47 1.08-1.02 2.119-1.636l1.362-.806h-8.54zm.241.867h5.271a6.83 6.83 0 00-1.113 1.01c-.496.58-.736 1.163-.743 1.726-.014 1.119.812 1.958 1.544 2.708.732.75 1.385 1.456 1.446 2.041.032.298-.039.598-.364 1.008-.312.393-.872.862-1.753 1.386H8.728c.367-.286.658-.566.88-.847.43-.54.604-1.107.548-1.638-.11-1.052-.968-1.818-1.688-2.556-.721-.739-1.306-1.435-1.298-2.092.004-.331.132-.7.534-1.171.389-.454 1.04-.984 2.021-1.575zm-1.233 1.48v.4h4.12v-.4h-4.12zm-.154 2.158v.4H12.6v-.4H8.34zm1.931 2.158v.4h4.126v-.4H10.27zm.59 2.158v.4h4.276v-.4h-4.276z"})),SendTask:({styles:e={},...t})=>I_("svg",UZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm-1.38 3.16l8.332 4.717L21.78 8.16H5.114zm.021 1.745v9.309H21.8V9.905l-8.353 4.655-8.31-4.655z"})),ServiceTask:({styles:e={},...t})=>I_("svg",WZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm1.22 1.681V7.84c-.329.093-.63.223-.914.382l-.83-.82-1.554 1.561.83.82c-.16.288-.285.594-.372.911l-1.177.002v2.2l1.189-.004c.109.431.345.819.58 1.165v-1.898l-1.038.004v-.737l1.034-.002.058-.294c.084-.429.252-.838.493-1.203l.165-.25-.727-.718.523-.526.728.719.247-.165c.379-.25.793-.417 1.206-.505l.291-.06-.002-1.01h.75L9.19 8.417H11.16c-.185-.221-.951-.508-1.237-.588L9.93 6.68H7.713zm2.078 2.105l.003 1.158a4.19 4.19 0 00-.915.383l-.83-.821-1.553 1.562.83.82c-.16.288-.286.593-.373.91l-1.176.003v2.2l1.188-.004c.094.326.224.624.383.905l-.85.847 1.57 1.543.847-.843c.29.161.599.286.919.373v1.198c.756.006 1.56.003 2.206.003V17.81a4.19 4.19 0 00.915-.383l.847.835 1.554-1.56-.848-.836c.16-.288.286-.594.373-.912l1.152-.007V12.75l-1.165.007a4.09 4.09 0 00-.382-.905l.805-.807-1.57-1.546-.804.806a4.16 4.16 0 00-.915-.372l.007-1.147H9.792zm.732.73h.751l-.006 1.005.297.058c.43.085.844.252 1.21.492l.25.162.701-.704.528.52-.702.704.169.25c.248.374.412.779.505 1.196l.061.292 1.016-.006v.737l-1.01.006-.058.292c-.085.43-.252.838-.494 1.205l-.165.25.744.733-.523.525-.743-.734-.248.165c-.378.247-.789.418-1.203.503l-.294.058v1.067h-.745v-1.059l-.295-.057a3.395 3.395 0 01-1.21-.492l-.248-.162-.747.743-.528-.52.747-.744-.17-.25a3.546 3.546 0 01-.506-1.196l-.06-.291-1.04.004v-.738l1.034-.002.058-.294c.085-.428.252-.837.493-1.203l.165-.25-.726-.718.522-.526.728.72.248-.166a3.546 3.546 0 011.205-.504l.292-.06-.003-1.01zm.388 2.685a1.65 1.65 0 00-1.645 1.645c0 .904.74 1.645 1.645 1.645a1.65 1.65 0 001.645-1.645 1.65 1.65 0 00-1.645-1.645zm0 .73a.91.91 0 01.915.915.91.91 0 01-.915.914.91.91 0 01-.915-.914.91.91 0 01.915-.915z"})),CompensateStartEvent:({styles:e={},...t})=>I_("svg",GZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm-.566 9.03l-7.415 5.235 7.415 5.238v-5.062c2.386 1.689 4.775 3.375 7.163 5.062V10.761l-7.163 5.058v-5.058zm-.866 1.666v7.13L9.51 15.993l5.052-3.565zm7.166 0v7.137l-5.052-3.568 5.052-3.569z"})),ConditionalStartEvent:({styles:e={},...t})=>I_("svg",QZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16 0C7.174 0 0 7.174 0 16s7.174 16 16 16 16-7.174 16-16S24.826 0 16 0zm0 1.73c7.892 0 14.27 6.378 14.27 14.27 0 7.891-6.379 14.27-14.27 14.27S1.73 23.891 1.73 16C1.73 8.108 8.108 1.73 16 1.73zm-5.362 7.523v13.493h10.724V9.253H10.638zm.863.866h8.995V21.88H11.501V10.12zm.928 1.324v.863h7.139v-.863h-7.139zm0 2.605v.867h7.139v-.867h-7.139zm0 3.01v.864h7.139v-.863h-7.139zm0 2.72v.863h7.139v-.863h-7.139z"})),ErrorStartEvent:({styles:e={},...t})=>I_("svg",ZZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.005C9.705-.08 3.643 3.968 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994.005zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626-4.814-3.838-6.538-10.939-4.067-16.57 2.14-5.205 7.515-8.774 13.147-8.708zm6.13 7.45l-3.635 7.37-4.52-5.88c-1.37 4.048-2.738 8.095-4.106 12.143l4.603-5.917 4.748 5.433 2.91-13.149zm-7.754 3.889l4.299 5.449 1.073-2.39-1.028 4.135-4.387-5.16-1.78 2.75 1.823-4.784z"})),EscalationStartEvent:({styles:e={},...t})=>I_("svg",XZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm0 7.183c-1.674 4.658-2.736 9.509-4.41 14.166 1.535-1.526 2.874-3.236 4.41-4.763l4.41 4.763c-1.499-4.713-2.913-9.453-4.41-14.166zm.032 2.931c.822 2.588 1.598 5.19 2.42 7.778l-2.42-2.615c-.683.598-2.455 2.887-2.34 2.39.871-2.489 1.448-5.07 2.34-7.553z"})),MessageStartEvent:({styles:e={},...t})=>I_("svg",YZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm-7.257 8.732v11.069h14.513v-11.07H8.738zm3.224 1.73h8.064c-1.428.878-2.857 2.807-4.285 3.018l-3.779-3.019zm9.562 1.017v6.593H10.465V13.21l5.528 4.417 5.53-4.418z"})),MultipleStartEvent:({styles:e={},...t})=>I_("svg",KZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm0 6.328l-7.626 5.536c.97 2.986 1.942 5.971 2.913 8.957h9.426l2.912-8.957-7.625-5.536zm0 1.068l6.609 4.798-2.525 7.763H11.91l-2.524-7.763 6.609-4.798z"})),ConditionalStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",JZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M10.632 9.189V22.68h10.723V9.189H10.632zm.862.865h8.994v11.76H11.494v-11.76zm.928 1.324v.863h7.138v-.863h-7.138zm0 2.605v.866h7.138v-.866h-7.138zm0 3.01v.863h7.138v-.863h-7.138zm0 2.72v.862h7.138v-.863h-7.138zM16.12 0h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136-.109-.118-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006l-.216-.042-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006l-.006-.001-.22-.017-.005-.001h-.006L17.06.03h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012L16.132 0h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zM6.377 3.21l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1v.003l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114v-.008l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V15.95l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z"})),EscalationStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",eX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16 9.209c-1.674 4.655-2.735 9.504-4.408 14.16 1.534-1.526 2.873-3.235 4.407-4.761l4.408 4.76c-1.497-4.71-2.91-9.448-4.408-14.16zm.031 2.93c.822 2.586 1.598 5.187 2.42 7.774l-2.42-2.614c-.682.598-2.453 2.886-2.34 2.389.873-2.488 1.45-5.068 2.34-7.55zM16.132.364c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.564c-.734.078-1.196.762-1.735 1.206C3.552 6.02 2.55 7.511 1.681 9.053c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786A15.932 15.932 0 011.728 16a.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),MessageStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",tX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M8.746 10.393v11.064h14.506V10.393H8.746zm3.223 1.728h8.06c-1.428.879-2.856 2.807-4.283 3.018l-3.777-3.018zm9.557 1.018v6.59H10.473v-6.59l5.525 4.416 5.528-4.416zM16.132 0c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.2c-.734.078-1.196.762-1.735 1.206C3.552 5.656 2.55 7.147 1.681 8.69c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786a15.932 15.932 0 01-1.672-6.874.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),MultipleStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",nX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M23.621 13.524L16 7.99l-7.622 5.534 2.911 8.952h9.422l2.911-8.952zm-1.016.33l-2.523 7.759h-8.165l-2.524-7.76L16 9.059l6.606 4.796zM16.132 0c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.2c-.734.078-1.196.762-1.735 1.206C3.552 5.656 2.55 7.147 1.681 8.69c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786a15.932 15.932 0 01-1.672-6.874.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),ParallelMultipleStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",rX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M13.503 9.016v4.428H9.075v4.98h4.428v4.428h4.98v-4.427h4.428v-4.981h-4.427V9.016h-4.981zm.83.83h3.32v4.428h4.428v3.32h-4.428v4.428h-3.32v-4.454H9.905v-3.294h4.428V9.846zM16.12 0h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136-.109-.118-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006l-.216-.042-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006l-.006-.001-.22-.017-.005-.001h-.006L17.06.03h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012L16.132 0h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zM6.377 3.21l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1v.003l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114v-.008l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V15.95l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z",opacity:".98"})),SignalStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",iX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.007 8.82L9.21 21.022h13.596L16.007 8.82zm0 1.775l5.328 9.563H10.68l5.327-9.563zM16.14.386c-1.571.236-4.195-.284-4.9 1.381.619 1.703 2.745.069 4.085.365 1.421-.13 2.84.2 4.235.259C21.27.784 18.19.344 17 .413a20.456 20.456 0 00-.86-.027zM25 3.162c-2.19.694.401 2.26 1.181 3.094 1.083 1.152 1.954 2.484 2.715 3.864 1.48 1.005 1.845-1.26.81-2.03-1.158-1.897-2.613-3.704-4.513-4.89l-.192-.038zm-18.438.423c-1.793.712-2.909 2.548-4.01 4.061-.773.814-2.211 3.653.005 3.211 1.123-1.469 1.87-3.306 3.267-4.614.664-.7 2.73-2.013.738-2.658zm24.57 11.072c-1.659.435-.468 2.667-.99 3.895a13.427 13.427 0 01-1.497 4.435c-.23 1.659 1.991 1.165 2.018-.199a14.277 14.277 0 001.254-7.552.865.865 0 00-.785-.579zm-30.18.666c-1.677.386-.633 2.667-.608 3.876.371 1.623.792 3.35 1.79 4.696 2.382.321.571-2.338.292-3.492a15.92 15.92 0 01-.684-4.39.877.877 0 00-.79-.69zm24.558 11.81c-1.755.865-3.303 2.266-5.274 2.765-1.162-.016-3.074 1.271-1.331 2.102 2.66-.447 5.163-1.733 7.236-3.445.472-.506.06-1.432-.631-1.421zm-19.151.043c-2.004.786.416 2.405 1.43 2.913 1.608.904 3.379 1.636 5.208 1.877 1.77-.804-.228-2.094-1.357-2.073-1.75-.537-3.403-1.396-4.798-2.586l-.227-.104-.256-.027z"})),TimerStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",oX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.991 8.7c-3.018-.042-5.92 1.925-7.03 4.725-1.138 2.695-.509 6.011 1.537 8.102 1.99 2.142 5.267 2.93 8.013 1.927 2.877-.98 4.99-3.826 5.067-6.87.153-2.956-1.624-5.88-4.299-7.135a7.551 7.551 0 00-3.288-.75zm0 1.383c2.758-.052 5.372 1.972 6.014 4.654.704 2.578-.482 5.516-2.79 6.867-2.358 1.48-5.682 1.085-7.617-.919-2.043-1.97-2.407-5.38-.84-7.743 1.11-1.764 3.149-2.88 5.233-2.86zm1.962 1.764l-2.074 3.762c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.182l1.993-3.614-.757-.418zM16.12.358h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136L19.823.9l-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006L19.135.64l-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006L17.512.42l-.22-.017-.005-.001h-.006l-.22-.015h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012l-.221-.003h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zm-18.458.426l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1V9.5l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114V16.5l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V16.308l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z"})),CancelBoundaryEvent:ZQ,CompensateBoundaryEvent:YQ,ConditionalBoundaryEvent:JQ,ErrorBoundaryEvent:tZ,EscalationBoundaryEvent:rZ,LinkBoundaryEvent:oZ,MessageBoundaryEvent:aZ,MultipleBoundaryEvent:cZ,BoundaryEvent:AZ,ConditionalBoundaryEventNonInterrupting:uZ,EscalationBoundaryEventNonInterrupting:hZ,MessageBoundaryEventNonInterrupting:mZ,MultipleBoundaryEventNonInterrupting:yZ,ParallelBoundaryEventNonInterrupting:bZ,SignalBoundaryEventNonInterrupting:xZ,TimerBoundaryEventNonInterrupting:kZ,ParallelMultipleBoundaryEvent:OZ,SignalBoundaryEvent:SZ,TimerBoundaryEvent:TZ,StartEvent:({styles:e={},...t})=>I_("svg",sX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.847.004C9.61-.016 3.624 4.014 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.101 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.268.403-6.228-3.26-12.441-8.87-15.154A15.924 15.924 0 0015.846.004zm.439 1.729c6.105.033 11.856 4.45 13.435 10.359 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.625-4.814-3.84-6.538-10.94-4.067-16.57 2.14-5.206 7.515-8.775 13.147-8.71.097-.001.194-.002.29-.001z"})),ParallelMultipleStartEvent:({styles:e={},...t})=>I_("svg",aX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.847 0C9.61-.02 3.624 4.01 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.101 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.268.403-6.228-3.26-12.441-8.87-15.154A15.924 15.924 0 0015.846 0zm.439 1.729c6.105.033 11.856 4.45 13.435 10.359 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.625C2.101 23.17.377 16.07 2.848 10.44c2.134-5.2 7.522-8.78 13.147-8.71.097-.001.194-.002.29-.001zM13.504 9.08v4.427H9.077v4.98h4.427v4.427h4.98v-4.427h4.428v-4.98h-4.427V9.08h-4.98zm.83.83h3.32v4.427h4.428v3.32h-4.427v4.427h-3.32v-4.453H9.906v-3.294h4.427V9.91z"})),SignalStartEvent:({styles:e={},...t})=>I_("svg",lX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.005C9.705-.08 3.643 3.968 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994.005zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626-4.814-3.838-6.538-10.939-4.067-16.57 2.14-5.205 7.515-8.774 13.147-8.708zm0 6.776L9.19 20.724H22.8L15.995 8.511zm0 1.777l5.332 9.572H10.662l5.333-9.572z"})),TimerStartEvent:({styles:e={},...t})=>I_("svg",cX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16 0C7.174 0 0 7.174 0 16s7.174 16 16 16 16-7.174 16-16S24.826 0 16 0zm0 1.73c7.892 0 14.27 6.378 14.27 14.27 0 7.891-6.379 14.27-14.27 14.27S1.73 23.891 1.73 16C1.73 8.108 8.108 1.73 16 1.73zm-.143 6.676c-2.967.02-5.797 1.97-6.89 4.727-1.138 2.695-.51 6.012 1.537 8.102 1.99 2.142 5.268 2.932 8.014 1.928 2.878-.98 4.992-3.827 5.068-6.87.153-2.957-1.624-5.881-4.3-7.137a7.552 7.552 0 00-3.43-.75zm.27 1.383c2.71.012 5.254 2.015 5.886 4.656.704 2.577-.482 5.517-2.791 6.867-2.358 1.48-5.682 1.085-7.618-.918-2.043-1.971-2.407-5.381-.84-7.745 1.11-1.763 3.15-2.88 5.234-2.86h.13zm1.833 1.765l-2.074 3.763c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.181l1.992-3.615-.757-.418z"})),CollapsedSubProcess:uX,CollapsedAdHocSubProcess:uX,ExpandedSubProcess:hX,ExpandedAdHocSubProcess:hX,Task:({styles:e={},...t})=>I_("svg",fX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 2.667C2.916 2.667 0 5.57 0 9.142v13.383C0 26.097 2.916 29 6.494 29h19.012C29.084 29 32 26.097 32 22.525V9.142c0-3.572-2.916-6.475-6.494-6.475H6.494zm0 2h19.012c2.509 0 4.494 1.98 4.494 4.475v13.383C30 25.02 28.015 27 25.506 27H6.494C3.985 27 2 25.02 2 22.525V9.142c0-2.495 1.985-4.475 4.494-4.475z"})),TextAnnotation:({styles:e={},...t})=>I_("svg",mX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M22.087 0v31.647H32v-1.788h-8.125V1.788H32V0h-9.913zm-2.924 13.999l-2.737 2.167 2.167 2.738 2.738-2.167-2.168-2.738zm-5.475 4.335L10.95 20.5l2.168 2.738 2.737-2.168-2.167-2.737zm-5.475 4.335l-2.738 2.167 2.168 2.738 2.737-2.168-2.167-2.737zm-5.476 4.335L0 29.17l2.167 2.738 2.738-2.168-2.168-2.737z"})),Transaction:({styles:e={},...t})=>I_("svg",gX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M5.422 3A5.424 5.424 0 000 8.422v15.822a5.424 5.424 0 005.422 5.423h21.156A5.424 5.424 0 0032 24.244V8.422A5.424 5.424 0 0026.578 3H5.422zm0 1.244h21.156a4.155 4.155 0 014.178 4.178v15.822a4.155 4.155 0 01-4.178 4.178H5.422a4.155 4.155 0 01-4.178-4.178V8.422a4.155 4.155 0 014.178-4.178zm1.056 1.778a3.373 3.373 0 00-3.367 3.366v13.89a3.373 3.373 0 003.367 3.366h19.044a3.373 3.373 0 003.367-3.366V9.388a3.373 3.373 0 00-3.367-3.366H6.478zm0 1.245h19.044c1.187 0 2.122.935 2.122 2.121v13.89a2.104 2.104 0 01-2.122 2.122H6.478a2.104 2.104 0 01-2.122-2.122V9.388c0-1.186.935-2.121 2.122-2.121z"})),UserTask:({styles:e={},...t})=>I_("svg",yX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{fillRule:"evenodd",d:"M10.263 7.468c-1.698 0-2.912 1.305-2.915 2.791v.001c0 .45.121.924.311 1.352.138.309.308.593.516.82-1.235.423-2.683 1.119-3.414 2.49l-.04.075v4.44h11.083v-4.44l-.04-.074c-.72-1.352-2.136-2.047-3.36-2.471.597-.608.774-1.392.774-2.192-.004-1.487-1.218-2.792-2.915-2.792zm-1.16 1.583c.08 0 .165.003.26.008.757.045 1.012.181 1.207.31.196.13.334.252.851.268.404-.016.598-.087.737-.169.056-.033.103-.067.152-.1.128.275.197.578.198.893 0 .894-.154 1.52-.975 2.034l.08.604c.171.052.348.11.527.171.025.105.054.242.073.387.02.153.029.311.016.43a.422.422 0 01-.056.19c-.417.417-1.157.66-1.908.66-.75 0-1.49-.243-1.908-.66a.422.422 0 01-.056-.19 1.949 1.949 0 01.016-.43c.02-.146.049-.284.074-.388.177-.062.352-.118.521-.17l.048-.648a.616.616 0 00-.126-.118c-.183-.138-.405-.44-.562-.793-.157-.353-.254-.757-.254-1.08 0-.387.105-.758.297-1.079l.11-.04c.143-.046.339-.09.679-.09zm-1.448 4.304l-.002.014c-.025.185-.04.387-.018.589.021.202.074.42.248.593.595.594 1.494.857 2.382.857.889 0 1.788-.263 2.382-.857.174-.174.227-.391.249-.593a2.496 2.496 0 00-.018-.59l-.002-.01c.903.396 1.776.963 2.258 1.81v3.599H13.53v-2.538h-.67v2.538H7.651v-2.538h-.67v2.538H5.39v-3.599c.483-.849 1.359-1.416 2.264-1.813zM6.495 3C2.914 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.01C28.016 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5z"}))};function bX(e){const{type:t}=e;let n=xX(t);const r=function(e){const t=Si(e),n=t.eventDefinitions;return n&&n[0]}(e);if(r)return n=`${function(e){const t=xX(e.$type);return t.replace("EventDefinition","")}(r)}${n}`,(Oi(e,"bpmn:StartEvent")&&!Gi(e)||Oi(e,"bpmn:BoundaryEvent")&&!function(e){const t=Si(e);return t&&!1!==t.cancelActivity}(e))&&(n=`${n}NonInterrupting`),n;if(Oi(e,"bpmn:SubProcess")&&!Oi(e,"bpmn:Transaction"))if(Qi(e))n=`Event${n}`;else{const t=Ui(e)&&!function(e){const t=e&&(e.di||Si(e).di);return Oi(t,"bpmndi:BPMNPlane")}(e);n=`${t?"Expanded":"Collapsed"}${n}`}return function(e){const t=Si(e),n=Si(e.source);if(!Oi(e,"bpmn:SequenceFlow")||!n)return!1;return n.default&&n.default===t&&(Oi(n,"bpmn:Gateway")||Oi(n,"bpmn:Activity"))}(e)&&(n="DefaultFlow"),function(e){const t=Si(e),n=Si(e.source);if(!Oi(e,"bpmn:SequenceFlow")||!n)return!1;return t.conditionExpression&&Oi(n,"bpmn:Activity")}(e)&&(n="ConditionalFlow"),n}const wX=e=>(e||(e=e=>e),{getDocumentationRef:e=>{const t=_X();if(t)return function(e,t){const n=kX(e,t);return n&&n.documentationRef}(e,t)},getElementLabel:e=>Oi(e,"bpmn:Process")?Si(e).name:ro(e),getElementIcon:e=>{const t=bX(e),n=gQ("config.elementTemplateIconRenderer",!1),{iconProperty:r="zeebe:modelerTemplateIcon"}=n||{},i=Si(e).get(r);return i?()=>B_("img",{class:"bio-properties-panel-header-template-icon",width:"32",height:"32",src:i}):vX[t]},getTypeLabel:t=>{const n=_X();if(n){const r=kX(t,n);if(r&&r.name)return e(r.name)}const r=bX(t);return e(r.replace(/(\B[A-Z])/g," $1").replace(/(\bNon Interrupting)/g,"($1)"))}});function xX(e){return e.split(":")[1]}function _X(){return gQ("elementTemplates",!1)}function kX(e,t){return t.get(e)}function EX(){return EX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},EX.apply(null,arguments)}var OX=({styles:e={},...t})=>I_("svg",EX({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"64",height:"64"},t),I_("defs",null,I_("rect",{id:"a",width:"57",height:"47",x:"3",y:"8",rx:"7"}),I_("mask",{id:"b",width:"57",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},I_("use",{xlinkHref:"#a"}))),I_("g",{fill:"none",fillRule:"evenodd"},I_("path",{fill:"#818798",d:"M52 11a5 5 0 015 5v31a5 5 0 01-5 5H11a5 5 0 01-5-5V16a5 5 0 015-5h41zm0 2H11a3 3 0 00-2.995 2.824L8 16v31a3 3 0 002.824 2.995L11 50h41a3 3 0 002.995-2.824L55 47V16a3 3 0 00-2.824-2.995L52 13z"}),I_("path",{fill:"#D5D7DD",d:"M16 24h31v6H16zM21 33h21v6H21z"}),I_("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));function PX(){return PX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PX.apply(null,arguments)}var SX=({styles:e={},...t})=>I_("svg",PX({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"128",height:"64"},t),I_("defs",null,I_("path",{id:"a",d:"M9 9h110v47H9z"}),I_("mask",{id:"b",width:"110",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},I_("use",{xlinkHref:"#a"}))),I_("g",{fill:"none",fillRule:"evenodd"},I_("path",{fill:"#818798",d:"M25 20.272L37.728 33 25 45.728 12.272 33 25 20.272zm0 2.829L15.1 33l9.9 9.9 9.9-9.9-9.9-9.9z"}),I_("path",{fill:"#D5D7DD",d:"M17 47h16v6H17z"}),I_("path",{fill:"#818798",d:"M35 32h27v2H35z"}),I_("path",{fill:"#818798",d:"M60 30v6l6-3z"}),I_("path",{fill:"#D5D7DD",d:"M80 34h21v6H80z"}),I_("g",null,I_("path",{fill:"#818798",d:"M111 12a5 5 0 015 5v31a5 5 0 01-5 5H70a5 5 0 01-5-5V17a5 5 0 015-5h41zm0 2H70a3 3 0 00-3 3v31a3 3 0 003 3h41a3 3 0 003-3V17a3 3 0 00-3-3z"}),I_("path",{fill:"#D5D7DD",d:"M75 25h31v6H75z"})),I_("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));const CX=e=>(e||(e=e=>e),{getEmpty:()=>({text:e("Select an element to edit its properties."),icon:OX}),getMultiple:()=>({text:e("Multiple elements are selected. Select a single element to edit its properties."),icon:SX})});function TX(e){const{element:t,injector:n,getProviders:r,layoutConfig:i,descriptionConfig:o,tooltipConfig:s,feelPopupContainer:a}=e,l=n.get("canvas"),p=n.get("elementRegistry"),u=n.get("eventBus"),d=n.get("translate"),[h,f]=Hx({selectedElement:t}),g=h.selectedElement,y=e=>{if(!e)return;let t=e;t&&"label"===t.type&&(t=t.labelTarget),f({...h,selectedElement:t}),u.fire("propertiesPanel.updated",{element:t})};Wx((()=>{const e=e=>{const{newSelection:t=[]}=e;if(t.length>1)return y(t);const n=t[0],r=l.getRootElement();(function(e){return e&&(e.isImplicit||"__implicitroot"===e.id)})(r)||y(n||r)};return u.on("selection.changed",e),()=>{u.off("selection.changed",e)}}),[]),Wx((()=>{const e=e=>{const t=function(e,t){return m(e,(e=>e===t))}(e.elements,g);t&&function(e,t){return e&&t.get(e.id)}(t,p)&&y(t)};return u.on("elements.changed",e),()=>{u.off("elements.changed",e)}}),[g]),Wx((()=>{const e=e=>{const t=e.element;y(t)};return u.on("root.added",e),()=>{u.off("root.added",e)}}),[g]),Wx((()=>{const e=()=>{y(g)};return u.on("propertiesPanel.providersChanged",e),()=>{u.off("propertiesPanel.providersChanged",e)}}),[g]),Wx((()=>{const e=()=>{y(g)};return u.on("elementTemplates.changed",e),()=>{u.off("elementTemplates.changed",e)}}),[g]);const v={selectedElement:g,injector:n,getService:(e,t)=>n.get(e,t)},b=r(g),x=Zx((()=>w(b,(function(e,t){if(c(g))return[];return t.getGroups(g)(e)}),[])),[b,g]),[_,k]=Hx(i||{}),E=Xx((e=>{u.fire("propertiesPanel.layoutChanged",{layout:e})}),[u]);Wx((()=>{const e=e=>{const{layout:t}=e;k(t)};return u.on("propertiesPanel.setLayout",e),()=>u.off("propertiesPanel.setLayout",e)}),[u,k]);return B_(mQ.Provider,{value:v,children:B_(RW,{element:g,headerProvider:wX(d),placeholderProvider:CX(d),groups:x,layoutConfig:_,layoutChanged:E,descriptionConfig:o,descriptionLoaded:e=>{u.fire("propertiesPanel.descriptionLoaded",{description:e})},tooltipConfig:s,tooltipLoaded:e=>{u.fire("propertiesPanel.tooltipLoaded",{tooltip:e})},feelPopupContainer:a,eventBus:u})})}class MX{constructor(e,t,n){const{parent:r,layout:i,description:o,tooltip:s,feelPopupContainer:a}=e||{};this._eventBus=n,this._injector=t,this._layoutConfig=i,this._descriptionConfig=o,this._tooltipConfig=s,this._feelPopupContainer=a,this._container=ge('<div style="height: 100%" class="bio-properties-panel-container"></div>');var l=t.get("commandStack",!1);l&&function(e,t,n){function r(e){e.preventDefault(),e.stopPropagation()}function i(e){return Ys(e)?(n.undo(),r(e)):Ks(e)?(n.redo(),r(e)):void 0}t.on("keyboard.bind",(function(){ce.bind(e,"keydown",i)})),t.on("keyboard.unbind",(function(){ce.unbind(e,"keydown",i)}))}(this._container,n,l),n.on("diagram.init",(()=>{r&&this.attachTo(r)})),n.on("diagram.destroy",(()=>{this.detach()})),n.on("root.added",(e=>{const{element:t}=e;this._render(t)}))}attachTo(e){if(!e)throw new Error("container required");e.get&&e.constructor.prototype.jquery&&(e=e.get(0)),"string"==typeof e&&(e=ve(e)),this.detach(),e.appendChild(this._container),this._eventBus.fire("propertiesPanel.attach")}detach(){const e=this._container.parentNode;e&&(e.removeChild(this._container),this._eventBus.fire("propertiesPanel.detach"))}registerProvider(e,t){t||(t=e,e=1e3),"function"==typeof t.getGroups?(this._eventBus.on("propertiesPanel.getProviders",e,(function(e){e.providers.push(t)})),this._eventBus.fire("propertiesPanel.providersChanged")):console.error("Properties provider does not implement #getGroups(element) API")}setLayout(e){this._eventBus.fire("propertiesPanel.setLayout",{layout:e})}_getProviders(){const e=this._eventBus.createEvent({type:"propertiesPanel.getProviders",providers:[]});return this._eventBus.fire(e),e.providers}_render(e){const t=this._injector.get("canvas");e||(e=t.getRootElement()),function(e){return e&&(e.isImplicit||"__implicitroot"===e.id)}(e)||(Tx(B_(TX,{element:e,injector:this._injector,getProviders:this._getProviders.bind(this),layoutConfig:this._layoutConfig,descriptionConfig:this._descriptionConfig,tooltipConfig:this._tooltipConfig,feelPopupContainer:this._feelPopupContainer}),this._container),this._eventBus.fire("propertiesPanel.rendered"))}_destroy(){this._container&&(Tx(null,this._container),this._eventBus.fire("propertiesPanel.destroyed"))}}MX.$inject=["config.propertiesPanel","injector","eventBus"];let AX=class{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;v(e,(function(e){t.execute(e.cmd,e.context)}))}};AX.$inject=["commandStack"];const DX={"properties-panel.multi-command-executor":AX};function NX(e,t){e.on("diagram.init",(function(){v(DX,(function(e,n){t.registerHandler(n,e)}))}))}NX.$inject=["eventBus","commandStack"];var RX={__depends__:[{__init__:[NX]},lG,pG],__init__:["propertiesPanel"],propertiesPanel:["type",MX]};function jX(e){const{autoFocusEntry:t,element:n,getOptions:r}=e,i=r(n),o=LU(i);return Wx((()=>{if(t&&o&&i.length>o.length){const e=ve(`[data-entry-id="${t}"]`),n=ve(".bio-properties-panel-input",e);n&&n.select()}}),[i]),B_(ZW,{...e})}function IX(e){return BX(e,"bpmn:ErrorEventDefinition")}function LX(e){const t=IX(e);return t&&t.get("errorRef")}function BX(e,t){return m(Si(e).get("eventDefinitions")||[],(function(e){return Oi(e,t)}))}function zX(e){return Oi(e,"bpmn:ReceiveTask")?Si(e):BX(e,"bpmn:MessageEventDefinition")}function $X(e){const t=zX(e);return t&&t.get("messageRef")}function qX(e){return BX(e,"bpmn:LinkEventDefinition")}function FX(e){return BX(e,"bpmn:SignalEventDefinition")}function VX(e){const t=FX(e);return t&&t.get("signalRef")}function HX(e){return BX(e,"bpmn:EscalationEventDefinition")}function UX(e){const t=HX(e);return t&&t.get("escalationRef")}function WX(e){return BX(e,"bpmn:CompensateEventDefinition")}function GX(e){const{element:t}=e;return function(e){return Pi(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"])&&!!WX(e)}(t)?[{id:"waitForCompletion",component:QX,isEdited:WW},{id:"activityRef",component:ZX,isEdited:XW}]:[]}function QX(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=WX(t);return UW({element:t,id:"waitForCompletion",label:r("Wait for completion"),getValue:()=>i.get("waitForCompletion"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:i,properties:{waitForCompletion:e}})}})}function ZX(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("elementRegistry"),i=gQ("translate"),o=WX(t);return jX({element:t,id:"activityRef",label:i("Activity reference"),getValue:()=>{const e=function(e){const t=WX(e);return t&&t.get("activityRef")}(t);return e&&e.get("id")},setValue:e=>{const i=e?Si(r.get(e)):void 0;n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{activityRef:i}})},getOptions:()=>{let e=[{value:"",label:i("<none>")}];const n=function(e){const t=Si(e);let n=t.$parent,r=KX(n);Oi(n,"bpmn:SubProcess")&&n.triggeredByEvent&&(n=n.$parent,n&&(r=[...r,...KX(n)]));return r}(t);var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((function(t){e.push({value:t.id,label:JX(t)})})),e}})}function XX(e,t){const{flowElements:n}=e;return n.filter((function(e){return Oi(e,t)}))}function YX(e,t){return Oi(e,"bpmn:CallActivity")||Oi(e,"bpmn:SubProcess")&&!e.triggeredByEvent&&!e.isForCompensation||function(e,t){const{id:n}=e;return!!m(t,(function(e){const{attachedToRef:t}=e,r=WX(e);return t&&r&&t.id===n}))}(e,t)}function KX(e){const t=function(e){return XX(e,"bpmn:Activity")}(e),n=function(e){return XX(e,"bpmn:BoundaryEvent")}(e);return t.filter((function(e){return YX(e,n)}))}function JX(e){const{id:t,name:n}=e;return`${n?n+" ":""}(id=${t})`}const eY="text/plain";function tY(e){const{element:t}=e,n=[{id:"documentation",component:nY,isEdited:tG}];return function(e){return Oi(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)&&n.push({id:"processDocumentation",component:rY,isEdited:tG}),n}function nY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=gQ("debounceInput"),s=oY(Si(t)),a=sY(t,Si(t),n,r);return eG({element:t,id:"documentation",label:i("Element documentation"),getValue:s,setValue:a,debounce:o})}function rY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=gQ("debounceInput"),s=Si(t).processRef,a=oY(s),l=sY(t,s,n,r);return eG({element:t,id:"processDocumentation",label:i("Process documentation"),getValue:a,setValue:l,debounce:o})}function iY(e){return e.find((function(e){return(e.textFormat||eY)===eY}))}function oY(e){return function(){const t=iY(e&&e.get("documentation"));return t&&t.text}}function sY(e,t,n,r){return function(i){let o=iY(t&&t.get("documentation"));return o?i?r.execute("element.updateModdleProperties",{element:e,moddleElement:o,properties:{text:i}}):r.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:b(t.get("documentation"),o)}}):i?(o=n.create("bpmn:Documentation",{text:i}),r.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:[...t.get("documentation"),o]}})):void 0}}function aY(e,t,n,r){const i=r.create(e,t);return n&&(i.$parent=n),i}function lY(e){return new n([32,32,1]).nextPrefixed(e)}function cY(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function pY(e,t){return function(e,t){return(e||[]).filter((e=>Oi(e,t)))}(cY(e).get("rootElements"),t)}function uY(e,t,n){return pY(e,t).find((e=>e.id===n))}const dY="",hY="create-new";function fY(e){const{element:t}=e;if(!function(e){return Pi(e,["bpmn:StartEvent","bpmn:BoundaryEvent","bpmn:EndEvent"])&&!!IX(e)}(t))return[];let n=[{id:"errorRef",component:mY,isEdited:XW}];return LX(t)&&(n=[...n,{id:"errorName",component:gY,isEdited:oG},{id:"errorCode",component:yY,isEdited:oG}]),n}function mY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=IX(t);return jX({element:t,id:"errorRef",label:i("Global error reference"),autoFocusEntry:"errorName",getValue:()=>{const e=LX(t);return e?e.get("id"):dY},setValue:e=>{const i=cY(o),s=[];let a;return e===hY&&(a=aY("bpmn:Error",{name:lY("Error_")},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})),a=a||uY(o,"bpmn:Error",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{errorRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:dY,label:i("<none>")},{value:hY,label:i("Create new ...")}];const n=pY(Si(t),"bpmn:Error");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function gY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=LX(t);return iG({element:t,id:"errorName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function yY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=LX(t);return iG({element:t,id:"errorCode",label:r("Code"),getValue:()=>o.get("errorCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{errorCode:e}}),debounce:i})}const vY="create-new";function bY(e){const{element:t}=e;if(!function(e){return Oi(e,"bpmn:Event")&&!!HX(e)}(t))return[];let n=[{id:"escalationRef",component:wY,isEdited:XW}];return UX(t)&&(n=[...n,{id:"escalationName",component:xY,isEdited:oG},{id:"escalationCode",component:_Y,isEdited:oG}]),n}function wY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=HX(t);return jX({element:t,id:"escalationRef",label:i("Global escalation reference"),autoFocusEntry:"escalationName",getValue:()=>{const e=UX(t);return e&&e.get("id")},setValue:e=>{const i=cY(o),s=[];let a;if(e===vY){const r=lY("Escalation_");a=aY("bpmn:Escalation",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||uY(o,"bpmn:Escalation",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{escalationRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:"",label:i("<none>")},{value:vY,label:i("Create new ...")}];const n=pY(Si(t),"bpmn:Escalation");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function xY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=UX(t);return iG({element:t,id:"escalationName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function _Y(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=UX(t);return iG({element:t,id:"escalationCode",label:r("Code"),getValue:()=>o.get("escalationCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{escalationCode:e}}),debounce:i})}function kY(e){const{element:t}=e;return Oi(t,"bpmn:Process")||function(e){return Oi(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"isExecutable",component:EY,isEdited:WW}]:[]}function EY(e){const{element:t}=e,n=gQ("modeling"),r=gQ("commandStack"),i=gQ("translate");let o,s;if(s=e=>{n.updateProperties(t,{isExecutable:e})},o=e=>e.businessObject.isExecutable,Oi(t,"bpmn:Participant")){const e=t.businessObject.get("processRef");s=n=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:e,properties:{isExecutable:n}})},o=()=>e.get("isExecutable")}return UW({element:t,id:"isExecutable",label:i("Executable"),getValue:o,setValue:s})}const OY=/\s/,PY=/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i,SY=/^[a-z_][\w-.]*$/i;function CY(e,t,n){const r=e.$model.ids.assigned(t);return t?r&&r!==e?n("ID must be unique."):function(e,t){if(n=e,OY.test(n))return t("ID must not contain spaces.");var n;if(!SY.test(e))return PY.test(e)?t("ID must not contain prefix."):t("ID must be a valid QName.")}(t,n):n("ID must not be empty.")}function TY(e){const{element:t}=e,n=gQ("modeling"),r=gQ("debounceInput"),i=gQ("translate"),o=Xx((e=>Si(e).id),[t]),s=Xx((e=>CY(Si(t),e,i)),[t,i]);return iG({element:t,id:"id",label:i(Oi(t,"bpmn:Participant")?"Participant ID":"ID"),getValue:o,setValue:(e,r)=>{r||n.updateProperties(t,{id:e})},debounce:r,validate:s})}function MY(e){const{element:t}=e;return function(e){return Pi(e,["bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"])&&!!qX(e)}(t)?[{id:"linkName",component:AY,isEdited:oG}]:[]}function AY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=qX(t);return iG({element:t,id:"linkName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:i})}const DY="",NY="create-new";function RY(e){const{element:t}=e;if(!function(e){return Oi(e,"bpmn:ReceiveTask")||Pi(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!zX(e)}(t))return[];let n=[{id:"messageRef",component:jY,isEdited:XW}];return $X(t)&&(n=[...n,{id:"messageName",component:IY,isEdited:oG}]),n}function jY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=zX(t);return jX({element:t,id:"messageRef",label:i("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=$X(t);return e?e.get("id"):DY},setValue:e=>{const i=cY(o),s=[];let a;if(e===NY){const r=lY("Message_");a=aY("bpmn:Message",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||uY(o,"bpmn:Message",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{messageRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:DY,label:i("<none>")},{value:NY,label:i("Create new ...")}];const n=pY(Si(t),"bpmn:Message");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function IY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=$X(t);return iG({element:t,id:"messageName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function LY(e){const{element:t}=e;if(!function(e){const t=FY(e);return!!t&&Oi(t,"bpmn:MultiInstanceLoopCharacteristics")}(t))return[];return[{id:"loopCardinality",component:BY,isEdited:oG},{id:"completionCondition",component:zY,isEdited:oG}]}function BY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("debounceInput"),i=gQ("commandStack"),o=gQ("translate");return iG({element:t,id:"loopCardinality",label:o("Loop cardinality"),getValue:()=>function(e){const t=function(e){return qY(e,"loopCardinality")}(e);return $Y(t)}(t),setValue:e=>i.execute("element.updateModdleProperties",VY(t,"loopCardinality",e,n)),debounce:r})}function zY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("debounceInput"),i=gQ("commandStack"),o=gQ("translate");return iG({element:t,id:"completionCondition",label:o("Completion condition"),getValue:()=>function(e){const t=function(e){return qY(e,"completionCondition")}(e);return $Y(t)}(t),setValue:e=>i.execute("element.updateModdleProperties",VY(t,"completionCondition",e,n)),debounce:r})}function $Y(e){return e&&e.get("body")}function qY(e,t){const n=FY(e);return n&&n.get(t)}function FY(e){return Si(e).loopCharacteristics}function VY(e,t,n,r){const i=FY(e),o={};if(!n)return o[t]=void 0,{element:e,moddleElement:i,properties:o};const s=i.get(t);return s?{element:e,moddleElement:s,properties:{body:n}}:(o[t]=function(e,t,n){return aY("bpmn:FormalExpression",{body:t},e,n)}(i,n,r),{element:e,moddleElement:i,properties:o})}function HY(e){const{element:t}=e;return Pi(t,["bpmn:Collaboration","bpmn:DataAssociation","bpmn:Association"])?[]:[{id:"name",component:UY,isEdited:tG}]}function UY(e){const{element:t}=e,n=gQ("modeling"),r=gQ("debounceInput"),i=gQ("canvas"),o=gQ("bpmnFactory"),s=gQ("translate");let a={element:t,id:"name",label:s("Name"),debounce:r,setValue:e=>{n.updateProperties(t,{name:e})},getValue:e=>e.businessObject.name,autoResize:!0};return Oi(t,"bpmn:TextAnnotation")?a={...a,setValue:e=>{n.updateProperties(t,{text:e})},getValue:e=>e.businessObject.text}:Oi(t,"bpmn:Group")?a={...a,setValue:e=>{const r=Si(t);r.categoryValueRef||function(e,t,n){const r=function(e,t){const n=t.create("bpmn:CategoryValue"),r=t.create("bpmn:Category",{categoryValue:[n]});return Ot(e.get("rootElements"),r),Si(r).$parent=e,Si(n).$parent=r,n}(Si(t).$parent,n);e.categoryValueRef=r}(r,i.getRootElement(),o),n.updateLabel(t,e)},getValue:e=>{const t=Si(e).categoryValueRef;return t&&t.value}}:Oi(t,"bpmn:Participant")&&(a.label=s("Participant Name")),eG(a)}function WY(e){const{element:t}=e;return function(e){return Oi(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"processId",component:QY,isEdited:oG},{id:"processName",component:GY,isEdited:oG}]:[]}function GY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=t.businessObject.get("processRef");return iG({element:t,id:"processName",label:r("Process name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:i})}function QY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=t.businessObject.get("processRef"),s=Xx((e=>CY(o,e,r)),[o,r]);return iG({element:t,id:"processId",label:r("Process ID"),getValue:()=>o.get("id"),setValue:(e,r)=>{r||n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{id:e}})},debounce:i,validate:s})}const ZY="",XY="create-new";function YY(e){const{element:t}=e;if(!function(e){return Oi(e,"bpmn:Event")&&!!FX(e)}(t))return[];let n=[{id:"signalRef",component:KY,isEdited:XW}];return VX(t)&&(n=[...n,{id:"signalName",component:JY,isEdited:oG}]),n}function KY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=FX(t);return jX({element:t,id:"signalRef",label:i("Global signal reference"),autoFocusEntry:"signalName",getValue:()=>{const e=VX(t);return e?e.get("id"):ZY},setValue:e=>{const i=cY(o),s=[];let a;if(e===XY){const r=lY("Signal_");a=aY("bpmn:Signal",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||uY(o,"bpmn:Signal",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{signalRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:ZY,label:i("<none>")},{value:XY,label:i("Create new ...")}];const n=pY(Si(t),"bpmn:Signal");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function JY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=VX(t);return iG({element:t,id:"signalName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function eK(e){return Pi(e,["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:BoundaryEvent"])&&!!nK(e)}function tK(e){if(!e)return;if(void 0!==e.get("timeDate"))return"timeDate";if(void 0!==e.get("timeCycle"))return"timeCycle";return void 0!==e.get("timeDuration")?"timeDuration":void 0}function nK(e){return rK(e,"bpmn:TimerEventDefinition")}function rK(e,t){return m(Si(e).get("eventDefinitions")||[],(function(e){return Oi(e,t)}))}function iK(e){return rK(e,"bpmn:SignalEventDefinition")}function oK(e){const t=iK(e);return t&&t.get("signalRef")}function sK(e){const{element:t,idPrefix:n}=e;let{timerEventDefinition:r}=e;if(!r){r=nK(Si(t))}const i=tK(r);if(!eK(t))return[];const o=[];return o.push({id:pK(n,"timerEventDefinitionType"),component:aK,isEdited:XW,timerEventDefinition:r,timerEventDefinitionType:i}),i&&o.push({id:pK(n,"timerEventDefinitionValue"),component:lK,isEdited:oG,timerEventDefinition:r,timerEventDefinitionType:i}),o}function aK(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:r}=e,i=gQ("commandStack"),o=gQ("bpmnFactory"),s=gQ("translate");return ZW({element:t,id:"timerEventDefinitionType",label:s("Type"),getValue:()=>r||"",setValue:e=>{if(e===r)return;const s=o.create("bpmn:FormalExpression",{body:void 0});s.$parent=n;const a={timeDuration:void 0,timeDate:void 0,timeCycle:void 0};""!==e&&(a[e]=s),i.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:a})},getOptions:e=>[{value:"",label:s("<none>")},{value:"timeDate",label:s("Date")},{value:"timeDuration",label:s("Duration")},{value:"timeCycle",label:s("Cycle")}]})}function lK(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput"),a=n.get(r);return iG({element:t,id:"timerEventDefinitionValue",label:o("Value"),getValue:()=>a&&a.get("body"),setValue:e=>{i.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{body:e}})},debounce:s,tooltip:cK(r,o)})}function cK(e,t){switch(e){case"timeDate":return B_("div",{children:[B_("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),B_("li",{children:[B_("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),B_("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-date",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeCycle":return B_("div",{children:[B_("p",{children:t("A cycle defined as ISO 8601 repeating intervals format.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),B_("li",{children:[B_("code",{children:"R/P1D"})," - ",t("every day, infinitely")]})]}),B_("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-cycle",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeDuration":return B_("div",{children:[B_("p",{children:t("A time duration defined as ISO 8601 durations format.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"PT15S"})," - ",t("15 seconds")]}),B_("li",{children:[B_("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),B_("li",{children:[B_("code",{children:"P14D"})," - ",t("14 days")]})]}),B_("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-duration",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]})}}function pK(e,t){return e?e+t:t}function uK(e,t){const n=t.get("translate"),r=[...HY({element:e}),{id:"id",component:TY,isEdited:oG},...WY({element:e}),...kY({element:e})];return{id:"general",label:n("General"),entries:r,component:qU}}function dK(e,t){const n={label:t.get("translate")("Compensation"),id:"compensation",component:qU,entries:[...GX({element:e})]};return n.entries.length?n:null}function hK(e,t){const n=t.get("translate"),r=[...tY({element:e})];return{id:"documentation",label:n("Documentation"),entries:r,component:qU}}function fK(e,t){const n={id:"error",label:t.get("translate")("Error"),component:qU,entries:[...fY({element:e})]};return n.entries.length?n:null}function mK(e,t){const n={id:"message",label:t.get("translate")("Message"),component:qU,entries:[...RY({element:e})]};return n.entries.length?n:null}function gK(e,t){const n={id:"signal",label:t.get("translate")("Signal"),component:qU,entries:[...YY({element:e})]};return n.entries.length?n:null}function yK(e,t){const n={label:t.get("translate")("Link"),id:"link",component:qU,entries:[...MY({element:e})]};return n.entries.length?n:null}function vK(e,t){const n={id:"escalation",label:t.get("translate")("Escalation"),component:qU,entries:[...bY({element:e})]};return n.entries.length?n:null}function bK(e,t){const n={label:t.get("translate")("Timer"),id:"timer",component:qU,entries:[...sK({element:e})]};return n.entries.length?n:null}function wK(e,t){const n={label:t.get("translate")("Multi-instance"),id:"multiInstance",component:qU,entries:[...LY({element:e})]};return n.entries.length?n:null}class xK{constructor(e,t){e.registerProvider(this),this._injector=t}getGroups(e){return t=>(t=t.concat(function(e,t){return[uK(e,t),hK(e,t),dK(e,t),fK(e,t),yK(e,t),mK(e,t),wK(e,t),gK(e,t),vK(e,t),bK(e,t)].filter((e=>null!==e))}(e,this._injector)),t)}}xK.$inject=["propertiesPanel","injector"];var _K={__init__:["bpmnPropertiesProvider"],bpmnPropertiesProvider:["type",xK]};function kK(e,t=void 0){const n=e.get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>Oi(e,t))):r:[]}function EK(e,t,n,r){c(n)||(n=[n]);const i=t.get("extensionElements"),o=i.get("values").filter((e=>!n.includes(e)));r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:o}})}const OK={getVariablesForElement:e=>JG(e)};const PK=function(e){return t=>{const n=Zx((()=>{const e=gQ("config");return e&&e.propertiesPanel&&e.propertiesPanel.feelTooltipContainer}),[]);return B_(e,{...t,tooltipContainer:n})}}(EW),SK=function(e){return t=>{const{bpmnElement:n,element:r}=t,i=(n||r).businessObject,[o,s]=Hx([]),a=gQ("eventBus"),l=function(e,t){const n=gQ(e,!1);if(!n)return t;return n}("variableResolver",OK);return Wx((()=>{const e=()=>{(async()=>{const e=await l.getVariablesForElement(i,r);s(e.map((e=>({...e,info:e.info||e.origin&&"Written in "+e.origin.map((e=>e.name||e.id)).join(", ")}))))})()};return a.on("commandStack.changed",e),e(),()=>{a.off("commandStack.changed",e)}}),[i]),B_(e,{...t,variables:o})}}(PK);function CK(e){const{element:t}=e;return Oi(t,"bpmn:UserTask")?[{id:"assignmentDefinitionAssignee",component:TK,isEdited:SW},{id:"assignmentDefinitionCandidateGroups",component:MK,isEdited:SW},{id:"assignmentDefinitionCandidateUsers",component:AK,isEdited:SW}]:[]}function TK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"assignmentDefinitionAssignee",label:i("Assignee"),feel:"optional",getValue:()=>(DK(t)||{}).assignee,setValue:e=>{const i=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=DK(t);a||(a=aY("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{assignee:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function MK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"assignmentDefinitionCandidateGroups",label:i("Candidate groups"),feel:"optional",getValue:()=>(DK(t)||{}).candidateGroups,setValue:e=>{let i=[];const o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=DK(t);a||(a=aY("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{candidateGroups:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function AK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"assignmentDefinitionCandidateUsers",label:i("Candidate users"),feel:"optional",getValue:()=>(DK(t)||{}).candidateUsers,setValue:e=>{let i=[];const o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=DK(t);a||(a=aY("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{candidateUsers:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function DK(e){return kK(Si(e),"zeebe:AssignmentDefinition")[0]}function NK(e){return!!Oi(e,"zeebe:ZeebeServiceTask")&&(Oi(e,"bpmn:EndEvent")||Oi(e,"bpmn:IntermediateThrowEvent")?!!zX(e):!(Pi(e,["bpmn:BusinessRuleTask","bpmn:ScriptTask"])&&!function(e){const t=Si(e);return kK(t,"zeebe:TaskDefinition")[0]}(e)))}function RK(e){return kK(Si(e),"zeebe:TaskHeaders")[0]}const jK="dmn",IK="jobWorker",LK="";function BK(e){const{element:t}=e;return Oi(t,"bpmn:BusinessRuleTask")?[{id:"businessRuleImplementation",component:zK,isEdited:()=>function(e){return $K(e)||qK(e)}(t)}]:[]}function zK(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate");return ZW({element:t,id:n,label:o("Implementation"),getValue:()=>qK(t)?jK:$K(t)?IK:LK,setValue:e=>{let n,o;e===jK?(n=qK(t),o="zeebe:CalledDecision"):e===IK?(n=$K(t),o="zeebe:TaskDefinition"):function(e,t){const n=Si(e),r=[$K(e),RK(e),qK(e)].filter(Boolean);EK(e,n,r,t)}(t,r),!n&&o&&(n=aY(o,{},null,i),function(e,t,n,r){const i=Si(e),o=[];let s,a=i.get("extensionElements");a||(a=aY("bpmn:ExtensionElements",{values:[]},i,n),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{extensionElements:a}}}));t.$parent=a,Oi(t,"zeebe:TaskDefinition")?s=b(a.get("values"),qK(e)):Oi(t,"zeebe:CalledDecision")&&(s=b(a.get("values"),$K(e)));o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...s,t]}}}),r.execute("properties-panel.multi-command-executor",o)}(t,n,i,r))},getOptions:()=>[{value:LK,label:o("<none>")},{value:jK,label:o("DMN decision")},{value:IK,label:o("Job worker")}]})}function $K(e){return kK(Si(e),"zeebe:TaskDefinition")[0]}function qK(e){return kK(Si(e),"zeebe:CalledDecision")[0]}function FK(e){const{element:t}=e;return Oi(t,"bpmn:BusinessRuleTask")&&UK(t)?[{id:"decisionId",component:VK,isEdited:SW},{id:"resultVariable",component:HK,isEdited:oG}]:[]}function VK(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return SK({element:t,id:n,label:o("Decision ID"),feel:"optional",getValue:()=>(UK(t)||{}).decisionId,setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=UK(t);a||(a=aY("zeebe:CalledDecision",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{decisionId:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function HK(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:t,id:n,label:o("Result variable"),getValue:()=>(UK(t)||{}).resultVariable,setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=UK(t);a||(a=aY("zeebe:CalledDecision",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{resultVariable:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function UK(e){return kK(Si(e),"zeebe:CalledDecision")[0]}function WK(e){const{element:t}=e;if(!Oi(t,"bpmn:SequenceFlow"))return[];const n=[];return function(e){return Pi(e,QK)}(t.source)&&n.push({id:"conditionExpression",component:GK,isEdited:SW}),n}function GK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"conditionExpression",label:i("Condition expression"),feel:"required",getValue:()=>function(e){const t=Si(e),n=t.conditionExpression;if(n)return n.get("body")}(t),setValue:e=>{const i=[],o=Si(t),s=t.source;s.businessObject.default===o&&i.push({cmd:"element.updateProperties",context:{element:s,properties:{default:void 0}}});const a=e&&""!=e?aY("bpmn:FormalExpression",{body:e},o,r):void 0;i.push({cmd:"element.updateProperties",context:{element:t,properties:{conditionExpression:a}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}const QK=["bpmn:Activity","bpmn:ExclusiveGateway","bpmn:InclusiveGateway"];function ZK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=LX(t);return SK({element:t,id:"errorCode",label:r("Code"),feel:"optional",getValue:()=>o.get("errorCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{errorCode:e}}),debounce:i})}function XK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=UX(t);return SK({element:t,id:"escalationCode",label:r("Code"),feel:"optional",getValue:()=>o.get("escalationCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{escalationCode:e}}),debounce:i})}const YK="camunda-forms:bpmn:",KK="UserTaskForm_",JK={CAMUNDA_FORM_EMBEDDED:"camunda-form-embedded",CAMUNDA_FORM_LINKED:"camunda-form-linked",CUSTOM_FORM:"custom-form",EXTERNAL_REFERENCE:"external-reference"};function eJ(e){return kK(Si(e),"zeebe:FormDefinition")[0]}function tJ(e,t){t=t||rJ(e);const n=eJ(e);if(!n)return;const r=n.get("formKey");return kK(t,"zeebe:UserTaskForm").find((e=>nJ(e.get("id"))===r))}function nJ(e){return`${YK}${e}`}function rJ(e){let t=Si(e);for(;t.$parent&&!Oi(t,"bpmn:Process");)t=t.$parent;return t}function iJ(e){const t=eJ(e);if(!t)return;const n=t.get("formId"),r=t.get("formKey"),i=t.get("externalReference");return a(n)?JK.CAMUNDA_FORM_LINKED:a(i)?JK.EXTERNAL_REFERENCE:a(r)?tJ(e)?JK.CAMUNDA_FORM_EMBEDDED:JK.CUSTOM_FORM:void 0}function oJ(e){return kK(Si(e),"zeebe:UserTask").length>0}const sJ="none";function aJ(e){const{element:t}=e;if(!Oi(t,"bpmn:UserTask"))return[];const n=[{id:"formType",component:lJ,isEdited:e=>e.value!==sJ}],r=iJ(t);return r===JK.CAMUNDA_FORM_EMBEDDED?n.push({id:"formConfiguration",component:cJ,isEdited:tG}):r===JK.CAMUNDA_FORM_LINKED?n.push({id:"formId",component:pJ,isEdited:oG}):r===JK.CUSTOM_FORM?n.push({id:"customFormKey",component:uJ,isEdited:oG}):r===JK.EXTERNAL_REFERENCE&&n.push({id:"externalReference",component:dJ,isEdited:SW}),n}function lJ(e){const{element:t}=e,n=gQ("injector"),r=gQ("translate");return ZW({element:t,id:"formType",label:r("Type"),getValue:()=>iJ(t)||sJ,setValue:e=>{!function(e,t,n){n===JK.CAMUNDA_FORM_EMBEDDED?bJ(e,t,""):n===JK.CAMUNDA_FORM_LINKED?gJ(e,t,""):n===JK.CUSTOM_FORM?yJ(e,t,""):n===JK.EXTERNAL_REFERENCE?vJ(e,t,""):function(e,t){const n=eJ(t),r=e.get("modeling");if(n){const e=Si(t).get("extensionElements");r.updateModdleProperties(t,e,{values:b(e.get("values"),n)})}}(e,t)}(n,t,e)},getOptions:()=>function(e,t){if(oJ(t))return[{value:sJ,label:e("<none>")},{value:JK.CAMUNDA_FORM_LINKED,label:e("Camunda Form")},{value:JK.EXTERNAL_REFERENCE,label:e("External form reference")}];return[{value:sJ,label:e("<none>")},{value:JK.CAMUNDA_FORM_LINKED,label:e("Camunda Form (linked)")},{value:JK.CAMUNDA_FORM_EMBEDDED,label:e("Camunda Form (embedded)")},{value:JK.CUSTOM_FORM,label:e("Custom form key")}]}(r,t)})}function cJ(e){const{element:t}=e,n=gQ("debounceInput"),r=gQ("injector"),i=gQ("translate");return eG({element:t,id:"formConfiguration",label:i("Form JSON configuration"),rows:4,getValue:()=>tJ(t).get("body"),setValue:e=>{bJ(r,t,s(e)?"":e)},debounce:n})}function pJ(e){const{element:t}=e,n=gQ("debounceInput"),r=gQ("injector"),i=gQ("translate");return iG({element:t,id:"formId",label:i("Form ID"),getValue:()=>eJ(t).get("formId"),setValue:e=>{gJ(r,t,s(e)?"":e)},debounce:n})}function uJ(e){const{element:t}=e,n=gQ("debounceInput"),r=gQ("injector"),i=gQ("translate");return iG({element:t,id:"customFormKey",label:i("Custom form key"),getValue:()=>eJ(t).get("formKey"),setValue:e=>{yJ(r,t,s(e)?"":e)},debounce:n})}function dJ(e){const{element:t}=e,n=gQ("debounceInput"),r=gQ("injector"),i=gQ("translate");return SK({element:t,id:"externalReference",label:i("External form reference"),feel:"optional",getValue:()=>eJ(t).get("externalReference"),setValue:e=>{vJ(r,t,s(e)?"":e)},debounce:n})}function hJ(e,t,n){const r=n||Si(t);let i=r.get("extensionElements");if(i)return{commands:[],extensionElements:i};return i=aY("bpmn:ExtensionElements",{values:[]},r,e.get("bpmnFactory")),{commands:[wJ(t,r,{extensionElements:i})],extensionElements:i}}function fJ(e,t){let n=eJ(t);if(n)return{commands:[],formDefinition:n};const{extensionElements:r,commands:i}=hJ(e,t);return n=function(e,t,n){const r=e.get("bpmnFactory");return aY("zeebe:FormDefinition",t,n,r)}(e,{},r),{commands:[...i,wJ(t,r,{values:[...r.get("values"),n]})],formDefinition:n}}function mJ(e,t){let n=tJ(t);if(n)return{commands:[],formDefinition:eJ(t),userTaskForm:n};const r=rJ(t),{extensionElements:i,commands:o}=hJ(e,t,r),{formDefinition:s,commands:a}=fJ(e,t),l=lY(KK);return n=function(e,t,n){const r=e.get("bpmnFactory");return aY("zeebe:UserTaskForm",t,n,r)}(e,{id:l},i),{commands:[...o,...a,wJ(t,i,{values:[...i.get("values"),n]}),wJ(t,s,{formKey:nJ(l)})],formDefinition:s,userTaskForm:n}}function gJ(e,t,n){let{commands:r,formDefinition:i}=fJ(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,wJ(t,i,{formId:n})])}function yJ(e,t,n){let{commands:r,formDefinition:i}=fJ(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,wJ(t,i,{formKey:n})])}function vJ(e,t,n){let{commands:r,formDefinition:i}=fJ(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,wJ(t,i,{externalReference:n})])}function bJ(e,t,n){let{commands:r,userTaskForm:i}=mJ(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,wJ(t,i,{body:n})])}function wJ(e,t,n){return{cmd:"element.updateModdleProperties",context:{element:e,moddleElement:t,properties:n}}}function xJ(e){const{idPrefix:t,header:n}=e;return[{id:t+"-key",component:_J,header:n,idPrefix:t},{id:t+"-value",component:kJ,header:n,idPrefix:t}]}function _J(e){const{idPrefix:t,element:n,header:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:r,id:t+"-key",label:o("Key"),getValue:e=>e.key,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{key:e}})},debounce:s})}function kJ(e){const{idPrefix:t,element:n,header:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:r,id:t+"-value",label:o("Value"),getValue:e=>e.value,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{value:e}})},debounce:s})}function EJ({element:e,injector:t}){if(!function(e){return Oi(e,"bpmn:UserTask")||NK(e)}(e))return null;const n=function(e){const t=RK(e);return t?t.get("values"):[]}(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-header-"+n;return{id:r,label:t.get("key")||"",entries:xJ({idPrefix:r,element:e,header:t}),autoFocusEntry:r+"-key",remove:OJ({commandStack:i,element:e,header:t})}}));return{items:o,add:PJ({bpmnFactory:r,commandStack:i,element:e})}}function OJ({commandStack:e,element:t,header:n}){return function(r){r.stopPropagation();let i=[];const o=RK(t);if(!o)return;const s=b(o.get("values"),n);if(i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{values:s}}}),!s.length){const e=Si(t).get("extensionElements");i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:e,properties:{values:b(e.get("values"),o)}}})}e.execute("properties-panel.multi-command-executor",i)}}function PJ({bpmnFactory:e,commandStack:t,element:n}){return function(r){r.stopPropagation();let i=[];const o=Si(n);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,e),i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:o,properties:{extensionElements:s}}}));let a=RK(n);if(!a){a=aY("zeebe:TaskHeaders",{values:[]},s,e),i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{values:[...s.get("values"),a]}}})}const l=aY("zeebe:Header",{},a,e);i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{values:[...a.get("values"),l]}}}),t.execute("properties-panel.multi-command-executor",i)}}function SJ(e){const t=function(e){const t=Si(e);return kK(t,"zeebe:CalledElement")}(e);return t[0]}function CJ(e){const{element:t}=e;return Oi(t,"bpmn:CallActivity")?[{id:"propagateAllParentVariables",component:TJ,isEdited:uW}]:[]}function TJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=function(e){if(!Oi(e,"bpmn:CallActivity"))return;const t=Si(e),n=SJ(t);return!n||!f(n,"propagateAllParentVariables")||n.get("propagateAllParentVariables")}(t);return pW({id:"propagateAllParentVariables",label:i("Propagate all parent process variables"),switcherLabel:i(o?"On":"Off"),tooltip:B_("div",{children:[B_("p",{children:i("If turned on, all variables from the parent process instance will be propagated to the child process instance.")}),B_("p",{children:i("Otherwise, only variables defined via input mappings will be propagated.")})]}),getValue:()=>o,setValue:e=>{const i=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=SJ(o);a||(a=aY("zeebe:CalledElement",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{propagateAllParentVariables:e}}}),n.execute("properties-panel.multi-command-executor",i)}})}function MJ(e){const{idPrefix:t,parameter:n}=e;return[{id:t+"-target",component:AJ,idPrefix:t,parameter:n},{id:t+"-source",component:DJ,idPrefix:t,parameter:n}]}function AJ(e){const{idPrefix:t,element:n,parameter:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:r,id:t+"-target",label:o(Oi(r,"zeebe:Input")?"Local variable name":"Process variable name"),getValue:e=>e.target,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{target:e}})},debounce:s})}function DJ(e){const{idPrefix:t,element:n,parameter:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return SK({bpmnElement:n,element:r,id:t+"-source",label:o("Variable assignment value"),feel:"required",getValue:e=>e.source,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{source:e}})},debounce:s})}function NJ(e,t){const n=RJ(e);return n&&n.get(t)||[]}function RJ(e){return(function(e,t,n){const r=kK(e,t);return n?(r[0]||{})[n]||[]:r}(Si(e),"zeebe:IoMapping")||[])[0]}function jJ(e){return NJ.apply(this,[e,"outputParameters"])}function IJ(e){return Pi(e,["bpmn:UserTask","bpmn:SubProcess","bpmn:CallActivity","bpmn:BusinessRuleTask","bpmn:ScriptTask"])||NK(e)||function(e){if(!Pi(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"]))return!1;return!!BX(e,"bpmn:SignalEventDefinition")}(e)}function LJ(e){return(!Oi(e,"bpmn:EndEvent")||!IX(e)&&!function(e){return BX(e,"bpmn:TerminateEventDefinition")}(e))&&Pi(e,["zeebe:ZeebeServiceTask","bpmn:UserTask","bpmn:SubProcess","bpmn:ReceiveTask","bpmn:CallActivity","bpmn:Event","bpmn:BusinessRuleTask"])}function BJ(e,t,n){return aY("zeebe:IoMapping",e,t,n)}function zJ({element:e,injector:t}){if(!IJ(e))return null;const n=function(e){return NJ.apply(this,[e,"inputParameters"])}(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-input-"+n;return{id:r,label:t.get("target")||"",entries:MJ({idPrefix:r,element:e,parameter:t}),autoFocusEntry:r+"-target",remove:$J({commandStack:i,element:e,parameter:t})}}));return{items:o,add:qJ({element:e,bpmnFactory:r,commandStack:i})}}function $J({commandStack:e,element:t,parameter:n}){return function(r){r.stopPropagation();const i=[],o=RJ(t);if(!o)return;const s=b(o.get("inputParameters"),n);i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{inputParameters:s}}});const a=Si(t).get("extensionElements"),l=b(a.get("values"),o);s.length||o.get("outputParameters").length||i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:l}}}),e.execute("properties-panel.multi-command-executor",i)}}function qJ({element:e,bpmnFactory:t,commandStack:n}){return function(r){r.stopPropagation();const i=[],o=Si(e);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:s}}}));let a=RJ(e);a||(a=BJ({inputParameters:[],outputParameters:[]},s,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}}));const l=aY("zeebe:Input",{target:lY("InputVariable_")},a,t);i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{inputParameters:[...a.get("inputParameters"),l]}}}),n.execute("properties-panel.multi-command-executor",i)}}function FJ(e){const{element:t}=e,n=$X(t),r=[];return n&&r.push({id:"messageName",component:VJ,isEdited:SW}),n&&function(e){if(Oi(e,"bpmn:ReceiveTask"))return!0;if(!Oi(e,"bpmn:StartEvent"))return!0;if(Oi(e,"bpmn:StartEvent")&&Qi(e.parent))return!0;return!1}(t)&&r.push({id:"messageSubscriptionCorrelationKey",component:HJ,isEdited:SW}),r}function VJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=$X(t);return SK({element:t,id:"messageName",label:r("Name"),feel:"optional",getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function HJ(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"messageSubscriptionCorrelationKey",label:i("Subscription correlation key"),feel:"required",getValue:()=>function(e){const t=UJ(e);return t?t.get("correlationKey"):""}(t),setValue:e=>{const i=[],o={correlationKey:e},s=$X(t);let a=s.get("extensionElements");a||(a=aY("bpmn:ExtensionElements",{values:[]},s,n),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{extensionElements:a}}}));let l=UJ(t);l?i.push({cmd:"element.updateModdleProperties",context:{element:t,properties:o,moddleElement:l}}):(l=aY("zeebe:Subscription",o,a,n),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:[...a.get("values"),l]}}})),r.execute("properties-panel.multi-command-executor",i)},debounce:o})}function UJ(e){const t=function(e){const t=kK(e,"zeebe:Subscription");return t}($X(e));return t[0]}function WJ(e){const{element:t}=e;return function(e){return!!KJ(e)}(t)?[{id:"multiInstance-inputCollection",component:GJ,isEdited:SW},{id:"multiInstance-inputElement",component:QJ,isEdited:oG},{id:"multiInstance-outputCollection",component:ZJ,isEdited:oG},{id:"multiInstance-outputElement",component:XJ,isEdited:SW},{id:"multiInstance-completionCondition",component:YJ,isEdited:SW}]:[]}function GJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"multiInstance-inputCollection",label:i("Input collection"),feel:"required",getValue:()=>t0(t,"inputCollection"),setValue:e=>n0(t,"inputCollection",e,n,r),debounce:o})}function QJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return iG({element:t,id:"multiInstance-inputElement",label:i("Input element"),getValue:()=>t0(t,"inputElement"),setValue:e=>n0(t,"inputElement",e,n,r),debounce:o})}function ZJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return iG({element:t,id:"multiInstance-outputCollection",label:i("Output collection"),getValue:()=>t0(t,"outputCollection"),setValue:e=>n0(t,"outputCollection",e,n,r),debounce:o})}function XJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"multiInstance-outputElement",label:i("Output element"),feel:"required",getValue:()=>t0(t,"outputElement"),setValue:e=>n0(t,"outputElement",e,n,r),debounce:o})}function YJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"multiInstance-completionCondition",label:i("Completion condition"),feel:"required",getValue:()=>{const e=function(e){return KJ(e).get("completionCondition")}(t);return e&&e.get("body")},setValue:e=>{if(e&&""!==e){const i=aY("bpmn:FormalExpression",{body:e},KJ(t),r);e0(t,n,i)}else e0(t,n,void 0)},debounce:o})}function KJ(e){return Si(e).get("loopCharacteristics")}function JJ(e){const t=kK(e,"zeebe:LoopCharacteristics");return t&&t[0]}function e0(e,t,n=void 0){t.execute("element.updateModdleProperties",{element:e,moddleElement:KJ(e),properties:{completionCondition:n}})}function t0(e,t){const n=JJ(KJ(e));return n&&n.get(t)}function n0(e,t,n,r,i){const o=KJ(e),s=[];let a=o.get("extensionElements");a||(a=aY("bpmn:ExtensionElements",{values:[]},o,i),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:a}}}));let l=JJ(o);l||(l=aY("zeebe:LoopCharacteristics",{},a,i),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...a.get("values"),l]}}})),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:l,properties:{[t]:n}}}),r.execute("properties-panel.multi-command-executor",s)}function r0(e){const{element:t}=e;return Oi(t,"bpmn:CallActivity")?[{id:"propagateAllChildVariables",component:i0,isEdited:uW}]:[]}function i0(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=function(e){if(!Oi(e,"bpmn:CallActivity"))return;const t=Si(e),n=SJ(t);return n&&f(n,"propagateAllChildVariables")?n.get("propagateAllChildVariables"):function(e){const t=jJ(e);if(t)return!(t.length>0)}(e)}(t);return pW({id:"propagateAllChildVariables",label:i("Propagate all child process variables"),switcherLabel:i(o?"On":"Off"),tooltip:B_("div",{children:[B_("p",{children:i("If turned on, all variables from the child process instance will be propagated to the parent process instance.")}),B_("p",{children:i("Otherwise, only variables defined via output mappings will be propagated.")})]}),getValue:()=>o,setValue:e=>{const i=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=SJ(o);a||(a=aY("zeebe:CalledElement",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{propagateAllChildVariables:e}}}),n.execute("properties-panel.multi-command-executor",i)}})}function o0({element:e,injector:t}){if(!LJ(e))return null;const n=jJ(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-output-"+n;return{id:r,label:t.get("target")||"",entries:MJ({idPrefix:r,element:e,parameter:t}),autoFocusEntry:r+"-target",remove:s0({commandStack:i,element:e,parameter:t})}}));return{items:o,add:a0({element:e,bpmnFactory:r,commandStack:i})}}function s0({commandStack:e,element:t,parameter:n}){return function(r){r.stopPropagation();let i=[];const o=RJ(t);if(!o)return;const s=b(o.get("outputParameters"),n);if(i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{outputParameters:s}}}),!o.get("inputParameters").length&&!s.length){const e=Si(t).get("extensionElements"),n=b(e.get("values"),o);i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:e,properties:{values:n}}})}e.execute("properties-panel.multi-command-executor",i)}}function a0({element:e,bpmnFactory:t,commandStack:n}){return function(r){r.stopPropagation();let i=[];const o=Si(e);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:s}}}));let a=RJ(e);if(!a){a=BJ({inputParameters:[],outputParameters:[]},s,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}})}const l=aY("zeebe:Output",{target:lY("OutputVariable_")},a,t);i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{outputParameters:[...a.get("outputParameters"),l]}}}),n.execute("properties-panel.multi-command-executor",i)}}const l0="script",c0="jobWorker",p0="";function u0(e){const{element:t}=e;return Oi(t,"bpmn:ScriptTask")?[{id:"scriptImplementation",component:d0,isEdited:()=>function(e){return h0(e)||f0(e)}(t)}]:[]}function d0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate");return ZW({element:t,id:n,label:o("Implementation"),getValue:()=>f0(t)?l0:h0(t)?c0:p0,setValue:e=>{let n,o;e===l0?(n=f0(t),o="zeebe:Script"):e===c0?(n=h0(t),o="zeebe:TaskDefinition"):function(e,t){const n=Si(e),r=h0(e),i=function(e){const t=Si(e);return kK(t,"zeebe:TaskHeaders")}(e),o=f0(e);if(r){return void EK(e,n,[r,i].filter(Boolean),t)}o&&EK(e,n,o,t)}(t,r),!n&&o&&(n=aY(o,{},null,i),function(e,t,n,r){const i=Si(e),o=[];let s,a=i.get("extensionElements");a||(a=aY("bpmn:ExtensionElements",{values:[]},i,n),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{extensionElements:a}}}));if(t.$parent=a,Oi(t,"zeebe:TaskDefinition"))s=b(a.get("values"),f0(e));else if(Oi(t,"zeebe:Script")){const e=e=>Pi(e,["zeebe:TaskDefinition","zeebe:TaskHeaders"]);s=b(a.get("values"),e)}o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...s,t]}}}),r.execute("properties-panel.multi-command-executor",o)}(t,n,i,r))},getOptions:()=>[{value:p0,label:o("<none>")},{value:l0,label:o("FEEL expression")},{value:c0,label:o("Job worker")}]})}function h0(e){return kK(Si(e),"zeebe:TaskDefinition")[0]}function f0(e){return kK(Si(e),"zeebe:Script")[0]}function m0(e){const{element:t}=e;return Oi(t,"bpmn:ScriptTask")&&v0(t)?[{id:"resultVariable",component:y0,isEdited:oG},{id:"scriptExpression",component:g0,isEdited:SW}]:[]}function g0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return SK({element:t,id:n,label:o("FEEL expression"),feel:"required",getValue:()=>(v0(t)||{}).get("expression"),setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=v0(t);a||(a=aY("zeebe:Script",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{expression:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function y0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:t,id:n,label:o("Result variable"),getValue:()=>(v0(t)||{}).resultVariable,setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=v0(t);a||(a=aY("zeebe:Script",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{resultVariable:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function v0(e){return kK(Si(e),"zeebe:Script")[0]}function b0(e){const{element:t}=e;if(!function(e){return Oi(e,"bpmn:Event")&&!!iK(e)}(t))return[];let n=[];return oK(t)&&(n=[...n,{id:"signalName",component:w0,isEdited:SW}]),n}function w0(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=oK(t);return SK({element:t,id:"signalName",label:r("Name"),feel:"optional",getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function x0(e){const{element:t}=e;return Oi(t,"bpmn:CallActivity")?[{id:"targetProcessId",component:_0,isEdited:SW}]:[]}function _0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return SK({element:t,id:n,label:o("Process ID"),feel:"optional",getValue:()=>function(e){const t=SJ(e);return t?t.get("processId"):""}(t),setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=SJ(o);a||(a=aY("zeebe:CalledElement",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{processId:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function k0(e){const{element:t}=e;return NK(t)?[{id:"taskDefinitionType",component:E0,isEdited:SW},{id:"taskDefinitionRetries",component:O0,isEdited:SW}]:[]}function E0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return SK({element:t,id:n,label:o("Type"),feel:"optional",getValue:()=>(P0(t)||{}).type,setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=P0(t);a||(a=aY("zeebe:TaskDefinition",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{type:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function O0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return SK({element:t,id:n,label:o("Retries"),feel:"optional",getValue:()=>(P0(t)||{}).retries,setValue:e=>{let n=[];const o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=P0(t);a||(a=aY("zeebe:TaskDefinition",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{retries:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function P0(e){return kK(Si(e),"zeebe:TaskDefinition")[0]}function S0(e){const{element:t}=e;return Oi(t,"bpmn:UserTask")?[{id:"taskScheduleDueDate",component:C0,isEdited:SW},{id:"taskScheduleFollowUpDate",component:T0,isEdited:SW}]:[]}function C0(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"taskScheduleDueDate",label:i("Due date"),feel:"optional",getValue:()=>{const e=M0(t);if(e)return e.get("dueDate")},setValue:e=>{let i=[];const o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=M0(t);a||(a=aY("zeebe:TaskSchedule",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{dueDate:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function T0(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"taskScheduleFollowUpDate",label:i("Follow up date"),feel:"optional",getValue:()=>{const e=M0(t);if(e)return e.get("followUpDate")},setValue:e=>{let i=[];const o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=M0(t);a||(a=aY("zeebe:TaskSchedule",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{followUpDate:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function M0(e){return kK(Si(e),"zeebe:TaskSchedule")[0]}function A0(e,t){const n=Si(t);switch(e){case"timeDate":return Pi(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent","bpmn:StartEvent"]);case"timeCycle":return!((!Oi(t,"bpmn:StartEvent")||N0(n))&&D0(n))||!(!Oi(t,"bpmn:BoundaryEvent")||D0(n));case"timeDuration":return!!Pi(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])||!(!Oi(t,"bpmn:StartEvent")||!N0(n));default:return!1}}function D0(e){return Oi(e,"bpmn:BoundaryEvent")?!1!==e.get("cancelActivity"):!1!==e.get("isInterrupting")}function N0(e){const t=e.$parent;return t&&Oi(t,"bpmn:SubProcess")&&t.get("triggeredByEvent")}function R0(e){const{element:t,injector:n}=e,r=n.get("translate"),i=tK(nK(Si(t)));if(!eK(t))return[];const o=function(e,t){const n=[];A0("timeDate",e)&&n.push({value:"timeDate",label:t("Date")});A0("timeDuration",e)&&n.push({value:"timeDuration",label:t("Duration")});A0("timeCycle",e)&&n.push({value:"timeCycle",label:t("Cycle")});return n}(t,r),s=[];return s.push({id:"timerEventDefinitionType",component:j0,isEdited:XW,options:o}),i&&s.push({id:"timerEventDefinitionValue",component:I0,isEdited:SW,timerEventDefinitionType:i||o[0].value}),s}function j0(e){const{element:t,options:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=nK(Si(t)),a=tK(s);return ZW({element:t,id:"timerEventDefinitionType",label:o("Type"),getValue:()=>a||"",setValue:e=>{if(e===a)return;const n=L0(i,s),o={timeDuration:void 0,timeDate:void 0,timeCycle:void 0};""!==e&&(o[e]=n),r.execute("element.updateModdleProperties",{element:t,moddleElement:s,properties:o})},getOptions:e=>[{value:"",label:o("<none>")},...n]})}function I0(e){const{element:t,label:n,timerEventDefinitionType:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput"),a=gQ("bpmnFactory"),l=nK(Si(t)),c=l.get(r);return SK({element:t,id:"timerEventDefinitionValue",label:n||o("Value"),feel:"optional",getValue:()=>c&&c.get("body"),setValue:e=>{if(!c){const n=L0(a,l);return n.set("body",e),void i.execute("element.updateModdleProperties",{element:t,moddleElement:l,properties:{[r]:n}})}i.execute("element.updateModdleProperties",{element:t,moddleElement:c,properties:{body:e}})},debounce:s,tooltip:B0(r,o)})}function L0(e,t){const n=e.create("bpmn:FormalExpression",{body:void 0});return n.$parent=t,n}function B0(e,t){switch(e){case"timeDate":return B_("div",{children:[B_("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),B_("li",{children:[B_("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),B_("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-date",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]});case"timeCycle":return B_("div",{children:[B_("p",{children:t("A cycle defined as ISO 8601 repeating intervals format, or a cron expression.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),B_("li",{children:[B_("code",{children:"R/P1D"})," - ",t("every day, infinitely")]}),B_("li",{children:[B_("code",{children:"0 0 9-17 * * MON-FRI"})," - ",t("every hour on the hour from 9-5 p.m. UTC Monday-Friday")]})]}),B_("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-cycle",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]});case"timeDuration":return B_("div",{children:[B_("p",{children:t("A time duration defined as ISO 8601 durations format.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"PT15S"})," - ",t("15 seconds")]}),B_("li",{children:[B_("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),B_("li",{children:[B_("code",{children:"P14D"})," - ",t("14 days")]})]}),B_("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-duration",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]})}}const z0="zeebeUserTask",$0="jobWorker";function q0(e){const{element:t}=e;return Oi(t,"bpmn:UserTask")?[{id:"userTaskImplementation",component:F0,isEdited:()=>function(e){return V0(e)}(t)}]:[]}function F0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate");return ZW({element:t,id:n,label:o("Type"),getValue:()=>V0(t)?z0:$0,setValue:e=>{e===z0?function(e,t,n){const r=Si(e),i=aY("zeebe:UserTask",{},r,t);!function(e,t,n,r,i){const o=[];let s=t.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},t,r),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:t,properties:{extensionElements:s}}})),n.$parent=s,o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),n]}}}),i.execute("properties-panel.multi-command-executor",o)}(e,r,i,t,n)}(t,i,r):e===$0&&function(e,t){const n=V0(e);EK(e,Si(e),n,t)}(t,r)},getOptions:()=>[{value:z0,label:o("Zeebe user task")},{value:$0,label:o("Job worker")}]})}function V0(e){return kK(Si(e),"zeebe:UserTask")[0]}function H0(e){const{idPrefix:t,property:n}=e;return[{id:t+"-name",component:U0,idPrefix:t,property:n},{id:t+"-value",component:W0,idPrefix:t,property:n}]}function U0(e){const{idPrefix:t,element:n,property:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:r,id:t+"-name",label:o("Name"),getValue:()=>r.name,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{name:e}})},debounce:s})}function W0(e){const{idPrefix:t,element:n,property:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:r,id:t+"-value",label:o("Value"),getValue:()=>r.value,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{value:e}})},debounce:s})}function G0({element:e,injector:t,namespace:n="camunda"}){let r=X0(e);if(!r)return;const i=function(e,t="camunda"){const n=X0(e),r=K0(n,t);return r&&r.get(Y0(t))}(r,n)||[],o=t.get("bpmnFactory"),s=t.get("commandStack"),a=i.map(((t,r)=>{const i=e.id+"-extensionProperty-"+r;return{id:i,label:t.get("name")||"",entries:H0({idPrefix:i,element:e,property:t}),autoFocusEntry:i+"-name",remove:Q0({commandStack:s,element:e,property:t,namespace:n})}}));return{items:a,add:Z0({bpmnFactory:o,commandStack:s,element:e,namespace:n})}}function Q0({commandStack:e,element:t,property:n,namespace:r}){return function(i){i.stopPropagation();const o=[],s=X0(t),a=s.get("extensionElements"),l=K0(s,r);if(!l)return;const c=Y0(r),p=b(l.get(c),n);o.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:l,properties:{[c]:p}}}),p.length||o.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:b(a.get("values"),l)}}}),e.execute("properties-panel.multi-command-executor",o)}}function Z0({bpmnFactory:e,commandStack:t,element:n,namespace:r}){return function(i){i.stopPropagation();let o=[];const s=X0(n);let a=s.get("extensionElements");a||(a=aY("bpmn:ExtensionElements",{values:[]},s,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{extensionElements:a}}}));const l=Y0(r);let c=K0(s,r);if(!c){const t=a;c=aY(`${r}:Properties`,{[l]:[]},t,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{values:[...a.get("values"),c]}}})}const p=aY(`${r}:Property`,{},c,e);o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:c,properties:{[l]:[...c.get(l),p]}}}),t.execute("properties-panel.multi-command-executor",o)}}function X0(e){let t=Si(e);return Oi(e,"bpmn:Participant")?t.get("processRef"):t}function Y0(e="camunda"){return"zeebe"===e?"properties":"values"}function K0(e,t="camunda"){return kK(X0(e),`${t}:Properties`)[0]}const J0=[function(e,t){const n=t.get("translate"),r={id:"businessRuleImplementation",label:n("Implementation"),entries:[...BK({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"calledDecision",label:n("Called decision"),entries:[...FK({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"scriptImplementation",label:n("Implementation"),entries:[...u0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"script",label:n("Script"),entries:[...m0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"userTaskImplementation",label:n("Implementation"),entries:[...q0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"taskDefinition",label:n("Task definition"),entries:[...k0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"assignmentDefinition",label:n("Assignment"),entries:[...CK({element:e}),...S0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"form",label:n("Form"),entries:[...aJ({element:e,injector:t})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"condition",label:n("Condition"),entries:[...WK({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"calledElement",label:n("Called element"),entries:[...x0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"inputPropagation",label:n("Input propagation"),entries:[...CJ({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"inputs",label:n("Inputs"),component:VW,...zJ({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={id:"outputPropagation",label:n("Output propagation"),entries:[...r0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"outputs",label:n("Outputs"),component:VW,...o0({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={id:"headers",label:n("Headers"),component:VW,...EJ({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={label:n("Extension properties"),id:"Zeebe__ExtensionProperties",component:VW,...G0({element:e,injector:t,namespace:"zeebe"})};if(r.items)return r;return null}];let e1=class{constructor(e,t){e.registerProvider(500,this),this._injector=t}getGroups(e){return t=>(function(e,t){const n=t1(e,"error");if(!n)return;n.entries=n1(n.entries,function(e){const{element:t}=e,n=[];return LX(t)&&Oi(t,"bpmn:ThrowEvent")&&n.push({id:"errorCode",component:ZK,isEdited:SW}),n}({element:t}))}(t=t.concat(this._getGroups(e)),e),function(e,t){const n=t1(e,"escalation");if(!n)return;n.entries=n1(n.entries,function(e){const{element:t}=e;if(!Oi(t,"bpmn:ThrowEvent"))return[];const n=[];return UX(t)&&n.push({id:"escalationCode",component:XK,isEdited:SW}),n}({element:t}))}(t,e),function(e,t){const n=t1(e,"message");if(!n)return;n.entries=n1(n.entries,FJ({element:t}))}(t,e),function(e,t){const n=t1(e,"signal");if(!n)return;n.entries=n1(n.entries,b0({element:t}))}(t,e),function(e,t,n){const r=t1(e,"timer");if(!r)return;r.entries=[...R0({element:t,injector:n})]}(t,e,this._injector),function(e,t){const n=t1(e,"multiInstance");if(!n)return;n.entries=[...WJ({element:t})]}(t,e),t=function(e,t){const n=t1(e,"message");(function(e){return Oi(e,"bpmn:EndEvent")&&!!zX(e)}(t)||function(e){return Oi(e,"bpmn:IntermediateThrowEvent")&&!!zX(e)}(t))&&(e=e.filter((e=>e!=n)));return e}(t,e),t)}_getGroups(e){const t=J0.map((t=>t(e,this._injector)));return t.filter((e=>null!==e))}};function t1(e,t){return e.find((e=>e.id===t))}function n1(e,t){return[...e.filter((e=>!t.find((t=>t.id===e.id)))),...t]}e1.$inject=["propertiesPanel","injector"];var r1={__init__:["zeebePropertiesProvider"],zeebePropertiesProvider:["type",e1]};const i1={"group-assignmentDefinition":e=>{const t=gQ("translate");return B_("div",{children:[t("Define who the task is assigned to. One or all of the following attributes can be specified simultaneously. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/user-tasks/#assignments",target:"_blank",rel:"noopener",title:t("User task documentation"),children:t("Learn more.")})]})},"group-condition":e=>{const t=gQ("translate");return B_("div",{children:[t("Define a boolean condition expression that defines when this flow is taken. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/exclusive-gateways/#conditions",target:"_blank",rel:"noopener",title:t("Conditions documentation"),children:t("Learn how to define conditions.")})]})},"group-businessRuleImplementation":e=>{const t=gQ("translate");return B_("div",{children:[t("Evaluate a business rule, for example a DMN decision. To add a custom implementation, use a job worker. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Business rule task documentation"),children:t("Learn more.")})]})},"group-scriptImplementation":e=>{const t=gQ("translate");return B_("div",{children:[t("Implement a script task using an inline FEEL expression. To add a custom implementation, use a job worker. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/script-tasks/#defining-a-script-task",target:"_blank",rel:"noopener",title:t("Script task documentation"),children:t("Learn more.")})]})},"group-userTaskImplementation":e=>{const t=gQ("translate");return B_("div",{children:[t("Implement a user task managed by Zeebe. To add a custom implementation, use a job worker. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/user-tasks/#define-a-user-task",target:"_blank",rel:"noopener",title:t("User task documentation"),children:t("Learn more.")})]})},"group-form":e=>{const t=gQ("translate");return oJ(e)?B_("div",{children:[t("Link a form created with the Camunda Forms editor. To associate a custom form, application, or URL to the user task, specify an external reference. "),B_("a",{href:"https://docs.camunda.io/docs/guides/utilizing-forms/#link-your-form-to-a-bpmn-diagram",target:"_blank",rel:"noopener",title:t("User task form documentation"),children:t("Learn more.")})]}):B_("div",{children:[t("Link or embed a form created with the Camunda Forms editor. To associate a custom form, application, or URL to the user task, specify a form key. "),B_("a",{href:"https://docs.camunda.io/docs/guides/utilizing-forms/#link-your-form-to-a-bpmn-diagram",target:"_blank",rel:"noopener",title:t("User task form documentation"),children:t("Learn more.")})]})},"group-calledDecision":e=>{const t=gQ("translate");return B_("div",{children:[t("Define the decision to evaluate and how to map back the evaluation result. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#defining-a-called-decision",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("Learn more.")})]})},"group-message":e=>{const t=gQ("translate");return Oi(e,"bpmn:ReceiveTask")?B_("div",{children:[t("Define the name of the message (e.g. "),B_("code",{children:"Money collected"}),t(") and the "),B_("code",{children:"correlationKey"}),t(" expression (e.g. "),B_("code",{children:"= orderId"}),t(")"),t(" to subscribe to. "),t("Learn more how to "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/send-tasks",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("send ")}),t("and "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/receive-tasks",target:"_blank",rel:"noopener",title:t("Receive task documentation"),children:t("receive messages. ")})]}):B_("div",{children:[t("Define the name of the message (e.g. "),B_("code",{children:"Money collected"}),t(") and the "),B_("code",{children:"correlationKey"}),t(" expression (e.g. "),B_("code",{children:"= orderId"}),t(")"),t(" to subscribe to. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/message-events/#messages",target:"_blank",rel:"noopener",title:t("Message event documentation"),children:t("Learn more.")})]})},"group-calledElement":e=>{const t=gQ("translate");return B_("div",{children:[t("Define the ID of the process to call (e.g. ")," ",B_("code",{children:"shipping-process"}),t(" or "),B_("code",{children:'= "shipping-" + tenantId'})," ",t("). "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/call-activities/",target:"_blank",rel:"noopener",title:t("Call activity documentation"),children:t("Learn more.")})]})},"group-taskDefinition":e=>{const t=gQ("translate");return Oi(e,"bpmn:ServiceTask")?B_("div",{children:[t("Specify which job workers handle the task work to execute a service (e.g. "),B_("code",{children:"order-items"}),t("). "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/service-tasks",target:"_blank",rel:"noopener",title:t("Service task documentation"),children:t("Learn more.")})]}):Oi(e,"bpmn:BusinessRuleTask")?B_("div",{children:[t("Specify which job workers handle the task work to evaluate business rules. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#job-worker-implementation",target:"_blank",rel:"noopener",title:t("Business rule task documentation"),children:t("Learn more.")})]}):Oi(e,"bpmn:ScriptTask")?B_("div",{children:[t("Specify which job workers handle the task work to execute a script. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/script-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Script task documentation"),children:t("Learn more.")})]}):Oi(e,"bpmn:SendTask")?B_("div",{children:[t("Specify which job workers handle the task work to send a message (e.g. "),B_("code",{children:"kafka"}),t(" or "),B_("code",{children:"mail"}),t("). "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/send-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("Learn more.")})]}):Oi(e,"bpmn:ThrowEvent")?B_("div",{children:[t("Specify which job workers handle the event work. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/message-events/#message-throw-events",target:"_blank",rel:"noopener",title:t("Message throw event documentation"),children:t("Learn more.")})]}):void 0},"group-multiInstance":e=>{const t=gQ("translate");return B_("div",{children:[t("Execute this task for each element of a given collection. "),B_("br",{}),t("Define an input collection expression that defines the collection to iterate over (e.g. "),B_("code",{children:"= items"}),t("). "),t("To collect the output define the output collection and the output element expressions. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/multi-instance/#defining-the-collection-to-iterate-over",target:"_blank",rel:"noopener",title:t("Multi instance documentation"),children:t("Learn more.")})]})},"group-error":e=>{const t=gQ("translate");return B_("div",{children:[t("Define an error code (e.g. "),B_("code",{children:"order-not-found"}),t("). "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/error-events/#defining-the-error",target:"_blank",rel:"noopener",title:t("Error event documentation"),children:t("Learn more.")})]})},"group-inputs":e=>{const t=gQ("translate");return B_("div",{children:[t("Create a new local variable in the scope of this task. "),B_("a",{href:"https://docs.camunda.io/docs/components/concepts/variables/#input-mappings",target:"_blank",rel:"noopener",title:t("Input mappings documentation"),children:t("Learn more.")})]})},"group-outputs":e=>{const t=gQ("translate");return B_("div",{children:[t("Customize how result variables are merged into the global scope of the process instance. "),B_("a",{href:"https://docs.camunda.io/docs/components/concepts/variables/#output-mappings",target:"_blank",rel:"noopener",title:t("Output mappings documentation"),children:t("Learn more.")})]})},taskDefinitionRetries:e=>{const t=gQ("translate");return B_("div",{children:B_("p",{children:[t("The number of times the engine tries executing this activity if a worker signals a failure. The default is three.")," "," ",B_("a",{href:"https://docs.camunda.io/docs/next/components/best-practices/development/dealing-with-problems-and-exceptions/#leveraging-retries",target:"_blank",rel:"noopener",children:t("Learn more.")})]})})}};function o1(e={}){bw.call(this,e)}function s1(e,t=void 0){const n=Si(e).get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>Oi(e,t))):r:[]}function a1(e,t,n,r){c(n)||(n=[n]);const i=t.get("extensionElements"),o=i.get("values").filter((e=>!n.includes(e)));r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:o}})}e(o1,bw),o1.prototype.getModules=function(e={}){return[...bw.prototype.getModules.call(this,e),e.disableAdjustOrigin?Fw:Uw,e.disableGrid?{}:Lw]},o1.prototype._extensionModules=[Nw,tx,RX,_K],o1.prototype._modules=[].concat(bw.prototype._modules,o1.prototype._extensionModules);class l1 extends Wo{constructor(e,t){super(t),this.preExecute("element.updateModdleProperties",5e3,(function(e){const{element:t,moddleElement:n,properties:r}=e;if(!Oi(t,"bpmn:BusinessRuleTask")||!Oi(n,"bpmn:ExtensionElements")||!r.values)return;const i=c1(t),o=p1(t);i&&!o&&r.values.find((e=>Oi(e,"zeebe:CalledDecision")))&&r.values.find((e=>Oi(e,"zeebe:TaskDefinition")))&&(r.values=b(r.values,i))}),!0),this.preExecute("element.updateModdleProperties",5e3,(function(e){const{element:t,moddleElement:n,properties:r}=e;if(!Oi(t,"bpmn:BusinessRuleTask")||!Oi(n,"bpmn:ExtensionElements")||!r.values)return;const i=c1(t),o=p1(t),s=function(e){const t=Si(e);return s1(t,"zeebe:TaskHeaders")[0]}(t);!i&&(o||s)&&r.values.find((e=>Oi(e,"zeebe:CalledDecision")))&&r.values.find((e=>Oi(e,"zeebe:TaskDefinition")||Oi(e,"zeebe:TaskHeaders")))&&(r.values=b(r.values,(e=>e===o||e===s)))}),!0)}}function c1(e){return s1(Si(e),"zeebe:CalledDecision")[0]}function p1(e){return s1(Si(e),"zeebe:TaskDefinition")[0]}l1.$inject=["commandStack","eventBus"];class u1 extends Wo{constructor(e,t){super(e),this.postExecuted("shape.replace",(function(e){const{context:n}=e,{newShape:r}=n;if(!Oi(r,"bpmn:EndEvent")||!function(e){const t=Si(e),n=t.get("eventDefinitions")||[];return m(n,(function(e){return Oi(e,"bpmn:ErrorEventDefinition")}))}(r))return;const i=function(e){const t=Si(e).get("extensionElements");if(!t)return null;const n=t.get("values");if(!n)return null;return m(n,(e=>Oi(e,"zeebe:IoMapping")))}(r);if(!i)return;const o=Si(r).get("extensionElements"),s=b(o.get("values"),i);t.updateModdleProperties(r,o,{values:s})}))}}u1.$inject=["eventBus","modeling"];class d1 extends Wo{constructor(e,t){super(e),this.postExecuted(["element.updateProperties","element.updateModdleProperties"],(e=>{const n=e.shape||e.newShape||e.element;if(n.labelTarget)return;if(!Oi(n,"bpmn:Event"))return;const r=function(e){const t=Si(e);return t.get("eventDefinitions").find((e=>Oi(e,"bpmn:MessageEventDefinition")))}(n);if(!r)return;const i=r.get("messageRef");if(!i)return;const o=function(e){return s1(e,"zeebe:Subscription")[0]}(i);o&&function(e){const t=e.$descriptor;return t.properties.every((t=>void 0===e.get(t.name)))}(o)&&a1(n,i,o,t)}),!0)}}function h1(e,t){const n=Si(t);switch(e){case"timeDate":return Pi(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent","bpmn:StartEvent"]);case"timeCycle":return!((!Oi(t,"bpmn:StartEvent")||m1(n))&&f1(n))||!(!Oi(t,"bpmn:BoundaryEvent")||f1(n));case"timeDuration":return!!Pi(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])||!(!Oi(t,"bpmn:StartEvent")||!m1(n));default:return!1}}function f1(e){return Oi(e,"bpmn:BoundaryEvent")?!1!==e.get("cancelActivity"):!1!==e.get("isInterrupting")}function m1(e){const t=e.$parent;return t&&Oi(t,"bpmn:SubProcess")&&t.get("triggeredByEvent")}d1.$inject=["eventBus","commandStack"];class g1 extends Wo{constructor(e,t){super(e),this.postExecuted(["shape.move","shape.replace","element.updateProperties","element.updateModdleProperties"],(e=>{const n=e.shape||e.newShape||e.element;if(n.labelTarget)return;if(!Oi(n,"bpmn:Event"))return;const r=function(e){return Si(e).get("eventDefinitions").find((e=>Oi(e,"bpmn:TimerEventDefinition")))}(n);if(!r)return;const i={};["timeCycle","timeDate","timeDuration"].forEach((e=>{r.get(e)&&!h1(e,n)&&(i[e]=void 0)})),Object.keys(i).length&&t.updateModdleProperties(n,r,i)}),!0)}}g1.$inject=["eventBus","modeling"];const y1="*",v1=["timeCycle","timeDate","timeDuration"],b1=["zeebe:Input","zeebe:LoopCharacteristics","zeebe:TaskDefinition","zeebe:TaskHeaders","zeebe:Subscription"];class w1{constructor(e){e.on("moddleCopy.canCopyProperty",(e=>{const{parent:t,property:n,propertyName:r}=e;return this.canCopyProperty(n,t,r)}))}canCopyProperty(e,t,n){return!(p(e)&&!function(e,t){const n=e.$type&&e.$model.getTypeDescriptor(e.$type),r=n&&n.meta&&n.meta.allowedIn;if(!r||function(e){return-1!==e.indexOf(y1)}(r))return!0;return _(r,(function(e){return x1(t,e)}))}(e,t))&&(!!this.canHostServiceTaskLikeProperties(e,t)&&(!!this.canHostTimerExpression(e,t,n)&&void 0))}canHostServiceTaskLikeProperties(e,t){if(function(e){return b1.some((t=>Oi(e,t)))}(e)){const e=x1(t,"bpmn:IntermediateThrowEvent")||x1(t,"bpmn:EndEvent");if(e)return function(e){const t=e.get("eventDefinitions");return t.some((e=>Oi(e,"bpmn:MessageEventDefinition")))}(e)}return!0}canHostTimerExpression(e,t,n){return!Oi(t,"bpmn:TimerEventDefinition")||!v1.includes(n)||h1(n,t.$parent)}}function x1(e,t){return t?Oi(e,t)?e:e.$parent?x1(e.$parent,t):void 0:e.$parent}function _1(e,t,n,r){var i=r.create(e,t);return i.$parent=n,i}function k1(e){const t=function(e){const t=Si(e);return s1(t,"zeebe:CalledElement")}(e);return t[0]}w1.$inject=["eventBus"];class E1 extends Wo{constructor(e,t,n){super(t),this.postExecuted("shape.create",5e3,(function(t){const{shape:r}=t;if(!Oi(r,"bpmn:CallActivity"))return;const i=Si(r);let o=k1(i);if(o)f(o,"propagateAllChildVariables")||n.updateModdleProperties(r,o,{propagateAllChildVariables:!1});else{let t=i.get("extensionElements");t||(t=_1("bpmn:ExtensionElements",{values:[]},i,e),n.updateProperties(r,{extensionElements:t})),o=_1("zeebe:CalledElement",{propagateAllChildVariables:!1},t,e),n.updateModdleProperties(r,t,{values:[...t.values||[],o]})}}),!0)}}E1.$inject=["bpmnFactory","eventBus","modeling"];class O1 extends Wo{constructor(e,t,n){super(e),this.postExecuted("shape.delete",250,(function(e){const{collaborationRoot:r,shape:i}=e,o=t.getRootElement();if(Oi(i,"bpmn:Participant")&&r&&!r.businessObject.get("participants").length&&Oi(o,"bpmn:Process")){const e=i.businessObject.get("processRef");if(!e)return;n.updateProperties(o,{isExecutable:e.get("isExecutable")})}}),!0)}}O1.$inject=["eventBus","canvas","modeling"];const P1=new n([32,32,1]);const S1="camunda-forms:bpmn:";function C1(e){return s1(Si(e),"zeebe:FormDefinition")[0]}function T1(e,t={}){let{formKey:n,rootElement:r}=t;if(r=r||N1(e),!n){const t=C1(e);if(!t)return;n=t.get("formKey")}return s1(r,"zeebe:UserTaskForm").find((e=>M1(e.get("id"))===n))}function M1(e){return`${S1}${e}`}function A1(e){return e&&e.startsWith(S1)}function D1(){return function(e){return P1.nextPrefixed(e)}("UserTaskForm_")}function N1(e){let t=Si(e);for(;t.$parent&&!Oi(t,"bpmn:Process");)t=t.$parent;return t}class R1 extends Wo{constructor(e,t,n){function r(e,t,r){const i=t.get("extensionElements"),o=b(i.get("values"),r);n.updateModdleProperties(e,i,{values:o}),o.length||n.updateModdleProperties(e,t,{extensionElements:void 0})}super(t),this._modeling=n,this.postExecute("shape.delete",(function(e){const{oldParent:t,shape:n}=e,i=N1(t),o=T1(n,{rootElement:i});Oi(n,"bpmn:UserTask")&&o&&r(n,i,o)}),!0),this.postExecute("shape.create",(function(t){const{shape:r}=t,i=C1(r);if(!Oi(r,"bpmn:UserTask")||!i)return;const o=T1(r),s=N1(r),a=Si(r).get("extensionElements");let l=s.get("extensionElements");l||(l=_1("bpmn:ExtensionElements",{values:[]},s,e),n.updateModdleProperties(r,s,{extensionElements:l}));let c=a.get("values").filter((e=>e!==i));const p=D1(),u=_1("zeebe:FormDefinition",{formKey:M1(p)},a,e);c=[...c,u],n.updateModdleProperties(r,a,{values:c});const d=_1("zeebe:UserTaskForm",{id:p,body:o?o.get("body"):""},l,e);n.updateModdleProperties(r,l,{values:[...l.get("values")||[],d]})}),!0),this.preExecute("element.updateModdleProperties",(function(e){const{moddleElement:t,properties:n}=e;Oi(t,"zeebe:FormDefinition")&&("formId"in n?(n.formKey=void 0,n.externalReference=void 0):"formKey"in n?(n.formId=void 0,n.externalReference=void 0):"externalReference"in n&&(n.formId=void 0,n.formKey=void 0))}),!0),this.postExecute("element.updateModdleProperties",(function(e){const{element:t,moddleElement:i,oldProperties:o}=e;if(Oi(i,"zeebe:FormDefinition")){const e=i.get("formKey");if(!e||!A1(e)){const e=T1(t,{formKey:o.formKey});e&&r(t,N1(t),e)}}else if(function(e,t){const{moddleElement:n,oldProperties:r,properties:i}=e;return Oi(n,"bpmn:ExtensionElements")&&"values"in r&&"values"in i&&r.values.find((e=>Oi(e,t)))&&!i.values.find((e=>Oi(e,t)))}(e,"zeebe:FormDefinition")){const e=T1(t,{formKey:o.values.find((e=>Oi(e,"zeebe:FormDefinition"))).get("formKey")});e&&r(t,N1(t),e),i.get("values").length||n.updateProperties(t,{extensionElements:void 0})}}),!0),this._registerZeebeUserTaskSupport()}_registerZeebeUserTaskSupport(){this.postExecute("element.updateModdleProperties",(({element:e})=>{if(!Oi(e,"bpmn:UserTask")||!j1(e))return;const t=C1(e);if(!t)return;const n=t.get("formKey");s(n)||(A1(n)?this._modeling.updateModdleProperties(e,t,{formKey:void 0}):this._modeling.updateModdleProperties(e,t,{externalReference:n}))}),!0),this.postExecute("element.updateModdleProperties",(({element:e})=>{if(!Oi(e,"bpmn:UserTask")||j1(e))return;const t=C1(e);if(!t)return;const n=t.get("externalReference");s(n)||this._modeling.updateModdleProperties(e,t,{externalReference:void 0,formKey:n})}),!0)}}function j1(e){return s1(e,"zeebe:UserTask").length}R1.$inject=["bpmnFactory","eventBus","modeling"];class I1 extends Wo{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",5e3,(function(t){const{element:n,moddleElement:r}=t;if(!Oi(r,"zeebe:AssignmentDefinition"))return;const i=r;if(Oi(n,"bpmn:UserTask")&&s(i.get("zeebe:assignee"))&&s(i.get("zeebe:candidateGroups"))&&s(i.get("zeebe:candidateUsers"))){a1(n,Si(n),i,e)}}),!0)}}I1.$inject=["commandStack","eventBus"];class L1 extends Wo{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",5e3,(function(t){const{element:n,moddleElement:r}=t;if(!Oi(r,"zeebe:TaskSchedule"))return;const i=r;if(Oi(n,"bpmn:UserTask")&&s(i.get("zeebe:dueDate"))&&s(i.get("zeebe:followUpDate"))){a1(n,Si(n),i,e)}}),!0)}}L1.$inject=["commandStack","eventBus"];var B1={__init__:["cleanUpBusinessRuleTaskBehavior","cleanUpEndEventBehavior","cleanUpSubscriptionBehavior","cleanUpTimerExpressionBehavior","copyPasteBehavior","createZeebeCallActivityBehavior","deleteParticipantBehaviour","formsBehavior","removeAssignmentDefinitionBehavior","removeTaskScheduleBehavior"],cleanUpBusinessRuleTaskBehavior:["type",l1],cleanUpEndEventBehavior:["type",u1],cleanUpSubscriptionBehavior:["type",d1],cleanUpTimerExpressionBehavior:["type",g1],copyPasteBehavior:["type",w1],createZeebeCallActivityBehavior:["type",E1],deleteParticipantBehaviour:["type",O1],formsBehavior:["type",R1],removeAssignmentDefinitionBehavior:["type",I1],removeTaskScheduleBehavior:["type",L1]};let z1;const $1=new Uint8Array(16);function q1(){if(!z1&&(z1="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!z1))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return z1($1)}const F1=[];for(let e=0;e<256;++e)F1.push((e+256).toString(16).slice(1));var V1={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function H1(e,t,n){if(V1.randomUUID&&!t&&!e)return V1.randomUUID();const r=(e=e||{}).random||(e.rng||q1)();return r[6]=15&r[6]|64,r[8]=63&r[8]|128,function(e,t=0){return F1[e[t+0]]+F1[e[t+1]]+F1[e[t+2]]+F1[e[t+3]]+"-"+F1[e[t+4]]+F1[e[t+5]]+"-"+F1[e[t+6]]+F1[e[t+7]]+"-"+F1[e[t+8]]+F1[e[t+9]]+"-"+F1[e[t+10]]+F1[e[t+11]]+F1[e[t+12]]+F1[e[t+13]]+F1[e[t+14]]+F1[e[t+15]]}(r)}var U1=function(e,t){for(var n=e.split("."),r=t.split("."),i=0;i<3;i++){var o=Number(n[i]),s=Number(r[i]);if(o>s)return 1;if(s>o)return-1;if(!isNaN(o)&&isNaN(s))return 1;if(isNaN(o)&&!isNaN(s))return-1}return 0},W1=$_(U1);function G1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Q1={exports:{}},Z1={};Object.defineProperty(Z1,"__esModule",{value:!0});const X1=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var s=o[i];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n};X1.code='require("ajv/dist/runtime/equal").default',Z1.default=X1,Q1.exports=u2,Q1.exports.default=u2;const Y1={type:"object",allOf:[{required:["name","id","appliesTo","properties"],properties:{name:{$id:"#/name",type:"string",description:"The name of the element template."},id:{$id:"#/id",type:"string",description:"The identifier of the element template."},description:{$id:"#/description",type:"string",description:"The description of the element template."},version:{$id:"#/version",type:"integer",description:"Optional version of the template. If you add a version to a template it will be considered unique based on its ID and version. Two templates can have the same ID if their version is different."},isDefault:{$id:"#/isDefault",type:"boolean",description:"Indicates whether the element template is a default template."},deprecated:{$id:"#/deprecated",type:["boolean","object"],description:"Indicates whether the element template is deprecated.",properties:{message:{$id:"#/deprecated/message",type:"string",description:"Optional message to describe migration path."},documentationRef:{$id:"#/deprecated/documentationRef",type:"string",pattern:"^(https|http)://.*",description:"Optional link to migration documentation."}}},appliesTo:{$id:"#/appliesTo",type:"array",description:"List of BPMN types the template can be applied to.",default:[],items:{$id:"#/appliesTo/items",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:Task","bpmn:ServiceTask","bpmn:SequenceFlow","bpmn:Process","bpmn:StartEvent","bpmn:Gateway"]}],errorMessage:{pattern:'invalid item for "appliesTo", should contain namespaced property, example: "bpmn:Task"'}}},elementType:{$id:"#/elementType",type:"object",description:"The BPMN type the element will be transformed into.",default:{},required:["value"],properties:{value:{$id:"#/elementType/value",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:ServiceTask","bpmn:UserTask","bpmn:StartEvent","bpmn:ExclusiveGateway","bpmn:ParallelGateway"]}],errorMessage:{pattern:'invalid item for "elementType", should contain namespaced property, example: "bpmn:Task"'}}},errorMessage:{required:{value:"missing elementType value"}}},metadata:{$id:"#/metadata",type:"object",description:"Some custom properties for further configuration.",default:{}},entriesVisible:{$id:"#/entriesVisible",type:"boolean",description:"Select whether non-template entries are visible in the properties panel."},groups:{$id:"#/groups",type:"array",description:"Custom fields can be ordered together via groups.",allOf:[{examples:[[{id:"group-1",label:"My Group"}]]}],items:{$id:"#/groups/group",type:"object",default:{},required:["id","label"],properties:{id:{$id:"#/groups/group/id",type:"string",description:"The id of the custom group"},label:{$id:"#/groups/group/label",type:"string",description:"The label of the custom group"}},errorMessage:{required:{id:'missing id for group "${0#}"',label:'missing label for group "${0#}"'}}}},documentationRef:{$id:"#/documentationRef",type:"string",pattern:"^(https|http)://.*",errorMessage:{pattern:'Malformed documentation URL, must match "^(https|http)://.*"'}}},errorMessage:{required:{name:"missing template name",id:"missing template id",appliesTo:"missing appliesTo=[]",properties:"missing properties=[]"}}}],properties:{properties:{$ref:"#/definitions/properties",$id:"#/properties"},scopes:{$id:"#/scopes",type:"array",description:"Special scoped bindings that allow you to configure nested elements.",allOf:[{examples:[[{type:"bpmn:Error",id:"Error_1",properties:[{value:"error-code",binding:{type:"property",name:"errorCode"}},{value:"error-message",binding:{type:"property",name:"camunda:errorMessage"}},{value:"error-name",binding:{type:"property",name:"name"}}]}]]}],items:{$id:"#/scopes/item",type:"object",default:{},properties:{type:{$id:"#scopes/item/type",type:"string",description:"The type of a scope.",enum:["camunda:Connector","bpmn:Error"],errorMessage:"invalid scope type ${0}; must be any of { camunda:Connector, bpmn:Error }"},properties:{$id:"#/scopes/properties",description:"List of properties of a scope.",default:[],allOf:[{$ref:"#/definitions/properties/allOf/0"},{$ref:"#/definitions/properties/allOf/1"}]}},required:["type","properties"],allOf:[{if:{properties:{type:{enum:["bpmn:Error"]}},required:["type"]},then:{required:["id"],errorMessage:"invalid scope ${0/type}, missing id"}}],errorMessage:{required:{type:"invalid scope, missing type",properties:"invalid scope ${0/type}, missing properties=[]"}}}}}},K1={$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'}}}},{if:{properties:{binding:{properties:{type:{const:"camunda:executionListener"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["Hidden"],errorMessage:'invalid property type ${1/type} for binding type "camunda:executionListener"; must be "Hidden"'},binding:{properties:{implementationType:{enum:["class","delegateExpression","expression","script"]}},oneOf:[{not:{properties:{implementationType:{const:"script"}}}},{required:["scriptFormat"]},{allOf:[{not:{required:["implementationType"]}},{not:{required:["scriptFormat"]}}]}]}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:property","camunda:outputParameter","camunda:in","camunda:in:businessKey","camunda:out","camunda:errorEventDefinition"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Hidden, Dropdown }"}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:inputParameter","camunda:field"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"}}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Camunda extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","camunda:property","camunda:inputParameter","camunda:field"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"camunda:outputParameter"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"camunda:in"}},required:["type"]},then:{anyOf:[{required:["variables"]},{required:["target"]}],errorMessage:"property.binding ${0/type} requires variables, target, or both"}},{if:{properties:{type:{const:"camunda:out"}},required:["type"]},then:{oneOf:[{required:["variables"],not:{anyOf:[{required:["source"]},{required:["sourceExpression"]}]}},{required:["source"],not:{anyOf:[{required:["variables"]},{required:["sourceExpression"]}]}},{required:["sourceExpression"],not:{anyOf:[{required:["variables"]},{required:["source"]}]}},{required:["variables","sourceExpression"],not:{required:["source"]}},{required:["variables","source"],not:{required:["sourceExpression"]}}],errorMessage:"property.binding ${0/type} requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"}},{if:{properties:{type:{const:"camunda:errorEventDefinition"}},required:["type"]},then:{oneOf:[{required:["errorRef"]}],errorMessage:"property.binding ${0/type} requires errorRef"}},{examples:[{type:"property",name:"name"},{type:"camunda:property",name:"property"},{type:"camunda:inputParameter",name:"input"},{type:"camunda:outputParameter",source:"output"},{type:"camunda:in",target:"target"},{type:"camunda:in:businessKey"},{type:"camunda:out",source:"output"},{type:"camunda:executionListener",event:"start"},{type:"camunda:field",name:"field"},{type:"camunda:errorEventDefinition",errorRef:"error"},{type:"camunda:errorEventDefinition",errorRef:"error"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",enum:["property","camunda:property","camunda:inputParameter","camunda:outputParameter","camunda:in","camunda:out","camunda:in:businessKey","camunda:executionListener","camunda:field","camunda:errorEventDefinition"],description:"The type of a property binding.",errorMessage:"invalid property.binding type ${0}; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},event:{$id:"#/properties/property/binding/event",type:"string",description:"The event type of a property binding (camunda:executionListener)."},scriptFormat:{$id:"#/properties/property/binding/scriptFormat",type:"string",description:"The script format of a property binding (camunda:outputParameter, camunda:inputParameter)."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (camunda:outputParameter, camunda:out)."},target:{$id:"#/properties/property/binding/target",type:"string",description:"The target value of a property binding (camunda:in)."},expression:{$id:"#/properties/property/binding/expression",type:"boolean",description:"Indicates whether the control field value is an expression (camunda:in, camunda:field)."},variables:{$id:"#/properties/property/binding/variables",type:"string",enum:["all","local"],description:"The variable mapping of a property binding (camunda:in)."},sourceExpression:{$id:"#/properties/property/binding/sourceExpression",type:"string",description:"The string containing the expression for the source attribute (camunda:out)."}}}},errorMessage:{required:'missing binding for property "${0#}"'}}},J1=new RegExp("^(https|http)://.*","u"),e2=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),t2={required:"missingProperty",dependencies:"property",dependentRequired:"property"},n2={allOf:[{type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}},{definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},condition:{type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}},{if:{oneOf:[{properties:{type:{enum:["String","Text"]}},required:["type"]},{not:{required:["type"]}}]},then:{properties:{placeholder:{type:"string"}}},else:{not:{required:["placeholder"]}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."}}}},{$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'}}}},{if:{properties:{binding:{properties:{type:{const:"camunda:executionListener"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["Hidden"],errorMessage:'invalid property type ${1/type} for binding type "camunda:executionListener"; must be "Hidden"'},binding:{properties:{implementationType:{enum:["class","delegateExpression","expression","script"]}},oneOf:[{not:{properties:{implementationType:{const:"script"}}}},{required:["scriptFormat"]},{allOf:[{not:{required:["implementationType"]}},{not:{required:["scriptFormat"]}}]}]}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:property","camunda:outputParameter","camunda:in","camunda:in:businessKey","camunda:out","camunda:errorEventDefinition"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Hidden, Dropdown }"}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:inputParameter","camunda:field"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"}}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Camunda extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","camunda:property","camunda:inputParameter","camunda:field"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"camunda:outputParameter"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"camunda:in"}},required:["type"]},then:{anyOf:[{required:["variables"]},{required:["target"]}],errorMessage:"property.binding ${0/type} requires variables, target, or both"}},{if:{properties:{type:{const:"camunda:out"}},required:["type"]},then:{oneOf:[{required:["variables"],not:{anyOf:[{required:["source"]},{required:["sourceExpression"]}]}},{required:["source"],not:{anyOf:[{required:["variables"]},{required:["sourceExpression"]}]}},{required:["sourceExpression"],not:{anyOf:[{required:["variables"]},{required:["source"]}]}},{required:["variables","sourceExpression"],not:{required:["source"]}},{required:["variables","source"],not:{required:["sourceExpression"]}}],errorMessage:"property.binding ${0/type} requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"}},{if:{properties:{type:{const:"camunda:errorEventDefinition"}},required:["type"]},then:{oneOf:[{required:["errorRef"]}],errorMessage:"property.binding ${0/type} requires errorRef"}},{examples:[{type:"property",name:"name"},{type:"camunda:property",name:"property"},{type:"camunda:inputParameter",name:"input"},{type:"camunda:outputParameter",source:"output"},{type:"camunda:in",target:"target"},{type:"camunda:in:businessKey"},{type:"camunda:out",source:"output"},{type:"camunda:executionListener",event:"start"},{type:"camunda:field",name:"field"},{type:"camunda:errorEventDefinition",errorRef:"error"},{type:"camunda:errorEventDefinition",errorRef:"error"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",enum:["property","camunda:property","camunda:inputParameter","camunda:outputParameter","camunda:in","camunda:out","camunda:in:businessKey","camunda:executionListener","camunda:field","camunda:errorEventDefinition"],description:"The type of a property binding.",errorMessage:"invalid property.binding type ${0}; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},event:{$id:"#/properties/property/binding/event",type:"string",description:"The event type of a property binding (camunda:executionListener)."},scriptFormat:{$id:"#/properties/property/binding/scriptFormat",type:"string",description:"The script format of a property binding (camunda:outputParameter, camunda:inputParameter)."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (camunda:outputParameter, camunda:out)."},target:{$id:"#/properties/property/binding/target",type:"string",description:"The target value of a property binding (camunda:in)."},expression:{$id:"#/properties/property/binding/expression",type:"boolean",description:"Indicates whether the control field value is an expression (camunda:in, camunda:field)."},variables:{$id:"#/properties/property/binding/variables",type:"string",enum:["all","local"],description:"The variable mapping of a property binding (camunda:in)."},sourceExpression:{$id:"#/properties/property/binding/sourceExpression",type:"string",description:"The string containing the expression for the source attribute (camunda:out)."}}}},errorMessage:{required:'missing binding for property "${0#}"'}}}]},r2={required:["property"],properties:{property:{const:{$data:"2/id"}}}},i2={type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}},o2=Z1.default;function s2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const a=s;let l=!1,c=null;const p=s,u=s;let d=!1,h=null;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=f===s)&&(d=!0,h=0);const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((g=m===s)&&d)d=!1,h=[h,1];else{g&&(d=!0,h=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var g;(g=n===s)&&d?(d=!1,h=[h,2]):g&&(d=!0,h=2)}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(r=t2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():i2.errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}(b=p===s)&&(l=!0,c=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={instancePath:t,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let r=0;r<e;r++){let e=n[r];const i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(v=c===s)&&(a=!0,l=0);const p=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/allMatch/"+r+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((v=p===s)&&a)a=!1,l=[l,1];else{v&&(a=!0,l=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var v;(v=n===s)&&a?(a=!1,l=[l,2]):v&&(a=!0,l=2)}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=t2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():i2.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}var b;if((b=y===s)&&l?(l=!1,c=[c,1]):b&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return s2.errors=o,0===s}function a2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const g=s;let y=!0;const v=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=v===s;if(s=g,null!==o&&(g?o.length=g:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}y=a=e===s}if(!y){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const b=s;let w=!0;const x=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!o2(e.property,r2.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=x===s;if(s=b,null!==o&&(b?o.length=b:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[36]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}w=l=e===s}if(!w){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={instancePath:t+"/"+r+"/id",schemaPath:"#/allOf/0/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=t2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():i2.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let i=0;i<e;i++){let e=n[i];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=t2[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():i2.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const _=s;let k=!0;const E=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){const e=s,t=s;if("Number"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var d=E===s;if(s=_,null!==o&&(_?o.length=_:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:n2.allOf[0].items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}k=d=e===s}if(!k){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!0;const S=s,C=s;let T=!1;const M=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={};null===o?o=[e]:o.push(e),s++}}(h=M===s)&&(T=!0);const A=s,D=s,N=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}var h;if(N===s){const e={};null===o?o=[e]:o.push(e),s++}else s=D,null!==o&&(D?o.length=D:o=null);if((h=A===s)&&T?T=!1:h&&(T=!0),T)s=C,null!==o&&(C?o.length=C:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}var f=S===s;let R;if(s=O,null!==o&&(O?o.length=O:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.placeholder&&"string"!=typeof n.placeholder){const e={instancePath:t+"/"+r+"/placeholder",schemaPath:"#/allOf/0/items/allOf/3/then/properties/placeholder/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}P=f=e===s,R="then"}else{const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.placeholder){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/3/else/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);P=f=e===s,R="else"}if(!P){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/3/if",keyword:"if",params:{failingKeyword:R},message:'must match "'+R+'" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/properties/value/type",keyword:"type",params:{type:n2.allOf[0].items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/allOf/0/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/allOf/0/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/0/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(s2(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?s2.errors:o.concat(s2.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(40))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():n2.allOf[0].items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(m=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var m;if((m=p===s)&&a?(a=!1,l=[l,1]):m&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/allOf/0/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/allOf/0/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const i=s;let a=!0;const l=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var g=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),g){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.allOf[0].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/0/then/properties/type")||"/"!==e.schemaPath[44]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}a=g=e===s}if(!a){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"camunda:executionListener"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var y=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),y){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.type){if("Hidden"!==n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.allOf[1].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/1/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid property type "+JSON.stringify(n&&n.type)+' for binding type "camunda:executionListener"; must be "Hidden"'};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==n.binding){let e=n.binding;const i=s;let a=!1,l=null;const c=s,p=s,u=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.implementationType&&"script"!==e.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(v=c===s)&&(a=!0,l=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.scriptFormat){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",keyword:"required",params:{missingProperty:"scriptFormat"},message:"must have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((v=d===s)&&a)a=!1,l=[l,1];else{v&&(a=!0,l=1);const n=s,i=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);const p=s,u=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.scriptFormat){const e={};null===o?o=[e]:o.push(e),s++}var v;if(u===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(v=n===s)&&a?(a=!1,l=[l,2]):v&&(a=!0,l=2)}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.implementationType){let n=e.implementationType;if("class"!==n&&"delegateExpression"!==n&&"expression"!==n&&"script"!==n){const e={instancePath:t+"/"+r+"/binding/implementationType",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}p=y=e===s}if(!p){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("camunda:property"!==t&&"camunda:outputParameter"!==t&&"camunda:in"!==t&&"camunda:in:businessKey"!==t&&"camunda:out"!==t&&"camunda:errorEventDefinition"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var b=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),b){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.allOf[2].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/2/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Hidden, Dropdown }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}h=b=e===s}if(!h){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=s;let A=!0;const D=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("camunda:inputParameter"!==t&&"camunda:field"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var w=D===s;if(s=m,null!==o&&(m?o.length=m:o=null),w){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.allOf[3].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/3/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Text, Hidden, Dropdown }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}A=w=e===s}if(!A){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.binding){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const i=s;let a=!0;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("property"!==t&&"camunda:property"!==t&&"camunda:inputParameter"!==t&&"camunda:field"!==t){const e={};null===o?o=[e]:o.push(e),s++}}var x=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),x){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/0/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}a=x=n===s}if(!a){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"camunda:outputParameter"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var _=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),_){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/1/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}p=_=n===s}if(!p){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"camunda:in"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var k=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),k){const n=s,i=s;let a=!1;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}var E=l===s;if(a=a||E,!a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.target){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"target"},message:"must have required property 'target'"};null===o?o=[e]:o.push(e),s++}E=n===s;a=a||E}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/2/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires variables, target, or both"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}h=k=n===s}if(!h){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=s;let g=!0;const y=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"camunda:out"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var O=y===s;if(s=m,null!==o&&(m?o.length=m:o=null),O){const n=s,i=s;let a=!1,l=null;const c=s,p=s,u=s,d=s;let h=!1;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}var P=f===s;if(h=h||P,!h){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}P=t===s;h=h||P}if(h)s=d,null!==o&&(d?o.length=d:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(T=c===s)&&(a=!0,l=0);const m=s,y=s,v=s,b=s;let w=!1;const x=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={};null===o?o=[e]:o.push(e),s++}var S=x===s;if(w=w||S,!w){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}S=t===s;w=w||S}if(w)s=b,null!==o&&(b?o.length=b:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(v===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=y,null!==o&&(y?o.length=y:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((T=m===s)&&a)a=!1,l=[l,1];else{T&&(a=!0,l=1);const n=s,i=s,c=s,p=s;let u=!1;const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={};null===o?o=[e]:o.push(e),s++}var C=d===s;if(u=u||C,!u){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}C=t===s;u=u||C}if(u)s=p,null!==o&&(p?o.length=p:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((T=n===s)&&a)a=!1,l=[l,2];else{T&&(a=!0,l=2);const n=s,i=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.sourceExpression){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((T=n===s)&&a)a=!1,l=[l,3];else{T&&(a=!0,l=3);const n=s,i=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}var T;if(c===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(T=n===s)&&a?(a=!1,l=[l,4]):T&&(a=!0,l=4)}}}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/3/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}g=O=n===s}if(!g){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const v=s;let b=!0;const w=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"camunda:errorEventDefinition"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var M=w===s;if(s=v,null!==o&&(v?o.length=v:o=null),M){const n=s,i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.errorRef){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",keyword:"required",params:{missingProperty:"errorRef"},message:"must have required property 'errorRef'"};null===o?o=[e]:o.push(e),s++}if(c===s&&(a=!0,l=0),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/4/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires errorRef"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}b=M=n===s}if(!b){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("property"!==n&&"camunda:property"!==n&&"camunda:inputParameter"!==n&&"camunda:outputParameter"!==n&&"camunda:in"!==n&&"camunda:out"!==n&&"camunda:in:businessKey"!==n&&"camunda:executionListener"!==n&&"camunda:field"!==n&&"camunda:errorEventDefinition"!==n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.properties.binding.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/properties/binding/properties/type")||"/"!==n.schemaPath[50]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid property.binding type "+JSON.stringify(n)+"; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/"+r+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.event&&"string"!=typeof e.event){const e={instancePath:t+"/"+r+"/binding/event",schemaPath:"#/allOf/1/items/properties/binding/properties/event/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.scriptFormat&&"string"!=typeof e.scriptFormat){const e={instancePath:t+"/"+r+"/binding/scriptFormat",schemaPath:"#/allOf/1/items/properties/binding/properties/scriptFormat/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={instancePath:t+"/"+r+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.target&&"string"!=typeof e.target){const e={instancePath:t+"/"+r+"/binding/target",schemaPath:"#/allOf/1/items/properties/binding/properties/target/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.expression&&"boolean"!=typeof e.expression){const e={instancePath:t+"/"+r+"/binding/expression",schemaPath:"#/allOf/1/items/properties/binding/properties/expression/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.variables){let n=e.variables;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("all"!==n&&"local"!==n){const e={instancePath:t+"/"+r+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.properties.binding.properties.variables.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.sourceExpression&&"string"!=typeof e.sourceExpression){const e={instancePath:t+"/"+r+"/binding/sourceExpression",schemaPath:"#/allOf/1/items/properties/binding/properties/sourceExpression/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={required:function(){return'missing binding for property "'+JSON.stringify(r)+'"'}};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(15))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const a={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():n2.allOf[1].items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t,schemaPath:"#/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return a2.errors=o,0===s}const l2={type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}},{definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},condition:{type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}},{if:{oneOf:[{properties:{type:{enum:["String","Text"]}},required:["type"]},{not:{required:["type"]}}]},then:{properties:{placeholder:{type:"string"}}},else:{not:{required:["placeholder"]}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."}}}};function c2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const g=s;let y=!0;const v=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=v===s;if(s=g,null!==o&&(g?o.length=g:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/items/allOf/0/then")||"/"!==n.schemaPath[20]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}y=a=e===s}if(!y){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const b=s;let w=!0;const x=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!o2(e.property,r2.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=x===s;if(s=b,null!==o&&(b?o.length=b:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}w=l=e===s}if(!w){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={instancePath:t+"/"+r+"/id",schemaPath:"#/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=t2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():i2.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let i=0;i<e;i++){let e=n[i];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=t2[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():i2.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const _=s;let k=!0;const E=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){const e=s,t=s;if("Number"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var d=E===s;if(s=_,null!==o&&(_?o.length=_:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:l2.items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}k=d=e===s}if(!k){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!0;const S=s,C=s;let T=!1;const M=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={};null===o?o=[e]:o.push(e),s++}}(h=M===s)&&(T=!0);const A=s,D=s,N=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}var h;if(N===s){const e={};null===o?o=[e]:o.push(e),s++}else s=D,null!==o&&(D?o.length=D:o=null);if((h=A===s)&&T?T=!1:h&&(T=!0),T)s=C,null!==o&&(C?o.length=C:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}var f=S===s;let R;if(s=O,null!==o&&(O?o.length=O:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.placeholder&&"string"!=typeof n.placeholder){const e={instancePath:t+"/"+r+"/placeholder",schemaPath:"#/items/allOf/3/then/properties/placeholder/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}P=f=e===s,R="then"}else{const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.placeholder){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/3/else/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);P=f=e===s,R="else"}if(!P){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/3/if",keyword:"if",params:{failingKeyword:R},message:'must match "'+R+'" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/items/properties/value/type",keyword:"type",params:{type:l2.items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(s2(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?s2.errors:o.concat(s2.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():l2.items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(m=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var m;if((m=p===s)&&a?(a=!1,l=[l,1]):m&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return c2.errors=o,0===s}function p2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"properties"},message:"must have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={instancePath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.version){let n=e.version;if("number"!=typeof n||n%1||isNaN(n)){const e={instancePath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",keyword:"type",params:{type:"integer"},message:"must be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={instancePath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.deprecated){let n=e.deprecated;if("boolean"!=typeof n&&(!n||"object"!=typeof n||Array.isArray(n))){const e={instancePath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",keyword:"type",params:{type:Y1.allOf[0].properties.deprecated.type},message:"must be boolean,object"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!J1.test(e)){const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}}}if(void 0!==e.appliesTo){let n=e.appliesTo;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"==typeof e){if(!e2.test(e)){const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/appliesTo/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/appliesTo/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(36))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const a={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():Y1.allOf[0].properties.appliesTo.items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"==typeof e){if(!e2.test(e)){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType/value"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType/properties/value")&&/^\/[^\/]*$/.test(n.schemaPath.slice(49))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const i={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():Y1.allOf[0].properties.elementType.properties.value.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(r=t2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():Y1.allOf[0].properties.elementType.errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.metadata){let n=e.metadata;if(!n||"object"!=typeof n||Array.isArray(n)){const e={instancePath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={instancePath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"label"},message:"must have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/groups/"+r+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={instancePath:t+"/groups/"+r+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{id:[],label:[]}},n={required:{id:function(){return'missing id for group "'+JSON.stringify(r)+'"'},label:function(){return'missing label for group "'+JSON.stringify(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/groups/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(i=t2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():Y1.allOf[0].properties.groups.items.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={instancePath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!J1.test(n)){const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/documentationRef"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/documentationRef")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const i={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():Y1.allOf[0].properties.documentationRef.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(r=t2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/allOf/0/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():Y1.allOf[0].errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.properties&&(a2(e.properties,{instancePath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?a2.errors:o.concat(a2.errors),s=o.length)),void 0!==e.scopes){let n=e.scopes;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];const k=s;let E=!0;const O=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"bpmn:Error"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var a=O===s;if(s=k,null!==o&&(k?o.length=k:o=null),a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.id){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/scopes/"+r&&(0!==e.instancePath.indexOf(t+"/scopes/"+r)||"/"!==e.instancePath[t+"/scopes/"+r.length])||0!==e.schemaPath.indexOf("#/properties/scopes/items/allOf/0/then")||"/"!==e.schemaPath[38]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid scope "+JSON.stringify(e&&e.type)+", missing id"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}E=a=n===s}if(!E){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/required",keyword:"required",params:{missingProperty:"properties"},message:"must have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("camunda:Connector"!==n&&"bpmn:Error"!==n){const e={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/enum",keyword:"enum",params:{allowedValues:Y1.properties.scopes.items.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/type")||"/"!==n.instancePath[t+"/scopes/"+r+5])||0!==n.schemaPath.indexOf("#/properties/scopes/items/properties/type")||"/"!==n.schemaPath[41]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid scope type "+JSON.stringify(n)+"; must be any of { camunda:Connector, bpmn:Error }"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.properties){let n=e.properties;if(c2(n,{instancePath:t+"/scopes/"+r+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?c2.errors:o.concat(c2.errors),s=o.length),Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];const a=s;let k=!0;const E=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type&&"property"!==t.type){const e={};null===o?o=[e]:o.push(e),s++}}var l=E===s;if(s=a,null!==o&&(a?o.length=a:o=null),l){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Text"!==n&&"Hidden"!==n&&"Dropdown"!==n&&"Boolean"!==n){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:K1.items.allOf[0].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+5])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/0/then/properties/type")||"/"!==n.schemaPath[67]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid property type "+JSON.stringify(n)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}k=l=n===s}if(!k){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!0;const S=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type&&"camunda:executionListener"!==t.type){const e={};null===o?o=[e]:o.push(e),s++}}var c=S===s;if(s=O,null!==o&&(O?o.length=O:o=null),c){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.type){if("Hidden"!==e.type){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:K1.items.allOf[1].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/1/then/properties/type")||"/"!==e.schemaPath[67]||(n.push(e),e.emUsed=!0);if(n.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e&&e.type)+' for binding type "camunda:executionListener"; must be "Hidden"'};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.binding){let n=e.binding;const a=s;let l=!1,c=null;const u=s,d=s,h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.implementationType&&"script"!==n.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(h===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=d,null!==o&&(d?o.length=d:o=null);(p=u===s)&&(l=!0,c=0);const f=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.scriptFormat){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",keyword:"required",params:{missingProperty:"scriptFormat"},message:"must have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((p=f===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const e=s,a=s,u=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);const d=s,h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.scriptFormat){const e={};null===o?o=[e]:o.push(e),s++}var p;if(h===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=d,null!==o&&(d?o.length=d:o=null);(p=e===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.implementationType){let e=n.implementationType;if("class"!==e&&"delegateExpression"!==e&&"expression"!==e&&"script"!==e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/implementationType",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",keyword:"enum",params:{allowedValues:K1.items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}P=c=n===s}if(!P){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const C=s;let T=!0;const M=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type){let e=t.type;if("camunda:property"!==e&&"camunda:outputParameter"!==e&&"camunda:in"!==e&&"camunda:in:businessKey"!==e&&"camunda:out"!==e&&"camunda:errorEventDefinition"!==e){const e={};null===o?o=[e]:o.push(e),s++}}}var u=M===s;if(s=C,null!==o&&(C?o.length=C:o=null),u){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Hidden"!==n&&"Dropdown"!==n){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/enum",keyword:"enum",params:{allowedValues:K1.items.allOf[2].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const a=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/2/then/properties/type")||"/"!==e.schemaPath[67]||(a.push(e),e.emUsed=!0);if(a.length){const l={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:a},message:"invalid property type "+JSON.stringify(n)+" for binding type "+JSON.stringify(e&&e.binding&&e.binding.type)+"; must be any of { String, Hidden, Dropdown }"};null===o?o=[l]:o.push(l),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}T=u=n===s}if(!T){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const A=s;let D=!0;const N=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type){let e=t.type;if("camunda:inputParameter"!==e&&"camunda:field"!==e){const e={};null===o?o=[e]:o.push(e),s++}}}var d=N===s;if(s=A,null!==o&&(A?o.length=A:o=null),d){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Text"!==n&&"Hidden"!==n&&"Dropdown"!==n){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/enum",keyword:"enum",params:{allowedValues:K1.items.allOf[3].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const a=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/3/then/properties/type")||"/"!==e.schemaPath[67]||(a.push(e),e.emUsed=!0);if(a.length){const l={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:a},message:"invalid property type "+JSON.stringify(n)+" for binding type "+JSON.stringify(e&&e.binding&&e.binding.type)+"; must be any of { String, Text, Hidden, Dropdown }"};null===o?o=[l]:o.push(l),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}D=d=n===s}if(!D){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.binding){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.binding){let n=e.binding;const a=s;let l=!0;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("property"!==e&&"camunda:property"!==e&&"camunda:inputParameter"!==e&&"camunda:field"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var h=c===s;if(s=a,null!==o&&(a?o.length=a:o=null),h){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.name){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires name"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}l=h=e===s}if(!l){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const p=s;let u=!0;const d=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"camunda:outputParameter"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var f=d===s;if(s=p,null!==o&&(p?o.length=p:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires source"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}u=f=e===s}if(!u){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const k=s;let E=!0;const O=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"camunda:in"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var m=O===s;if(s=k,null!==o&&(k?o.length=k:o=null),m){const e=s,a=s;let l=!1;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}var g=c===s;if(l=l||g,!l){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.target){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"target"},message:"must have required property 'target'"};null===o?o=[e]:o.push(e),s++}g=e===s;l=l||g}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires variables, target, or both"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}E=m=e===s}if(!E){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const P=s;let S=!0;const C=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"camunda:out"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var y=C===s;if(s=P,null!==o&&(P?o.length=P:o=null),y){const e=s,a=s;let l=!1,c=null;const p=s,u=s,d=s,h=s;let f=!1;const m=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}var v=m===s;if(f=f||v,!f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}v=e===s;f=f||v}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(d===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=u,null!==o&&(u?o.length=u:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(x=p===s)&&(l=!0,c=0);const g=s,_=s,k=s,E=s;let O=!1;const P=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={};null===o?o=[e]:o.push(e),s++}var b=P===s;if(O=O||b,!O){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}b=e===s;O=O||b}if(O)s=E,null!==o&&(E?o.length=E:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(k===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=_,null!==o&&(_?o.length=_:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((x=g===s)&&l)l=!1,c=[c,1];else{x&&(l=!0,c=1);const e=s,a=s,p=s,u=s;let d=!1;const h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={};null===o?o=[e]:o.push(e),s++}var w=h===s;if(d=d||w,!d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}w=e===s;d=d||w}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(p===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((x=e===s)&&l)l=!1,c=[c,2];else{x&&(l=!0,c=2);const e=s,a=s,p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}if(p===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.variables){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.sourceExpression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((x=e===s)&&l)l=!1,c=[c,3];else{x&&(l=!0,c=3);const e=s,a=s,p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}var x;if(p===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.variables){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(x=e===s)&&l?(l=!1,c=[c,4]):x&&(l=!0,c=4)}}}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}S=y=e===s}if(!S){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const T=s;let M=!0;const A=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"camunda:errorEventDefinition"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var _=A===s;if(s=T,null!==o&&(T?o.length=T:o=null),_){const e=s,a=s;let l=!1,c=null;const p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.errorRef){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",keyword:"required",params:{missingProperty:"errorRef"},message:"must have required property 'errorRef'"};null===o?o=[e]:o.push(e),s++}if(p===s&&(l=!0,c=0),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires errorRef"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}M=_=e===s}if(!M){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.type){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type){let e=n.type;if("string"!=typeof e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("property"!==e&&"camunda:property"!==e&&"camunda:inputParameter"!==e&&"camunda:outputParameter"!==e&&"camunda:in"!==e&&"camunda:out"!==e&&"camunda:in:businessKey"!==e&&"camunda:executionListener"!==e&&"camunda:field"!==e&&"camunda:errorEventDefinition"!==e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:K1.items.properties.binding.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+13])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/properties/type")||"/"!==e.schemaPath[73]||(n.push(e),e.emUsed=!0);if(n.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid property.binding type "+JSON.stringify(e)+"; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/name",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.event&&"string"!=typeof n.event){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/event",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/event/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.scriptFormat&&"string"!=typeof n.scriptFormat){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/scriptFormat",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/scriptFormat/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.source&&"string"!=typeof n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/source",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.target&&"string"!=typeof n.target){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/target",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/target/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.expression&&"boolean"!=typeof n.expression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/expression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/expression/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.variables){let e=n.variables;if("string"!=typeof e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("all"!==e&&"local"!==e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/enum",keyword:"enum",params:{allowedValues:K1.items.properties.binding.properties.variables.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.sourceExpression&&"string"!=typeof n.sourceExpression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/sourceExpression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/sourceExpression/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={required:function(){return'missing binding for property "'+JSON.stringify(i)+'"'}};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/scopes/"+r+"/properties/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(38))&&(e[n.keyword].push(n),n.emUsed=!0);for(const a in e)if(e[a].length){const l={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:e[a]},message:a in n?n[a]():K1.items.errorMessage[a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}}else{const e={instancePath:t+"/scopes/"+r+"/properties",schemaPath:"#/definitions/properties/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const n={required:{type:[],properties:[]}},i={required:{properties:function(){return"invalid scope "+JSON.stringify(e&&e.type)+", missing properties=[]"}}};let a,l;for(const e of o)"errorMessage"!==e.keyword&&!e.emUsed&&e.instancePath===t+"/scopes/"+r&&e.keyword in n&&0===e.schemaPath.indexOf("#/properties/scopes/items")&&/^\/[^\/]*$/.test(e.schemaPath.slice(25))&&(a=t2[e.keyword],l=n[e.keyword][e.params[a]],l&&(l.push(e),e.emUsed=!0));for(const e in n)for(const a in n[e])if(l=n[e][a],l.length){const n=i[e]&&i[e][a],c={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/errorMessage",keyword:"errorMessage",params:{errors:l},message:n?n():Y1.properties.scopes.items.errorMessage[e][a]};null===o?o=[c]:o.push(c),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={instancePath:t+"/scopes",schemaPath:"#/properties/scopes/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}return p2.errors=o,0===s}function u2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;p2(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(o=null===o?p2.errors:o.concat(p2.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++)p2(e[r],{instancePath:t+"/"+r,parentData:e,parentDataProperty:r,rootData:i})||(o=null===o?p2.errors:o.concat(p2.errors),s=o.length)}else{const e={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}var d;if((d=u===s)&&l?(l=!1,c=[c,1]):d&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return u2.errors=o,0===s}var d2=G1(Q1.exports),h2={},f2={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",'"':'"',"/":"/","\\":"\\"},m2="a".charCodeAt();h2.parse=function(e,t,n){var r={},i=0,o=0,s=0,a=n&&n.bigint&&"undefined"!=typeof BigInt;return{data:l("",!0),pointers:r};function l(t,n){var r;c(),g(t,"value");var i=d();switch(i){case"t":u("rue"),r=!0;break;case"f":u("alse"),r=!1;break;case"n":u("ull"),r=null;break;case'"':r=p();break;case"[":r=function(e){c();var t=[],n=0;if("]"==d())return t;h();for(;;){var r=e+"/"+n;t.push(l(r)),c();var i=d();if("]"==i)break;","!=i&&w(),c(),n++}return t}(t);break;case"{":r=function(e){c();var t={};if("}"==d())return t;h();for(;;){var n=v();'"'!=d()&&w();var r=p(),i=e+"/"+S2(r);y(i,"key",n),g(i,"keyEnd"),c(),":"!=d()&&w(),c(),t[r]=l(i),c();var o=d();if("}"==o)break;","!=o&&w(),c()}return t}(t);break;default:h(),"-0123456789".indexOf(i)>=0?r=function(){var t="",n=!0;"-"==e[s]&&(t+=d());t+="0"==e[s]?d():m(),"."==e[s]&&(t+=d()+m(),n=!1);"e"!=e[s]&&"E"!=e[s]||(t+=d(),"+"!=e[s]&&"-"!=e[s]||(t+=d()),t+=m(),n=!1);var r=+t;return a&&n&&(r>Number.MAX_SAFE_INTEGER||r<Number.MIN_SAFE_INTEGER)?BigInt(t):r}():b()}return g(t,"valueEnd"),c(),n&&s<e.length&&b(),r}function c(){e:for(;s<e.length;){switch(e[s]){case" ":o++;break;case"\t":o+=4;break;case"\r":o=0;break;case"\n":o=0,i++;break;default:break e}s++}}function p(){for(var e,t="";'"'!=(e=d());)"\\"==e?(e=d())in f2?t+=f2[e]:"u"==e?t+=f():w():t+=e;return t}function u(e){for(var t=0;t<e.length;t++)d()!==e[t]&&w()}function d(){x();var t=e[s];return s++,o++,t}function h(){s--,o--}function f(){for(var e=4,t=0;e--;){t<<=4;var n=d().toLowerCase();n>="a"&&n<="f"?t+=n.charCodeAt()-m2+10:n>="0"&&n<="9"?t+=+n:w()}return String.fromCharCode(t)}function m(){for(var t="";e[s]>="0"&&e[s]<="9";)t+=d();if(t.length)return t;x(),b()}function g(e,t){y(e,t,v())}function y(e,t,n){r[e]=r[e]||{},r[e][t]=n}function v(){return{line:i,column:o,pos:s}}function b(){throw new SyntaxError("Unexpected token "+e[s]+" in JSON at position "+s)}function w(){h(),b()}function x(){if(s>=e.length)throw new SyntaxError("Unexpected end of JSON input")}},h2.stringify=function(e,t,n){if(y2(e)){var r,i,o=0,s="object"==typeof n?n.space:n;switch(typeof s){case"number":var a=s>10?10:s<0?0:Math.floor(s);s=a&&v(a," "),r=a,i=a;break;case"string":s=s.slice(0,10),r=0,i=0;for(var l=0;l<s.length;l++){switch(s[l]){case" ":i++;break;case"\t":i+=4;break;case"\r":i=0;break;case"\n":i=0,o++;break;default:throw new Error("whitespace characters not allowed in JSON")}r++}break;default:s=void 0}var c="",p={},u=0,d=0,h=0,f=n&&n.es6&&"function"==typeof Map;return function e(t,n,r){switch(y(r,"value"),typeof t){case"number":case"bigint":case"boolean":m(""+t);break;case"string":m(E2(t));break;case"object":null===t?m("null"):"function"==typeof t.toJSON?m(E2(t.toJSON())):Array.isArray(t)?i():f?t.constructor.BYTES_PER_ELEMENT?i():t instanceof Map?a():t instanceof Set?a(!0):o():o()}function i(){if(t.length){m("[");for(var i=n+1,o=0;o<t.length;o++){o&&m(","),g(i);var s=y2(t[o])?t[o]:null;e(s,i,r+"/"+o)}g(n),m("]")}else m("[]")}function o(){var i=Object.keys(t);if(i.length){m("{");for(var o=n+1,a=0;a<i.length;a++){var l=i[a],c=t[l];if(y2(c)){a&&m(",");var p=r+"/"+S2(l);g(o),y(p,"key"),m(E2(l)),y(p,"keyEnd"),m(":"),s&&m(" "),e(c,o,p)}}g(n),m("}")}else m("{}")}function a(i){if(t.size){m("{");for(var o=n+1,a=!0,l=t.entries(),c=l.next();!c.done;){var p=c.value,u=p[0],d=!!i||p[1];if(y2(d)){a||m(","),a=!1;var h=r+"/"+S2(u);g(o),y(h,"key"),m(E2(u)),y(h,"keyEnd"),m(":"),s&&m(" "),e(d,o,h)}c=l.next()}g(n),m("}")}else m("{}")}y(r,"valueEnd")}(e,0,""),{json:c,pointers:p}}function m(e){d+=e.length,h+=e.length,c+=e}function g(e){if(s){for(c+="\n"+v(e,s),u++,d=0;e--;)o?(u+=o,d=i):d+=i,h+=r;h+=1}}function y(e,t){p[e]=p[e]||{},p[e][t]={line:u,column:d,pos:h}}function v(e,t){return Array(e+1).join(t)}};var g2=["number","bigint","boolean","string","object"];function y2(e){return g2.indexOf(typeof e)>=0}var v2=/"|\\/g,b2=/[\b]/g,w2=/\f/g,x2=/\n/g,_2=/\r/g,k2=/\t/g;function E2(e){return'"'+(e=e.replace(v2,"\\$&").replace(w2,"\\f").replace(b2,"\\b").replace(x2,"\\n").replace(_2,"\\r").replace(k2,"\\t"))+'"'}var O2=/~/g,P2=/\//g;function S2(e){return e.replace(O2,"~0").replace(P2,"~1")}function C2(e,t){const n=function(e){return h2.stringify(e,null,2).pointers}(e),r=t(e);let i=t.errors;return i&&i.length&&(v(i,T2),i=function(e){return y(e,(function(e){return"if"!==e.keyword}))}(i),v(i,(function(e){!function(e,t){const n=e.instancePath,r=t[n];e.dataPointer=r}(e,n)}))),{valid:r,object:e,errors:i}}function T2(e){const t=e.params;t&&t.errors&&(t.rawErrors=t.errors,delete t.errors)}var M2={exports:{}};M2.exports=V2,M2.exports.default=V2;const A2={type:"object",allOf:[{required:["name","id","appliesTo","properties"],properties:{name:{$id:"#/name",type:"string",description:"The name of the element template."},id:{$id:"#/id",type:"string",description:"The identifier of the element template."},description:{$id:"#/description",type:"string",description:"The description of the element template."},version:{$id:"#/version",type:"integer",description:"Optional version of the template. If you add a version to a template it will be considered unique based on its ID and version. Two templates can have the same ID if their version is different."},isDefault:{$id:"#/isDefault",type:"boolean",description:"Indicates whether the element template is a default template."},deprecated:{$id:"#/deprecated",type:["boolean","object"],description:"Indicates whether the element template is deprecated.",properties:{message:{$id:"#/deprecated/message",type:"string",description:"Optional message to describe migration path."},documentationRef:{$id:"#/deprecated/documentationRef",type:"string",pattern:"^(https|http)://.*",description:"Optional link to migration documentation."}}},appliesTo:{$id:"#/appliesTo",type:"array",description:"List of BPMN types the template can be applied to.",default:[],items:{$id:"#/appliesTo/items",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:Task","bpmn:ServiceTask","bpmn:SequenceFlow","bpmn:Process","bpmn:StartEvent","bpmn:Gateway"]}],errorMessage:{pattern:'invalid item for "appliesTo", should contain namespaced property, example: "bpmn:Task"'}}},elementType:{$id:"#/elementType",type:"object",description:"The BPMN type the element will be transformed into.",default:{},required:["value"],properties:{value:{$id:"#/elementType/value",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:ServiceTask","bpmn:UserTask","bpmn:StartEvent","bpmn:ExclusiveGateway","bpmn:ParallelGateway"]}],errorMessage:{pattern:'invalid item for "elementType", should contain namespaced property, example: "bpmn:Task"'}}},errorMessage:{required:{value:"missing elementType value"}}},metadata:{$id:"#/metadata",type:"object",description:"Some custom properties for further configuration.",default:{}},entriesVisible:{$id:"#/entriesVisible",type:"boolean",description:"Select whether non-template entries are visible in the properties panel."},groups:{$id:"#/groups",type:"array",description:"Custom fields can be ordered together via groups.",allOf:[{examples:[[{id:"group-1",label:"My Group"}]]}],items:{$id:"#/groups/group",type:"object",default:{},required:["id","label"],properties:{id:{$id:"#/groups/group/id",type:"string",description:"The id of the custom group"},label:{$id:"#/groups/group/label",type:"string",description:"The label of the custom group"}},errorMessage:{required:{id:'missing id for group "${0#}"',label:'missing label for group "${0#}"'}}}},documentationRef:{$id:"#/documentationRef",type:"string",pattern:"^(https|http)://.*",errorMessage:{pattern:'Malformed documentation URL, must match "^(https|http)://.*"'}}},errorMessage:{required:{name:"missing template name",id:"missing template id",appliesTo:"missing appliesTo=[]",properties:"missing properties=[]"}}},{allOf:[{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"bpmn:Message#property"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{enum:["bpmn:ReceiveTask","bpmn:SendTask","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},allOf:[{if:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}}},then:{eventDefinition:{const:"bpmn:MessageEventDefinition"},required:["eventDefinition"]}}]}}}},{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"bpmn:Message#zeebe:subscription#property"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{enum:["bpmn:ReceiveTask","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},allOf:[{if:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}}},then:{eventDefinition:{const:"bpmn:MessageEventDefinition"},required:["eventDefinition"]}}]}}}},{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"zeebe:calledElement"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{anyOf:[{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{const:"bpmn:CallActivity"}}}}},{required:["appliesTo"],properties:{appliesTo:{const:["bpmn:CallActivity"]}}}]}}]}],properties:{properties:{$ref:"#/definitions/properties",$id:"#/properties"},icon:{$id:"#/icon",type:"object",description:"Custom icon to be shown on the element",default:{},properties:{contents:{$id:"#/icon/contents",type:"string",description:"The URL of an icon.",pattern:"^(https?|data):.*",errorMessage:{pattern:"Malformed icon source, must be a valid HTTP(s) or data URL"}}},required:["contents"],errorMessage:{required:{contents:"missing icon contents"}}},elementType:{allOf:[{allOf:[{properties:{eventDefinition:{$id:"#/elementType/eventDefinition",enum:["bpmn:MessageEventDefinition"]}}},{if:{required:["eventDefinition"]},then:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},required:["value"]}}]}]},groups:{items:{properties:{tooltip:{$id:"#/groups/group/tooltip",type:"string"},openByDefault:{$id:"#/groups/group/openByDefault",type:"boolean",description:"Specifies whether the Group should be opened when first viewed. Defaults to true.",default:!0}}}}}},D2=new RegExp("^(https|http)://.*","u"),N2=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),R2=new RegExp("^(https?|data):.*","u"),j2={required:"missingProperty",dependencies:"property",dependentRequired:"property"},I2=Z1.default,L2={allOf:[{type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}},{definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},condition:{type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}},{if:{oneOf:[{properties:{type:{enum:["String","Text"]}},required:["type"]},{not:{required:["type"]}}]},then:{properties:{placeholder:{type:"string"}}},else:{not:{required:["placeholder"]}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."}}}},{$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean","Number"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }'}}}},{if:{properties:{binding:{properties:{type:{enum:["zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader","zeebe:taskDefinition:type","bpmn:Message#property","bpmn:Message#zeebe:subscription#property","zeebe:taskDefinition","zeebe:calledElement"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean","Number"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }"}}}},{if:{properties:{optional:{const:!0}},required:["optional"]},then:{properties:{binding:{properties:{type:{enum:["zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader"],errorMessage:"optional is not supported for binding type ${0}; must be any of { zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader }"}},required:["type"]}}}},{if:{properties:{optional:{const:!0}},required:["optional"]},then:{properties:{constraints:{properties:{notEmpty:{const:!1,errorMessage:'optional is not allowed for truthy "notEmpty" constraint'}},required:["notEmpty"]}}}},{if:{properties:{feel:{not:{const:null}}},required:["feel"]},then:{properties:{type:{enum:["String","Text","Number","Boolean"],errorMessage:'feel is only supported for "String", "Text", "Number" and "Boolean" type'}},required:["type"]}},{if:{properties:{language:{not:{const:null}}},required:["language"]},then:{properties:{type:{enum:["Text"],errorMessage:'language is only supported for "Text" type'}}}},{if:{required:["value"]},then:{not:{required:["generatedValue"]}}},{if:{properties:{type:{enum:["Boolean","Dropdown"]}},required:["type"]},then:{not:{required:["generatedValue"]}}},{if:{properties:{type:{enum:["String","Text"]}},required:["feel"]},then:{properties:{feel:{enum:["optional","required"]}}}},{if:{properties:{feel:{const:"required"}},required:["feel"]},then:{properties:{value:{type:"string"}}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Zeebe extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","zeebe:property","zeebe:input","bpmn:Message#property","bpmn:Message#zeebe:subscription#property"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"zeebe:output"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"zeebe:taskHeader"}},required:["type"]},then:{required:["key"],errorMessage:"property.binding ${0/type} requires key"}},{if:{properties:{type:{const:"zeebe:taskDefinition"}},required:["type"]},then:{properties:{property:{enum:["type","retries"]}},required:["property"]}},{if:{properties:{type:{const:"zeebe:taskDefinition:type"}},required:["type"]},then:{deprecated:!0}},{if:{properties:{type:{const:"zeebe:calledElement"}},required:["type"]},then:{properties:{property:{const:"processId"}},required:["property"]}},{examples:[{type:"property",name:"name"},{type:"zeebe:input",name:"input"},{type:"zeebe:output",source:"output"},{type:"zeebe:property",name:"property"},{type:"zeebe:taskHeader",key:"key"},{type:"zeebe:taskDefinition",property:"retries"},{type:"zeebe:taskDefinition",property:"type"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",description:"The type of a property binding.",enum:["property","zeebe:taskDefinition:type","zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader","bpmn:Message#property","bpmn:Message#zeebe:subscription#property","zeebe:taskDefinition","zeebe:calledElement"],errorMessage:"invalid property.binding type ${0}; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (zeebe:output)."},key:{$id:"#/properties/property/binding/key",type:"string",description:"The key value of a property binding (zeebe:taskHeader)."},property:{$id:"#/properties/property/binding/property",type:"string",description:"The name of the property defined in the binding."}}},optional:{$id:"#/optional",type:"boolean",description:"Indicates whether a property is optional. Optional bindings do not persist empty values in the underlying BPMN 2.0 XML."},feel:{$id:"#/properties/property/feel",type:"string",description:"Indicates whether the property can be a feel expression",enum:["optional","required","static"]},language:{$id:"#/properties/property/language",type:"string",description:"Indicates that the field is a custom language editor"},generatedValue:{$id:"#/properties/property/generatedValue",type:"object",required:["type"],properties:{type:{const:"uuid"}},description:"Sets property to a generated value according to given scheme."},tooltip:{$id:"#/properties/property/tooltip",type:"string",description:"Hints for the control field."}},errorMessage:{required:{binding:'missing binding for property "${0#}"'}}}}]},B2={required:["property"],properties:{property:{const:{$data:"2/id"}}}},z2={type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}};function $2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const a=s;let l=!1,c=null;const p=s,u=s;let d=!1,h=null;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:z2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=f===s)&&(d=!0,h=0);const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:z2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((g=m===s)&&d)d=!1,h=[h,1];else{g&&(d=!0,h=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var g;(g=n===s)&&d?(d=!1,h=[h,2]):g&&(d=!0,h=2)}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(r=j2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():z2.errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}(b=p===s)&&(l=!0,c=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={instancePath:t,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let r=0;r<e;r++){let e=n[r];const i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:z2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(v=c===s)&&(a=!0,l=0);const p=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/allMatch/"+r+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:z2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((v=p===s)&&a)a=!1,l=[l,1];else{v&&(a=!0,l=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var v;(v=n===s)&&a?(a=!1,l=[l,2]):v&&(a=!0,l=2)}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=j2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():z2.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}var b;if((b=y===s)&&l?(l=!1,c=[c,1]):b&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return $2.errors=o,0===s}function q2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const g=s;let y=!0;const v=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=v===s;if(s=g,null!==o&&(g?o.length=g:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}y=a=e===s}if(!y){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const b=s;let w=!0;const x=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!I2(e.property,B2.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=x===s;if(s=b,null!==o&&(b?o.length=b:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[36]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}w=l=e===s}if(!w){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={instancePath:t+"/"+r+"/id",schemaPath:"#/allOf/0/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:z2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:z2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=j2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():z2.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let i=0;i<e;i++){let e=n[i];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:z2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:z2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=j2[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():z2.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const _=s;let k=!0;const E=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){const e=s,t=s;if("Number"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var d=E===s;if(s=_,null!==o&&(_?o.length=_:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:L2.allOf[0].items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}k=d=e===s}if(!k){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!0;const S=s,C=s;let T=!1;const M=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={};null===o?o=[e]:o.push(e),s++}}(h=M===s)&&(T=!0);const A=s,D=s,N=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}var h;if(N===s){const e={};null===o?o=[e]:o.push(e),s++}else s=D,null!==o&&(D?o.length=D:o=null);if((h=A===s)&&T?T=!1:h&&(T=!0),T)s=C,null!==o&&(C?o.length=C:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}var f=S===s;let R;if(s=O,null!==o&&(O?o.length=O:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.placeholder&&"string"!=typeof n.placeholder){const e={instancePath:t+"/"+r+"/placeholder",schemaPath:"#/allOf/0/items/allOf/3/then/properties/placeholder/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}P=f=e===s,R="then"}else{const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.placeholder){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/3/else/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);P=f=e===s,R="else"}if(!P){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/3/if",keyword:"if",params:{failingKeyword:R},message:'must match "'+R+'" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/properties/value/type",keyword:"type",params:{type:L2.allOf[0].items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/allOf/0/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/allOf/0/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/0/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&($2(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?$2.errors:o.concat($2.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(40))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():L2.allOf[0].items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(m=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var m;if((m=p===s)&&a?(a=!1,l=[l,1]):m&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/allOf/0/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/allOf/0/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const i=s;let a=!0;const l=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var g=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),g){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e&&"Number"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[0].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/0/then/properties/type")||"/"!==e.schemaPath[44]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }'};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}a=g=e===s}if(!a){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("zeebe:input"!==t&&"zeebe:output"!==t&&"zeebe:property"!==t&&"zeebe:taskHeader"!==t&&"zeebe:taskDefinition:type"!==t&&"bpmn:Message#property"!==t&&"bpmn:Message#zeebe:subscription#property"!==t&&"zeebe:taskDefinition"!==t&&"zeebe:calledElement"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var y=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),y){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e&&"Number"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[1].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/1/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}p=y=e===s}if(!p){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.optional){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.optional&&!0!==n.optional){const e={};null===o?o=[e]:o.push(e),s++}var v=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),v){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("zeebe:input"!==n&&"zeebe:output"!==n&&"zeebe:property"!==n&&"zeebe:taskHeader"!==n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[2].then.properties.binding.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/2/then/properties/binding/properties/type")||"/"!==n.schemaPath[63]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"optional is not supported for binding type "+JSON.stringify(n)+"; must be any of { zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader }"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}}h=v=e===s}if(!h){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=s;let A=!0;const D=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.optional){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.optional&&!0!==n.optional){const e={};null===o?o=[e]:o.push(e),s++}var b=D===s;if(s=m,null!==o&&(m?o.length=m:o=null),b){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.notEmpty){const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/required",keyword:"required",params:{missingProperty:"notEmpty"},message:"must have required property 'notEmpty'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.notEmpty){if(!1!==e.notEmpty){const e={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/const",keyword:"const",params:{allowedValue:!1},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/constraints/notEmpty"&&(0!==n.instancePath.indexOf(t+"/"+r+"/constraints/notEmpty")||"/"!==n.instancePath[t+"/"+r+21])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty")||"/"!==n.schemaPath[71]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/errorMessage",keyword:"errorMessage",params:{errors:e},message:'optional is not allowed for truthy "notEmpty" constraint'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}}}A=b=e===s}if(!A){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const N=s;let R=!0;const j=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.feel){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.feel){const e=s,t=s;if(null!==n.feel){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var w=j===s;if(s=N,null!==o&&(N?o.length=N:o=null),w){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.type){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/4/then/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Number"!==e&&"Boolean"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[4].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/4/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:'feel is only supported for "String", "Text", "Number" and "Boolean" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}}R=w=e===s}if(!R){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const I=s;let L=!0;const B=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.language){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.language){const e=s,t=s;if(null!==n.language){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var x=B===s;if(s=I,null!==o&&(I?o.length=I:o=null),x){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){if("Text"!==n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[5].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/5/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:'language is only supported for "Text" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}L=x=e===s}if(!L){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/5/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const z=s;let $=!0;const q=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.value){const e={};null===o?o=[e]:o.push(e),s++}var _=q===s;if(s=z,null!==o&&(z?o.length=z:o=null),_){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.generatedValue){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/6/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);$=_=e===s}if(!$){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/6/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const F=s;let V=!0;const H=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("Boolean"!==e&&"Dropdown"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var k=H===s;if(s=F,null!==o&&(F?o.length=F:o=null),k){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.generatedValue){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/7/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);V=k=e===s}if(!V){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/7/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const U=s;let W=!0;const G=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.feel){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var E=G===s;if(s=U,null!==o&&(U?o.length=U:o=null),E){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.feel){let e=n.feel;if("optional"!==e&&"required"!==e){const e={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/allOf/8/then/properties/feel/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[8].then.properties.feel.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}W=E=e===s}if(!W){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/8/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const Q=s;let Z=!0;const X=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.feel){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.feel&&"required"!==n.feel){const e={};null===o?o=[e]:o.push(e),s++}var O=X===s;if(s=Q,null!==o&&(Q?o.length=Q:o=null),O){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/1/items/allOf/9/then/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}Z=O=e===s}if(!Z){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/9/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.binding){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const i=s;let a=!0;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("property"!==t&&"zeebe:property"!==t&&"zeebe:input"!==t&&"bpmn:Message#property"!==t&&"bpmn:Message#zeebe:subscription#property"!==t){const e={};null===o?o=[e]:o.push(e),s++}}var P=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),P){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/0/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}a=P=n===s}if(!a){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"zeebe:output"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var S=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),S){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/1/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}p=S=n===s}if(!p){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"zeebe:taskHeader"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var C=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),C){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.key){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/required",keyword:"required",params:{missingProperty:"key"},message:"must have required property 'key'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/2/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires key"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}h=C=n===s}if(!h){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=s;let g=!0;const y=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"zeebe:taskDefinition"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var T=y===s;if(s=m,null!==o&&(m?o.length=m:o=null),T){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property){let n=e.property;if("type"!==n&&"retries"!==n){const e={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/properties/property/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.properties.binding.allOf[3].then.properties.property.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}g=T=n===s}if(!g){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const v=s;let b=!0;const w=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"zeebe:calledElement"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var M=w===s;if(s=v,null!==o&&(v?o.length=v:o=null),M){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/then/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"processId"!==e.property){const e={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/then/properties/property/const",keyword:"const",params:{allowedValue:"processId"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}b=M=n===s}if(!b){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("property"!==n&&"zeebe:taskDefinition:type"!==n&&"zeebe:input"!==n&&"zeebe:output"!==n&&"zeebe:property"!==n&&"zeebe:taskHeader"!==n&&"bpmn:Message#property"!==n&&"bpmn:Message#zeebe:subscription#property"!==n&&"zeebe:taskDefinition"!==n&&"zeebe:calledElement"!==n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.properties.binding.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/properties/binding/properties/type")||"/"!==n.schemaPath[50]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid property.binding type "+JSON.stringify(n)+"; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property }"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/"+r+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={instancePath:t+"/"+r+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.key&&"string"!=typeof e.key){const e={instancePath:t+"/"+r+"/binding/key",schemaPath:"#/allOf/1/items/properties/binding/properties/key/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.optional&&"boolean"!=typeof n.optional){const e={instancePath:t+"/"+r+"/optional",schemaPath:"#/allOf/1/items/properties/optional/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.feel){let e=n.feel;if("string"!=typeof e){const e={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/properties/feel/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("optional"!==e&&"required"!==e&&"static"!==e){const e={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/properties/feel/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.properties.feel.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.language&&"string"!=typeof n.language){const e={instancePath:t+"/"+r+"/language",schemaPath:"#/allOf/1/items/properties/language/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.generatedValue){let e=n.generatedValue;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={instancePath:t+"/"+r+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"uuid"!==e.type){const e={instancePath:t+"/"+r+"/generatedValue/type",schemaPath:"#/allOf/1/items/properties/generatedValue/properties/type/const",keyword:"const",params:{allowedValue:"uuid"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.tooltip&&"string"!=typeof n.tooltip){const e={instancePath:t+"/"+r+"/tooltip",schemaPath:"#/allOf/1/items/properties/tooltip/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{binding:[]}},n={required:{binding:function(){return'missing binding for property "'+JSON.stringify(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(15))&&(i=j2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():L2.allOf[1].items.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={instancePath:t,schemaPath:"#/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return q2.errors=o,0===s}function F2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"properties"},message:"must have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={instancePath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.version){let n=e.version;if("number"!=typeof n||n%1||isNaN(n)){const e={instancePath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",keyword:"type",params:{type:"integer"},message:"must be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={instancePath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.deprecated){let n=e.deprecated;if("boolean"!=typeof n&&(!n||"object"!=typeof n||Array.isArray(n))){const e={instancePath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",keyword:"type",params:{type:A2.allOf[0].properties.deprecated.type},message:"must be boolean,object"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!D2.test(e)){const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}}}if(void 0!==e.appliesTo){let n=e.appliesTo;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"==typeof e){if(!N2.test(e)){const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/appliesTo/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/appliesTo/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(36))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const a={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():A2.allOf[0].properties.appliesTo.items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"==typeof e){if(!N2.test(e)){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType/value"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType/properties/value")&&/^\/[^\/]*$/.test(n.schemaPath.slice(49))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const i={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():A2.allOf[0].properties.elementType.properties.value.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(r=j2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():A2.allOf[0].properties.elementType.errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.metadata){let n=e.metadata;if(!n||"object"!=typeof n||Array.isArray(n)){const e={instancePath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={instancePath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"label"},message:"must have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/groups/"+r+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={instancePath:t+"/groups/"+r+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{id:[],label:[]}},n={required:{id:function(){return'missing id for group "'+JSON.stringify(r)+'"'},label:function(){return'missing label for group "'+JSON.stringify(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/groups/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(i=j2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():A2.allOf[0].properties.groups.items.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={instancePath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!D2.test(n)){const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/documentationRef"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/documentationRef")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const i={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():A2.allOf[0].properties.documentationRef.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(r=j2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/allOf/0/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():A2.allOf[0].errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}const a=s;let l=!0;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.properties){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.properties){let t=e.properties;if(Array.isArray(t)){const e=s,n=t.length;for(let e=0;e<n;e++){let n=t[e];const r=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"bpmn:Message#property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var p=r===s;if(p)break}if(p)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var u=c===s;if(s=a,null!==o&&(a?o.length=a:o=null),u){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/0/then/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const r=s;let i=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var d=a===s;if(s=r,null!==o&&(r?o.length=r:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/then/required",keyword:"required",params:{missingProperty:"eventDefinition"},message:"must have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}i=d=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:ReceiveTask"!==e&&"bpmn:SendTask"!==e&&"bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/properties/value/enum",keyword:"enum",params:{allowedValues:A2.allOf[1].allOf[0].then.properties.elementType.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}l=u=n===s}if(!l){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const h=s;let f=!0;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.properties){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.properties){let t=e.properties;if(Array.isArray(t)){const e=s,n=t.length;for(let e=0;e<n;e++){let n=t[e];const r=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"bpmn:Message#zeebe:subscription#property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var g=r===s;if(g)break}if(g)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var y=m===s;if(s=h,null!==o&&(h?o.length=h:o=null),y){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/1/then/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const r=s;let i=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var v=a===s;if(s=r,null!==o&&(r?o.length=r:o=null),v){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/then/required",keyword:"required",params:{missingProperty:"eventDefinition"},message:"must have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}i=v=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:ReceiveTask"!==e&&"bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/properties/value/enum",keyword:"enum",params:{allowedValues:A2.allOf[1].allOf[1].then.properties.elementType.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}f=y=n===s}if(!f){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const b=s;let w=!0;const x=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.properties){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.properties){let t=e.properties;if(Array.isArray(t)){const e=s,n=t.length;for(let e=0;e<n;e++){let n=t[e];const r=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"zeebe:calledElement"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var _=r===s;if(_)break}if(_)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var k=x===s;if(s=b,null!==o&&(b?o.length=b:o=null),k){const n=s,r=s;let i=!1;const a=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"bpmn:CallActivity"!==n.value){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/properties/elementType/properties/value/const",keyword:"const",params:{allowedValue:"bpmn:CallActivity"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}}}var E=a===s;if(i=i||E,!i){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.appliesTo&&!I2(e.appliesTo,A2.allOf[1].allOf[2].then.anyOf[1].properties.appliesTo.const)){const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/1/allOf/2/then/anyOf/1/properties/appliesTo/const",keyword:"const",params:{allowedValue:A2.allOf[1].allOf[2].then.anyOf[1].properties.appliesTo.const},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}E=n===s;i=i||E}if(i)s=r,null!==o&&(r?o.length=r:o=null);else{const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};null===o?o=[e]:o.push(e),s++}w=k=n===s}if(!w){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.properties&&(q2(e.properties,{instancePath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?q2.errors:o.concat(q2.errors),s=o.length)),void 0!==e.icon){let n=e.icon;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.contents){const e={instancePath:t+"/icon",schemaPath:"#/properties/icon/required",keyword:"required",params:{missingProperty:"contents"},message:"must have required property 'contents'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.contents){let e=n.contents;if("string"==typeof e){if(!R2.test(e)){const e={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/pattern",keyword:"pattern",params:{pattern:"^(https?|data):.*"},message:'must match pattern "^(https?|data):.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/icon/contents"&&n.keyword in e&&0===n.schemaPath.indexOf("#/properties/icon/properties/contents")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const i={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():A2.properties.icon.properties.contents.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/icon",schemaPath:"#/properties/icon/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{contents:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/icon"&&n.keyword in e&&0===n.schemaPath.indexOf("#/properties/icon")&&/^\/[^\/]*$/.test(n.schemaPath.slice(17))&&(r=j2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/icon",schemaPath:"#/properties/icon/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():A2.properties.icon.errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.eventDefinition&&"bpmn:MessageEventDefinition"!==n.eventDefinition){const e={instancePath:t+"/elementType/eventDefinition",schemaPath:"#/properties/elementType/allOf/0/allOf/0/properties/eventDefinition/enum",keyword:"enum",params:{allowedValues:A2.properties.elementType.allOf[0].allOf[0].properties.eventDefinition.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}const r=s;let i=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={};null===o?o=[e]:o.push(e),s++}var O=a===s;if(s=r,null!==o&&(r?o.length=r:o=null),O){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={instancePath:t+"/elementType/value",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/properties/value/enum",keyword:"enum",params:{allowedValues:A2.properties.elementType.allOf[0].allOf[1].then.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}i=O=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.tooltip&&"string"!=typeof e.tooltip){const e={instancePath:t+"/groups/"+r+"/tooltip",schemaPath:"#/properties/groups/items/properties/tooltip/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.openByDefault&&"boolean"!=typeof e.openByDefault){const e={instancePath:t+"/groups/"+r+"/openByDefault",schemaPath:"#/properties/groups/items/properties/openByDefault/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}}}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}return F2.errors=o,0===s}function V2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;F2(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(o=null===o?F2.errors:o.concat(F2.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++)F2(e[r],{instancePath:t+"/"+r,parentData:e,parentDataProperty:r,rootData:i})||(o=null===o?F2.errors:o.concat(F2.errors),s=o.length)}else{const e={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}var d;if((d=u===s)&&l?(l=!1,c=[c,1]):d&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return V2.errors=o,0===s}var H2=G1(M2.exports);function U2(e){this.cache=e}U2.prototype.resolveRule=function(e,t){return this.resolve("rule",e,t)},U2.prototype.resolveConfig=function(e,t){return this.resolve("config",e,t)},U2.prototype.resolve=function(e,t,n){const r=`${t}/${n}`,i=this.cache[`${e}:${r}`];if(!i)throw new Error(`unknown ${e} <${r}>`);return i};const W2="zeebe:modelerTemplate";function G2(e){const t=Si(e);if(t)return t.get(W2)}function Q2(e){const t=Si(e);if(t)return t.get("zeebe:modelerTemplateVersion")}function Z2(e,t){const n=Si(e);let r;if(r=Oi(n,"bpmn:ExtensionElements")?n:n.get("extensionElements"),r)return r.get("values").find((e=>Oi(e,t)))}function X2(e,t){return e.get("properties").find((e=>e.name===t.name))}function Y2(e,t){return e.get("inputParameters").find((e=>e.target===t.name))}function K2(e,t){return e.get("outputParameters").find((e=>e.source===t.source))}function J2(e,t){return e.get("values").find((e=>e.key===t.key))}function e3(e){if(Oi(e,"bpmn:Event")){const t=e.get("eventDefinitions");if(!t||!t.length)return;e=t[0]}if(e)return e.get("messageRef")}function t3(e){if(void 0!==e.value)return e.value;if(e.generatedValue){const{type:t}=e.generatedValue;if("uuid"===t)return H1()}}const n3="camunda:modelerTemplate";function r3(e){const t=Si(e);if(t)return t.get(n3)}let i3=class{constructor(e,t,n,r){this._commandStack=e,this._eventBus=t,this._injector=r,this._modeling=n,this._templates={}}get(e,t){const n=this._templates;let r;return s(e)?null:h(e)?(s(t)&&(t="_"),n[e]&&n[e][t]?n[e][t]:null):(r=e,this.get(this._getTemplateId(r),this._getTemplateVersion(r)))}getDefault(e){return m(this.getAll(e),(function(e){return e.isDefault}))||null}getAll(e){return this._getTemplateVerions(e,{includeDeprecated:!0})}getLatest(e,t={}){return this._getTemplateVerions(e,{...t,latest:!0})}set(e){this._templates={},e.forEach((e=>{const t=e.id,n=s(e.version)?"_":e.version;this._templates[t]||(this._templates[t]={latest:e}),this._templates[t][n]=e;const r=this._templates[t].latest.version;(s(r)||e.version>r)&&(this._templates[t].latest=e)}))}_getTemplateVerions(e,t={}){const{latest:n,deprecated:i}=t,o=this._templates,s=e=>{const{latest:t,...r}=e;return n?!i&&t.deprecated?[]:[t]:O(r)};if(l(e))return r(O(o).map(s));if(p(e)){const n=e;return y(this._getTemplateVerions(null,t),(function(e){return Pi(n,e.appliesTo)}))||[]}if(h(e))return o[e]&&s(o[e]);throw new Error("argument must be of type {string|djs.model.Base|undefined}")}_getTemplateId(e){return r3(e)}_getTemplateVersion(e){return function(e){const t=Si(e);if(t)return t.get("camunda:modelerTemplateVersion")}(e)}applyTemplate(e,t){let n="apply",r={element:e,newTemplate:t};const i=this.get(e);i&&!t&&(n="unlink",r={element:e}),t&&i&&t.id===i.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:i};return this._commandStack.execute("propertiesPanel.camunda.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,r),o.element}removeTemplate(e){this._injector.get("eventBus").fire("elementTemplates.remove",{element:e});const t={element:e};return this._commandStack.execute("propertiesPanel.removeTemplate",t),t.newElement}unlinkTemplate(e){return this.applyTemplate(e,null)}};i3.$inject=["commandStack","eventBus","modeling","injector"];class o3 extends i3{constructor(e,t,n,r,i){super(t,n,r,i),this._templateElementFactory=e}_getTemplateId(e){return G2(e)}_getTemplateVersion(e){return Q2(e)}createElement(e){if(!e)throw new Error("template is missing");return this._templateElementFactory.create(e)}applyTemplate(e,t){let n="apply",r={element:e,newTemplate:t};const i=this.get(e);i&&!t&&(n="unlink",r={element:e}),t&&i&&t.id===i.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:i};return this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,r),o.element}}o3.$inject=["templateElementFactory","commandStack","eventBus","modeling","injector"];const s3="0.18.0",a3=["bpmn:Activity","bpmn:Event","bpmn:Gateway"];let l3=class{constructor(e){this._templatesById={},this._validTemplates=[],this._errors=[],this._moddle=e}addAll(e){return c(e)?e.forEach(this.add,this):this._logError("templates must be []"),this}add(e){let t,n;return this._validateTemplate(e)||(t=e.id,n=e.version||"_",this._templatesById[t]||(this._templatesById[t]={}),this._templatesById[t][n]=e,this._validTemplates.push(e)),this}_validateTemplate(e){let t;const n=e.id,r=e.version||"_",i=e.$schema&&c3(e.$schema);if(i&&W1(s3,i)<0)return this._logError(`unsupported element template schema version <${i}>. Your installation only supports up to version <${s3}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][r])return"_"===r?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${r}> already used`,e);const o=this._validateElementType(e);if(o)return o;const s=C2(e,d2);const{errors:a,valid:l}=s;return l||(t=new Error("invalid template"),p3(a).forEach((t=>{this._logError(t.message,e)}))),t}_validateElementType(e){if(e.elementType&&e.appliesTo){const t=e.elementType.value,n=e.appliesTo;if(!n.find((e=>this._isType(t,e))))return this._logError(`template does not apply to requested element type <${t}>`,e);for(const r of n)if(!this._canMorph(r,t))return this._logError(`can not morph <${r}> into <${t}>`,e)}}_isType(e,t){const n=this._moddle.getType(e);return n&&t in this._moddle.getElementDescriptor(n).allTypesByName}_canMorph(e,t){if(e===t)return!0;const n=a3.find((t=>this._isType(e,t)));return!!n&&this._isType(t,n)}_logError(e,t){if(h(e)){if(t){const{id:n,name:r}=t;e=`template(id: <${n}>, name: <${r}>): ${e}`}e=new Error(e)}return this._errors.push(e),e}getErrors(){return this._errors}getValidTemplates(){return this._validTemplates}};function c3(e){const t=e.match(/\d+\.\d+\.\d+/g);return null===t?void 0:t[0]}function p3(e){return y(e,(e=>{const{instancePath:t,keyword:n}=e;return"errorMessage"===n||!("type"!==n||!t||t.startsWith("/scopes/"))}))}const u3="0.20.0";class d3 extends l3{constructor(e){super(e)}_validateTemplate(e){let t;const n=e.id,r=e.version||"_",i=e.$schema,o=i&&c3(i);if(!i)return this._logError("missing $schema attribute.",e);if(!this.isSchemaValid(i))return this._logError(`unsupported $schema attribute <${i}>.`,e);if(o&&W1(u3,o)<0)return this._logError(`unsupported element template schema version <${o}>. Your installation only supports up to version <${u3}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][r])return"_"===r?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${r}> already used`,e);const s=this._validateElementType(e);if(s)return s;const a=C2(e,H2);const{errors:l,valid:c}=a;return c||(t=new Error("invalid template"),p3(l).forEach((t=>{this._logError(t.message,e)}))),t}isSchemaValid(e){return e&&e.includes("@camunda/zeebe-element-templates-json-schema")}}let h3=class{constructor(e,t,n,r){this._loadTemplates=e,this._eventBus=t,this._elementTemplates=n,this._moddle=r,t.on("diagram.init",(()=>{this.reload()}))}reload(){const e=this._loadTemplates;if(!s(e))return d(e)?e(((e,t)=>{if(e)return this.templateErrors([e]);this.setTemplates(t)})):e.length?this.setTemplates(e):void 0}setTemplates(e){const t=this._elementTemplates,n=this._moddle,r=new l3(n).addAll(e),i=r.getErrors(),o=r.getValidTemplates();t.set(o),i.length&&this.templateErrors(i),this.templatesChanged()}templatesChanged(){this._eventBus.fire("elementTemplates.changed")}templateErrors(e){this._eventBus.fire("elementTemplates.errors",{errors:e})}};h3.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];class f3 extends h3{constructor(e,t,n,r){super(e,t,n,r),this._elementTemplates=n}setTemplates(e){const t=this._elementTemplates,n=this._moddle,r=new d3(n).addAll(e),i=r.getErrors(),o=r.getValidTemplates();t.set(o),i.length&&this.templateErrors(i),this.templatesChanged()}}function m3(e,t,n,r){const i=r.create(e,t);return n&&(i.$parent=n),i}function g3(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function y3(e,t){return function(e,t){return(e||[]).filter((e=>Oi(e,t)))}(g3(e).get("rootElements"),t)}function v3(e,t,n){const{name:r}=e;return n.create("zeebe:Input",{source:t,target:r})}function b3(e,t,n){const{source:r}=e;return n.create("zeebe:Output",{source:r,target:t})}function w3(e,t,n){const{key:r}=e;return n.create("zeebe:Header",{key:r,value:t})}function x3(e={},t){return t.create("zeebe:TaskDefinition",e)}function _3(e,t="",n){const{name:r}=e;return n.create("zeebe:Property",{name:r,value:t})}function k3(e,t){const{optional:n}=t;return e||!n}function E3(e,t,n){const r=Si(e);let i=r.get("extensionElements");i||(i=m3("bpmn:ExtensionElements",{},r,n),r.set("extensionElements",i));let o=Z2(i,t);return o||(o=n.create(t),o.$parent=i,i.get("values").push(o)),o}f3.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];const O3="property",P3="zeebe:property",S3="zeebe:input",C3="zeebe:output",T3="zeebe:property",M3="zeebe:taskDefinition:type",A3="zeebe:taskDefinition",D3="zeebe:taskHeader",N3="bpmn:Message#property",R3="bpmn:Message#zeebe:subscription#property",j3="zeebe:calledElement",I3=[R3,S3,C3,T3,M3,A3,D3,j3],L3=[M3,A3],B3=[S3,C3],z3=[N3,R3],$3=[O3,N3];function q3(e){return e.type===M3?"type":e.property}function F3(e,t){const n=t.get("modeling"),r=t.get("canvas"),i=t.get("bpmnjs"),o=r.getRootElement(),s=i.getDefinitions(),a=s.get("rootElements"),l=a.filter((t=>t!==e));l.length!==a.length&&n.updateModdleProperties(o,s,{rootElements:l})}function V3(e){const t=Si(e);return Oi(t,"bpmn:Event")?t.get("eventDefinitions")[0]:t}let H3=class{constructor(e,t,n,r,i){this._bpmnFactory=e,this._bpmnReplace=t,this._modeling=r,this._commandStack=n,this._injector=i}preExecute(e){let t=e.newTemplate,n=e.oldTemplate,r=e.element;this._updateZeebeModelerTemplate(r,t),this._updateZeebeModelerTemplateIcon(r,t),t&&(r=e.element=this._updateElementType(r,n,t),this._updateProperties(r,n,t),this._updateZeebeTaskDefinition(r,n,t),this._updateZeebeInputOutputParameterProperties(r,n,t),this._updateZeebeTaskHeaderProperties(r,n,t),this._updateZeebePropertyProperties(r,n,t),this._updateMessage(r,n,t),this._updateCalledElement(r,n,t))}_getOrCreateExtensionElements(e,t=Si(e)){const n=this._bpmnFactory,r=this._modeling;let i=t.get("extensionElements");return i||(i=n.create("bpmn:ExtensionElements",{values:[]}),i.$parent=t,r.updateModdleProperties(e,t,{extensionElements:i})),i}_updateZeebeModelerTemplate(e,t){const n=this._modeling,r=t&&t.id,i=t&&t.version;G2(e)===r&&Q2(e)===i||n.updateProperties(e,{"zeebe:modelerTemplate":r,"zeebe:modelerTemplateVersion":i})}_updateZeebeModelerTemplateIcon(e,t){const n=this._modeling,r=t&&t.icon,i=r&&r.contents;(function(e){const t=Si(e);if(t)return t.get("zeebe:modelerTemplateIcon")})(e)!==i&&n.updateProperties(e,{"zeebe:modelerTemplateIcon":i})}_updateProperties(e,t,n){const r=this._commandStack,i=Si(e),o=n.properties.filter((e=>"property"===e.binding.type)),s=t&&t.properties.filter((e=>"property"===e.binding.type&&!o.find((t=>t.binding.name===e.binding.name))))||[];if(s.length){const t=s.reduce(((e,t)=>(e[t.binding.name]=void 0,e)),{});r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:t})}o.length&&o.forEach((n=>{const o=W3(t,n),s=n.binding.name,a=t3(n);let l={};G3(i,o,n)||(l[s]=a,r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:l}))}))}_updateZeebeTaskDefinition(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>{const t=e.binding.type;return L3.includes(t)})),s=this._getOrCreateExtensionElements(e);let a=Z2(s,"zeebe:TaskDefinition");if(!o.length)return void i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}});o.forEach((n=>{const o=W3(t,n),l=t3(n),c=q3(n.binding);if(a){if(!G3(a,o,n)){const t={[c]:l};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:t})}}else{a=x3({[c]:l},r),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}})}}));(t&&t.properties.filter((e=>{const t=e.binding.type;return L3.includes(t)&&!o.find((t=>t.binding.property===e.binding.property))}))||[]).forEach((t=>{const n={[t.binding.property]:void 0};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:n})}))}_updateZeebeInputOutputParameterProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>{const t=e.binding.type;return"zeebe:input"===t||"zeebe:output"===t})),s=this._getOrCreateExtensionElements(e);let a=Z2(s,"zeebe:IoMapping");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:IoMapping"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("zeebe:inputParameters")?a.get("zeebe:inputParameters").slice():[],c=a.get("zeebe:outputParameters")?a.get("zeebe:outputParameters").slice():[];let p;o.forEach((n=>{const o=W3(t,n),u=U3(s,n),d=t3(n),h=n.binding,f=h.type;let m,g;u?((k3(d,n)||G3(u,o,n))&&(Oi(u,"zeebe:Input")?Z3(l,u):Z3(c,u)),G3(u,o,n)||(g=Oi(u,"zeebe:Input")?{source:d}:{target:d},i.execute("element.updateModdleProperties",{element:e,moddleElement:u,properties:g}))):k3(d,n)&&("zeebe:input"===f?(p="inputParameters",m=v3(h,d,r)):(p="outputParameters",m=b3(h,d,r)),m.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{[p]:[...a.get(p),m]}}))})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{inputParameters:b(a.get("inputParameters"),(e=>l.includes(e)))}}),c.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{outputParameters:b(a.get("outputParameters"),(e=>c.includes(e)))}})}_updateZeebeTaskHeaderProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>"zeebe:taskHeader"===e.binding.type)),s=this._getOrCreateExtensionElements(e);let a=Z2(s,"zeebe:TaskHeaders");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:TaskHeaders"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("zeebe:values")?a.get("zeebe:values").slice():[];o.forEach((n=>{const o=W3(t,n),c=U3(s,n),p=t3(n),u=n.binding;if(c){if(!G3(c,o,n)){const t={value:p};i.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:t})}Z3(l,c)}else if(p){const t=w3(u,p,r);t.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:[...a.get("values"),t]}})}})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:b(a.get("values"),(e=>l.includes(e)))}})}_updateZeebePropertyProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>"zeebe:property"===e.binding.type)),s=this._getOrCreateExtensionElements(e);let a=Z2(s,"zeebe:Properties");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:Properties"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("properties")?a.get("properties").slice():[];o.forEach((n=>{const o=W3(t,n),c=U3(s,n),p=t3(n),u=n.binding;if(c)(k3(p,n)||G3(c,o,n))&&Z3(l,c),G3(c,o,n)||i.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:{value:p}});else if(k3(p,n)){const t=_3(u,p,r);t.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{properties:[...a.get("properties"),t]}})}})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{properties:b(a.get("properties"),(e=>l.includes(e)))}})}_updateMessage(e,t,n){this._updateMessageProperties(e,t,n),this._updateMessageZeebeSubscriptionProperties(e,t,n),this._updateZeebeModelerTemplateOnReferencedElement(e,t,n),n.properties.some((e=>z3.includes(e.binding.type)))||function(e,t){const n=t.get("modeling"),r=V3(e);if(!r)return;const i=e3(r);i&&(n.updateModdleProperties(e,r,{messageRef:void 0}),F3(i,t))}(e,this._injector)}_updateMessageProperties(e,t,n){const r=n.properties.filter((e=>e.binding.type===N3)),i=t&&t.properties.filter((e=>e.binding.type===N3&&!r.find((t=>t.binding.name===e.binding.name))))||[];let o=this._getMessage(e);o&&i.forEach((t=>{this._modeling.updateModdleProperties(e,o,{[t.binding.name]:void 0})})),r.length&&(o=this._getOrCreateMessage(e,n),r.forEach((n=>{const r=W3(t,n),i=n.binding.name,s=t3(n),a=o;let l={};G3(a,r,n)||(l[i]=s,this._modeling.updateModdleProperties(e,a,l))})))}_updateMessageZeebeSubscriptionProperties(e,t,n){const r=n.properties.filter((e=>e.binding.type===R3)),i=t&&t.properties.filter((e=>e.binding.type===R3&&!r.find((t=>t.binding.name===e.binding.name))))||[];if(!r.length&&!i.length)return;const o=this._getOrCreateMessage(e,n),s=this._getOrCreateExtensionElements(e,o),a=this._getSubscription(e,o),l=r.reduce(((e,n)=>{const r=W3(t,n),i=n.binding.name,o=t3(n);return G3(a,r,n)||(e[i]=o),e}),{});if(a)this._modeling.updateModdleProperties(e,a,l);else{const t=m3("zeebe:Subscription",l,o,this._bpmnFactory);this._modeling.updateModdleProperties(e,s,{values:[...s.get("values"),t]})}if(!t||!a)return;const c=i.reduce(((e,t)=>(e[t.binding.name]=void 0,e)),{});this._modeling.updateModdleProperties(e,a,c)}_updateZeebeModelerTemplateOnReferencedElement(e,t,n){const r=e3(Si(e));r&&G2(r)!==n.id&&this._modeling.updateModdleProperties(e,r,{"zeebe:modelerTemplate":n.id})}_getSubscription(e,t){const n=Z2(this._getOrCreateExtensionElements(e,t),"zeebe:Subscription");if(n)return n}_getOrCreateMessage(e,t){return this._getMessage(e)||this._createMessage(e,t)}_createMessage(e,t){let n=Si(e);Oi(n,"bpmn:Event")&&(n=n.get("eventDefinitions")[0]);const r=this._bpmnFactory.create("bpmn:Message",{"zeebe:modelerTemplate":t.id});return r.$parent=g3(n),this._modeling.updateModdleProperties(e,n,{messageRef:r}),r}_getMessage(e){let t=Si(e);return Oi(t,"bpmn:Event")&&(t=t.get("eventDefinitions")[0]),t&&t.get("messageRef")}_updateCalledElement(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>e.binding.type===j3)),s=this._getOrCreateExtensionElements(e);let a=Z2(s,"zeebe:CalledElement");if(!o.length)return void i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}});o.forEach((n=>{const o=W3(t,n),l=t3(n),c=n.binding.property;if(a){if(!G3(a,o,n)){const t={[c]:l};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:t})}}else{a=function(e={},t){return t.create("zeebe:CalledElement",e)}({[c]:l},r),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}})}}));(t&&t.properties.filter((e=>e.binding.type===j3&&!o.find((t=>t.binding.property===e.binding.property))))||[]).forEach((t=>{const n={[t.binding.property]:void 0};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:n})}))}_updateElementType(e,t,n){const r=n.elementType;if(!r)return e;const i=t&&t.elementType||{value:e.type};if(i&&i.value===r.value&&i.eventDefinition===r.eventDefinition)return e;const o={type:r.value};r.eventDefinition&&(o.eventDefinitionType=r.eventDefinition);return this._bpmnReplace.replaceElement(e,o)}};function U3(e,t){const n=Si(e),r=t.binding,i=r.type;if(L3.includes(i))return Z2(n,"zeebe:TaskDefinition");if("zeebe:input"===i||"zeebe:output"===i){const e=Z2(n,"zeebe:IoMapping");if(!e)return;return"zeebe:input"===i?m(e.get("zeebe:inputParameters"),(function(e){return e.get("zeebe:target")===r.name})):m(e.get("zeebe:outputParameters"),(function(e){return e.get("zeebe:source")===r.source}))}if("zeebe:taskHeader"===i){const e=Z2(n,"zeebe:TaskHeaders");if(!e)return;return m(e.get("zeebe:values"),(function(e){return e.get("zeebe:key")===r.key}))}if("zeebe:property"===i){const e=Z2(n,"zeebe:Properties");if(!e)return;return e.get("properties").find((e=>e.get("name")===r.name))}}function W3(e,t){if(!e)return;const n=e.properties,r=t.binding,i=r.name,o=r.type;return"property"===o?m(n,(function(e){const t=e.binding,n=t.name;return"property"===t.type&&n===i})):L3.includes(o)?m(n,(function(e){return q3(e.binding)===q3(r)})):"zeebe:input"===o?m(n,(function(e){const t=e.binding,n=t.name;if("zeebe:input"===t.type)return n===i})):"zeebe:output"===o?m(n,(function(e){const t=e.binding;if("zeebe:output"===t.type)return t.source===r.source})):"zeebe:taskHeader"===o?m(n,(function(e){const t=e.binding;if("zeebe:taskHeader"===t.type)return t.key===r.key})):"zeebe:property"===o?n.find((e=>{const t=e.binding;if("zeebe:property"===t.type)return t.name===r.name})):o===N3?n.find((e=>{const t=e.binding;if(t.type===N3)return t.name===r.name})):o===R3?n.find((e=>{const t=e.binding;if(t.type===R3)return t.name===r.name})):void 0}function G3(e,t,n){if("Hidden"===n.type)return!1;if("Dropdown"===n.type){const t=Q3(e,n);return n.choices&&n.choices.some((e=>e.value===t))}return t?function(e,t){const n=t.value;return Q3(e,t)!==n}(e,t):!!Q3(e,n)}function Q3(e,t){const n=Si(e);if(!n)return;const r=t.binding,i=r.name,o=r.type;return"property"===o?n.get(i):L3.includes(o)?n.get(q3(r)):"zeebe:input"===o?n.get("zeebe:source"):"zeebe:output"===o?n.get("zeebe:target"):"zeebe:taskHeader"===o||"zeebe:property"===o?n.get("zeebe:value"):o===N3||o===R3?n.get(i):void 0}function Z3(e,t){const n=e.indexOf(t);return s(n)||e.splice(n,1),e}H3.$inject=["bpmnFactory","bpmnReplace","commandStack","modeling","injector"];class X3{constructor(e,t,n,r,i,o,s){this._modeling=e,this._elementFactory=t,this._elementRegistry=n,this._canvas=r,this._bpmnFactory=i,this._replace=o,this._commandStack=s}preExecute(e){const{element:t}=e;t.parent?e.newElement=this._removeTemplate(t):e.newElement=this._removeRootTemplate(t)}_removeTemplate(e){const t=this._replace,n=Si(e),r=n.$type,i=this._getEventDefinitionType(n),o=this._createBlankBusinessObject(e);return t.replaceElement(e,{type:r,businessObject:o,eventDefinitionType:i},{createElementsBehavior:!1})}_removeRootTemplate(e){var t=this._modeling,n=this._elementFactory,r=this._elementRegistry,i=this._canvas;if(rs(e)){const t=es(e),n=r.get(t);if(n&&n!==e)return i.setRootElement(i.findRoot(n)),this._removeTemplate(n)}const o=Si(e).$type,s=this._createBlankBusinessObject(e),a=n.create("root",{type:o,businessObject:s});return this._commandStack.execute("canvas.updateRoot",{newRoot:a,oldRoot:e}),t.moveElements(e.children,{x:0,y:0},a),a}_getEventDefinitionType(e){if(!e.eventDefinitions)return null;const t=e.eventDefinitions[0];return t?t.$type:null}_createBlankBusinessObject(e){const t=this._bpmnFactory,n=Si(e),r=t.create(n.$type),i=ro(e);return i?(Oi(e,"bpmn:Group")&&(r.categoryValueRef=t.create("bpmn:CategoryValue")),io({businessObject:r},i),r):r}}X3.$inject=["modeling","elementFactory","elementRegistry","canvas","bpmnFactory","replace","commandStack"];class Y3{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;v(e,(function(e){t.execute(e.cmd,e.context)}))}}Y3.$inject=["commandStack"];let K3=class{constructor(e,t,n){e.registerHandler("element-templates.multi-command-executor",Y3),e.registerHandler("propertiesPanel.zeebe.changeTemplate",H3),e.registerHandler("propertiesPanel.removeTemplate",X3),n.on(["commandStack.shape.create.postExecuted"],(function(n){const{context:{hints:r={},shape:i}}=n;!1!==r.createElementsBehavior&&J3(i,t,e)})),n.on(["commandStack.connection.create.postExecuted"],(function(n){const{context:{hints:r={},connection:i}}=n;!1!==r.createElementsBehavior&&J3(i,t,e)}))}};function J3(e,t,n){if(!t.get(e)&&t.getDefault(e)){const r="propertiesPanel.zeebe.changeTemplate",i={element:e,newTemplate:t.getDefault(e)};n.execute(r,i)}}K3.$inject=["commandStack","elementTemplates","eventBus"];var e5={__init__:["elementTemplateCommands"],elementTemplateCommands:["type",K3]};class t5{static create(e,t){const{property:n}=t,{binding:r}=n,{name:i}=r,o=t3(n);Si(e)[i]=o}}class n5{static create(e,t){const{property:n,bpmnFactory:r}=t,i=t3(n),o=q3(n.binding);E3(e,"zeebe:TaskDefinition",r).set(o,i)}}class r5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=t3(n),s=E3(e,"zeebe:IoMapping",r);if(!k3(o,n))return;const a=v3(i,o,r);a.$parent=s,s.get("inputParameters").push(a)}}class i5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=t3(n),s=E3(e,"zeebe:IoMapping",r);if(!k3(o,n))return;const a=b3(i,o,r);a.$parent=s,s.get("outputParameters").push(a)}}class o5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=t3(n),s=E3(e,"zeebe:TaskHeaders",r),a=w3(i,o,r);a.$parent=s,s.get("values").push(a)}}class s5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=t3(n),s=E3(e,"zeebe:Properties",r);if(!k3(o,n))return;const a=_3(i,o,r);a.$parent=s,s.get("properties").push(a)}}class a5{static create(e,t){const{bpmnFactory:n,property:r}=t,{binding:i}=r,{name:o}=i,s=t3(r);let a=Si(e);Oi(a,"bpmn:Event")&&(a=a.get("eventDefinitions")[0]);let l=a.get("messageRef");l||(l=n.create("bpmn:Message",{"zeebe:modelerTemplate":G2(e)}),a.set("messageRef",l)),l.set(o,s)}}class l5{static create(e,t){const{bpmnFactory:n,property:r}=t,{binding:i}=r,{name:o}=i,s=t3(r);let a=Si(e);Oi(a,"bpmn:Event")&&(a=a.get("eventDefinitions")[0]);let l=a.get("messageRef");l||(l=n.create("bpmn:Message",{"zeebe:modelerTemplate":G2(e)}),a.set("messageRef",l));const c=E3(l,"zeebe:Subscription",n);k3(s,r)&&c.set(o,s)}}class c5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,{property:o}=i,s=t3(n),a=E3(e,"zeebe:CalledElement",r);!function(e){e.set("propagateAllChildVariables",!1),e.set("propagateAllParentVariables",!1)}(a),a.set(o,s)}}const p5=["Boolean","Integer","String"];function u5(e,t,n){const r=function(e,t,n){let r=Si(e);const i="",{binding:o}=t,{name:a,property:l,type:c}=o;if("property"===c){const e=r.get(a);return s(e)?i:e}if(L3.includes(c)){const e=Z2(r,"zeebe:TaskDefinition");if(e){if(c===M3)return e.get("type");if(c===A3)return e.get(l)}return i}if(B3.includes(c)){const e=Z2(r,"zeebe:IoMapping");if(!e)return i;if(c===S3){const t=Y2(e,o);return t?t.get("source"):i}if(c===C3){const t=K2(e,o);return t?t.get("target"):i}}if(c===D3){const e=Z2(r,"zeebe:TaskHeaders");if(!e)return i;const t=J2(e,o);return t?t.get("value"):i}if(c===T3){const e=Z2(r,"zeebe:Properties");if(e){const t=X2(e,o);if(t)return t.get("value")}return i}if(c===N3){const e=e3(r),t=e?e.get(a):void 0;return s(t)?i:t}if(c===R3){const e=e3(r);if(e){const t=Z2(e,"zeebe:Subscription");if(!s(t?t.get(a):void 0))return t.get(a)}return i}if(c===j3){const e=Z2(r,"zeebe:CalledElement");return e?e.get(l):i}throw m5(e,t)}(e,t),{type:i}=t;return"Boolean"===i?function(e){switch(e){case"true":return!0;case"false":return!1}return e}(r):r}const d5=null;function h5(e,t,n,r,i){let o=Si(n);const{binding:a}=r,{name:l,type:c}=a;let p,u;const d=[],h={element:n,property:r};if(z3.includes(c)){Oi(o,"bpmn:Event")&&(o=o.get("eventDefinitions")[0]);let t=e3(o);t||(t=e.create("bpmn:Message",{"zeebe:modelerTemplate":G2(n)}),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{messageRef:t}}})),o=t}if(I3.includes(c)&&(p=o.get("extensionElements"),p?d.push(d5):(p=m3("bpmn:ExtensionElements",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{extensionElements:p}}}))),$3.includes(c)){const e=o.$descriptor.propertiesByName[l];if(e){const{type:t}=e;if(!p5.includes(t))throw new Error(`cannot set property of type <${t}>`);"Boolean"===t?u=!!i:"Integer"===t?(u=parseInt(i,10),isNaN(u)&&(u=void 0)):u=i||""}else u=i||"";s(u)?d.push(d5):d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{[l]:u}}})}if(L3.includes(c)){const t=Z2(p,"zeebe:TaskDefinition"),n=q3(a),r={[n]:i||""};if(t)d.push({cmd:"element.updateModdleProperties",context:{...h,properties:r,moddleElement:t}});else{const t=x3(r,e);t.$parent=o;const n=p.get("values");d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...n,t]}}})}}if(B3.includes(c)){let t=Z2(p,"zeebe:IoMapping");if(t||(t=m3("zeebe:IoMapping",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}})),c===S3){const n=Y2(t,a),o=t.get("inputParameters").filter((e=>e!==n));if(k3(i,r)){const t=v3(a,i,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{inputParameters:[...o]}}})}if(c===C3){const n=K2(t,a),o=t.get("outputParameters").filter((e=>e!==n));if(k3(i,r)){const t=b3(a,i,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{outputParameters:[...o]}}})}}if(c===D3){let t=Z2(p,"zeebe:TaskHeaders");t||(t=m3("zeebe:TaskHeaders",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const n=J2(t,a),r=t.get("values").filter((e=>e!==n));if(i){const n=w3(a,i,e);d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:[...r,n]}}})}else d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:r}}})}if(c===T3){let t=Z2(p,"zeebe:Properties");t||(t=m3("zeebe:Properties",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const s=X2(t,a),l=t.get("properties").filter((e=>e!==s));if(k3(i,r)){const t=_3(a,i,e);l.push(t)}d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{properties:l}}})}if(c===R3){let t=Z2(p,"zeebe:Subscription");const r={[l]:i||""};t?d.push({cmd:"element.updateModdleProperties",context:{element:n,properties:r,moddleElement:t}}):(t=m3("zeebe:Subscription",r,p,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(c===j3){let t=Z2(n,"zeebe:CalledElement");const r=a.property,o={[r]:i||""};t?d.push({cmd:"element.updateModdleProperties",context:{element:n,properties:o,moddleElement:t}}):(t=m3("zeebe:CalledElement",o,p,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(!d.length)throw m5(n,r);{const e=d.filter((e=>e!==d5));e.length&&t.execute("element-templates.multi-command-executor",e)}}function f5(e,t,n=g5){const{constraints:r={},label:i}=t,{maxLength:o,minLength:s,notEmpty:a}=r;if(a&&function(e){if("string"==typeof e)return!e.trim().length;return void 0===e}(e))return`${i} ${n("must not be empty.")}`;if(o&&(e||"").length>o)return`${i} ${n("must have max length {maxLength}.",{maxLength:o})}`;if(s&&(e||"").length<s)return`${i} ${n("must have min length {minLength}.",{minLength:s})}`;let{pattern:l}=r;if(l){let t;if(h(l)||(t=l.message,l=l.value),!function(e,t){return new RegExp(t).test(e)}(e,l))return t?`${i} ${n(t)}`:`${i} ${n("must match pattern {pattern}.",{pattern:l})}`}}function m5(e,t){const n=Si(e).get("id"),{binding:r}=t,{type:i}=r;return new Error(`unknown binding <${i}> for element <${n}>, this should never happen`)}function g5(e,t){return t=t||{},e.replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}function y5(e,t){const{properties:n}=t,r=n.filter((t=>function(e,t){const{binding:n}=t,{type:r}=n;if("bpmn:Message#zeebe:subscription#property"===r&&"correlationKey"===n.name&&Oi(e,"bpmn:StartEvent")&&!Qi(e.parent))return!1;return!0}(e,t)&&v5(e,n,t)));return{...t,properties:r}}function v5(e,t,n){const{condition:r}=n;if(!r)return!0;if(r.allMatch){return r.allMatch.every((n=>b5(e,t,n)))}return b5(e,t,r)}function b5(e,t,n){const{property:r,equals:i,oneOf:o,isActive:s}=n;if(void 0!==s){const n=t.find((e=>e.id===r));return n?s?v5(e,t,n):!v5(e,t,n):!s}const a=function(e,t,n){const r=t.find((e=>e.id===n));if(!r)return;return u5(e,r)}(e,t,r);return l=n,c="equals",Object.prototype.hasOwnProperty.call(l,c)?a===i:!!o&&o.includes(a);var l,c}class w5{constructor(e,t){this._bpmnFactory=e,this._elementFactory=t,this._providers={[O3]:t5,[M3]:n5,[A3]:n5,[P3]:s5,[S3]:r5,[C3]:i5,[D3]:o5,[N3]:a5,[R3]:l5,[j3]:c5}}create(e){const{properties:t}=e,n=this._createShape(e);return this._setModelerTemplate(n,e),function(e){const{icon:t}=e;return!(!t||!t.contents)}(e)&&this._setModelerTemplateIcon(n,e),this._applyProperties(n,t),n}_createShape(e){const{appliesTo:t,elementType:n={}}=e,r=this._elementFactory,i={type:n.value||t[0]};n.eventDefinition&&(i.eventDefinitionType=n.eventDefinition);return r.createShape(i)}_ensureExtensionElements(e){const t=this._bpmnFactory,n=Si(e);let r=n.get("extensionElements");return r||(r=t.create("bpmn:ExtensionElements",{values:[]}),r.$parent=n,n.set("extensionElements",r)),r}_setModelerTemplate(e,t){const{id:n,version:r}=t,i=Si(e);i.set("zeebe:modelerTemplate",n),i.set("zeebe:modelerTemplateVersion",r)}_setModelerTemplateIcon(e,t){const{icon:n}=t,{contents:r}=n;Si(e).set("zeebe:modelerTemplateIcon",r)}_applyProperties(e,t){const n=[];t.forEach((r=>this._applyProperty(e,r,t,n)))}_applyProperty(e,t,n,r){if(r.includes(t))return;const i=function(e,t){const{condition:n}=e;if(!n)return[];const r=function(e,t){return m(e,(function(e){return e.id===t}))}(t,n.property);if(r)return[r];return[]}(t,n);i.forEach((t=>this._applyProperty(e,t,n,r))),v5(e,n,t)&&this._bindProperty(t,e),r.push(t)}_bindProperty(e,t){const{binding:n}=e,{type:r}=n;this._providers[r].create(t,{property:e,bpmnFactory:this._bpmnFactory})}}w5.$inject=["bpmnFactory","elementFactory"];var x5={__init__:["templateElementFactory"],templateElementFactory:["type",w5]};class _5 extends Wo{constructor(e,t,n,r,i){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=r,this._injector=i,this.preExecute(["element.updateProperties","element.updateModdleProperties","element.move"],this._saveConditionalState,!0,this),this.postExecute(["element.updateProperties","element.updateModdleProperties","propertiesPanel.zeebe.changeTemplate","element.move"],this._applyConditions,!0,this),this.preExecute(["propertiesPanel.zeebe.changeTemplate"],this._ensureConditional,!0,this)}_saveConditionalState(e){const{element:t}=e,n=this._elementTemplates.get(t);n&&(e.oldTemplateWithConditions=y5(t,n))}_applyConditions(e){const{element:t,newTemplate:n,oldTemplateWithConditions:r}=e,i=this._elementTemplates.get(t),o=r||n;if(!i||!o)return;const s=y5(t,i);if(!function(e,t){let n=t.properties;return n.some((t=>!e.properties.find((e=>k5(e,t)))))}(a=s,l=o)&&!function(e,t){const n=function(e,t){let n=t.properties;return n.filter((t=>!e.properties.find((e=>k5(e,t)))))}(t,e);return n.some((e=>!function(e,t){return e.properties.some((e=>O5(t.binding,e.binding)))}(t,e)))}(a,l))return;var a,l;const c={element:t,newTemplate:i,oldTemplate:o};this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",c)}_ensureConditional(e){const{element:t,newTemplate:n}=e;n&&(e.newTemplate=y5(t,n))}}function k5(e,t){return O5(e.binding,t.binding)&&S5(e.condition,t.condition)}function E5(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function O5(e,t){return S5(e=P5(e),t=P5(t))}function P5(e){return e.type===M3?{...e,type:A3,property:"type"}:e}function S5(e,t){return JSON.stringify(e,E5)===JSON.stringify(t,E5)}_5.$inject=["eventBus","elementTemplates","commandStack","bpmnFactory","injector"];let C5=class extends Wo{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(t){var n=t.context,r=Si(n.oldShape),i=n.newShape,o=Si(i);if(!r.modelerTemplate)return;const s=o.modelerTemplate,a=o.modelerTemplateVersion,l=e.get(s,a);if(!l)return void e.unlinkTemplate(i);const{appliesTo:c,elementType:p}=l;if(p)return void(Oi(i,p.value)&&!function(e,t){if(!Oi(e,"bpmn:Event"))return!1;const{eventDefinition:n}=t,r=Si(e),i=r.get("eventDefinitions");if(!n)return 0!==i.length;return!Oi(i[0],n)}(i,p)||e.unlinkTemplate(i));const u=c.reduce(((e,t)=>e||Oi(o,t)),!1);u||e.unlinkTemplate(i)}))}};C5.$inject=["elementTemplates","injector"];class T5 extends Wo{constructor(e,t,n,r){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=r,this.postExecute(["element.updateProperties","element.updateModdleProperties"],this._updatePropertiesOrder,!0,this)}_updatePropertiesOrder(e){const{element:t}=e,n=this._elementTemplates.get(t),r=t.businessObject,i=[];if(!n)return;const o=y5(t,n).properties,s=Z2(r,"zeebe:Properties");s&&this._updateZeebePropertiesOrder(s,o,i,e);const a=Z2(r,"zeebe:IoMapping");a&&(this._updateInputOrder(a,o,i,e),this._updateOutputOrder(a,o,i,e));const l=Z2(r,"zeebe:TaskHeaders");if(l&&this._updateTaskHeadersOrder(l,o,i,e),i.length){const e=i.filter((e=>null!==e));e.length&&this._commandStack.execute("element-templates.multi-command-executor",e)}else;}_updateZeebePropertiesOrder(e,t,n,r){const i=e.get("properties");if(i.length<1)return;let o=[...i];D5(o,((e,t)=>e.findIndex((e=>"zeebe:property"==e.binding.type&&e.binding.name===t.get("name")))),t),A5(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{properties:o}}})}_updateInputOrder(e,t,n,r){const i=e.get("inputParameters");if(i.length<1)return;let o=[...i];D5(o,((e,t)=>e.findIndex((e=>"zeebe:input"==e.binding.type&&e.binding.name===t.get("target")))),t),A5(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{inputParameters:o}}})}_updateOutputOrder(e,t,n,r){const i=e.get("outputParameters");if(i.length<1)return;let o=[...i];D5(o,((e,t)=>e.findIndex((e=>"zeebe:output"==e.binding.type&&e.binding.source===t.get("source")))),t),A5(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{outputParameters:o}}})}_updateTaskHeadersOrder(e,t,n,r){const i=e.get("zeebe:values");if(i.length<1)return;let o=[...i];D5(o,((e,t)=>e.findIndex((e=>"zeebe:taskHeader"==e.binding.type&&e.binding.key===t.get("key")))),t),A5(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{values:o}}})}}function M5(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function A5(e,t){return e.every(((e,n)=>function(e,t){return JSON.stringify(e,M5)===JSON.stringify(t,M5)}(e,t[n])))}function D5(e,t,n){return e.sort(((e,r)=>t(n,e)-t(n,r)))}T5.$inject=["eventBus","elementTemplates","commandStack","bpmnFactory"];class N5 extends Wo{constructor(e,t,n,r,i,o){super(e),this._eventBus=e,this._elementTemplates=t,this._modeling=n,this._injector=r,this.postExecuted(["element.updateProperties","element.updateModdleProperties"],this._handlePropertiesUpdate,!0,this),this.postExecuted("shape.replace",this._handleReplacement,!0,this),this.postExecuted("shape.delete",this._handleRemoval,!0,this),e.on("copyPaste.pasteElement",(function(e){const{referencedRootElement:t}=e.descriptor;t&&G2(t)&&(e.descriptor.referencedRootElement=i.copyElement(t,o.create(t.$type)))}))}_handlePropertiesUpdate(e){const{element:t,properties:n}=e;if(!R5(t))return;if(!(W2 in n)||h(n[W2]))return;const r=e3(Si(t));r&&G2(r)&&this._modeling.updateModdleProperties(t,r,{[W2]:null})}_handleReplacement(e){const{oldShape:t,newShape:n}=e,r=G2(t),i=G2(n);if(!R5(t)||!r)return;const o=e3(Si(t));o&&G2(o)&&(R5(n)&&i?this._addMessage(n,o):F3(o,this._injector))}_handleRemoval(e){const{shape:t}=e;if("label"===t.type)return;if(!R5(t))return;if(!G2(t))return;const n=e3(Si(t));n&&G2(n)&&F3(n,this._injector)}_addMessage(e,t){const n=V3(e);this._modeling.updateModdleProperties(e,n,{messageRef:t})}}function R5(e){return Pi(e,["bpmn:ReceiveTask","bpmn:SendTask","bpmn:Event"])}N5.$inject=["eventBus","elementTemplates","modeling","injector","moddleCopy","bpmnFactory"];class j5 extends Wo{constructor(e,t,n,r,i){super(e),this._eventBus=e,this._elementTemplates=t,this._modeling=n,this.preExecute("shape.create",(e=>{const n=e.shape,o=t.get(n);if(!o)return;const s=o.properties.filter((e=>e.generatedValue));s.forEach((e=>{if(!u5(n,e))return;const t=t3(e);h5(i,r,n,e,t)}))}),!0)}}j5.$inject=["eventBus","elementTemplates","modeling","commandStack","bpmnFactory"];class I5 extends Wo{constructor(e,t,n){super(e),this._modeling=t,this._elementTemplates=n,this.postExecuted(["element.updateProperties","element.updateModdleProperties"],this._ensureNoPropagation,!0,this)}_ensureNoPropagation(e){const{element:t}=e;if(!this._elementTemplates.get(t))return;if(!Oi(t,"bpmn:CallActivity"))return;const n=Z2(t,"zeebe:CalledElement");if(n)for(const e of["propagateAllChildVariables","propagateAllParentVariables"])!1!==n.get(e)&&this._modeling.updateModdleProperties(t,n,{[e]:!1})}}I5.$inject=["eventBus","modeling","elementTemplates"];var L5={__depends__:[e5,{__init__:["elementTemplatesReplaceBehavior","elementTemplatesConditionalBehavior","elementTemplatesGeneratedValueBehavior","elementTemplatesReferencedElementBehavior","elementTemplatesUpdatePropertiesOrderBehavior","elementTemplatesCalledElementBehavior"],elementTemplatesReplaceBehavior:["type",C5],elementTemplatesConditionalBehavior:["type",_5],elementTemplatesGeneratedValueBehavior:["type",j5],elementTemplatesReferencedElementBehavior:["type",N5],elementTemplatesUpdatePropertiesOrderBehavior:["type",T5],elementTemplatesCalledElementBehavior:["type",I5]},x5],__init__:["elementTemplatesLoader"],elementTemplates:["type",o3],elementTemplatesLoader:["type",f3]};function B5(e){const t=e.metadata,n=e.version;if(t){if(!s(t.created))return z5(t.created);if(!s(t.updated))return z5(t.updated)}return s(n)?null:n}function z5(e){const t=new Date(e),n=t.getFullYear(),r=$5(String(t.getMonth()+1));return $5(String(t.getDate()))+"."+r+"."+n+" "+$5(String(t.getHours()))+":"+$5(String(t.getMinutes()))}function $5(e){return function(e,t,n){for(;e.length<t;)e=n+e;return e}(e,2,"0")}function q5(e={}){const{getTemplateId:t=r3}=e;return function(e){const{id:n,label:r,element:i,entries:o=[]}=e,[s,a]=IU(["groups",n,"open"],!1),l=!o.length;return B_("div",{class:"bio-properties-panel-group bio-properties-panel-templates-group","data-group-id":"group-"+n,children:[B_("div",{class:F_("bio-properties-panel-group-header",{empty:l,open:s&&!l}),onClick:()=>!l&&a(!s),children:[B_("div",{title:r,class:"bio-properties-panel-group-header-title",children:r}),B_("div",{class:"bio-properties-panel-group-header-buttons",children:[B_(V5,{element:i,getTemplateId:t}),!l&&B_(F5,{open:s})]})]}),B_("div",{class:F_("bio-properties-panel-group-entries",{open:s&&!l}),children:o.map((e=>{const{component:t,id:n}=e;return lx(t,{...e,key:n,element:i})}))})]})}}function F5({open:e}){return B_(BW,{title:"Toggle section",class:"bio-properties-panel-arrow",children:B_(hU,{class:e?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})}function V5({element:e,getTemplateId:t}){const n=function(e,t,n){const r=n(t),i=e.get(t);if(!r)return{type:"NO_TEMPLATE"};if(!i)return{type:"UNKNOWN_TEMPLATE",templateId:r};if(i.deprecated)return{type:"DEPRECATED_TEMPLATE",template:i};const o=e.getLatest(r,{deprecated:!0})[0];if(o!==i)return{type:"OUTDATED_TEMPLATE",template:i,newerTemplate:o};return{type:"KNOWN_TEMPLATE",template:i}}(gQ("elementTemplates"),e,t);return"NO_TEMPLATE"===n.type?B_(H5,{element:e}):"KNOWN_TEMPLATE"===n.type?B_(U5,{element:e}):"UNKNOWN_TEMPLATE"===n.type?B_(G5,{element:e}):"DEPRECATED_TEMPLATE"===n.type?B_(Y5,{element:e,templateState:n}):"OUTDATED_TEMPLATE"===n.type?B_(Z5,{element:e,templateState:n}):void 0}function H5({element:e}){const t=gQ("translate"),n=gQ("eventBus");return B_(BW,{title:"Select a template",class:"bio-properties-panel-select-template-button",onClick:()=>n.fire("elementTemplates.select",{element:e}),children:[B_(fU,{}),B_("span",{children:t("Select")})]})}function U5({element:e}){const t=gQ("translate"),n=gQ("elementTemplates"),r=[{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:B_(W5,{}),action:()=>n.removeTemplate(e)}];return B_(IW,{menuItems:r,class:"bio-properties-panel-applied-template-button",children:B_(BW,{children:[B_("span",{children:t("Applied")}),B_(hU,{class:"bio-properties-panel-arrow-down"})]})})}function W5(){return B_("span",{class:"bio-properties-panel-remove-template",children:gQ("translate")("Remove")})}function G5({element:e}){const t=gQ("translate"),n=gQ("elementTemplates"),r=[{entry:B_(Q5,{})},{separator:!0},{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:B_(W5,{}),action:()=>n.removeTemplate(e)}];return B_(IW,{menuItems:r,class:"bio-properties-panel-template-not-found",children:B_(BW,{children:[B_("span",{children:t("Not found")}),B_(hU,{class:"bio-properties-panel-arrow-down"})]})})}function Q5(){return B_("div",{class:"bio-properties-panel-template-not-found-text",children:gQ("translate")("The template applied was not found. Therefore, its properties cannot be shown. Unlink to access the data.")})}function Z5({element:e,templateState:t}){const{newerTemplate:n}=t,r=gQ("translate"),i=gQ("elementTemplates"),o=[{entry:B_(X5,{newerTemplate:n})},{separator:!0},{entry:r("Update"),action:()=>i.applyTemplate(e,n)},{entry:r("Unlink"),action:()=>i.unlinkTemplate(e)},{entry:B_(W5,{}),action:()=>i.removeTemplate(e)}];return B_(IW,{menuItems:o,class:"bio-properties-panel-template-update-available",children:B_(BW,{children:[B_("span",{children:r("Update available")}),B_(hU,{class:"bio-properties-panel-arrow-down"})]})})}function X5({newerTemplate:e}){return B_("div",{class:"bio-properties-panel-template-update-available-text",children:gQ("translate")("A new version of the template is available: {templateVersion}",{templateVersion:B5(e)})})}function Y5({element:e,templateState:t}){const{template:n}=t,r=gQ("translate"),i=gQ("elementTemplates"),o=[{entry:B_(K5,{template:n})},{separator:!0},{entry:r("Unlink"),action:()=>i.unlinkTemplate(e)},{entry:B_(W5,{}),action:()=>i.removeTemplate(e)}];return B_(IW,{menuItems:o,class:"bio-properties-panel-deprecated-template-button",children:B_(BW,{children:[B_("span",{children:r("Deprecated")}),B_(hU,{class:"bio-properties-panel-arrow-down"})]})})}function K5({template:e}){const t=gQ("translate"),{message:n=t("This template is deprecated."),documentationRef:r}=e.deprecated;return B_("div",{class:"bio-properties-panel-deprecated-template-text",children:[n,r&&B_(px,{children:[" ",B_("a",{href:r,children:B_(J5,{})})]})]})}function J5(){return B_("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:B_("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.6368 10.6375V5.91761H11.9995V10.6382C11.9995 10.9973 11.8623 11.3141 11.5878 11.5885C11.3134 11.863 10.9966 12.0002 10.6375 12.0002H1.36266C0.982345 12.0002 0.660159 11.8681 0.396102 11.6041C0.132044 11.34 1.52588e-05 11.0178 1.52588e-05 10.6375V1.36267C1.52588e-05 0.98236 0.132044 0.660173 0.396102 0.396116C0.660159 0.132058 0.982345 2.95639e-05 1.36266 2.95639e-05H5.91624V1.36267H1.36266V10.6375H10.6368ZM12 0H7.2794L7.27873 1.36197H9.68701L3.06507 7.98391L4.01541 8.93425L10.6373 2.31231V4.72059H12V0Z",fill:"#818798"})})}function e4({element:e,elementTemplates:t}){const n=t.get(e);return n?[{id:"template-name",component:t4,template:n},{id:"template-version",component:n4,template:n},{id:"template-description",component:r4,template:n}].filter((e=>!!e.component)):[]}function t4({id:e,template:t}){return B_(i4,{id:e,label:gQ("translate")("Name"),content:t.name})}function n4({id:e,template:t}){const n=gQ("translate"),r=B5(t);return r?B_(i4,{id:e,label:n("Version"),content:r}):null}function r4({id:e,template:t}){const n=gQ("translate"),{description:r}=t;return r?B_(i4,{id:e,label:n("Description"),content:t.description}):null}function i4({id:e,label:t,content:n}){return B_("div",{"data-entry-id":e,class:"bio-properties-panel-entry bio-properties-panel-text-entry",children:[B_("span",{class:"bio-properties-panel-label",children:t}),B_("span",{class:"bio-properties-panel-text-entry__content",children:n})]})}var o4,s4={};function a4(e,t,n){if(3===e.nodeType){var r="textContent"in e?e.textContent:e.nodeValue||"";if(!1!==a4.options.trim){var i=0===t||t===n.length-1;if((!(r=r.match(/^[\s\n]+$/g)&&"all"!==a4.options.trim?" ":r.replace(/(^[\s\n]+|[\s\n]+$)/g,"all"===a4.options.trim||i?"":" "))||" "===r)&&n.length>1&&i)return null}return r}if(1!==e.nodeType)return null;var o=String(e.nodeName).toLowerCase();if("script"===o&&!a4.options.allowScripts)return null;var s,a,l=a4.h(o,function(e){var t=e&&e.length;if(!t)return null;for(var n={},r=0;r<t;r++){var i=e[r],o=i.name,s=i.value;"on"===o.substring(0,2)&&a4.options.allowEvents&&(s=new Function(s)),n[o]=s}return n}(e.attributes),(a=(s=e.childNodes)&&Array.prototype.map.call(s,a4).filter(c4))&&a.length?a:null);return a4.visitor&&a4.visitor(l),l}var l4,c4=function(e){return e},p4={};function u4(e){var t=(e.type||"").toLowerCase(),n=u4.map;n&&n.hasOwnProperty(t)?(e.type=n[t],e.props=Object.keys(e.props||{}).reduce((function(t,n){var r;return t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=e.props[n],t}),{})):e.type=t.replace(/[^a-z0-9-]/i,"")}var d4=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.setReviver=function(e){l4=e},t.prototype.shouldComponentUpdate=function(e){var t=this.props;return e.wrap!==t.wrap||e.type!==t.type||e.markup!==t.markup},t.prototype.setComponents=function(e){if(this.map={},e)for(var t in e)if(e.hasOwnProperty(t)){var n=t.replace(/([A-Z]+)([A-Z][a-z0-9])|([a-z0-9]+)([A-Z])/g,"$1$3-$2$4").toLowerCase();this.map[n]=e[t]}},t.prototype.render=function(e){var t=e.wrap;void 0===t&&(t=!0);var n,r=e.type,i=e.markup,o=e.components,s=e.reviver,a=e.onError,l=e["allow-scripts"],c=e["allow-events"],p=e.trim,u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["wrap","type","markup","components","reviver","onError","allow-scripts","allow-events","trim"]),d=s||this.reviver||this.constructor.prototype.reviver||l4||lx;this.setComponents(o);var h={allowScripts:l,allowEvents:c,trim:p};try{n=function(e,t,n,r,i){var o=function(e,t){var n,r,i,o,s="html"===t?"text/html":"application/xml";"html"===t?(o="body",i="<!DOCTYPE html>\n<html><body>"+e+"</body></html>"):(o="xml",i='<?xml version="1.0" encoding="UTF-8"?>\n<xml>'+e+"</xml>");try{n=(new DOMParser).parseFromString(i,s)}catch(e){r=e}if(n||"html"!==t||((n=o4||(o4=function(){if(document.implementation&&document.implementation.createHTMLDocument)return document.implementation.createHTMLDocument("");var e=document.createElement("iframe");return e.style.cssText="position:absolute; left:0; top:-999em; width:1px; height:1px; overflow:hidden;",e.setAttribute("sandbox","allow-forms"),document.body.appendChild(e),e.contentWindow.document}())).open(),n.write(i),n.close()),n){var a=n.getElementsByTagName(o)[0],l=a.firstChild;return e&&!l&&(a.error="Document parse failed."),l&&"parsererror"===String(l.nodeName).toLowerCase()&&(l.removeChild(l.firstChild),l.removeChild(l.lastChild),a.error=l.textContent||l.nodeValue||r||"Unknown error",a.removeChild(l)),a}}(e,t);if(o&&o.error)throw new Error(o.error);var s=o&&o.body||o;u4.map=r||p4;var a=s&&function(e,t,n,r){return a4.visitor=t,a4.h=n,a4.options=r||s4,a4(e)}(s,u4,n,i);return u4.map=null,a&&a.props&&a.props.children||null}(i,r,d,this.map,h)}catch(e){a?a({error:e}):"undefined"!=typeof console&&console.error&&console.error("preact-markup: "+e)}if(!1===t)return n||null;var f=u.hasOwnProperty("className")?"className":"class",m=u[f];return m?m.splice?m.splice(0,0,"markup"):"string"==typeof m?u[f]+=" markup":"object"==typeof m&&(m.markup=!0):u[f]="markup",d("div",u,n||null)},t}(ux);const h4=3,f4=1,m4=["h1","h2","h3","h4","h5","span","em","a","p","div","ul","ol","li","hr","blockquote","img","pre","code","br","strong"],g4=["align","alt","class","href","id","name","rel","target","src"],y4=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,v4=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g,b4=document.createElement("form");function w4(e){const t=(new DOMParser).parseFromString(`<!DOCTYPE html>\n<html><body><div>${e}`,"text/html");t.normalize();const n=t.body.firstChild;return n?(x4(n),(new XMLSerializer).serializeToString(n)):""}function x4(e){if(e.nodeType===h4)return;if(e.nodeType!==f4)return e.remove();const t=e.tagName.toLowerCase();if(!m4.includes(t))return e.remove();const n=e.attributes;for(let r=n.length;r--;){const i=n[r],o=i.name,s=o.toLowerCase(),a=i.value.trim();e.removeAttribute(o);_4(t,s,a)&&e.setAttribute(o,a)}"a"===t&&"_blank"===e.getAttribute("target")&&"noopener"!==e.getAttribute("rel")&&e.setAttribute("rel","noopener");for(let t=e.childNodes.length;t--;)x4(e.childNodes[t])}function _4(e,t,n){return!!g4.includes(t)&&(("id"!==t&&"name"!==t||!(n in document)&&!(n in b4))&&(("target"!==t||"_blank"===n)&&!("href"===t&&!y4.test(n.replace(v4,"")))))}function k4(e){const{tooltip:t}=e;return t&&B_(d4,{markup:w4(t),trim:!1})}function E4(e,t,n,r){const i=Xx(M4(e,t,n,r),[e,t,n,r]),o=Xx(T4(n,r),[n,r]),[s,a]=Hx(C4(r,o())),l=Xx((e=>{!s&&"string"==typeof e&&e.startsWith("=")&&a(!0),!s||"string"==typeof e&&e.startsWith("=")||a(!1)}),[s]),c=Xx(((e,t)=>{l(e),i(P4(e,r.type))}),[i,r,l]),p=Xx((()=>s?o():S4(o(),r.type)),[o,r,s]);return O4(r)?[p,c]:[o,i]}const O4=e=>["optional","static"].includes(e.feel)&&["Boolean","Number"].includes(e.type),P4=(e,t)=>"string"==typeof e&&e.startsWith("=")?e:"Boolean"===t?"="+!!(e="false"!==e&&e):void 0===e?e:"="+e.toString(),S4=(e,t)=>void 0===e?e:("string"==typeof e&&e.startsWith("=")&&(e=e.slice(1)),"Number"===t?Number(e):"Boolean"===t?"false"!==e:e),C4=(e,t)=>!O4(e)||("Boolean"===e.type?!("=true"===t||"=false"===t):"Number"!==e.type||isNaN(S4(t,e.type)));function T4(e,t){return function(){return u5(e,t)}}function M4(e,t,n,r){return function(i){return h5(e,t,n,r,i)}}function A4(e,t){return n=>f5(n,t,e)}function D4(e){return["zeebe:property","zeebe:taskHeader"].includes(e.binding.type)}function N4(e){const{description:t}=e,n=gQ("translate");return t&&B_(d4,{markup:w4(n(t)),trim:!1})}function R4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,language:l,placeholder:c,tooltip:p}=r,u=gQ("bpmnFactory"),d=gQ("commandStack"),h=gQ("debounceInput"),f=gQ("translate");return eG({debounce:h,element:t,id:n,label:s,feel:a,placeholder:c,monospace:!!l,autoResize:!0,description:N4({description:i}),getValue:T4(t,r),setValue:M4(u,d,t,r),validate:A4(f,r),disabled:!1===o,tooltip:k4({tooltip:p})})}function j4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,placeholder:l,tooltip:c}=r,p=gQ("bpmnFactory"),u=gQ("commandStack"),d=gQ("debounceInput"),h=gQ("translate");return iG({debounce:d,element:t,getValue:T4(t,r),id:n,label:s,feel:a,placeholder:l,description:N4({description:i}),setValue:M4(p,u,t,r),validate:A4(h,r),disabled:!1===o,tooltip:k4({tooltip:c})})}function I4(e){return t=>{const{bpmnElement:n,element:r}=t,i=(n||r).businessObject,[o,s]=Hx([]),a=gQ("eventBus"),l=(c={getVariablesForElement:JG},gQ("variableResolver",!1)||c);var c;return Wx((()=>{const e=()=>{(async()=>{const e=await l.getVariablesForElement(i);s(e.map((e=>({...e,info:e.info||e.origin&&"Written in "+e.origin.map((e=>e.name||e.id)).join(", ")}))))})()};return a.on("commandStack.changed",e),e(),()=>{a.off("commandStack.changed",e)}}),[i]),B_(e,{...t,variables:o})}}function L4(e){return t=>{const n=Zx((()=>{const e=gQ("config");return e&&e.propertiesPanel&&e.propertiesPanel.feelTooltipContainer}),[]);return B_(e,{...t,tooltipContainer:n})}}const B4=L4(EW),z4=L4((function(e){return B_(EW,{class:"bio-properties-panel-feel-textarea",OptionalComponent:_W,...e})})),$4=I4(B4),q4=I4(z4);function F4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,placeholder:l,tooltip:c}=r,p=gQ("bpmnFactory"),u=gQ("commandStack"),d=gQ("debounceInput"),h=gQ("translate");return(D4(r)?B4:$4)({debounce:d,element:t,getValue:T4(t,r),id:n,label:s,feel:a,placeholder:l,description:N4({description:i}),setValue:M4(p,u,t,r),validate:A4(h,r),disabled:!1===o,tooltip:k4({tooltip:c})})}function V4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,placeholder:l,tooltip:c}=r,p=gQ("bpmnFactory"),u=gQ("commandStack"),d=gQ("debounceInput"),h=gQ("translate");return(D4(r)?z4:q4)({debounce:d,element:t,getValue:T4(t,r),id:n,label:s,feel:a,placeholder:l,description:N4({description:i}),setValue:M4(p,u,t,r),validate:A4(h,r),disabled:!1===o,tooltip:k4({tooltip:c})})}function H4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,tooltip:a}=r,l=gQ("bpmnFactory"),c=gQ("commandStack"),p=gQ("translate");return ZW({element:t,id:n,label:s,getOptions:()=>{const{choices:e,optional:t}=r;let n=[];return n=e.map((({name:e,value:t})=>({label:e,value:t}))),t&&(n=[{label:"",value:void 0},...n]),n},description:N4({description:i}),getValue:T4(t,r),setValue:M4(l,c,t,r),validate:A4(p,r),disabled:!1===o,tooltip:k4({tooltip:a})})}function U4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,tooltip:a,feel:l}=r,c=gQ("bpmnFactory"),p=gQ("commandStack"),u=gQ("debounceInput"),d=gQ("translate"),h="optional"===l?PW:UW,[f,m]=E4(c,p,t,r);return h({element:t,debounce:u,translate:d,getValue:f,id:n,label:s,description:N4({description:i}),setValue:m,disabled:!1===o,tooltip:k4({tooltip:a})})}function W4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c="optional"===a?OW:fW,p=gQ("bpmnFactory"),d=gQ("commandStack"),h=gQ("debounceInput"),f=gQ("translate"),[m,g]=E4(p,d,t,r),y=Xx((e=>{if(O4(r)&&u(e)&&e.toString().includes("e"))return f("Scientific notation is disallowed in FEEL.");return A4(f,r)(e)}),[f,r]);return c({debounce:h,element:t,getValue:m,id:n,label:s,description:N4({description:i}),setValue:g,validate:y,disabled:!1===o,tooltip:k4({tooltip:l})})}function G4(e){const{element:t,elementTemplate:n,injector:r}=e,i=r.get("translate"),o=[],{id:s,properties:a,groups:l}=n,c=function(e){return P(e,"group")}(a),p=[];return v(c,((e,n)=>{const r=function(e,t){return m(e,(e=>e.id===t))}(l,n);if(!r)return p.push(...e);Q4(o,{element:t,id:`ElementTemplates__CustomProperties-${n}`,label:i(r.label),openByDefault:r.openByDefault,properties:e,templateId:`${s}-${n}`,tooltip:k4({tooltip:r.tooltip})})})),p.length&&Q4(o,{id:"ElementTemplates__CustomProperties",label:i("Custom properties"),element:t,properties:p,templateId:s}),o}function Q4(e,t){const{element:n,id:r,label:i,openByDefault:o=!0,properties:s,templateId:a,tooltip:l}=t,c={id:r,label:i,component:qU,entries:[],shouldOpen:o,tooltip:l};s.forEach(((e,t)=>{const n=function(e,t,n){let{type:r,feel:i}=n;r||(r=function(e){const{binding:t}=e,{type:n}=t;if([O3,M3,A3,S3,C3,T3,D3].includes(n))return"String"}(n));if("required"===i)return{id:e,component:F4,isEdited:SW,property:n};if("Number"===r)return{id:e,component:W4,isEdited:mW,property:n};if("Boolean"===r)return{id:e,component:U4,isEdited:WW,property:n};if("Dropdown"===r)return{id:e,component:H4,isEdited:XW,property:n};if("String"===r)return i?{id:e,component:F4,isEdited:SW,property:n}:{id:e,component:j4,isEdited:oG,property:n};if("Text"===r)return i?{id:e,component:V4,isEdited:SW,property:n}:{id:e,component:R4,isEdited:tG,property:n}}(`custom-entry-${a}-${t}`,0,e);n&&c.entries.push(n)})),c.entries.length&&e.push(c)}function Z4(e){return Oi(e,"bpmn:ReceiveTask")?Si(e):function(e,t){return m(Si(e).get("eventDefinitions")||[],(function(e){return Oi(e,t)}))}(e,"bpmn:MessageEventDefinition")}const X4="",Y4="create-new";function K4(e){const{element:t}=e;return function(e){return Oi(e,"bpmn:ReceiveTask")||Pi(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!Z4(e)}(t)?[{id:"messageRef",component:J4,isEdited:XW}]:[]}function J4(e){const{element:t}=e,r=gQ("bpmnFactory"),i=gQ("modeling"),o=gQ("translate"),s=Z4(t);return function(e){const{autoFocusEntry:t,element:n,getOptions:r}=e,i=r(n),o=LU(i);return Wx((()=>{if(t&&o&&i.length>o.length){const e=ve(`[data-entry-id="${t}"]`),n=ve(".bio-properties-panel-input",e);n&&n.select()}}),[i]),B_(ZW,{...e})}({element:t,id:"messageRef",label:o("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=function(e){const t=Z4(e);return t&&t.get("messageRef")}(t);return e?e.get("id"):X4},setValue:e=>{const o=g3(s);let a;if(e===Y4){const t=function(e){return new n([32,32,1]).nextPrefixed(e)}("Message_");a=m3("bpmn:Message",{id:t,name:t},o,r),e=a.get("id")}return a=function(e,t,n){return y3(e,t).find((e=>e.id===n))}(s,"bpmn:Message",e)||a,i.updateModdleProperties(t,s,{messageRef:a})},getOptions:()=>{let e=[{value:X4,label:o("<none>")},{value:Y4,label:o("Create new ...")}];const n=function(e){return e.filter((e=>!e.get("zeebe:modelerTemplate")))}(y3(Si(t),"bpmn:Message"));var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}const e6=["general","documentation","multiInstance"];let t6=class{constructor(e,t,n){t.registerProvider(300,this),this._elementTemplates=e,this._injector=n}getGroups(e){return t=>{const n=this._injector;if(function(e,t){const n=function(e,t){return e.find((e=>e.id===t))}(e,"message");if(!n)return;n.entries=(r=n.entries,i=K4({element:t}),r.map((e=>i.find((t=>t.id===e.id))||e)));var r,i}(t,e),!this._shouldShowTemplateProperties(e))return t;const r=n.get("translate");t=t.slice();const i={element:e,id:"ElementTemplates__Template",label:r("Template"),component:q5({getTemplateId:G2}),entries:e4({element:e,elementTemplates:this._elementTemplates})};n6(e6,t,[i]);let o=this._elementTemplates.get(e);if(o){o=y5(e,o);n6("ElementTemplates__Template",t,[].concat(G4({element:e,elementTemplate:o,injector:n})))}return G2(e)&&(t=function(e,t){if(!e.entriesVisible)return t.filter((e=>e6.includes(e.id)||e.id.startsWith("ElementTemplates__")));return t}(o||{},t)),t}}_shouldShowTemplateProperties(e){return G2(e)||this._elementTemplates.getAll(e).length}};function n6(e,t,n){let r=e;Array.isArray(e)||(r=[e]);const i=t.reduce(((e,t,n)=>r.includes(t.id)?n:e),-1);-1!==i?t.splice(i+1,0,...n):t.unshift(...n)}t6.$inject=["elementTemplates","propertiesPanel","injector"];var r6={__depends__:[L5,{__depends__:[Ao],__init__:["elementTemplatesPropertiesProvider"],elementTemplatesPropertiesProvider:["type",t6]}]};function i6(){}function o6(e,t){this.model=e,this.properties=t}(class extends Wo{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(n){var r=n.context,i=Si(r.oldShape),o=r.newShape,s=Si(o);if(!i.modelerTemplate)return;const a=s.modelerTemplate,l=s.modelerTemplateVersion,c=e.get(a,l);if(!c)return void e.unlinkTemplate(o,t);const{appliesTo:p,elementType:u}=c;if(u)return void(Oi(o,u.value)||e.unlinkTemplate(o,t));const d=p.reduce(((e,t)=>e||Oi(s,t)),!1);d||e.unlinkTemplate(o,t)}))}}).$inject=["elementTemplates","injector"],i6.prototype.get=function(e){return this.$model.properties.get(this,e)},i6.prototype.set=function(e,t){this.$model.properties.set(this,e,t)},o6.prototype.createType=function(e){var t=this.model,n=this.properties,r=Object.create(i6.prototype);v(e.properties,(function(e){e.isMany||void 0===e.default||(r[e.name]=e.default)})),n.defineModel(r,t),n.defineDescriptor(r,e);var i=e.ns.name;function o(e){n.define(this,"$type",{value:i,enumerable:!0}),n.define(this,"$attrs",{value:{}}),n.define(this,"$parent",{writable:!0}),v(e,I((function(e,t){this.set(t,e)}),this))}return o.prototype=r,o.hasType=r.$instanceOf=this.model.hasType,n.defineModel(o,t),n.defineDescriptor(o,e),o};var s6={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},a6={String:function(e){return e},Boolean:function(e){return"true"===e},Integer:function(e){return parseInt(e,10)},Real:function(e){return parseFloat(e)}};function l6(e,t){var n=a6[e];return n?n(t):t}function c6(e){return!!s6[e]}function p6(e){return!!a6[e]}function u6(e,t){var n,r,i=e.split(/:/);if(1===i.length)n=e,r=t;else{if(2!==i.length)throw new Error("expected <prefix:localName> or <localName>, got "+e);n=i[1],r=i[0]}return{name:e=(r?r+":":"")+n,prefix:r,localName:n}}function d6(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}function h6(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,v(e,I(this.registerPackage,this))}function f6(e,t,n){var r=t[n];if(r in e)throw new Error("package with "+n+" <"+r+"> already defined")}function m6(e){this.model=e}function g6(e,t,n){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:n,configurable:!0})}function y6(e){return e.replace(/^:/,"")}function v6(e,t={}){this.properties=new m6(this),this.factory=new o6(this,this.properties),this.registry=new h6(e,this.properties),this.typeCache={},this.config=t}d6.prototype.build=function(){return $(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},d6.prototype.addProperty=function(e,t,n){"boolean"==typeof t&&(n=t,t=void 0),this.addNamedProperty(e,!1!==n);var r=this.properties;void 0!==t?r.splice(t,0,e):r.push(e)},d6.prototype.replaceProperty=function(e,t,n){var r=e.ns,i=this.properties,o=this.propertiesByName,s=e.name!==t.name;if(e.isId){if(!t.isId)throw new Error("property <"+t.ns.name+"> must be id property to refine <"+e.ns.name+">");this.setIdProperty(t,!1)}if(e.isBody){if(!t.isBody)throw new Error("property <"+t.ns.name+"> must be body property to refine <"+e.ns.name+">");this.setBodyProperty(t,!1)}var a=i.indexOf(e);if(-1===a)throw new Error("property <"+r.name+"> not found in property list");i.splice(a,1),this.addProperty(t,n?void 0:a,s),o[r.name]=o[r.localName]=t},d6.prototype.redefineProperty=function(e,t,n){var r=e.ns.prefix,i=t.split("#"),o=u6(i[0],r),s=u6(i[1],o.prefix).name,a=this.propertiesByName[s];if(!a)throw new Error("refined property <"+s+"> not found");this.replaceProperty(a,e,n),delete e.redefines},d6.prototype.addNamedProperty=function(e,t){var n=e.ns,r=this.propertiesByName;t&&(this.assertNotDefined(e,n.name),this.assertNotDefined(e,n.localName)),r[n.name]=r[n.localName]=e},d6.prototype.removeNamedProperty=function(e){var t=e.ns,n=this.propertiesByName;delete n[t.name],delete n[t.localName]},d6.prototype.setBodyProperty=function(e,t){if(t&&this.bodyProperty)throw new Error("body property defined multiple times (<"+this.bodyProperty.ns.name+">, <"+e.ns.name+">)");this.bodyProperty=e},d6.prototype.setIdProperty=function(e,t){if(t&&this.idProperty)throw new Error("id property defined multiple times (<"+this.idProperty.ns.name+">, <"+e.ns.name+">)");this.idProperty=e},d6.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},d6.prototype.assertNotDefined=function(e,t){var n=e.name,r=this.propertiesByName[n];if(r)throw new Error("property <"+n+"> already defined; override of <"+r.definedBy.ns.name+"#"+r.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},d6.prototype.hasProperty=function(e){return this.propertiesByName[e]},d6.prototype.addTrait=function(e,t){t&&this.assertNotTrait(e);var n=this.allTypesByName,r=this.allTypes,i=e.name;i in n||(v(e.properties,I((function(n){n=L({},n,{name:n.ns.localName,inherited:t}),Object.defineProperty(n,"definedBy",{value:e});var r=n.replaces,i=n.redefines;r||i?this.redefineProperty(n,r||i,r):(n.isBody&&this.setBodyProperty(n),n.isId&&this.setIdProperty(n),this.addProperty(n))}),this)),r.push(e),n[i]=e)},h6.prototype.getPackage=function(e){return this.packageMap[e]},h6.prototype.getPackages=function(){return this.packages},h6.prototype.registerPackage=function(e){e=L({},e);var t=this.packageMap;f6(t,e,"prefix"),f6(t,e,"uri"),v(e.types,I((function(t){this.registerType(t,e)}),this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},h6.prototype.registerType=function(e,t){var n=u6((e=L({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:L(e.meta||{})})).name,t.prefix),r=n.name,i={};v(e.properties,I((function(e){var t=u6(e.name,n.prefix),r=t.name;c6(e.type)||(e.type=u6(e.type,t.prefix).name),L(e,{ns:t,name:r}),i[r]=e}),this)),L(e,{ns:n,name:r,propertiesByName:i}),v(e.extends,I((function(e){var t=u6(e,n.prefix),i=this.typeMap[t.name];i.traits=i.traits||[],i.traits.push(r)}),this)),this.definePackage(e,t),this.typeMap[r]=e},h6.prototype.mapTypes=function(e,t,n){var r=c6(e.name)?{name:e.name}:this.typeMap[e.name],i=this;function o(n,r){var o=u6(n,c6(n)?"":e.prefix);i.mapTypes(o,t,r)}function s(e){return o(e,!0)}if(!r)throw new Error("unknown type <"+e.name+">");v(r.superClass,n?s:function(e){return o(e,!1)}),t(r,!n),v(r.traits,s)},h6.prototype.getEffectiveDescriptor=function(e){var t=u6(e),n=new d6(t);this.mapTypes(t,(function(e,t){n.addTrait(e,t)}));var r=n.build();return this.definePackage(r,r.allTypes[r.allTypes.length-1].$pkg),r},h6.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})},m6.prototype.set=function(e,t,n){if(!h(t)||!t.length)throw new TypeError("property name must be a non-empty string");var r=this.getProperty(e,t),i=r&&r.name;void 0===n?r?delete e[i]:delete e.$attrs[y6(t)]:r?i in e?e[i]=n:g6(e,r,n):e.$attrs[y6(t)]=n},m6.prototype.get=function(e,t){var n=this.getProperty(e,t);if(!n)return e.$attrs[y6(t)];var r=n.name;return!e[r]&&n.isMany&&g6(e,n,[]),e[r]},m6.prototype.define=function(e,t,n){if(!n.writable){var r=n.value;delete(n=L({},n,{get:function(){return r}})).value}Object.defineProperty(e,t,n)},m6.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},m6.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},m6.prototype.getProperty=function(e,t){var n=this.model,r=n.getPropertyDescriptor(e,t);if(r)return r;if(t.includes(":"))return null;const i=n.config.strict;if(void 0!==i){const n=new TypeError(`unknown property <${t}> on <${e.$type}>`);if(i)throw n;"undefined"!=typeof console&&console.warn(n)}return null},v6.prototype.create=function(e,t){var n=this.getType(e);if(!n)throw new Error("unknown type <"+e+">");return new n(t)},v6.prototype.getType=function(e){var t=this.typeCache,n=h(e)?e:e.ns.name,r=t[n];return r||(e=this.registry.getEffectiveDescriptor(n),r=t[n]=this.factory.createType(e)),r},v6.prototype.createAny=function(e,t,n){var r=u6(e),i={$type:e,$instanceOf:function(e){return e===this.$type},get:function(e){return this[e]},set:function(e,t){B(this,[e],t)}},o={name:e,isGeneric:!0,ns:{prefix:r.prefix,localName:r.localName,uri:t}};return this.properties.defineDescriptor(i,o),this.properties.defineModel(i,this),this.properties.define(i,"get",{enumerable:!1,writable:!0}),this.properties.define(i,"set",{enumerable:!1,writable:!0}),this.properties.define(i,"$parent",{enumerable:!1,writable:!0}),this.properties.define(i,"$instanceOf",{enumerable:!1,writable:!0}),v(n,(function(e,t){p(e)&&void 0!==e.value?i[e.name]=e.value:i[t]=e})),i},v6.prototype.getPackage=function(e){return this.registry.getPackage(e)},v6.prototype.getPackages=function(){return this.registry.getPackages()},v6.prototype.getElementDescriptor=function(e){return e.$descriptor},v6.prototype.hasType=function(e,t){return void 0===t&&(t=e,e=this),t in e.$model.getElementDescriptor(e).allTypesByName},v6.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},v6.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var b6=String.fromCharCode,w6=Object.prototype.hasOwnProperty,x6=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,_6={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};function k6(e,t,n,r){return r?w6.call(_6,r)?_6[r]:"&"+r+";":b6(t||parseInt(n,16))}function E6(e){return e.length>3&&-1!==e.indexOf("&")?e.replace(x6,k6):e}Object.keys(_6).forEach((function(e){_6[e.toUpperCase()]=_6[e]}));var O6="non-whitespace outside of root node";function P6(e){return new Error(e)}function S6(e){return"missing namespace for prefix <"+e+">"}function C6(e){return{get:e,enumerable:!0}}function T6(e){var t,n={};for(t in e)n[t]=e[t];return n}function M6(e){return e+"$uri"}function A6(){return{line:0,column:0}}function D6(e){throw e}function N6(e){if(!this)return new N6(e);var t,n,r,i,o,s,a,l,c,p=e&&e.proxy,u=D6,d=A6,h=!1,f=!1,m=null,g=!1;function y(e){e instanceof Error||(e=P6(e)),m=e,u(e,d)}function v(e){o&&(e instanceof Error||(e=P6(e)),o(e,d))}this.on=function(e,c){if("function"!=typeof c)throw P6("required args <name, cb>");switch(e){case"openTag":n=c;break;case"text":t=c;break;case"closeTag":r=c;break;case"error":u=c;break;case"warn":o=c;break;case"cdata":i=c;break;case"attention":l=c;break;case"question":a=c;break;case"comment":s=c;break;default:throw P6("unsupported event: "+e)}return this},this.ns=function(e){if(void 0===e&&(e={}),"object"!=typeof e)throw P6("required args <nsMap={}>");var t,n={};for(t in e)n[t]=e[t];return f=!0,c=n,this},this.parse=function(e){if("string"!=typeof e)throw P6("required args <xml=string>");return m=null,function(e){var o,u,m,b,w,x,_,k,E,O,P,S=f?[]:null,C=f?function(e){var t,n,r={};for(t in e)r[n=e[t]]=n,r[M6(n)]=t;return r}(c):null,T=[],M=0,A=!1,D=!1,N=0,R=0,j="",I=0;function L(){if(null!==P)return P;var e,t,n,r,i,o,s,a,l,p,u,d=f&&C.xmlns,m=f&&h?[]:null,g=I,y=j,b=y.length,w={},x={};e:for(;g<b;g++)if(l=!1,!(32===(p=y.charCodeAt(g))||p<14&&p>8)){for((p<65||p>122||p>90&&p<97)&&95!==p&&58!==p&&(v("illegal first char attribute name"),l=!0),u=g+1;u<b;u++)if(!((p=y.charCodeAt(u))>96&&p<123||p>64&&p<91||p>47&&p<59||46===p||45===p||95===p)){if(32===p||p<14&&p>8){v("missing attribute value"),g=u;continue e}if(61===p)break;v("illegal attribute name char"),l=!0}if("xmlns:xmlns"===(a=y.substring(g,u))&&(v("illegal declaration of xmlns"),l=!0),34===(p=y.charCodeAt(u+1)))-1===(u=y.indexOf('"',g=u+2))&&-1!==(u=y.indexOf("'",g))&&(v("attribute value quote missmatch"),l=!0);else if(39===p)-1===(u=y.indexOf("'",g=u+2))&&-1!==(u=y.indexOf('"',g))&&(v("attribute value quote missmatch"),l=!0);else for(v("missing attribute value quotes"),l=!0,u+=1;u<b&&!(32===(p=y.charCodeAt(u+1))||p<14&&p>8);u++);for(-1===u&&(v("missing closing quotes"),u=b,l=!0),l||(o=y.substring(g,u)),g=u;u+1<b&&!(32===(p=y.charCodeAt(u+1))||p<14&&p>8);u++)g===u&&(v("illegal character after attribute end"),l=!0);if(g=u+1,!l)if(a in x)v("attribute <"+a+"> already defined");else if(x[a]=!0,f)if(h){if(null!==(i="xmlns"===a?"xmlns":120===a.charCodeAt(0)&&"xmlns:"===a.substr(0,6)?a.substr(6):null)){if(e=E6(o),t=M6(i),!(s=c[e])){if("xmlns"===i||t in C&&C[t]!==e)do{s="ns"+M++}while(void 0!==C[s]);else s=i;c[e]=s}C[i]!==s&&(r||(C=T6(C),r=!0),C[i]=s,"xmlns"===i&&(C[M6(s)]=e,d=s),C[t]=e),w[a]=o;continue}m.push(a,o)}else-1!==(p=a.indexOf(":"))?(n=C[a.substring(0,p)])?w[a=d===n?a.substr(p+1):n+a.substr(p)]=o:v(S6(a.substring(0,p))):w[a]=o;else w[a]=o}if(h)for(g=0,b=m.length;g<b;g++){if(a=m[g++],o=m[g],-1!==(p=a.indexOf(":"))){if(!(n=C[a.substring(0,p)])){v(S6(a.substring(0,p)));continue}a=d===n?a.substr(p+1):n+a.substr(p)}w[a]=o}return P=w}function B(){for(var t,n,r=/(\r\n|\r|\n)/g,i=0,o=0,s=0,a=R;N>=s&&(t=r.exec(e))&&!((a=t[0].length+t.index)>N);)i+=1,s=a;return-1==N?(o=a,n=e.substring(R)):0===R?n=e.substring(R,N):(o=N-s,n=-1==R?e.substring(N):e.substring(N,R+1)),{data:n,line:i,column:o}}d=B,p&&(O=Object.create({},{name:C6((function(){return k})),originalName:C6((function(){return E})),attrs:C6(L),ns:C6((function(){return C}))}));for(;-1!==R;){if(-1===(N=60===e.charCodeAt(R)?R:e.indexOf("<",R)))return T.length?y("unexpected end of file"):0===R?y("missing start tag"):void(R<e.length&&e.substring(R).trim()&&v(O6));if(R!==N)if(T.length){if(t&&(t(e.substring(R,N),E6,d),g))return}else if(e.substring(R,N).trim()&&(v(O6),g))return;if(33===(w=e.charCodeAt(N+1))){if(91===(b=e.charCodeAt(N+2))&&"CDATA["===e.substr(N+3,6)){if(-1===(R=e.indexOf("]]>",N)))return y("unclosed cdata");if(i&&(i(e.substring(N+9,R),d),g))return;R+=3;continue}if(45===b&&45===e.charCodeAt(N+3)){if(-1===(R=e.indexOf("--\x3e",N)))return y("unclosed comment");if(s&&(s(e.substring(N+4,R),E6,d),g))return;R+=3;continue}}if(63!==w){for(u=N+1;;u++){if(x=e.charCodeAt(u),isNaN(x))return R=-1,y("unclosed tag");if(34===x)u=-1!==(b=e.indexOf('"',u+1))?b:u;else if(39===x)u=-1!==(b=e.indexOf("'",u+1))?b:u;else if(62===x){R=u;break}}if(33!==w){if(P={},47===w){if(A=!1,D=!0,!T.length)return y("missing open tag");if(u=k=T.pop(),b=N+2+u.length,e.substring(N+2,b)!==u)return y("closing tag mismatch");for(;b<R;b++)if(!(32===(w=e.charCodeAt(b))||w>8&&w<14))return y("close tag")}else{if(47===e.charCodeAt(R-1)?(u=k=e.substring(N+1,R-1),A=!0,D=!0):(u=k=e.substring(N+1,R),A=!0,D=!1),!(w>96&&w<123||w>64&&w<91||95===w||58===w))return y("illegal first char nodeName");for(b=1,m=u.length;b<m;b++)if(!((w=u.charCodeAt(b))>96&&w<123||w>64&&w<91||w>47&&w<59||45===w||95===w||46==w)){if(32===w||w<14&&w>8){k=u.substring(0,b),P=null;break}return y("invalid nodeName")}D||T.push(k)}if(f){if(o=C,A&&(D||S.push(o),null===P&&(h=-1!==u.indexOf("xmlns",b))&&(I=b,j=u,L(),h=!1)),E=k,-1!==(w=k.indexOf(":"))){if(!(_=C[k.substring(0,w)]))return y("missing namespace on <"+E+">");k=k.substr(w+1)}else _=C.xmlns;_&&(k=_+":"+k)}if(A&&(I=b,j=u,n&&(p?n(O,E6,D,d):n(k,L,E6,D,d),g)))return;if(D){if(r&&(r(p?O:k,E6,A,d),g))return;f&&(C=A?o:S.pop())}R+=1}else{if(l&&(l(e.substring(N,R+1),E6,d),g))return;R+=1}}else{if(-1===(R=e.indexOf("?>",N)))return y("unclosed question");if(a&&(a(e.substring(N,R+2),d),g))return;R+=2}}}(e),d=A6,g=!1,m},this.stop=function(){g=!0}}function R6(e){return e.xml&&"lowerCase"===e.xml.tagAlias}var j6={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},I6="property";function L6(e){return e.xml&&e.xml.serialize}function B6(e,t){return R6(t)?e.prefix+":"+((n=e.localName).charAt(0).toUpperCase()+n.slice(1)):e.name;var n}function z6(e){return new Error(e)}function $6(e){return e.$descriptor}function q6(e){L(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(e){this.references.push(e)},this.addElement=function(e){if(!e)throw z6("expected element");var t,n=this.elementsById,r=$6(e).idProperty;if(r&&(t=e.get(r.name))){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(t))throw new Error("illegal ID <"+t+">");if(n[t])throw z6("duplicate ID <"+t+">");n[t]=e}},this.addWarning=function(e){this.warnings.push(e)}}function F6(){}function V6(){}function H6(){}function U6(e,t){this.property=e,this.context=t}function W6(e,t){this.element=t,this.propertyDesc=e}function G6(){}function Q6(e,t,n){this.model=e,this.type=e.getType(t),this.context=n}function Z6(e,t,n){Q6.call(this,e,t,n)}function X6(e,t,n){this.model=e,this.context=n}function Y6(e){e instanceof v6&&(e={model:e}),L(this,{lax:!1},e)}F6.prototype.handleEnd=function(){},F6.prototype.handleText=function(){},F6.prototype.handleNode=function(){},V6.prototype=Object.create(F6.prototype),V6.prototype.handleNode=function(){return this},H6.prototype=Object.create(F6.prototype),H6.prototype.handleText=function(e){this.body=(this.body||"")+e},U6.prototype=Object.create(H6.prototype),U6.prototype.handleNode=function(e){if(this.element)throw z6("expected no sub nodes");return this.element=this.createReference(e),this},U6.prototype.handleEnd=function(){this.element.id=this.body},U6.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}},W6.prototype=Object.create(H6.prototype),W6.prototype.handleEnd=function(){var e=this.body||"",t=this.element,n=this.propertyDesc;e=l6(n.type,e),n.isMany?t.get(n.name).push(e):t.set(n.name,e)},G6.prototype=Object.create(H6.prototype),G6.prototype.handleNode=function(e){var t=this,n=this.element;return n?t=this.handleChild(e):(n=this.element=this.createElement(e),this.context.addElement(n)),t},Q6.prototype=Object.create(G6.prototype),Q6.prototype.addReference=function(e){this.context.addReference(e)},Q6.prototype.handleText=function(e){if(!$6(this.element).bodyProperty)throw z6("unexpected body text <"+e+">");H6.prototype.handleText.call(this,e)},Q6.prototype.handleEnd=function(){var e=this.body,t=this.element,n=$6(t).bodyProperty;n&&void 0!==e&&(e=l6(n.type,e),t.set(n.name,e))},Q6.prototype.createElement=function(e){var t,n=e.attributes,r=this.type,i=$6(r),o=this.context,s=new r({}),a=this.model;return v(n,(function(e,n){var r=i.propertiesByName[n];r&&r.isReference?r.isMany?v(e.split(" "),(function(e){o.addReference({element:s,property:r.ns.name,id:e})})):o.addReference({element:s,property:r.ns.name,id:e}):(r?e=l6(r.type,e):"xmlns"===n?n=":"+n:(t=u6(n,i.ns.prefix),a.getPackage(t.prefix)&&o.addWarning({message:"unknown attribute <"+n+">",element:s,property:n,value:e})),s.set(n,e))})),s},Q6.prototype.getPropertyForNode=function(e){var t=u6(e.name),n=this.type,r=this.model,i=$6(n),o=t.name,s=i.propertiesByName[o];if(s&&!s.isAttr){const t=function(e){const t=L6(e);return t!==I6&&(t||null)}(s);if(t){const n=e.attributes[t];if(n){const t=function(e,t,n){const r=u6(e,t.xmlns),i=u6(`${t[r.prefix]||r.prefix}:${r.localName}`);return function(e,t){var n=e.name,r=e.localName,i=t&&t.xml&&t.xml.typePrefix;return i&&0===r.indexOf(i)?e.prefix+":"+r.slice(i.length):n}(i,n.getPackage(i.prefix))}(n,e.ns,r);return L({},s,{effectiveType:$6(r.getType(t)).name})}}return s}var a=r.getPackage(t.prefix);if(a){const e=B6(t,a),n=r.getType(e);if(s=m(i.properties,(function(e){return!e.isVirtual&&!e.isReference&&!e.isAttribute&&n.hasType(e.type)})),s)return L({},s,{effectiveType:$6(n).name})}else if(s=m(i.properties,(function(e){return!e.isReference&&!e.isAttribute&&"Element"===e.type})),s)return s;throw z6("unrecognized element <"+t.name+">")},Q6.prototype.toString=function(){return"ElementDescriptor["+$6(this.type).name+"]"},Q6.prototype.valueHandler=function(e,t){return new W6(e,t)},Q6.prototype.referenceHandler=function(e){return new U6(e,this.context)},Q6.prototype.handler=function(e){return"Element"===e?new X6(this.model,e,this.context):new Q6(this.model,e,this.context)},Q6.prototype.handleChild=function(e){var t,n,r,i;if(t=this.getPropertyForNode(e),r=this.element,p6(n=t.effectiveType||t.type))return this.valueHandler(t,r);var o=(i=t.isReference?this.referenceHandler(t).handleNode(e):this.handler(n).handleNode(e)).element;return void 0!==o&&(t.isMany?r.get(t.name).push(o):r.set(t.name,o),t.isReference?(L(o,{element:r}),this.context.addReference(o)):o.$parent=r),i},Z6.prototype=Object.create(Q6.prototype),Z6.prototype.createElement=function(e){var t=e.name,n=u6(t),r=this.model,i=this.type,o=r.getPackage(n.prefix),s=o&&B6(n,o)||t;if(!i.hasType(s))throw z6("unexpected element <"+e.originalName+">");return Q6.prototype.createElement.call(this,e)},X6.prototype=Object.create(G6.prototype),X6.prototype.createElement=function(e){var t=e.name,n=u6(t).prefix,r=e.ns[n+"$uri"],i=e.attributes;return this.model.createAny(t,r,i)},X6.prototype.handleChild=function(e){var t=new X6(this.model,"Element",this.context).handleNode(e),n=this.element,r=t.element;return void 0!==r&&((n.$children=n.$children||[]).push(r),r.$parent=n),t},X6.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)},Y6.prototype.fromXML=function(e,t,n){var r=t.rootHandler;t instanceof Q6?(r=t,t={}):"string"==typeof t?(r=this.handler(t),t={}):"string"==typeof r&&(r=this.handler(r));var i=this.model,o=this.lax,s=new q6(L({},t,{rootHandler:r})),a=new N6({proxy:!0}),l=function(){var e=[];return Object.defineProperty(e,"peek",{value:function(){return this[this.length-1]}}),e}();function c(e,t,n){var r=t(),i=r.line,o=r.column,a=r.data;"<"===a.charAt(0)&&-1!==a.indexOf(" ")&&(a=a.slice(0,a.indexOf(" "))+">");var l="unparsable content "+(a?a+" ":"")+"detected\n\tline: "+i+"\n\tcolumn: "+o+"\n\tnested error: "+e.message;if(n)return s.addWarning({message:l,error:e}),!0;throw z6(l)}function p(e,t){return c(e,t,!0)}r.context=s,l.push(r);var u=/^<\?xml /i,d=/ encoding="([^"]+)"/i,h=/^utf-8$/i;function f(e,t){try{l.peek().handleText(e)}catch(e){p(e,t)}}var m=i.getPackages().reduce((function(e,t){return e[t.uri]=t.prefix,e}),Object.entries(j6).reduce((function(e,[t,n]){return e[n]=t,e}),i.config&&i.config.nsMap||{}));return a.ns(m).on("openTag",(function(e,t,n,r){var i=e.attrs||{},s=Object.keys(i).reduce((function(e,n){var r=t(i[n]);return e[n]=r,e}),{});!function(e,t){var n=l.peek();try{l.push(n.handleNode(e))}catch(e){c(e,t,o)&&l.push(new V6)}}({name:e.name,originalName:e.originalName,attributes:s,ns:e.ns},r)})).on("question",(function(e){if(u.test(e)){var t=d.exec(e),n=t&&t[1];n&&!h.test(n)&&s.addWarning({message:"unsupported document encoding <"+n+">, falling back to UTF-8"})}})).on("closeTag",(function(){l.pop().handleEnd()})).on("cdata",f).on("text",(function(e,t,n){!function(e,t){e.trim()&&f(e,t)}(t(e),n)})).on("error",c).on("warn",p),new Promise((function(t,n){var i;try{a.parse(e),function(){var e,t,n=s.elementsById,r=s.references;for(e=0;t=r[e];e++){var i=t.element,o=n[t.id],a=$6(i).propertiesByName[t.property];if(o||s.addWarning({message:"unresolved reference <"+t.id+">",element:t.element,property:t.property,value:t.id}),a.isMany){var l=i.get(a.name),c=l.indexOf(t);-1===c&&(c=l.length),o?l[c]=o:l.splice(c,1)}else i.set(a.name,o)}}()}catch(e){i=e}var o=r.element;i||o||(i=z6("failed to parse document as <"+r.type.$descriptor.name+">"));var l=s.warnings,c=s.references,p=s.elementsById;return i?(i.warnings=l,n(i)):t({rootElement:o,elementsById:p,references:c,warnings:l})}))},Y6.prototype.handler=function(e){return new Z6(this.model,e)};var K6=/<|>|'|"|&|\n\r|\n/g,J6=/<|>|&/g;function e7(e){this.prefixMap={},this.uriMap={},this.used={},this.wellknown=[],this.custom=[],this.parent=e,this.defaultPrefixMap=e&&e.defaultPrefixMap||{}}function t7(e,t){return R6(t)?function(e){return e.charAt(0).toLowerCase()+e.slice(1)}(e):e}function n7(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function r7(e){return h(e)?e:(e.prefix?e.prefix+":":"")+e.localName}e7.prototype.mapDefaultPrefixes=function(e){this.defaultPrefixMap=e},e7.prototype.defaultUriByPrefix=function(e){return this.defaultPrefixMap[e]},e7.prototype.byUri=function(e){return this.uriMap[e]||this.parent&&this.parent.byUri(e)},e7.prototype.add=function(e,t){this.uriMap[e.uri]=e,t?this.wellknown.push(e):this.custom.push(e),this.mapPrefix(e.prefix,e.uri)},e7.prototype.uriByPrefix=function(e){return this.prefixMap[e||"xmlns"]||this.parent&&this.parent.uriByPrefix(e)},e7.prototype.mapPrefix=function(e,t){this.prefixMap[e||"xmlns"]=t},e7.prototype.getNSKey=function(e){return void 0!==e.prefix?e.uri+"|"+e.prefix:e.uri},e7.prototype.logUsed=function(e){var t=e.uri,n=this.getNSKey(e);this.used[n]=this.byUri(t),this.parent&&this.parent.logUsed(e)},e7.prototype.getUsed=function(e){return[].concat(this.wellknown,this.custom).filter((e=>{var t=this.getNSKey(e);return this.used[t]}))};var i7={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},o7={"<":"lt",">":"gt","&":"amp"};function s7(e,t,n){return(e=h(e)?e:""+e).replace(t,(function(e){return"&"+n[e]+";"}))}function a7(e){this.tagName=e}function l7(){}function c7(e){this.tagName=e}function p7(e,t){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=t}function u7(e,t,n){p7.call(this,e,t),this.serialization=n}function d7(){this.value="",this.write=function(e){this.value+=e}}function h7(e,t){var n=[""];this.append=function(t){return e.write(t),this},this.appendNewLine=function(){return t&&e.write("\n"),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 f7(e){return e=L({format:!1,preamble:!0},e||{}),{toXML:function(t,n){var r=n||new d7,i=new h7(r,e.format);e.preamble&&i.append('<?xml version="1.0" encoding="UTF-8"?>\n');var o=new p7,s=t.$model;if(o.getNamespaces().mapDefaultPrefixes(function(e){const t=e.config&&e.config.nsMap||{},n={};for(const e in j6)n[e]=j6[e];for(const e in t){n[t[e]]=e}for(const t of e.getPackages())n[t.prefix]=t.uri;return n}(s)),o.build(t).serializeTo(i),!n)return r.value}}}function m7(e,t){v6.call(this,e,t)}a7.prototype.build=function(e){return this.element=e,this},a7.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()},l7.prototype.serializeValue=l7.prototype.serializeTo=function(e){e.append(this.escape?s7(this.value,J6,o7):this.value)},l7.prototype.build=function(e,t){return this.value=t,"String"===e.type&&-1!==t.search(J6)&&(this.escape=!0),this},n7(c7,l7),c7.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("</"+this.tagName+">").appendNewLine()},p7.prototype.build=function(e){this.element=e;var t,n,r=e.$descriptor,i=this.propertyDescriptor,o=r.isGeneric;return t=o?this.parseGenericNsAttributes(e):this.parseNsAttributes(e),this.ns=i?this.nsPropertyTagName(i):this.nsTagName(r),this.tagName=this.addTagName(this.ns),o?this.parseGenericContainments(e):(n=function(e){return y(e.$descriptor.properties,(function(t){var n=t.name;if(t.isVirtual)return!1;if(!f(e,n))return!1;var r=e[n];return r!==t.default&&null!==r&&(!t.isMany||r.length)}))}(e),this.parseAttributes(y(n,(function(e){return e.isAttr}))),this.parseContainments(function(e){return y(e,(function(e){return!e.isAttr}))}(n))),this.parseGenericAttributes(e,t),this},p7.prototype.nsTagName=function(e){return function(e,t){return t.isGeneric?L({localName:t.ns.localName},e):L({localName:t7(t.ns.localName,t.$pkg)},e)}(this.logNamespaceUsed(e.ns),e)},p7.prototype.nsPropertyTagName=function(e){return function(e,t){return L({localName:t.ns.localName},e)}(this.logNamespaceUsed(e.ns),e)},p7.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},p7.prototype.nsAttributeName=function(e){var t;if(t=h(e)?u6(e):e.ns,e.inherited)return{localName:t.localName};var n=this.logNamespaceUsed(t);return this.getNamespaces().logUsed(n),this.isLocalNs(n)?{localName:t.localName}:L({localName:t.localName},n)},p7.prototype.parseGenericNsAttributes=function(e){return Object.entries(e).filter((([t,n])=>!t.startsWith("$")&&this.parseNsAttribute(e,t,n))).map((([e,t])=>({name:e,value:t})))},p7.prototype.parseGenericContainments=function(e){var t=e.$body;t&&this.body.push((new l7).build({type:"String"},t));var n=e.$children;n&&v(n,(e=>{this.body.push(new p7(this).build(e))}))},p7.prototype.parseNsAttribute=function(e,t,n){var r,i=e.$model,o=u6(t);if("xmlns"===o.prefix&&(r={prefix:o.localName,uri:n}),o.prefix||"xmlns"!==o.localName||(r={uri:n}),!r)return{name:t,value:n};if(i&&i.getPackage(n))this.logNamespace(r,!0,!0);else{var s=this.logNamespaceUsed(r,!0);this.getNamespaces().logUsed(s)}},p7.prototype.parseNsAttributes=function(e){var t=this,n=e.$attrs,r=[];return v(n,(function(n,i){var o=t.parseNsAttribute(e,i,n);o&&r.push(o)})),r},p7.prototype.parseGenericAttributes=function(e,t){var n=this;v(t,(function(t){try{n.addAttribute(n.nsAttributeName(t.name),t.value)}catch(n){"undefined"!=typeof console&&console.warn(`missing namespace information for <${t.name}=${t.value}> on`,e,n)}}))},p7.prototype.parseContainments=function(e){var t=this,n=this.body,r=this.element;v(e,(function(e){var i=r.get(e.name),o=e.isReference;if(e.isMany||(i=[i]),e.isBody)n.push((new l7).build(e,i[0]));else if(p6(e.type))v(i,(function(r){n.push(new c7(t.addTagName(t.nsPropertyTagName(e))).build(e,r))}));else if(o)v(i,(function(r){n.push(new a7(t.addTagName(t.nsPropertyTagName(e))).build(r))}));else{var s=L6(e);v(i,(function(r){var i;i=s?s===I6?new p7(t,e):new u7(t,e,s):new p7(t),n.push(i.build(r))}))}}))},p7.prototype.getNamespaces=function(e){var t,n=this.namespaces,r=this.parent;return n||(t=r&&r.getNamespaces(),e||!t?this.namespaces=n=new e7(t):n=t),n},p7.prototype.logNamespace=function(e,t,n){var r=this.getNamespaces(n),i=e.uri,o=e.prefix;return r.byUri(i)&&!n||r.add(e,t),r.mapPrefix(o,i),e},p7.prototype.logNamespaceUsed=function(e,t){var n,r,i,o=this.getNamespaces(t),s=e.prefix,a=e.uri;if(!s&&!a)return{localName:e.localName};if(i=o.defaultUriByPrefix(s),!(a=a||i||o.uriByPrefix(s)))throw new Error("no namespace uri given for prefix <"+s+">");if((e=o.byUri(a))||s||(e=this.logNamespace({uri:a},i===a,!0)),!e){for(n=s,r=1;o.uriByPrefix(n);)n=s+"_"+r++;e=this.logNamespace({prefix:n,uri:a},i===a)}return s&&o.mapPrefix(s,a),e},p7.prototype.parseAttributes=function(e){var t=this,n=this.element;v(e,(function(e){var r=n.get(e.name);if(e.isReference)if(e.isMany){var i=[];v(r,(function(e){i.push(e.id)})),r=i.join(" ")}else r=r.id;t.addAttribute(t.nsAttributeName(e),r)}))},p7.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),r7(e)},p7.prototype.addAttribute=function(e,t){var n=this.attrs;h(t)&&(t=s7(t,K6,i7));var r=g(n,(function(t){return t.name.localName===e.localName&&t.name.uri===e.uri&&t.name.prefix===e.prefix})),i={name:e,value:t};-1!==r?n.splice(r,1,i):n.push(i)},p7.prototype.serializeAttributes=function(e){var t=this.attrs,n=this.namespaces;n&&(t=function(e){return e.getUsed().filter((function(e){return"xml"!==e.prefix})).map((function(e){return{name:"xmlns"+(e.prefix?":"+e.prefix:""),value:e.uri}}))}(n).concat(t)),v(t,(function(t){e.append(" ").append(r7(t.name)).append('="').append(t.value).append('"')}))},p7.prototype.serializeTo=function(e){var t=this.body[0],n=t&&t.constructor!==l7;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(t?">":" />"),t&&(n&&e.appendNewLine().indent(),v(this.body,(function(t){t.serializeTo(e)})),n&&e.unindent().appendIndent(),e.append("</"+this.tagName+">")),e.appendNewLine()},n7(u7,p7),u7.prototype.parseNsAttributes=function(e){var t=p7.prototype.parseNsAttributes.call(this,e).filter((e=>e.name!==this.serialization)),n=e.$descriptor;if(n.name===this.propertyDescriptor.type)return t;var r=this.typeNs=this.nsTagName(n);this.getNamespaces().logUsed(this.typeNs);var i=e.$model.getPackage(r.uri),o=i.xml&&i.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(this.serialization),(r.prefix?r.prefix+":":"")+o+n.ns.localName),t},u7.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri},m7.prototype=Object.create(v6.prototype),m7.prototype.fromXML=function(e,t,n){h(t)||(n=t,t="bpmn:Definitions");var r=new Y6(L({model:this,lax:!0},n)),i=r.handler(t);return r.fromXML(e,i)},m7.prototype.toXML=function(e,t){var n=new f7(t);return new Promise((function(t,r){try{return t({xml:n.toXML(e)})}catch(e){return r(e)}}))};class g7{constructor(e){this._generate=e,this.value=null,this.valid=!1}invalidate(){this.valid=!1}get(){return this.valid||(this.value=this._generate(),this.valid=!0),this.value}}function y7(e){return!!function(e){return x7(e,"outputParameters")}(e).length}function v7(e,t){return function(e){return x7(e,"inputParameters")}(e).find((function(e){return e.target===t||e.name===t}))}function b7(e,t=void 0){const n=e.get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>Oi(e,t))):r:[]}function w7(e){return _7(e,"zeebe:IoMapping")[0]||_7(e,"camunda:InputOutput")[0]}function x7(e,t){var n=w7(e);return n&&n.get(t)||[]}function _7(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=y(i,(function(e){return Oi(e,t)})))}return n}function k7(e,t,n){var r=E7(e);if(y7(e))return e;var i=r.find((function(e){return Oi(e,"bpmn:SubProcess")&&v7(e,n)}));return i||t}function E7(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}class O7{constructor(e,t){this.providers=[],this._eventBus=e,this._bpmnjs=t,this.rawVariables=new g7(this._generateRawVariables.bind(this)),this.parsedVariables=new g7((async()=>{const t={variables:await this.getRawVariables()};return e.fire("variableResolver.parseVariables",t),t.variables})),e.on(["commandStack.changed","diagram.clear","import.done","variables.changed"],(()=>{this.invalidateCache()})),e.on("variableResolver.parseVariables",((e,t)=>{t.variables=this._parseVariables(t.variables)}))}_baseExtractor(){return[]}async getRawVariables(){return await this.rawVariables.get()}async getVariables(){return await this.parsedVariables.get()}invalidateCache(){this.rawVariables.invalidate(),this.parsedVariables.invalidate()}async _generateRawVariables(){const e=this._bpmnjs,t={},n=e.getDefinitions().get("rootElements").map((async e=>{const n=await this._baseExtractor(e,[this._extractor.bind(this)]);t[e.id]=n.map((e=>(e.provider||(e.provider=[this._baseExtractor]),e)))}));return await Promise.all(n),t}_parseVariables(e){const t={};for(const n in e){const r=e[n],i=[];r.forEach((e=>{const t=i.find((t=>t.name===e.name&&t.scope===e.scope));t?(P7("origin",t,e),P7("provider",t,e),S7(t,e)):i.push(e)})),T7(i),t[n]=i}return t}async _extractor(e){const{elements:t,containerElement:n,processVariables:r}=e,i=this,o=t.flatMap((e=>i.providers.map((async t=>{const i=await t.getVariables(e);i&&i.forEach((i=>{r.push({...M7(i),origin:[e],scope:i.scope||k7(e,n,i.name),provider:[t]})}))}))));await Promise.all(o)}registerProvider(e){this.providers.push(e),this.invalidateCache()}async getProcessVariables(e){const t=Si(e);return(await this.getVariables())[t.id]||[]}async getVariablesForElement(e){const t=Si(e),n=function(e){const t=Si(e);if(Oi(t,"bpmn:Participant"))return t.processRef;if(Oi(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!Oi(n,"bpmn:Process");)n=n.$parent;return n}(t),r=await this.getProcessVariables(n);var i=r.filter((function(e){return e.scope.id===t.id})),o=E7(t);return[...i,...r.filter((function(e){return o.find((function(t){return t.id===e.scope.id}))}))]}}function P7(e,t,n){n[e]||(n[e]=[]),t[e]||(t[e]=[]);const r=n[e].filter((n=>!t[e].includes(n)));t[e].push(...r)}function S7(e,t,n=[]){n.includes(t)||n.includes(e)||(n.push(t),n.push(e),e.type=C7(e.type,t.type,"|"),e.info=C7(e.info,t.info,"\n"),e.isList=!!e.isList==!!t.isList?e.isList:"optional",t.entries&&(e.entries||(e.entries=[]),t.entries.forEach((t=>{const r=e.entries.find((e=>e.name===t.name));r?S7(r,t,n):e.entries.push(t)}))))}O7.$inject=["eventBus","bpmnjs"];const C7=(e,t,n)=>{if(e&&e!==t){const r=e.split(n);return r.includes(t)||r.push(t),r.join(n)}return t};function T7(e){e&&e.forEach((e=>{e.detail=e.type,T7(e.entries)}))}function M7(e){const t={...e};return t.entries&&(t.entries=t.entries.map(M7)),t}class A7 extends YT{constructor(e={entries:{}}){super(e),this.value.entries=this.value.entries||{};const t=this.value;for(const e in t.entries){t.entries[e]instanceof A7||(t.entries[e]=this.constructor.of(t.entries[e]))}}getKeys(){return Object.keys(this.value.entries)}get(e){const t=this.value.entries[e];return t&&t.atomic?t.atomicValue:t}set(e,t){return this.constructor.of({...this.value,entries:{...this.value.entries,[e]:t}})}static of(...e){const t=e=>this.isAtomic(e)?e instanceof this?e.value:{atomic:!0,atomicValue:e}:{...e};return new this(e.reduce(((e,n)=>{const{entries:r={},...i}=t(n);return{...e,...i,entries:{...e.entries,...r}}}),{}))}}function D7(e){const t=[];return e.forEach((e=>{e.origin.forEach((n=>{const r=function(e,t){const n=b7(t,"zeebe:IoMapping")[0];if(!n)return;let r;r=t===e.scope?n.inputParameters:n.outputParameters;if(!r)return;const i=r.find((t=>t.target===e.name));if(!i||!i.source)return;const o=i.source.substring(1),s=N7(o),a=R7(s);return{expression:o,unresolved:a}}(e,n);if(!r)return;const{expression:i,unresolved:o}=r;t.push({variable:e,expression:i,unresolved:o})}))})),function(e,t){const n=[];e.forEach((e=>{const{variable:t,unresolved:r}=e,i=n.findIndex((({unresolved:e})=>e.includes(t.name)));if(i>-1)return void n.splice(i,0,e);const o=n.findLastIndex((({variable:e})=>r.includes(e.name)));o>-1?n.splice(o+1,0,e):n.push(e)}));const r=t.filter((t=>!e.find((({variable:e})=>{})))),i={name:"OuterContext",entries:j7(r)},o=[];n.forEach((({variable:e,expression:t})=>{const n=N7(t,function(e,t){const n={entries:{}},r=t.origin.flatMap((e=>[e,...E7(e)]));for(const t in e.entries){const i=e.entries[t];r.find((e=>e.id===i.scope.id))&&(n.entries[t]=i)}return n}(i,e));let r=n.computedValue();r instanceof A7||(r=A7.of(r)),r.scope=e.scope,i.entries[e.name]=r,o.push({newVariable:I7({[e.name]:r})[0],oldVariable:e})}));return o.map((({newVariable:e,oldVariable:t})=>t?{...e,...t}:e))}(t,e)}function N7(e,t={}){const n=tM(t,A7);let r=null;const i=new tE({start:n.start,reduce(...e){const t=n.reduce(...e);return r=t,t}});return sM.configure({contextTracker:i}).parse(e),r}function R7(e){const t=[];return t.push(...e.children.flatMap(R7)),"VariableName"!==e.name||e.value||t.push(e.raw),t}function j7(e){if(!e)return;const t={};return e.forEach((e=>{t[e.name]={...e},t[e.name].entries=j7(e.entries)})),t}function I7(e){if(!e)return;const t=[];for(const n in e){let r=e[n];r instanceof A7&&(r=r.value),r?t.push({...L7(r),entries:I7(r.entries),name:n,scope:r.scope}):t.push({name:n})}return t}function L7(e){return{...e,type:B7(e),info:z7(e)}}function B7(e){return e?e.type?e.type:e.entries&&Object.keys(e.entries).length?"Context":e.atomicValue?function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(typeof e.atomicValue):"":""}function z7(e){return e?e.info?e.info:e.atomicValue?""+e.atomicValue:"":""}class $7{constructor(e){this._variableResolver=e,this.register()}getVariables(e){}register(){this._variableResolver.registerProvider(this)}}$7.$inject=["variableResolver"];const q7={__init__:["variableResolver","connectorVariableProvider"],variableResolver:["type",class extends O7{constructor(e,t){super(e,t),this._baseExtractor=KG,e.on("variableResolver.parseVariables",2e3,this._resolveIoMappings)}async getVariablesForElement(e,t){const n=await super.getVariablesForElement(e),r=Si(e);if(!t)return n;const i=w7(r);if(!i)return n;const o=[];if(Oi(t,"zeebe:Input")){const e=i.inputParameters,n=e.slice(e.indexOf(t)).map((e=>e.target));o.push(...n)}const s=i.outputParameters;if(Oi(t,"zeebe:Output")){const e=s.slice(s.indexOf(t)).map((e=>e.target));o.push(...e)}else if(s){const e=s.map((e=>e.target));o.push(...e)}return n.filter((e=>e.origin.length>1||e.origin[0]!==r||(!(!Oi(t,"zeebe:Output")||!e.provider.find((e=>e!==this._baseExtractor)))||!o.includes(e.name))))}_resolveIoMappings(e,t){const n=t.variables,r={};for(const e in n){const t=n[e],i=D7(t);r[e]=[...t,...i]}t.variables=r}}],connectorVariableProvider:["type",class extends $7{getVariables(e){const t=[],n=b7(e,"zeebe:TaskHeaders")[0];if(!n||!n.values)return;const r=n.values,i=r.find((e=>"resultVariable"===e.key)),o=r.find((e=>"resultExpression"===e.key));if(i&&i.value&&t.push({name:i.value}),o&&o.value){const e=I7(N7(o.value.substring(1)).computedValue());e&&e.length>0&&t.push(...e[0].entries)}return t}}]},F7="camundaModeler:exampleOutputJson";function V7(e){const t=H7(e,F7);if(t)return t.get("value")}function H7(e,t){const n=function(e,t){const n=Si(e);let r=[];const i=n.get("extensionElements");if(void 0!==i){const e=i.get("values");void 0!==e&&(r=e.filter((e=>Oi(e,t))))}return r}(e,"zeebe:Properties");if(0===n.length)return;return n[0].get("properties").find((e=>e.get("name")===t))}function U7(e={}){if("object"==typeof e&&null!==e)return Object.keys(e).map((t=>{let n=e[t];const r={name:t,info:JSON.stringify(n,null,2)};return Array.isArray(n)?(r.isList=!0,r.type="List",n.length>0&&(r.entries=U7(n[0])),r):(r.type=function(e){if(null===e)return"";const t=typeof e;if("object"===t)return"Context";return function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(t)}(n),r.entries=U7(n),r)}))}var W7={__init__:["exampleProvider"],exampleProvider:["type",class extends $7{getVariables(e){const t=V7(e);if(!t)return;const n=function(e){try{const t=JSON.parse(e);return U7(t)}catch(e){return[]}}(t);return n}}]};const G7=e=>{const{element:t}=e,n=gQ("debounceInput"),r=gQ("translate"),i=gQ("commandStack"),o=gQ("moddle"),s=gQ("injector");return eG({element:t,label:r("Example output"),description:_l`
|
|
185
|
+
function JH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function eU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JH(Object(n),!0).forEach((function(t){tU(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tU(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nU=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},rU=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},iU=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},oU=function(e){return iU(e)&&!e.shiftKey},sU=function(e){return iU(e)&&e.shiftKey},aU=function(e){return setTimeout(e,0)},lU=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},cU=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},pU=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},uU=[],dU=function(e,t){var n,r=(null==t?void 0:t.document)||document,i=(null==t?void 0:t.trapStack)||uU,o=eU({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:oU,isKeyBackward:sU},t),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},l=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return s.containerGroups.findIndex((function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||(null==n?void 0:n.includes(r))||i.find((function(t){return t===e}))}))},c=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];t=t.apply(void 0,i)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},p=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e||!KH(e,o.tabbableOptions))if(l(r.activeElement)>=0)e=r.activeElement;else{var t=s.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(s.containerGroups=s.containers.map((function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?BH([e],t.includeContainer,{filter:GH.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:QH}):LH(e,t.includeContainer,GH.bind(null,t)),ZH(n)}(e,o.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?BH([e],t.includeContainer,{filter:WH.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):LH(e,t.includeContainer,WH.bind(null,t))}(e,o.tabbableOptions),r=t.length>0?t[0]:void 0,i=t.length>0?t[t.length-1]:void 0,s=n.find((function(e){return XH(e)})),a=n.slice().reverse().find((function(e){return XH(e)})),l=!!t.find((function(e){return $H(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:r,lastTabbableNode:i,firstDomTabbableNode:s,lastDomTabbableNode:a,nextTabbableNode:function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find((function(e){return XH(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return XH(e)})):t[i+(r?1:-1)]}}})),s.tabbableGroups=s.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),s.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(s.containerGroups.find((function(e){return e.posTabIndexesFound}))&&s.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},d=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),s.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(p()))},h=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},f=function(e){var t=e.target,n=e.event,r=e.isBackward,i=void 0!==r&&r;t=t||pU(n),u();var a=null;if(s.tabbableGroups.length>0){var p=l(t,n),d=p>=0?s.containerGroups[p]:void 0;if(p<0)a=i?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(i){var h=lU(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(h<0&&(d.container===t||KH(t,o.tabbableOptions)&&!XH(t,o.tabbableOptions)&&!d.nextTabbableNode(t,!1))&&(h=p),h>=0){var f=0===h?s.tabbableGroups.length-1:h-1,m=s.tabbableGroups[f];a=$H(t)>=0?m.lastTabbableNode:m.lastDomTabbableNode}else iU(n)||(a=d.nextTabbableNode(t,!1))}else{var g=lU(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(g<0&&(d.container===t||KH(t,o.tabbableOptions)&&!XH(t,o.tabbableOptions)&&!d.nextTabbableNode(t))&&(g=p),g>=0){var y=g===s.tabbableGroups.length-1?0:g+1,v=s.tabbableGroups[y];a=$H(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else iU(n)||(a=d.nextTabbableNode(t))}}else a=c("fallbackFocus");return a},m=function(e){var t=pU(e);l(t,e)>=0||(cU(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):cU(o.allowOutsideClick,e)||e.preventDefault())},g=function(e){var t=pU(e),n=l(t,e)>=0;if(n||t instanceof Document)n&&(s.mostRecentlyFocusedNode=t);else{var r;e.stopImmediatePropagation();var i=!0;if(s.mostRecentlyFocusedNode)if($H(s.mostRecentlyFocusedNode)>0){var a=l(s.mostRecentlyFocusedNode),c=s.containerGroups[a].tabbableNodes;if(c.length>0){var u=c.findIndex((function(e){return e===s.mostRecentlyFocusedNode}));u>=0&&(o.isKeyForward(s.recentNavEvent)?u+1<c.length&&(r=c[u+1],i=!1):u-1>=0&&(r=c[u-1],i=!1))}}else s.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return $H(e)>0}))}))||(i=!1);else i=!1;i&&(r=f({target:s.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(s.recentNavEvent)})),d(r||(s.mostRecentlyFocusedNode||p()))}s.recentNavEvent=void 0},y=function(e){if(function(e){return"Escape"===(null==e?void 0:e.key)||"Esc"===(null==e?void 0:e.key)||27===(null==e?void 0:e.keyCode)}(e)&&!1!==cU(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(o.isKeyForward(e)||o.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s.recentNavEvent=e;var n=f({event:e,isBackward:t});n&&(iU(e)&&e.preventDefault(),d(n))}(e,o.isKeyBackward(e))},v=function(e){var t=pU(e);l(t,e)>=0||cU(o.clickOutsideDeactivates,e)||cU(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},b=function(){if(s.active)return nU(i,n),s.delayInitialFocusTimer=o.delayInitialFocus?aU((function(){d(p())})):d(p()),r.addEventListener("focusin",g,!0),r.addEventListener("mousedown",m,{capture:!0,passive:!1}),r.addEventListener("touchstart",m,{capture:!0,passive:!1}),r.addEventListener("click",v,{capture:!0,passive:!1}),r.addEventListener("keydown",y,{capture:!0,passive:!1}),n},w=function(){if(s.active)return r.removeEventListener("focusin",g,!0),r.removeEventListener("mousedown",m,!0),r.removeEventListener("touchstart",m,!0),r.removeEventListener("click",v,!0),r.removeEventListener("keydown",y,!0),n},x="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){var t=e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===s.mostRecentlyFocusedNode}))}));t&&d(p())})):void 0,_=function(){x&&(x.disconnect(),s.active&&!s.paused&&s.containers.map((function(e){x.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),i=a(e,"checkCanFocusTrap");i||u(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=r.activeElement,null==t||t();var o=function(){i&&u(),b(),_(),null==n||n()};return i?(i(s.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!s.active)return this;var t=eU({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,w(),s.active=!1,s.paused=!1,_(),rU(i,n);var r=a(t,"onDeactivate"),l=a(t,"onPostDeactivate"),c=a(t,"checkCanReturnFocus"),p=a(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var u=function(){aU((function(){p&&d(h(s.nodeFocusedBeforeActivation)),null==l||l()}))};return p&&c?(c(h(s.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){if(s.paused||!s.active)return this;var t=a(e,"onPause"),n=a(e,"onPostPause");return s.paused=!0,null==t||t(),w(),_(),null==n||n(),this},unpause:function(e){if(!s.paused||!s.active)return this;var t=a(e,"onUnpause"),n=a(e,"onPostUnpause");return s.paused=!1,null==t||t(),u(),b(),_(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),s.active&&u(),_(),this}}).updateContainerElements(e),n},hU=function(e){return B_("svg",{...e,children:B_("path",{fillRule:"evenodd",d:"m11.657 8-4.95 4.95a1 1 0 0 1-1.414-1.414L8.828 8 5.293 4.464A1 1 0 1 1 6.707 3.05L11.657 8Z"})})};hU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var fU=function(e){return B_("svg",{...e,children:B_("path",{fillRule:"evenodd",d:"M9 13V9h4a1 1 0 0 0 0-2H9V3a1 1 0 1 0-2 0v4H3a1 1 0 1 0 0 2h4v4a1 1 0 0 0 2 0Z"})})};fU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var mU=function(e){return B_("svg",{...e,children:B_("path",{fillRule:"evenodd",d:"M12 6v7c0 1.1-.4 1.55-1.5 1.55h-5C4.4 14.55 4 14.1 4 13V6h8Zm-1.5 1.5h-5v4.3c0 .66.5 1.2 1.111 1.2H9.39c.611 0 1.111-.54 1.111-1.2V7.5ZM13 3h-2l-1-1H6L5 3H3v1.5h10V3Z"})})};mU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var gU=function(e){return B_("svg",{...e,children:[B_("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),B_("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),B_("path",{d:"M7 3H5v2h2V3zm4 0H9v2h2V3zM7 7H5v2h2V7zm4 0H9v2h2V7zm-4 4H5v2h2v-2zm4 0H9v2h2v-2z",fill:"#161616"})]})};gU.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var yU=function(e){return B_("svg",{...e,children:B_("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.637 12.637v-4.72h1.362v4.721c0 .36-.137.676-.411.95-.275.275-.591.412-.95.412H3.362c-.38 0-.703-.132-.967-.396A1.315 1.315 0 0 1 2 12.638V3.362c0-.38.132-.703.396-.967S2.982 2 3.363 2h4.553v1.363H3.363v9.274h9.274ZM14 2H9.28l-.001 1.362h2.408L5.065 9.984l.95.95 6.622-6.622v2.409H14V2Z",fill:"currentcolor"})})};yU.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var vU=function(e){return B_("svg",{...e,children:B_("path",{d:"M3.617 11.99c-.137.684-.392 1.19-.765 1.518-.362.328-.882.492-1.558.492H0l.309-1.579h1.264l1.515-7.64h-.912l.309-1.579h.911l.236-1.191c.137-.685.387-1.192.75-1.52C4.753.164 5.277 0 5.953 0h1.294L6.94 1.579H5.675l-.323 1.623h1.264l-.309 1.579H5.043l-1.426 7.208ZM5.605 11.021l3.029-4.155L7.28 3.202h2.073l.706 2.547h.176l1.691-2.547H14l-3.014 4.051 1.338 3.768H10.25l-.706-2.606H9.37L7.678 11.02H5.605Z",fill:"currentcolor"})})};vU.defaultProps={width:"14",height:"14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var bU=function(e){return B_("svg",{...e,children:[B_("path",{d:"M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 26a12 12 0 1 1 12-12 12 12 0 0 1-12 12Z"}),B_("circle",{cx:"16",cy:"23.5",r:"1.5"}),B_("path",{d:"M17 8h-1.5a4.49 4.49 0 0 0-4.5 4.5v.5h2v-.5a2.5 2.5 0 0 1 2.5-2.5H17a2.5 2.5 0 0 1 0 5h-2v4.5h2V17a4.5 4.5 0 0 0 0-9Z"}),B_("path",{style:{fill:"none"},d:"M0 0h32v32H0z"})]})};bU.defaultProps={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"};var wU=function(e){return B_("svg",{...e,children:[B_("path",{fill:"currentColor",d:"M28 4H10a2.006 2.006 0 0 0-2 2v14a2.006 2.006 0 0 0 2 2h18a2.006 2.006 0 0 0 2-2V6a2.006 2.006 0 0 0-2-2Zm0 16H10V6h18Z"}),B_("path",{fill:"currentColor",d:"M18 26H4V16h2v-2H4a2.006 2.006 0 0 0-2 2v10a2.006 2.006 0 0 0 2 2h14a2.006 2.006 0 0 0 2-2v-2h-2Z"})]})};wU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 32 32"};var xU=function(e){return B_("svg",{...e,children:B_("path",{fillRule:"evenodd",d:"m12 4.7-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8 12 4.7Z",fill:"currentColor"})})};function _U(e){const{element:t,headerProvider:n}=e,{getElementIcon:r,getDocumentationRef:i,getElementLabel:o,getTypeLabel:s}=n,a=o(t),l=s(t),c=i&&i(t),p=r(t);return B_("div",{class:"bio-properties-panel-header",children:[B_("div",{class:"bio-properties-panel-header-icon",children:p&&B_(p,{width:"32",height:"32",viewBox:"0 0 32 32"})}),B_("div",{class:"bio-properties-panel-header-labels",children:[B_("div",{title:l,class:"bio-properties-panel-header-type",children:l}),a?B_("div",{title:a,class:"bio-properties-panel-header-label",children:a}):null]}),B_("div",{class:"bio-properties-panel-header-actions",children:c?B_("a",{rel:"noopener",class:"bio-properties-panel-header-link",href:c,title:"Open documentation",target:"_blank",children:B_(yU,{})}):null})]})}xU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};const kU=Mx({description:{},getDescriptionForId:()=>{}}),EU=Mx({errors:{}}),OU=Mx({eventBus:null}),PU=Mx({layout:{},setLayout:()=>{},getLayoutForKey:()=>{},setLayoutForKey:()=>{}}),SU=Mx({tooltip:{},getTooltipForId:()=>{}});function CU(e){const{forId:t,element:n}=e,r=function(e,t){const{getTooltipForId:n}=Yx(SU);return n(e,t)}(t,n),i=e.value||r;return i?B_(TU,{...e,value:i,forId:DU(t)}):e.children}function TU(e){const{forId:t,value:n,parent:r,direction:i="right",position:o}=e,[s,a]=Hx(!1),[l,c]=Hx(!1);let p=null;const u=Qx(null),d=Qx(null),h=async e=>{const t=()=>a(!0);s||p||(e instanceof MouseEvent?p=setTimeout(t,200):(t(),c(!0)))},f=()=>{a(!1),c(!1)};Wx((()=>{const{current:e}=u;if(!e)return;const t=e=>{const t=document.activeElement===u.current||document.activeElement.closest(".bio-properties-panel-tooltip");!s||(({x:e,y:t})=>{const n=d.current,r=u.current;return n&&(MU(e,t,r.getBoundingClientRect())||MU(e,t,n.getBoundingClientRect()))})({x:e.x,y:e.y})||t&&l||f()},n=e=>{const{relatedTarget:t}=e;s&&!u.current.matches(":hover")&&t&&!t.closest(".bio-properties-panel-tooltip")&&f()};return document.addEventListener("wheel",t),document.addEventListener("focusout",n),document.addEventListener("mousemove",t),()=>{document.removeEventListener("wheel",t),document.removeEventListener("mousemove",t),document.removeEventListener("focusout",n)}}),[u.current,s,l]);const m=()=>B_("div",{class:`bio-properties-panel-tooltip ${i}`,role:"tooltip",id:"bio-properties-panel-tooltip","aria-labelledby":t,style:o||AU(u.current),ref:d,onClick:e=>e.stopPropagation(),children:[B_("div",{class:"bio-properties-panel-tooltip-content",children:n}),B_("div",{class:"bio-properties-panel-tooltip-arrow"})]});return B_("div",{class:"bio-properties-panel-tooltip-wrapper",tabIndex:"0",ref:u,onMouseEnter:h,onMouseLeave:()=>{clearTimeout(p),p=null},onFocus:h,onKeyDown:e=>{"Escape"===e.code&&f()},children:[e.children,s?r?x_(m(),r.current):m():null]})}function MU(e,t,n){const{top:r,right:i,bottom:o,left:s}=n;return e>=s&&e<=i&&t>=r&&t<=o}function AU(e){const t=e.getBoundingClientRect();return`right: ${`calc(100% - ${t.x}px)`}; top: ${t.top-10+"px"};`}function DU(e){return`bio-properties-panel-${e}`}function NU(e){const{errors:t}=Yx(EU);return t[e]}function RU(){const{errors:e}=Yx(EU);return e}function jU(e,t,n){const r=Yx(OU);n||({eventBus:n}=r);const i=Qx(!1);n&&!i.current&&n.on(e,t),Wx((()=>(n&&i.current&&n.on(e,t),i.current=!0,()=>{n&&n.off(e,t)})),[t,e,n])}function IU(e,t){const{getLayoutForKey:n,setLayoutForKey:r}=Yx(PU);return[n(e,t),Xx((t=>{r(e,t)}),[r])]}function LU(e){const t=Qx();return Wx((()=>{t.current=e})),t.current}function BU(e){const{onShow:t}=Yx(PU),n=Qx(),r=Qx(!1),i=Xx((n=>{n.id===e&&(t(),r.current||(r.current=!0))}),[e]);return Wx((()=>{r.current&&n.current&&(d(n.current.focus)&&n.current.focus(),d(n.current.select)&&n.current.select(),r.current=!1)})),jU("propertiesPanel.showEntry",i),n}function zU(e,t,n){const[r,i]=Hx(ve(t)),o=Xx((()=>{const e=ve(t);e!==r&&i(e)}),[t,r]);Wx((()=>{o()}),[o]),jU("propertiesPanel.attach",o),jU("propertiesPanel.detach",o),Wx((()=>{const t=IntersectionObserver;if(!t)return;if(!e.current||!r)return;const i=new t((e=>{0!==r.scrollHeight&&e.forEach((e=>{e.intersectionRatio<1?n(!0):1===e.intersectionRatio&&n(!1)}))}),{root:r,rootMargin:"0px 0px 999999% 0px",threshold:[1]});return i.observe(e.current),()=>{i.unobserve(e.current)}}),[e.current,r,n])}function $U(e){const t=Qx(e);return t.current=e,Xx(((...e)=>t.current(...e)),[])}function qU(e){const{element:t,entries:n=[],id:r,label:i,shouldOpen:o=!1}=e,s=Qx(null),[a,l]=IU(["groups",r,"open"],o),c=Xx((()=>l(!0)),[l]),[p,u]=Hx(!1),[h,f]=Hx(!1);Wx((()=>{const e=requestAnimationFrame((()=>{const e=n.find((e=>{const{id:t,isEdited:n}=e,r=ve(`[data-entry-id="${t}"]`);if(!d(n)||!r)return!1;return n(ve(".bio-properties-panel-input",r))}));u(e)}));return()=>cancelAnimationFrame(e)}),[n,u]);const m=RU(),g=n.some((e=>m[e.id]));zU(s,"div.bio-properties-panel-scroll-container",f);const y={...Yx(PU),onShow:c};return B_("div",{class:"bio-properties-panel-group","data-group-id":"group-"+r,ref:s,children:[B_("div",{class:F_("bio-properties-panel-group-header",p?"":"empty",a?"open":"",h&&a?"sticky":""),onClick:()=>l(!a),children:[B_("div",{title:e.tooltip?null:i,"data-title":i,class:"bio-properties-panel-group-header-title",children:B_(CU,{value:e.tooltip,forId:"group-"+r,element:t,parent:s,children:i})}),B_("div",{class:"bio-properties-panel-group-header-buttons",children:[B_(FU,{edited:p,hasErrors:g}),B_("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:B_(hU,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})]})]}),B_("div",{class:F_("bio-properties-panel-group-entries",a?"open":""),children:B_(PU.Provider,{value:y,children:n.map((e=>{const{component:n,id:r}=e;return lx(n,{...e,element:t,key:r})}))})})]})}function FU(e){const{edited:t,hasErrors:n}=e;return n?B_("div",{title:"Section contains an error",class:"bio-properties-panel-dot bio-properties-panel-dot--error"}):t?B_("div",{title:"Section contains data",class:"bio-properties-panel-dot"}):null}function VU(e){const{text:t,icon:n}=e;return B_("div",{class:"bio-properties-panel open",children:B_("section",{class:"bio-properties-panel-placeholder",children:[n&&B_(n,{class:"bio-properties-panel-placeholder-icon"}),B_("p",{class:"bio-properties-panel-placeholder-text",children:t})]})})}function HU(e){const{element:t,forId:n,value:r}=e,i=function(e,t){const{getDescriptionForId:n}=Yx(kU);return n(e,t)}(n,t),o=r||i;if(o)return B_("div",{class:"bio-properties-panel-description",children:o})}const UU=()=>{},WU=p_(((e,t)=>{const{onInput:n,disabled:r,tooltipContainer:i,enableGutters:o,value:s,onLint:a=UU,onPopupOpen:l=UU,popupOpen:c,contentAttributes:p={},hostLanguage:u=null,singleLine:d=!1}=e,h=Qx(),[f,m]=Hx(),[g,y]=Hx(s||"");!function(e,t){const[n,r]=Hx(void 0);t.current=Zx((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),r(t))}})),[e]),Wx((()=>{void 0!==n&&e&&(e.focus(n),r(!1))}),[e,n])}(f,t);const v=$U((e=>{n(e),y(e)}));Wx((()=>{let e;return e=new KV({container:h.current,onChange:v,value:g,onLint:a,contentAttributes:p,tooltipContainer:i,enableGutters:o,hostLanguage:u,singleLine:d,lineWrap:!0}),m(e),()=>{a([]),h.current.innerHTML="",m(null)}}),[]),Wx((()=>{f&&s!==g&&(f.setValue(s),y(s))}),[s]);return B_("div",{class:F_("bio-properties-panel-feelers-editor-container",c?"popupOpen":null),children:[B_("div",{class:"bio-properties-panel-feelers-editor__open-popup-placeholder",children:"Opened in editor"}),B_("div",{name:e.name,class:F_("bio-properties-panel-feelers-editor bio-properties-panel-input",g?"edited":null,r?"disabled":null),ref:h,onClick:()=>{t.current.focus()}}),B_("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l("feelers"),children:B_(wU,{})})]})})),GU=()=>{},QU=p_(((e,t)=>{const{contentAttributes:n,enableGutters:r,value:i,onInput:o,onFeelToggle:s=GU,onLint:a=GU,onPopupOpen:l=GU,placeholder:c,popupOpen:p,disabled:u,tooltipContainer:d,variables:h}=e,f=Qx(),[m,g]=Hx(),[y,v]=Hx(i||"");!function(e,t){const[n,r]=Hx(void 0);t.current=Zx((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),r(t))}})),[e]),Wx((()=>{void 0!==n&&e&&(e.focus(n),r(!1))}),[e,n])}(m,t);const b=$U((e=>{o(e),v(e)}));Wx((()=>{let e;return e=new MH({container:f.current,onChange:b,onKeyDown:t=>{if("Backspace"!==t.key||!e)return;const n=e.getSelection(),r=n.ranges[n.mainIndex];0===r.from&&0===r.to&&s()},onLint:a,placeholder:c,tooltipContainer:d,value:y,variables:h,extensions:[...r?[YL()]:[],YI.lineWrapping],contentAttributes:n}),g(e),()=>{a([]),f.current.innerHTML="",g(null)}}),[]),Wx((()=>{m&&i!==y&&(m.setValue(i),v(i))}),[i]),Wx((()=>{m&&m.setVariables(h)}),[h]),Wx((()=>{m&&m.setPlaceholder(c)}),[c]);return B_("div",{class:F_("bio-properties-panel-feel-editor-container",u?"disabled":null,p?"popupOpen":null),children:[B_("div",{class:"bio-properties-panel-feel-editor__open-popup-placeholder",children:"Opened in editor"}),B_("div",{name:e.name,class:F_("bio-properties-panel-input",y?"edited":null),ref:f,onClick:()=>{t.current.focus()}}),B_("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l(),children:B_(wU,{})})]})}));function ZU(e){const{active:t}=e;return t?B_("span",{class:"bio-properties-panel-feel-indicator",children:"="}):null}const XU=()=>{};function YU(e){const{feel:t=!1,active:n,disabled:r=!1,onClick:i=XU}=e,o=`Click to ${n?"remove":"set a"} dynamic value with FEEL expression`;return B_("button",{type:"button",class:F_("bio-properties-panel-feel-icon",n?"active":null,"required"===t?"required":"optional"),onClick:e=>{i(e),e.pointerType||e.stopPropagation()},disabled:"required"===t||r,title:"required"===t?"FEEL expression is mandatory":o,children:B_(vU,{})})}const KU=Mx({open:()=>{},close:()=>{},source:null});function JU(e,t){let n,r,i;function o(t){const o={x:t.clientX-r,y:t.clientY-i};return e.call(n,t,o)}function s(){document.removeEventListener("dragover",o,!0),document.removeEventListener("dragenter",eW,!0),document.removeEventListener("dragend",s),document.removeEventListener("drop",eW)}return function(e){n=this,r=e.clientX,i=e.clientY,e.dataTransfer&&e.dataTransfer.setDragImage(t||ge('<canvas width="0" height="0" />'),0,0),document.addEventListener("dragover",o,!0),document.addEventListener("dragenter",eW,!0),document.addEventListener("dragend",s),document.addEventListener("drop",eW)}}function eW(e){e.preventDefault(),e.stopPropagation()}const tW=()=>{};const nW=p_((function(e,t){const{container:n,className:r,delayInitialFocus:i,position:o,width:s,height:a,onClose:l,onPostActivate:c=tW,onPostDeactivate:p=tW,returnFocus:u=!0,closeOnEscape:d=!0,title:h}=e,f=Qx(null),m=Qx(null),g=t||m,y=Zx((()=>function(e){if("string"==typeof e)return ve(e);return e}(n)),[n]),v=()=>{f.current&&f.current.activate()};let b={};return o&&(b={...b,top:o.top+"px",left:o.left+"px"}),s&&(b.width=s+"px"),a&&(b.height=a+"px"),Wx((()=>(g.current&&g.current.addEventListener("focusin",v),()=>{g.current.removeEventListener("focusin",v)})),[g]),Wx((()=>(g.current&&(f.current=dU(g.current,{clickOutsideDeactivates:!0,delayInitialFocus:i,fallbackFocus:g.current,onPostActivate:c,onPostDeactivate:p,returnFocusOnDeactivate:u}),f.current.activate()),()=>f.current&&f.current.deactivate())),[g]),jU("propertiesPanel.detach",l),x_(B_("div",{"aria-label":h,tabIndex:-1,ref:g,onKeyDown:e=>{e.stopPropagation(),d&&"Escape"===e.key&&l()},role:"dialog",class:F_("bio-properties-panel-popup",r),style:b,children:e.children}),y||document.body)}));function rW(e){return e.closest(".bio-properties-panel-popup")}nW.Title=function(e){const{children:t,className:n,draggable:r,emit:i=(()=>{}),title:o,showCloseButton:s=!1,closeButtonTooltip:a="Close popup",onClose:l,...c}=e,p=Qx({startPosition:null,newPosition:null}),u=Qx(),d=Qx(),h=(e,t)=>{!function(e){e.preventDefault(),e.stopPropagation()}(e);const{x:n,y:r}=t,o={x:p.current.startPosition.x+n,y:p.current.startPosition.y+r},s=rW(d.current);s.style.top=o.y+"px",s.style.left=o.x+"px",i("dragover",{newPosition:o,delta:t})};return B_("div",{class:F_("bio-properties-panel-popup__header",r&&"draggable",n),ref:d,draggable:r,onDragStart:e=>{JU(h,u.current)(e),e.stopPropagation();const t=rW(d.current).getBoundingClientRect();p.current.startPosition={x:t.left,y:t.top},i("dragstart")},onDragEnd:()=>{p.current.newPosition=null,i("dragend")},...c,children:[r&&B_(px,{children:[B_("div",{ref:u,class:"bio-properties-panel-popup__drag-preview"}),B_("div",{class:"bio-properties-panel-popup__drag-handle",children:B_(gU,{})})]}),B_("div",{class:"bio-properties-panel-popup__title",children:o}),t,s&&B_("button",{title:a,class:"bio-properties-panel-popup__close",onClick:l,children:B_(xU,{})})]})},nW.Body=function(e){const{children:t,className:n,...r}=e;return B_("div",{class:F_("bio-properties-panel-popup__body",n),...r,children:t})},nW.Footer=function(e){const{children:t,className:n,...r}=e;return B_("div",{class:F_("bio-properties-panel-popup__footer",n),...r,children:e.children})};const iW=700,oW=250;function sW(e){const{element:t,eventBus:n={fire(){},on(){},off(){}},popupContainer:r}=e,i=LU(t),[o,s]=Hx({}),[a,l]=Hx(!1),[c,p]=Hx(null),[u,d]=Hx(null),h=(e,t)=>{n.fire("feelPopup."+e,t)},f=Xx((()=>!!a),[a]);!function(e,t){const n=Qx(!1);Wx((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{a||h("closed")}),[a]);const m=(e,t,n)=>{p(e),s(t),l(!0),d(n),h("open")},g=(e={})=>{const{id:t}=e;t&&t!==c||(l(!1),p(null))},y={open:m,close:g,source:c};return Wx((()=>{t&&i&&t!==i&&g()}),[t]),Wx((()=>{const e=()=>f();return n.on("feelPopup._close",g),n.on("feelPopup._open",(e=>{const{entryId:t,popupConfig:n,sourceElement:r}=e;m(t,n,r)})),n.on("feelPopup._isOpen",e),()=>{n.off("feelPopup._close",g),n.off("feelPopup._open",m),n.off("feelPopup._isOpen",e)}}),[n,f]),B_(KU.Provider,{value:y,children:[a&&B_(aW,{onClose:g,container:r,sourceElement:u,emit:h,...o}),e.children]})}function aW(e){const{container:t,id:n,hostLanguage:r,onInput:i,onClose:o,position:s,singleLine:a,sourceElement:l,title:c,tooltipContainer:p,type:u,value:d,variables:h,emit:f}=e,m=Qx(),g=Qx(),y=Qx(!1);return Wx((()=>(f("opened",{domNode:g.current}),()=>f("close",{domNode:g.current}))),[]),Wx((()=>{m.current&&m.current.focus()}),[m]),B_(nW,{container:t,className:"bio-properties-panel-feel-popup",emit:f,position:s,title:c,onClose:o,returnFocus:!1,closeOnEscape:!1,delayInitialFocus:!1,onPostDeactivate:()=>{l&&l.focus()},height:oW,width:iW,ref:g,children:[B_(nW.Title,{title:c,emit:f,showCloseButton:!0,closeButtonTooltip:"Save and close",onClose:o,draggable:!0,children:["feel"===u&&B_("a",{href:"https://docs.camunda.io/docs/components/modeler/feel/what-is-feel/",target:"_blank",class:"bio-properties-panel-feel-popup__title-link",children:["Learn FEEL expressions",B_(bU,{})]}),"feelers"===u&&B_("a",{href:"https://docs.camunda.io/docs/components/modeler/forms/configuration/forms-config-templating-syntax/",target:"_blank",class:"bio-properties-panel-feel-popup__title-link",children:["Learn templating",B_(bU,{})]})]}),B_(nW.Body,{children:B_("div",{onKeyDownCapture:e=>{"Escape"===e.key&&(y.current=e.target.closest(".cm-editor").querySelector(".cm-tooltip-autocomplete"))},onKeyDown:e=>{"Escape"===e.key&&(y.current||(o(),y.current=!1))},class:"bio-properties-panel-feel-popup__body",children:["feel"===u&&B_(QU,{enableGutters:!0,id:lW(n),name:n,onInput:i,value:d,variables:h,ref:m,tooltipContainer:p}),"feelers"===u&&B_(WU,{id:lW(n),contentAttributes:{"aria-label":c},enableGutters:!0,hostLanguage:r,name:n,onInput:i,value:d,ref:m,singleLine:a,tooltipContainer:p})]})})]})}function lW(e){return`bio-properties-panel-${e}`}function cW(e){const{id:t,label:n,onInput:r,value:i,switcherLabel:o,inline:s,onFocus:a,onBlur:l,inputRef:c,tooltip:p}=e,[u,d]=Hx(i);return Wx((()=>{i!==u&&d(i)}),[i]),B_("div",{class:F_("bio-properties-panel-toggle-switch",{inline:s}),children:[B_("label",{class:"bio-properties-panel-label",for:dW(t),children:B_(CU,{value:p,forId:t,element:e.element,children:n})}),B_("div",{class:"bio-properties-panel-field-wrapper",children:[B_("label",{class:"bio-properties-panel-toggle-switch__switcher",children:[B_("input",{ref:c,id:dW(t),class:"bio-properties-panel-input",type:"checkbox",onFocus:a,onBlur:l,name:t,onInput:e=>{(async()=>{r(!i)})(),d(e.target.value)},checked:!!u}),B_("span",{class:"bio-properties-panel-toggle-switch__slider"})]}),o&&B_("p",{class:"bio-properties-panel-toggle-switch__label",children:o})]})]})}function pW(e){const{element:t,id:n,description:r,label:i,switcherLabel:o,inline:s,getValue:a,setValue:l,onFocus:c,onBlur:p,tooltip:u}=e;return B_("div",{class:"bio-properties-panel-entry bio-properties-panel-toggle-switch-entry","data-entry-id":n,children:[B_(cW,{id:n,label:i,value:a(t),onInput:l,onFocus:c,onBlur:p,switcherLabel:o,inline:s,tooltip:u,element:t}),B_(HU,{forId:n,element:t,value:r})]})}function uW(e){return e&&!!e.checked}function dW(e){return`bio-properties-panel-${e}`}function hW(e){const{debounce:t,disabled:n,displayLabel:r=!0,id:i,inputRef:o,label:s,max:a,min:l,onInput:c,step:p,value:u="",onFocus:d,onBlur:h}=e,[f,m]=Hx(u),g=Zx((()=>t((e=>{e.validity.valid&&c(e.value?parseFloat(e.value):void 0)}))),[c,t]);return Wx((()=>{u!==f&&m(u)}),[u]),B_("div",{class:"bio-properties-panel-numberfield",children:[r&&B_("label",{for:gW(i),class:"bio-properties-panel-label",children:s}),B_("input",{id:gW(i),ref:o,type:"number",name:i,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",max:a,min:l,onInput:e=>{g(e.target),m(e.target.value)},onFocus:d,onBlur:h,step:p,value:f})]})}function fW(e){const{debounce:t,description:n,disabled:r,element:i,getValue:o,id:s,label:a,max:l,min:c,setValue:p,step:u,onFocus:h,onBlur:f,validate:m}=e,g=NU(s),[y,v]=Hx(null);let b=o(i);Wx((()=>{if(d(m)){const e=m(b)||null;v(e)}}),[b,m]);const w=g||y;return B_("div",{class:F_("bio-properties-panel-entry",w?"has-error":""),"data-entry-id":s,children:[B_(hW,{debounce:t,disabled:r,id:s,label:a,onFocus:h,onBlur:f,onInput:e=>{let t=null;d(m)&&(t=m(e)||null),p(e,t),v(t)},max:l,min:c,step:u,value:b},i),w&&B_("div",{class:"bio-properties-panel-error",children:w}),B_(HU,{forId:s,element:i,value:n})]})}function mW(e){return e&&!!e.value}function gW(e){return`bio-properties-panel-${e}`}const yW=()=>{};const vW=(bW=function(e){const{debounce:t,id:n,element:r,label:i,hostLanguage:o,onInput:s,onError:a,placeholder:l,feel:c,value:p="",disabled:u=!1,variables:d,singleLine:f,tooltipContainer:m,OptionalComponent:g=wW,tooltip:y}=e,[v,b]=Hx(p),w=BU(n),x=Qx(),_=h(v)&&v.startsWith("=")||"required"===c,k=h(v)&&v.startsWith("=")?v.substring(1):v,[E,O]=Hx(void 0),{open:P,source:S}=Yx(KU),C=S===n,T=(e=0)=>{const t=x.current.contains(document.activeElement)?document.activeElement.selectionStart:1/0;O(t+e)},M=Zx((()=>t((e=>{s(e)}))),[s,t]),A=e=>{b(e),M(void 0===e||""===e||"="===e?void 0:e)},D=$U((()=>{"required"!==c&&A(_?k:"="+v)})),N=e=>{_&&(e="="+e),e!==v&&(A(e),!_&&h(e)&&e.startsWith("=")&&T(-1))},R=$U((e=>{e&&e.length?a("Unparsable FEEL expression."):a(void 0)})),j=(e="feel")=>{const t={id:n,hostLanguage:o,onInput:N,position:TW(x.current),singleLine:f,title:MW(r,i),tooltipContainer:m,type:e,value:k,variables:d};P(n,t,w.current)};return Wx((()=>{void 0!==E&&(w.current.focus(E),O(void 0))}),[E]),Wx((()=>{p!==v&&A(p||(_?"=":""))}),[p]),Wx((()=>{const e=e=>{_&&e.clipboardData.setData("application/FEEL",e.clipboardData.getData("text"))},t=e=>{_||C||e.clipboardData.getData("application/FEEL")&&setTimeout((()=>{D(),T()}))};return x.current.addEventListener("copy",e),x.current.addEventListener("cut",e),x.current.addEventListener("paste",t),()=>{x.current.removeEventListener("copy",e),x.current.removeEventListener("cut",e),x.current.removeEventListener("paste",t)}}),[x,_,D,T]),B_("div",{class:F_("bio-properties-panel-feel-entry",{"feel-active":_}),children:[B_("label",{for:CW(n),class:"bio-properties-panel-label",onClick:()=>T(),children:[B_(CU,{value:y,forId:n,element:e.element,children:i}),B_(YU,{label:i,feel:c,onClick:D,active:_})]}),B_("div",{class:"bio-properties-panel-feel-container",ref:x,children:[B_(ZU,{active:_,disabled:"optional"!==c||u,onClick:D}),_?B_(QU,{name:n,onInput:N,contentAttributes:{id:CW(n),"aria-label":i},disabled:u,popupOpen:C,onFeelToggle:()=>{D(),T(!0)},onLint:R,onPopupOpen:j,placeholder:l,value:k,variables:d,ref:w,tooltipContainer:m}):B_(g,{...e,popupOpen:C,onInput:N,contentAttributes:{id:CW(n),"aria-label":i},value:v,ref:w,onPopupOpen:j,containerRef:x})]})]})},function(e){const{id:t}=e,{close:n}=Yx(KU),r=$U(n);return Wx((()=>()=>{r({id:t})}),[]),B_(bW,{...e})});var bW;const wW=p_(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a,placeholder:l}=e,c=Qx();return t.current={focus:e=>{const t=c.current;t&&(t.focus(),"number"==typeof e&&(e>o.length&&(e=o.length),t.setSelectionRange(e,e)))}},B_("input",{id:CW(n),type:"text",ref:c,name:n,spellCheck:"false",autoComplete:"off",disabled:r,class:"bio-properties-panel-input",onInput:e=>i(e.target.value),onFocus:s,onBlur:a,placeholder:l,value:o||""})})),xW=p_(((e,t)=>{const{id:n,debounce:r,disabled:i,onInput:o,value:s,min:a,max:l,step:c,onFocus:p,onBlur:u}=e,d=Qx();return t.current={focus:e=>{const t=d.current;t&&(t.focus(),"number"==typeof e&&e!==1/0&&(e>s.length&&(e=s.length),t.setSelectionRange(e,e)))}},B_(hW,{id:n,debounce:r,disabled:i,displayLabel:!1,inputRef:d,max:l,min:a,onInput:o,step:c,value:s,onFocus:p,onBlur:u})})),_W=p_(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a,placeholder:l}=e,c=Qx();return t.current={focus:()=>{const e=c.current;e&&(e.focus(),e.setSelectionRange(0,0))}},B_("textarea",{id:CW(n),type:"text",ref:c,name:n,spellCheck:"false",autoComplete:"off",disabled:r,class:"bio-properties-panel-input",onInput:e=>i(e.target.value),onFocus:s,onBlur:a,placeholder:l,value:o||"","data-gramm":"false"})}));p_(((e,t)=>{const{id:n,onInput:r,value:i,onFocus:o,onBlur:s,switcherLabel:a}=e,l=Qx();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},B_(cW,{id:n,value:i,inputRef:l,onInput:r,onFocus:o,onBlur:s,switcherLabel:a})}));const kW=p_(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a}=e,l=Qx();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},B_("input",{ref:l,id:CW(n),name:n,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:({target:e})=>{i(e.checked)},checked:o,disabled:r})}));function EW(e){const{element:t,id:n,description:r,debounce:i,disabled:o,feel:s,label:a,getValue:l,setValue:c,tooltipContainer:p,hostLanguage:u,singleLine:h,validate:f,show:m=yW,example:g,variables:y,onFocus:v,onBlur:b,placeholder:w,tooltip:x}=e,[_,k]=Hx(null),[E,O]=Hx(null);let P=l(t);Wx((()=>{if(d(f)){const e=f(P)||null;k(e)}}),[P,f]);const S=$U((e=>{let t=null;d(f)&&(t=f(e)||null),e!==P&&c(e,t),k(t)})),C=Xx((e=>{O(e)}),[]),T=NU(n)||E||_;return B_("div",{class:F_(e.class,"bio-properties-panel-entry",T?"has-error":""),"data-entry-id":n,children:[lx(vW,{...e,debounce:i,disabled:o,feel:s,id:n,key:t,label:a,onInput:S,onError:C,onFocus:v,onBlur:b,placeholder:w,example:g,hostLanguage:u,singleLine:h,show:m,value:P,variables:y,tooltipContainer:p,OptionalComponent:e.OptionalComponent,tooltip:x}),T&&B_("div",{class:"bio-properties-panel-error",children:T}),B_(HU,{forId:n,element:t,value:r})]})}function OW(e){return B_(EW,{class:"bio-properties-panel-feel-number",OptionalComponent:xW,...e})}function PW(e){return B_(EW,{class:"bio-properties-panel-feel-checkbox",OptionalComponent:kW,...e})}function SW(e){return!!e&&("checkbox"===e.type?!!e.checked||e.classList.contains("edited"):!!e.value||e.classList.contains("edited"))}function CW(e){return`bio-properties-panel-${e}`}function TW(e){const{top:t,left:n}=e.getBoundingClientRect();return{left:n-iW-20,top:t}}function MW(e,t){let n="";return e&&e.type&&(n=`${e.type} / `),`${n}${t}`}const AW={},DW={},NW={};function RW(e){const{element:t,headerProvider:n,placeholderProvider:r,groups:i,layoutConfig:o,layoutChanged:s,descriptionConfig:a,descriptionLoaded:l,tooltipConfig:p,tooltipLoaded:u,feelPopupContainer:d,eventBus:h}=e,[f,m]=Hx(jW(o));!function(e,t){const n=Qx(!1);Gx((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{const e=jW(o);m(e)}),[o]),Wx((()=>{"function"==typeof s&&s(f)}),[f,s]);const g={layout:f,setLayout:m,getLayoutForKey:(e,t)=>z(f,e,t),setLayoutForKey:(e,t)=>{const n=L({},f);B(n,e,t),m(n)}},y=Zx((()=>function(e={}){return{...DW,...e}}(a)),[a]);Wx((()=>{"function"==typeof l&&l(y)}),[y,l]);const v={description:y,getDescriptionForId:(e,t)=>y[e]&&y[e](t)},b=Zx((()=>function(e={}){return{...NW,...e}}(p)),[p]);Wx((()=>{"function"==typeof u&&u(b)}),[b,u]);const w={tooltip:b,getTooltipForId:(e,t)=>b[e]&&b[e](t)},[x,_]=Hx({});jU("propertiesPanel.setErrors",(({errors:e})=>_(e)),h);const k={errors:x},E={eventBus:h},O={element:t};return r&&!t?B_(VU,{...r.getEmpty()}):r&&c(t)?B_(VU,{...r.getMultiple()}):B_(PU.Provider,{value:O,children:B_(EU.Provider,{value:k,children:B_(kU.Provider,{value:v,children:B_(SU.Provider,{value:w,children:B_(PU.Provider,{value:g,children:B_(OU.Provider,{value:E,children:B_(sW,{element:t,eventBus:h,popupContainer:d,children:B_("div",{class:"bio-properties-panel",children:[B_(_U,{element:t,headerProvider:n}),B_("div",{class:"bio-properties-panel-scroll-container",children:i.map((e=>{const{component:n=qU,id:r}=e;return lx(n,{...e,key:r,element:t})}))})]})})})})})})})})}function jW(e={},t=AW){return{...t,...e}}function IW(e){const{class:t,children:n,menuItems:r=[]}=e,i=Qx(null),o=Qx(null),[s,a]=Hx(!1),l=()=>a(!1);function c(e,t){e.stopPropagation(),l(),t()}var p,u;return p=[i.current],u=()=>l(),Wx((()=>{function e(e){p.some((t=>t&&t.contains(e.target)))||u()}return document.addEventListener("click",e,{capture:!0}),()=>document.removeEventListener("click",e,{capture:!0})}),[...p,u]),B_("div",{class:F_("bio-properties-panel-dropdown-button",{open:s},t),onClick:function(e){o.current&&o.current.contains(e.target)||(e.stopPropagation(),a((e=>!e)))},ref:i,children:[n,B_("div",{class:"bio-properties-panel-dropdown-button__menu",ref:o,children:r.map(((e,t)=>B_(LW,{onClick:c,item:e},t)))})]})}function LW({item:e,onClick:t}){return e.separator?B_("div",{class:"bio-properties-panel-dropdown-button__menu-item bio-properties-panel-dropdown-button__menu-item--separator"}):e.action?B_("button",{type:"button",class:"bio-properties-panel-dropdown-button__menu-item bio-properties-panel-dropdown-button__menu-item--actionable",onClick:n=>t(n,e.action),children:e.entry}):B_("div",{class:"bio-properties-panel-dropdown-button__menu-item",children:e.entry})}function BW(e){const{children:t=null,class:n,onClick:r=(()=>{}),...i}=e;return B_("button",{type:"button",...i,onClick:r,class:F_("bio-properties-panel-group-header-button",n),children:t})}function zW(e,t){return t=t||{},e.replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}function $W(e){const{element:t,entries:n=[],id:r,label:i,open:o,remove:s,translate:a=zW}=e,[l,c]=Hx(o),{onShow:p}=Yx(PU),u={...Yx(PU),onShow:Xx((()=>{c(!0),d(p)&&p()}),[p,c])},h=a("<empty>");return B_("div",{"data-entry-id":r,class:F_("bio-properties-panel-collapsible-entry",l?"open":""),children:[B_("div",{class:"bio-properties-panel-collapsible-entry-header",onClick:()=>c(!l),children:[B_("div",{title:i||h,class:F_("bio-properties-panel-collapsible-entry-header-title",!i&&"empty"),children:i||h}),B_("button",{type:"button",title:a("Toggle list item"),class:"bio-properties-panel-arrow bio-properties-panel-collapsible-entry-arrow",children:B_(hU,{class:l?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}),s?B_("button",{type:"button",title:a("Delete item"),class:"bio-properties-panel-remove-entry",onClick:s,children:B_(mU,{})}):null]}),B_("div",{class:F_("bio-properties-panel-collapsible-entry-entries",l?"open":""),children:B_(PU.Provider,{value:u,children:n.map((e=>{const{component:n,id:r}=e;return lx(n,{...e,element:t,key:r})}))})})]})}function qW(e){const{autoFocusEntry:t,autoOpen:n,translate:r=zW}=e;return Wx((()=>{if(n&&t){const e=ve(`[data-entry-id="${t}"]`),n=ve(".bio-properties-panel-input",e);n&&(d(n.select)?n.select():d(n.focus)&&n.focus(),n.scrollIntoView())}}),[n,t]),B_("div",{class:"bio-properties-panel-list-item",children:B_($W,{...e,open:n,translate:r})})}const FW=()=>{};function VW(e){const{add:t,element:n,id:r,items:i,label:o,shouldOpen:s=!1,translate:a=zW}=e;Wx((()=>{null!=e.shouldSort&&console.warn("the property 'shouldSort' is no longer supported")}),[e.shouldSort]);const l=Qx(null),[c,p]=IU(["groups",r,"open"],s),[u,d]=Hx(!1),h=Xx((()=>p(!0)),[p]),[f,m]=Hx([]),[g,y]=Hx(!1),v=LU(n),b=Xx((()=>p(!c)),[c]),w=n===v&&c&&g?function(e,t){const n=e.map((e=>e.id)),r=t.map((e=>e.id));return n.filter((e=>!r.includes(e)))}(i,f):[];Wx((()=>{m(i),y(!1)}),[i]),zU(l,"div.bio-properties-panel-scroll-container",d);const x=!!i.length,_={...Yx(PU),onShow:h},k=RU(),E=i.some((e=>!!k[e.id]||(e.entries?e.entries.some((e=>k[e.id])):void 0)));return B_("div",{class:"bio-properties-panel-group","data-group-id":"group-"+r,ref:l,children:[B_("div",{class:F_("bio-properties-panel-group-header",x?"":"empty",x&&c?"open":"",u&&c?"sticky":""),onClick:x?b:FW,children:[B_("div",{title:e.tooltip?null:o,"data-title":o,class:"bio-properties-panel-group-header-title",children:B_(CU,{value:e.tooltip,forId:"group-"+r,element:n,parent:l,children:o})}),B_("div",{class:"bio-properties-panel-group-header-buttons",children:[t?B_("button",{type:"button",title:a("Create new list item"),class:"bio-properties-panel-group-header-button bio-properties-panel-add-entry",onClick:e=>{y(!0),p(!0),t(e)},children:[B_(fU,{}),x?null:B_("span",{class:"bio-properties-panel-add-entry-label",children:a("Create")})]}):null,x?B_("div",{title:a("List contains {numOfItems} item"+(1!=i.length?"s":""),{numOfItems:i.length}),class:F_("bio-properties-panel-list-badge",E?"bio-properties-panel-list-badge--error":""),children:i.length}):null,x?B_("button",{type:"button",title:a("Toggle section"),class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:B_(hU,{class:c?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}):null]})]}),B_("div",{class:F_("bio-properties-panel-list",c&&x?"open":""),children:B_(PU.Provider,{value:_,children:i.map(((e,t)=>{if(!e)return;const{id:r}=e,i=w.includes(e.id);return lx(qW,{...e,autoOpen:i,element:n,index:t,key:r,translate:a})}))})})]})}function HW(e){const{id:t,label:n,onChange:r,disabled:i,value:o=!1,onFocus:s,onBlur:a,tooltip:l}=e,[c,p]=Hx(o);Wx((()=>{o!==c&&p(o)}),[o]);return B_("div",{class:"bio-properties-panel-checkbox",children:[B_("input",{ref:BU(t),id:GW(t),name:t,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:e=>{(({target:e})=>{r(e.checked)})(e),p(e.target.value)},checked:c,disabled:i}),B_("label",{for:GW(t),class:"bio-properties-panel-label",children:B_(CU,{value:l,forId:t,element:e.element,children:n})})]})}function UW(e){const{element:t,id:n,description:r,label:i,getValue:o,setValue:s,disabled:a,onFocus:l,onBlur:c,tooltip:p}=e,u=o(t),d=NU(n);return B_("div",{class:"bio-properties-panel-entry bio-properties-panel-checkbox-entry","data-entry-id":n,children:[B_(HW,{disabled:a,id:n,label:i,onChange:s,onFocus:l,onBlur:c,value:u,tooltip:p,element:t},t),d&&B_("div",{class:"bio-properties-panel-error",children:d}),B_(HU,{forId:n,element:t,value:r})]})}function WW(e){return e&&!!e.checked}function GW(e){return`bio-properties-panel-${e}`}function QW(e){const{id:t,label:n,onChange:r,options:i=[],value:o="",disabled:s,onFocus:a,onBlur:l,tooltip:c}=e,p=BU(t),[u,d]=Hx(o);return Wx((()=>{o!==u&&d(o)}),[o]),B_("div",{class:"bio-properties-panel-select",children:[B_("label",{for:YW(t),class:"bio-properties-panel-label",children:B_(CU,{value:c,forId:t,element:e.element,children:n})}),B_("select",{ref:p,id:YW(t),name:t,class:"bio-properties-panel-input",onInput:e=>{(({target:e})=>{r(e.value)})(e),d(e.target.value)},onFocus:a,onBlur:l,value:u,disabled:s,children:i.map(((e,t)=>e.children?B_("optgroup",{label:e.label,children:e.children.map(((e,t)=>B_("option",{value:e.value,disabled:e.disabled,children:e.label},t)))},t):B_("option",{value:e.value,disabled:e.disabled,children:e.label},t)))})]})}function ZW(e){const{element:t,id:n,description:r,label:i,getValue:o,setValue:s,getOptions:a,disabled:l,onFocus:c,onBlur:p,validate:u,tooltip:h}=e,f=a(t),m=NU(n),[g,y]=Hx(null);let v=o(t);Wx((()=>{if(d(u)){const e=u(v)||null;y(e)}}),[v,u]);const b=m||g;return B_("div",{class:F_("bio-properties-panel-entry",b?"has-error":""),"data-entry-id":n,children:[B_(QW,{id:n,label:i,value:v,onChange:e=>{let t=null;d(u)&&(t=u(e)||null),s(e,t),y(t)},onFocus:c,onBlur:p,options:f,disabled:l,tooltip:h,element:t},t),b&&B_("div",{class:"bio-properties-panel-error",children:b}),B_(HU,{forId:n,element:t,value:r})]})}function XW(e){return e&&!!e.value}function YW(e){return`bio-properties-panel-${e}`}function KW(e){e.style.height="auto",e.style.height=`${e.scrollHeight+2}px`}function JW(e){const{id:t,label:n,debounce:r,onInput:i,value:o="",disabled:s,monospace:a,onFocus:l,onBlur:c,autoResize:p,placeholder:u,rows:d=(p?1:2),tooltip:h}=e,[f,m]=Hx(o),g=BU(t),y=function(e){const[t,n]=Hx(!!e&&!!e.clientHeight);return Gx((()=>{if(!e)return;const r=new ResizeObserver((([e])=>{requestAnimationFrame((()=>{const r=!!e.contentRect.height;r!==t&&n(r)}))}));return r.observe(e),()=>r.disconnect()}),[e,t]),t}(g.current),v=Zx((()=>r((e=>i(e.value.length?e.value:void 0)))),[i,r]);return Gx((()=>{p&&KW(g.current)}),[]),Gx((()=>{y&&p&&KW(g.current)}),[y]),Wx((()=>{o!==f&&m(o)}),[o]),B_("div",{class:"bio-properties-panel-textarea",children:[B_("label",{for:nG(t),class:"bio-properties-panel-label",children:B_(CU,{value:h,forId:t,element:e.element,children:n})}),B_("textarea",{ref:g,id:nG(t),name:t,spellCheck:"false",class:F_("bio-properties-panel-input",a?"bio-properties-panel-input-monospace":"",p?"auto-resize":""),onInput:e=>{v(e.target),p&&KW(e.target),m(e.target.value)},onFocus:l,onBlur:c,placeholder:u,rows:d,value:f,disabled:s,"data-gramm":"false"})]})}function eG(e){const{element:t,id:n,description:r,debounce:i,label:o,getValue:s,setValue:a,rows:l,monospace:c,disabled:p,validate:u,onFocus:h,onBlur:f,placeholder:m,autoResize:g,tooltip:y}=e,v=NU(n),[b,w]=Hx(null);let x=s(t);Wx((()=>{if(d(u)){const e=u(x)||null;w(e)}}),[x,u]);const _=v||b;return B_("div",{class:F_("bio-properties-panel-entry",_?"has-error":""),"data-entry-id":n,children:[B_(JW,{id:n,label:o,value:x,onInput:e=>{let t=null;d(u)&&(t=u(e)||null),a(e,t),w(t)},onFocus:h,onBlur:f,rows:l,debounce:i,monospace:c,disabled:p,placeholder:m,autoResize:g,tooltip:y,element:t},t),_&&B_("div",{class:"bio-properties-panel-error",children:_}),B_(HU,{forId:n,element:t,value:r})]})}function tG(e){return e&&!!e.value}function nG(e){return`bio-properties-panel-${e}`}function rG(e){const{debounce:t,disabled:n=!1,id:r,label:i,onInput:o,onFocus:s,onBlur:a,placeholder:l,value:c="",tooltip:p}=e,[u,d]=Hx(c||""),h=BU(r),f=Zx((()=>t((e=>o(e.value.length?e.value:void 0)))),[o,t]);return Wx((()=>{c!==u&&d(c)}),[c]),B_("div",{class:"bio-properties-panel-textfield",children:[B_("label",{for:sG(r),class:"bio-properties-panel-label",children:B_(CU,{value:p,forId:r,element:e.element,children:i})}),B_("input",{ref:h,id:sG(r),type:"text",name:r,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",onInput:e=>{f(e.target),d(e.target.value)},onFocus:s,onBlur:a,placeholder:l,value:u})]})}function iG(e){const{element:t,id:n,description:r,debounce:i,disabled:o,label:s,getValue:a,setValue:l,validate:c,onFocus:p,onBlur:u,placeholder:h,tooltip:f}=e,m=NU(n),[g,y]=Hx(null);let v=a(t);Wx((()=>{if(d(c)){const e=c(v)||null;y(e)}}),[v,c]);const b=m||g;return B_("div",{class:F_("bio-properties-panel-entry",b?"has-error":""),"data-entry-id":n,children:[B_(rG,{debounce:i,disabled:o,id:n,label:s,onInput:e=>{let t=null;d(c)&&(t=c(e)||null),l(e,t),y(t)},onFocus:p,onBlur:u,placeholder:h,value:v,tooltip:f,element:t},t),b&&B_("div",{class:"bio-properties-panel-error",children:b}),B_(HU,{forId:n,element:t,value:r})]})}function oG(e){return e&&!!e.value}function sG(e){return`bio-properties-panel-${e}`}function aG(e){return function(t){return!1!==e?j(t,u(e)?e:300):t}}aG.$inject=["config.debounceInput"];var lG={debounceInput:["factory",aG]};class cG{constructor(e){this._eventBus=e}isOpen(){return this._eventBus.fire("feelPopup._isOpen")}open(e,t,n){return this._eventBus.fire("feelPopup._open",{entryId:e,popupConfig:t,sourceElement:n})}close(){return this._eventBus.fire("feelPopup._close")}}cG.$inject=["eventBus"];var pG={feelPopup:["type",cG]},uG={},dG={};const hG=Object.prototype.toString,fG=Object.prototype.hasOwnProperty;function mG(e){return void 0===e}function gG(e){return void 0!==e}function yG(e){return null==e}function vG(e){return"[object Array]"===hG.call(e)}function bG(e){return"[object Object]"===hG.call(e)}function wG(e){const t=hG.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function xG(e){if(!vG(e))throw new Error("must supply array")}function _G(e,t){return fG.call(e,t)}function kG(e,t){const n=NG(t);let r;return EG(e,(function(e,t){if(n(e,t))return r=e,!1})),r}function EG(e,t){let n,r;if(mG(e))return;const i=vG(e)?jG:RG;for(let o in e)if(_G(e,o)&&(n=e[o],r=t(n,i(o)),!1===r))return n}function OG(e,t,n){return EG(e,(function(e,r){n=t(n,e,r)})),n}function PG(e,t){return!!OG(e,(function(e,n,r){return e&&t(n,r)}),!0)}function SG(e,t){let n=[];return EG(e,(function(e,r){n.push(t(e,r))})),n}function CG(e){return e&&Object.keys(e)||[]}function TG(e,t,n={}){return t=DG(t),EG(e,(function(e){let r=t(e)||"_",i=n[r];i||(i=n[r]=[]),i.push(e)})),n}function MG(e,...t){e=DG(e);let n={};return EG(t,(t=>TG(t,e,n))),SG(n,(function(e,t){return e[0]}))}const AG=MG;function DG(e){return wG(e)?e:t=>t[e]}function NG(e){return wG(e)?e:t=>t===e}function RG(e){return e}function jG(e){return Number(e)}dG.assign=function(e,...t){return Object.assign(e,...t)},dG.bind=function(e,t){return e.bind(t)},dG.debounce=function(e,t){let n,r,i,o;function s(n){let s=Date.now(),c=n?0:o+t-s;if(c>0)return a(c);e.apply(i,r),l()}function a(e){n=setTimeout(s,e)}function l(){n&&clearTimeout(n),n=o=r=i=void 0}function c(...e){o=Date.now(),r=e,i=this,n||a(t)}return c.flush=function(){n&&s(!0),l()},c.cancel=l,c},dG.ensureArray=xG,dG.every=PG,dG.filter=function(e,t){const n=NG(t);let r=[];return EG(e,(function(e,t){n(e,t)&&r.push(e)})),r},dG.find=kG,dG.findIndex=function(e,t){const n=NG(t);let r=vG(e)?-1:void 0;return EG(e,(function(e,t){if(n(e,t))return r=t,!1})),r},dG.flatten=function(e){return Array.prototype.concat.apply([],e)},dG.forEach=EG,dG.get=function(e,t,n){let r=e;return EG(t,(function(e){if(yG(r))return r=void 0,!1;r=r[e]})),mG(r)?n:r},dG.groupBy=TG,dG.has=_G,dG.isArray=vG,dG.isDefined=gG,dG.isFunction=wG,dG.isNil=yG,dG.isNumber=function(e){return"[object Number]"===hG.call(e)},dG.isObject=bG,dG.isString=function(e){return"[object String]"===hG.call(e)},dG.isUndefined=mG,dG.keys=CG,dG.map=SG,dG.matchPattern=function(e){return function(t){return PG(e,(function(e,n){return t[n]===e}))}},dG.merge=function e(t,...n){return n.length?(EG(n,(function(n){n&&bG(n)&&EG(n,(function(n,r){if("__proto__"===r)return;let i=t[r];bG(n)?(bG(i)||(i={}),t[r]=e(i,n)):t[r]=n}))})),t):t},dG.omit=function(e,t){let n={};return EG(Object(e),(function(e,r){-1===t.indexOf(r)&&(n[r]=e)})),n},dG.pick=function(e,t){let n={},r=Object(e);return EG(t,(function(t){t in r&&(n[t]=e[t])})),n},dG.reduce=OG,dG.set=function(e,t,n){let r=e;return EG(t,(function(e,i){if("number"!=typeof e&&"string"!=typeof e)throw new Error("illegal key type: "+typeof e+". Key should be of type number or string.");if("constructor"===e)throw new Error("illegal key: constructor");if("__proto__"===e)throw new Error("illegal key: __proto__");let o=t[i+1],s=r[e];gG(o)&&yG(s)&&(s=r[e]=isNaN(+o)?{}:[]),mG(o)?mG(n)?delete r[e]:r[e]=n:r=s})),e},dG.size=function(e){return CG(e).length},dG.some=function(e,t){return!!kG(e,t)},dG.sortBy=function(e,t){t=DG(t);let n=[];return EG(e,(function(e,r){let i=t(e,r),o={d:i,v:e};for(var s=0;s<n.length;s++){let{d:e}=n[s];if(i<e)return void n.splice(s,0,o)}n.push(o)})),SG(n,(e=>e.v))},dG.throttle=function(e,t){let n=!1;return function(...r){n||(e(...r),n=!0,setTimeout((()=>{n=!1}),t))}},dG.unionBy=AG,dG.uniqueBy=MG,dG.values=function(e){return SG(e,(e=>e))},dG.without=function(e,t){if(mG(e))return[];xG(e);const n=NG(t);return e.filter((function(e,t){return!n(e,t)}))},Object.defineProperty(uG,"__esModule",{value:!0});var IG=dG;function LG(e){return(zG(e,"zeebe:IoMapping")||[])[0]}function BG(e){return function(e,t){var n=LG(e);return n&&n.get(t)||[]}(e,"inputParameters")}function zG(e,t,n){var r=function(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=IG.filter(i,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(r[0]||{})[n]||[]:r}function $G(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function qG(e,t,n){n=n||0,IG.isArray(e)||(e=[e]),IG.forEach(e,(function(e,r){var i=t(e,r,n);IG.isArray(i)&&i.length&&qG(i,t,n+1)}))}function FG(e,t,n){var r=!n||-1===e.indexOf(t);return r&&e.push(t),r}function VG(e,t,n){var r=[],i=[];return qG(e,(function(e,n,o){FG(r,e,t);var s=e.flowElements;if(s&&FG(i,s,t))return s})),r}function HG(e,t){return VG(e,!t)}function UG(e,t){var n=IG.findIndex(e,(function(e){return e.name===t.name&&e.scope===t.scope}));n>=0?e[n].origin=function(e,t){return e.concat(t)}(e[n].origin,t.origin):e.push(t)}function WG(e,t,n){var r,i,o,s,a=(r=n,i=t,o=$G(e),s=IG.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return IG.find(BG(e),(function(e){return e.target===t}))}(e,i)})),s||r);return{name:t,origin:[e],scope:a}}var GG=[function(e){var t=e.elements,n=e.processVariables;return IG.isArray(t)||(t=[t]),IG.forEach(t,(function(e){var t=function(e){return(LG(e)||{}).inputParameters}(e);IG.forEach(t,(function(t){var r=WG(e,t.target,e);UG(n,r)}))})),n},function(e){var t=e.elements,n=e.processVariables;return IG.isArray(t)||(t=[t]),IG.forEach(t,(function(e){var t=e.loopCharacteristics,r=t&&function(e){const t=zG(e,"zeebe:LoopCharacteristics")[0];return t&&t.inputElement}(t);if(r){var i=WG(e,r,e);UG(n,i)}})),n},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return IG.isArray(t)||(t=[t]),IG.forEach(t,(function(e){var t=function(e){return(LG(e)||{}).outputParameters}(e);IG.forEach(t,(function(t){var i=WG(e,t.target,n);UG(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return IG.isArray(t)||(t=[t]),IG.forEach(t,(function(e){var t=e.loopCharacteristics,i=t&&function(e){const t=zG(e,"zeebe:LoopCharacteristics")[0];return t&&t.outputCollection}(t);if(i){var o=WG(e,i,n);UG(r,o)}})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return IG.isArray(t)||(t=[t]),IG.forEach(t,(function(e){var t=function(e){return(zG(e,"zeebe:CalledDecision")||[])[0]}(e)||function(e){return(zG(e,"zeebe:Script")||[])[0]}(e);if(t){var i=t.resultVariable;if(i){var o=WG(e,i,n);UG(r,o)}}})),r}];function QG(e,t=[]){var n=[],r=HG([e],!1);const i=[];return IG.forEach([...GG,...t],(function(t){i.push(t({elements:r,containerElement:e,processVariables:n}))})),Promise.all(i).then((()=>n))}async function ZG(e,t,n=[]){var r=await QG(t,n),i=function(e,t){var n=HG(t);return IG.find(n,(function(t){return t.id===e}))}(e,t),o=IG.filter(r,(function(e){return e.scope.id===i.id})),s=$G(i);return function(e,t){return e.concat(t)}(o,IG.filter(r,(function(e){return IG.find(s,(function(t){return t.id===e.scope.id}))})))}function XG(e){return e&&e.businessObject||e}function YG(e,t){var n=XG(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}var KG=uG.getProcessVariables=QG,JG=uG.getVariablesForElement=function(e,t=[]){return ZG(function(e){const t=XG(e);if(YG(e,"bpmn:Participant"))return t.processRef.id;return t.id}(e),function(e){const t=XG(e);if(YG(t,"bpmn:Participant"))return t.processRef;if(YG(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!YG(n,"bpmn:Process");)n=n.$parent;return n}(e),t)};uG.getVariablesForScope=ZG;var eQ={};Object.defineProperty(eQ,"__esModule",{value:!0});var tQ=dG;function nQ(e){var t=function(e){return rQ(e,"camunda:FormData")[0]}(e);return t&&t.get("fields")||[]}function rQ(e,t,n){var r=function(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=tQ.filter(i,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(r[0]||{})[n]||[]:r}function iQ(e,t){var n=function(e){return(rQ(e,"camunda:InputOutput")||[])[0]}(e);return n&&n.get(t)||[]}function oQ(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function sQ(e,t,n){n=n||0,tQ.isArray(e)||(e=[e]),tQ.forEach(e,(function(e,r){var i=t(e,r,n);tQ.isArray(i)&&i.length&&sQ(i,t,n+1)}))}function aQ(e,t,n){var r=!n||-1===e.indexOf(t);return r&&e.push(t),r}function lQ(e,t,n){var r=[],i=[];return sQ(e,(function(e,n,o){aQ(r,e,t);var s=e.flowElements;if(s&&aQ(i,s,t))return s})),r}function cQ(e,t){return lQ(e,!t)}function pQ(e,t){var n=tQ.findIndex(e,(function(e){return e.name===t.name&&e.scope===t.scope}));n>=0?e[n].origin=function(e,t){return e.concat(t)}(e[n].origin,t.origin):e.push(t)}function uQ(e,t,n){var r,i,o,s,a=(r=n,i=t,o=oQ(e),s=tQ.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return tQ.find(function(e){return iQ(e,"inputParameters")}(e),(function(e){return e.name===t}))}(e,i)})),s||r);return{name:t,origin:[e],scope:a}}function dQ(e,t){var n=e.eventDefinitions;return n&&t?tQ.filter(n,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})):n}var hQ=[function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return tQ.isArray(t)||(t=[t]),tQ.forEach(t,(function(e){var t=function(e){return iQ(e,"outputParameters")}(e);tQ.forEach(t,(function(t){var i=uQ(e,t.name,n);pQ(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return tQ.isArray(t)||(t=[t]),tQ.forEach(t,(function(e){var t=function(e){return e.get("camunda:resultVariable")}(e);if(t){var i=uQ(e,t,n);pQ(r,i)}})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return tQ.isArray(t)||(t=[t]),tQ.forEach(t,(function(e){var t=nQ(e);tQ.forEach(t,(function(t){var i=uQ(e,t.id,n);pQ(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return tQ.isArray(t)||(t=[t]),tQ.forEach(t,(function(e){var t=function(e){return rQ(e,"camunda:Out")}(e);tQ.forEach(t,(function(t){if(!t.local){var i=uQ(e,t.target,n);pQ(r,i)}}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables,i=function(e,t){var i=uQ(e,t,n);pQ(r,i)};return tQ.isArray(t)||(t=[t]),tQ.forEach(t,(function(e){var t=function(e){return dQ(e,"bpmn:ErrorEventDefinition")}(e);tQ.forEach(t,(function(t){var n=t.get("errorCodeVariable"),r=t.get("errorMessageVariable");n&&i(e,n),r&&i(e,r)}));var n=function(e){return dQ(e,"bpmn:EscalationEventDefinition")}(e);tQ.forEach(n,(function(t){var n=t.get("escalationCodeVariable");n&&i(e,n)}))})),r}];function fQ(e,t=[]){const n=[];var r=[],i=cQ([e],!1);return tQ.forEach([...hQ,...t],(function(t){n.push(t({elements:i,containerElement:e,processVariables:r}))})),Promise.all(n).then((()=>r))}eQ.getProcessVariables=fQ,eQ.getVariablesForScope=async function(e,t,n=[]){var r=await fQ(t,n),i=function(e,t){var n=cQ(t);return tQ.find(n,(function(t){return t.id===e}))}(e,t),o=tQ.filter(r,(function(e){return e.scope.id===i.id})),s=oQ(i);return function(e,t){return e.concat(t)}(o,tQ.filter(r,(function(e){return tQ.find(s,(function(t){return t.id===e.scope.id}))})))};const mQ=Mx({selectedElement:null,injector:null,getService:()=>null});function gQ(e,t){const{getService:n}=Yx(mQ);return n(e,t)}function yQ(){return yQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yQ.apply(null,arguments)}function vQ(){return vQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vQ.apply(null,arguments)}function bQ(){return bQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bQ.apply(null,arguments)}function wQ(){return wQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wQ.apply(null,arguments)}function xQ(){return xQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xQ.apply(null,arguments)}function _Q(){return _Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_Q.apply(null,arguments)}function kQ(){return kQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kQ.apply(null,arguments)}var EQ=({styles:e={},...t})=>I_("svg",kQ({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),I_("path",{stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"1.1,4.3",d:"M1.5 30.5L27 5"}),I_("path",{d:"M31.803.197L26.5 16.107l-1.52-1.52 3.783-11.35-11.35 3.783-1.52-1.52z"}));function OQ(){return OQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OQ.apply(null,arguments)}function PQ(){return PQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PQ.apply(null,arguments)}function SQ(){return SQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SQ.apply(null,arguments)}function CQ(){return CQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CQ.apply(null,arguments)}function TQ(){return TQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TQ.apply(null,arguments)}function MQ(){return MQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},MQ.apply(null,arguments)}function AQ(){return AQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AQ.apply(null,arguments)}function DQ(){return DQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DQ.apply(null,arguments)}function NQ(){return NQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NQ.apply(null,arguments)}function RQ(){return RQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RQ.apply(null,arguments)}function jQ(){return jQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jQ.apply(null,arguments)}function IQ(){return IQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IQ.apply(null,arguments)}function LQ(){return LQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LQ.apply(null,arguments)}function BQ(){return BQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BQ.apply(null,arguments)}function zQ(){return zQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zQ.apply(null,arguments)}function $Q(){return $Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$Q.apply(null,arguments)}function qQ(){return qQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qQ.apply(null,arguments)}function FQ(){return FQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FQ.apply(null,arguments)}function VQ(){return VQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VQ.apply(null,arguments)}function HQ(){return HQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HQ.apply(null,arguments)}function UQ(){return UQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UQ.apply(null,arguments)}function WQ(){return WQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WQ.apply(null,arguments)}function GQ(){return GQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GQ.apply(null,arguments)}function QQ(){return QQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QQ.apply(null,arguments)}var ZQ=({styles:e={},...t})=>I_("svg",QQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.111.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.454 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.215-2.282-2.022-5.3-3.217-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.082 11.082 0 0116 5.021zm-3.956 3.946l-3.096 3.097 3.985 3.985-3.913 3.913 3.047 3.048 3.913-3.913 3.988 3.987 3.097-3.096L19.076 16l3.914-3.913-3.048-3.048-3.913 3.913-3.986-3.985zm-.002 1.222l3.988 3.987 3.913-3.913 1.826 1.826-3.913 3.913 3.985 3.986-1.873 1.873-3.985-3.985-3.913 3.913-1.827-1.827 3.914-3.913-3.988-3.987 1.873-1.873z"}));function XQ(){return XQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XQ.apply(null,arguments)}var YQ=({styles:e={},...t})=>I_("svg",XQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm-.56 5.772l-7.408 5.231 7.409 5.234v-5.057c2.385 1.687 4.771 3.371 7.157 5.057V10.793l-7.157 5.055v-5.055zm-.865 1.665v7.125l-5.048-3.562 5.048-3.563zm7.161 0v7.132l-5.048-3.566 5.048-3.566z"}));function KQ(){return KQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KQ.apply(null,arguments)}var JQ=({styles:e={},...t})=>I_("svg",KQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.97.04h-.127C8.713-.018 2.003 5.334.437 12.286c-1.51 6.123.98 13.005 6.136 16.665 5.125 3.788 12.546 4.105 17.912.623 5.272-3.276 8.33-9.766 7.325-15.916-.904-6.241-5.79-11.7-11.95-13.143A16.082 16.082 0 0015.97.04zm-.181 1.724c.115 0 .23 0 .347.003 6.625-.066 12.823 5.149 13.89 11.69 1.13 5.91-1.908 12.349-7.262 15.138-5.473 3.013-12.866 1.884-17.116-2.726C1.291 21.372.444 13.914 3.802 8.602c2.493-4.112 7.169-6.819 11.987-6.838zm.283 1.554c-.117 0-.234.002-.351.005-6.1 0-11.691 5.049-12.346 11.114-.78 5.684 2.795 11.612 8.218 13.52 5.139 1.943 11.416.101 14.624-4.38 3.461-4.583 3.262-11.538-.596-15.831-2.36-2.747-5.924-4.423-9.549-4.428zm-.078 1.695c.078 0 .156 0 .234.003 5.4 0 10.321 4.556 10.734 9.942.563 5.13-2.958 10.364-7.971 11.678-4.832 1.41-10.457-.935-12.746-5.446-2.463-4.559-1.2-10.795 3.014-13.883a11.072 11.072 0 016.735-2.294zm-5.352 4.266V22.761h10.716V9.279H10.642zm.863.866h8.987v11.75h-8.987v-11.75zm.927 1.323v.862h7.133v-.862h-7.133zm0 2.602v.866h7.133v-.866h-7.133zm0 3.008v.862h7.133v-.862h-7.133zm0 2.717v.863h7.133v-.863h-7.133z"}));function eZ(){return eZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eZ.apply(null,arguments)}var tZ=({styles:e={},...t})=>I_("svg",eZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm6.132 4.194c-1.21 2.455-2.422 4.91-3.633 7.364l-4.516-5.875-4.103 12.133 4.6-5.912c1.58 1.81 3.162 3.619 4.744 5.429L22.13 9.215zM14.383 13.1l4.295 5.445 1.073-2.387-1.027 4.131-4.384-5.157-1.778 2.75 1.821-4.782z"}));function nZ(){return nZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nZ.apply(null,arguments)}var rZ=({styles:e={},...t})=>I_("svg",nZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.927c-1.672 4.654-2.734 9.502-4.406 14.155 1.534-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.496-4.71-2.91-9.446-4.406-14.156zm.032 2.929c.822 2.586 1.598 5.186 2.42 7.771l-2.42-2.612c-.682.597-2.452 2.884-2.338 2.388.87-2.487 1.447-5.067 2.338-7.547z"}));function iZ(){return iZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iZ.apply(null,arguments)}var oZ=({styles:e={},...t})=>I_("svg",iZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm1.78 4.093v3.555H9.785v6.714h7.994v3.554l5.829-6.911-5.83-6.912zm.974 2.584l3.61 4.295-3.61 4.294v-1.933h-7.88v-4.688h7.88v-1.968z"}));function sZ(){return sZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sZ.apply(null,arguments)}var aZ=({styles:e={},...t})=>I_("svg",sZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm-7.245 5.475v11.06h14.502v-11.06H8.754zm3.222 1.728h8.057c-1.427.878-2.854 2.806-4.281 3.016l-3.776-3.016zm9.554 1.017v6.587H10.48V13.24l5.524 4.414 5.526-4.414z"}));function lZ(){return lZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lZ.apply(null,arguments)}var cZ=({styles:e={},...t})=>I_("svg",lZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.073l-7.62 5.531 2.91 8.95h9.42l2.91-8.95-7.62-5.53zm0 1.067l6.604 4.794-2.523 7.757h-8.162l-2.522-7.757 6.603-4.794z"}));function pZ(){return pZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pZ.apply(null,arguments)}var uZ=({styles:e={},...t})=>I_("svg",pZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M10.638 9.563V23.056h10.724V9.563H10.638zm.863.866h8.995v11.76H11.5V10.43zm.928 1.324v.862h7.139v-.862h-7.14zm0 2.605v.866h7.139v-.866h-7.14zm0 3.01v.863h7.139v-.863h-7.14zm0 2.72v.863h7.139v-.864h-7.14zM15.999.308h-.004l-.188.001h-.011l-.188.004h-.011L15.41.32h-.011l-.187.008h-.005L15.2.33l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.37h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003.178-.001h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 1.023l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.62h-.005l-.005-.002-.182-.035h-.006L18.938.58l-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.43 17.783.41l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.37h-.005L17.38.368l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.328h-.011L16.6.32h-.011l-.187-.006h-.011L16.204.31h-.011L16.005.31H16zm9.016 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zm-18.381.344l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003L4.682 5l-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.595h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01L16.32 3.6h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 13.135l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187V16.7l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zm-30.21.572l-.161.001-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158-.074-.155-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178-.001-.177v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057-.159-.028zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14v-.005l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 23.019l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 27.127l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z"}));function dZ(){return dZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dZ.apply(null,arguments)}var hZ=({styles:e={},...t})=>I_("svg",dZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.012 9.222c-1.673 4.657-2.735 9.508-4.409 14.164 1.536-1.526 2.874-3.236 4.41-4.762l4.408 4.762c-1.497-4.712-2.911-9.451-4.409-14.164zm.032 2.93c.823 2.588 1.599 5.19 2.421 7.777l-2.42-2.614c-.683.598-2.454 2.886-2.34 2.39.871-2.489 1.448-5.07 2.34-7.552zM16.012.312c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function fZ(){return fZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fZ.apply(null,arguments)}var mZ=({styles:e={},...t})=>I_("svg",fZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M8.742 10.464v11.072h14.516V10.464H8.742zm3.224 1.73h8.066a69569 69569 0 00-4.034 3.22l-4.032-3.22zm9.565 1.018v6.594H10.469v-6.593L16 17.63l5.532-4.419zM16 0h-.005l-.188.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06h-.005L17.38.06l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0H16zm9.015 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zM6.634 3.28l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.286h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 12.826l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zM.938 15L.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 22.71l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 26.818l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z"}));function gZ(){return gZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gZ.apply(null,arguments)}var yZ=({styles:e={},...t})=>I_("svg",gZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M23.637 13.902l-7.625-5.535-7.624 5.535 2.912 8.956h9.425l2.912-8.956zm-1.017.33l-2.524 7.762H11.93l-2.524-7.762 6.607-4.796 6.608 4.796zM16.012.311c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function vZ(){return vZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vZ.apply(null,arguments)}var bZ=({styles:e={},...t})=>I_("svg",vZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M13.51 9.081v4.428H9.08v4.982h4.428v4.428h4.982V18.49h4.428v-4.982H18.49V9.081h-4.982zm.83.83h3.32v4.428h4.429v3.322H17.66v4.428h-3.32v-4.454H9.91v-3.296h4.428V9.911zM16 0h-.005l-.188.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06h-.005L17.38.06l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0H16zm9.015 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zM6.634 3.28l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.286h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 12.826l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zM.938 15L.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 22.71l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 26.818l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z",opacity:".98"}));function wZ(){return wZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wZ.apply(null,arguments)}var xZ=({styles:e={},...t})=>I_("svg",wZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.012 8.816L9.21 21.026h13.606l-6.803-12.21zm0 1.776l5.332 9.57H10.681l5.331-9.57zm0-10.281c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function _Z(){return _Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_Z.apply(null,arguments)}var kZ=({styles:e={},...t})=>I_("svg",_Z({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.998 8.406c-3.018-.041-5.92 1.926-7.031 4.727-1.138 2.695-.51 6.012 1.537 8.103 1.99 2.141 5.268 2.93 8.014 1.927 2.878-.98 4.992-3.827 5.068-6.87.153-2.957-1.624-5.88-4.3-7.137a7.552 7.552 0 00-3.288-.75zm0 1.384c2.759-.052 5.373 1.973 6.015 4.655.704 2.578-.482 5.517-2.791 6.867-2.358 1.48-5.682 1.086-7.618-.918-2.043-1.971-2.407-5.381-.84-7.745 1.11-1.763 3.15-2.88 5.234-2.86zm1.962 1.765l-2.074 3.762c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.182l1.993-3.615c-.252-.14-.505-.278-.757-.417zm-1.965-8.268h-.158l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.048.12.047.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.138-.107-.121-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.005-.002-.006-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.141-.031-.006-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.001-.143-.026-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.01l-.148-.001h-.01zM10.357 4.66l-.156.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.004.003-.005.004-.11.096-.004.004-.004.003-.109.098-.004.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.003.004-.004.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.005-.086.117-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.029.15-.058.138-.085.119-.108.082-.106.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022-.16.008zm13.91 2.116l-.158.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.026.159.054.152.082.139.086.102.09.09.094.098.093.099.092.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.115.068.117.067.115.065.118.064.117.062.118.061.12.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.049.127.046.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.086.137.109.119.129.096.145.07.155.043.16.013.161-.017.155-.046.143-.074.126-.1.106-.122.082-.138.055-.152.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.059-.132-.002-.005-.002-.004-.061-.132-.003-.004-.002-.005-.062-.13-.003-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.073-.125-.003-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.08-.12-.004-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.117-.003-.005-.003-.004-.088-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.093-.113-.004-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.109-.004-.004-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023-.16.008zM4.288 12.828l-.158.032-.15.06-.135.088-.117.11-.095.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.006-.019.144v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.006l-.001.005-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.006.033.14v.006l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.103.102-.126.076-.142.049-.153.02-.16-.01-.161-.032-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.132-.024-.134-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.132.01-.139.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029-.16.002zm23.286 4.202l-.156.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.134-.026.132-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.062.119-.063.116-.067.119-.066.116-.068.115-.07.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.108-.085.109-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.082-.12.003-.005.002-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.004.003-.005.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.003-.005.002-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.002-.006.04-.138.002-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.141.001-.006.001-.005.031-.141.002-.006v-.005l.03-.142.001-.005.001-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022-.16.007zM6.681 22.734l-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.11.04.047.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.106.004.003.004.004.103.105.004.004.004.004.105.103.004.004.003.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.005.004.004.003.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.003.126.072.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.068.005.002.004.002.13.066.004.003.005.002.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.003.133.056.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.161-.015.155-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.158-.061-.15-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.079-.11-.08-.109-.082-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006-.16.024zm15.063 2.691l-.156.044-.12.057-.06.034-.12.066-.116.064-.119.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.036-.13.035-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021h.005l.006-.002.143-.022h.006l.005-.002.143-.024h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.036.005-.002.005-.001.14-.038.005-.001.005-.002.14-.04h.005l.005-.002.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.056.005-.003.005-.002.132-.057.005-.002.005-.003.132-.059.005-.002.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.002.005-.003.129-.066.004-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.002.065-.038.132-.093.112-.115.089-.135.062-.149.034-.157.004-.161-.027-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.045-.16-.017-.161.014zM15.994 0l-.187.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.01L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.184.027h-.006l-.005.001-.184.029h-.005l-.005.001-.183.031-.005.001-.006.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.177.027.17.03.173.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.088-.135.06-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.144-.073-.129-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.005-.001-.184-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06 17.385.06h-.005l-.187-.015h-.005l-.005-.001-.187-.013h-.01L16.799.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0h-.01zm8.86 2.939l-.157.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.127.125.123.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.085.152.083.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.161-.016.155-.046.143-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.002-.005-.003-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.002-.005-.102-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.004-.003-.005-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.003-.004-.004-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.003-.004-.133-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027-.16.004zm-18.381.348l-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.005-.003.004-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.005-.003.004-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023-.161.008zm24.514 11.15l-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.024.175-.027.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.161-.061.164-.063.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.078.158-.081.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.12.13.096.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.004.002-.005.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.17.002-.006.001-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.18.001-.006.001-.005.038-.182v-.005l.002-.005.035-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02-.161.009zM.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.005.074.169.002.005.002.004.076.169.002.005.002.004.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.156-.07-.162-.068-.16-.067-.164-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15 .777 15zM6.17 26.842l-.152.052-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.005.003.004.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.003.162.088.005.002.004.002.164.087.005.002.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.169.076.004.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.061.005.002.005.001.175.06.005.001.005.002.176.057.005.001.005.002.177.055.005.001.005.002.177.052.005.002.005.001.178.051.005.001.005.002.178.048.006.002h.005l.179.047.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.169-.044-.17-.045-.166-.048-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006-.16.024zm19.214.073l-.156.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.157.073-.158.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.048-.17.045-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.008.133-.017.115-.024h.005l.005-.002.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002h.005l.18-.047.004-.001.005-.002.179-.048.005-.002.005-.001.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.005-.002.004-.002.172-.068.005-.001.005-.002.171-.07.005-.002.005-.002.17-.072.005-.002.005-.002.169-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.002.167-.08.004-.003.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.002.163-.087.005-.002.005-.002.162-.088.005-.003.005-.003.161-.09.005-.002.004-.003.16-.092.005-.002.005-.003.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.002.155-.102.005-.003.004-.003.154-.104.004-.003.005-.003.152-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.111.004-.004.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02-.16.009z"}));function EZ(){return EZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},EZ.apply(null,arguments)}var OZ=({styles:e={},...t})=>I_("svg",EZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.157.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.408 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.215-2.282-2.022-5.3-3.217-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.082 11.082 0 0116 4.975zm-2.15 3.281v5.534H8.213v4.38h5.636v5.534h4.31V18.17h5.639v-4.38h-5.64V8.256h-4.31zm.865.865h2.583v5.534h5.635v2.65h-5.635v5.533h-2.583v-5.534h-5.64v-2.649h5.64V9.121z"}));function PZ(){return PZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PZ.apply(null,arguments)}var SZ=({styles:e={},...t})=>I_("svg",PZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.521L9.206 20.745h13.598L16.005 8.542zm0 1.775l5.329 9.564H10.677l5.328-9.564z"}));function CZ(){return CZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CZ.apply(null,arguments)}var TZ=({styles:e={},...t})=>I_("svg",CZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.97.04h-.127C8.713-.018 2.003 5.334.437 12.286c-1.51 6.123.98 13.005 6.136 16.665 5.125 3.788 12.546 4.105 17.912.623 5.272-3.276 8.33-9.766 7.325-15.916-.904-6.241-5.79-11.7-11.95-13.143A16.082 16.082 0 0015.97.04zm-.181 1.724c.115 0 .23 0 .347.003 6.625-.066 12.823 5.149 13.89 11.69 1.13 5.91-1.908 12.349-7.262 15.138-5.473 3.013-12.866 1.884-17.116-2.726C1.291 21.372.444 13.914 3.802 8.602c2.493-4.112 7.169-6.819 11.987-6.838zm.283 1.554c-.117 0-.234.002-.351.005-6.1 0-11.691 5.049-12.346 11.114-.78 5.684 2.795 11.612 8.218 13.52 5.139 1.943 11.416.101 14.624-4.38 3.461-4.583 3.262-11.538-.596-15.831-2.36-2.747-5.924-4.423-9.549-4.428zm-.078 1.695c.078 0 .156 0 .234.003 5.4 0 10.321 4.556 10.734 9.942.563 5.13-2.958 10.364-7.971 11.678-4.832 1.41-10.457-.935-12.746-5.446-2.463-4.559-1.2-10.795 3.014-13.883a11.072 11.072 0 016.735-2.294zm-.137 3.42c-2.965.02-5.792 1.968-6.884 4.722-1.137 2.693-.509 6.007 1.536 8.096 1.988 2.14 5.263 2.929 8.007 1.926 2.875-.98 4.987-3.824 5.063-6.865.154-2.954-1.622-5.875-4.295-7.13a7.545 7.545 0 00-3.427-.75zm.27 1.381c2.708.013 5.249 2.014 5.88 4.652.704 2.576-.481 5.512-2.788 6.862-2.356 1.478-5.677 1.084-7.611-.918-2.042-1.97-2.405-5.376-.839-7.738 1.11-1.762 3.146-2.877 5.229-2.857h.13zm1.831 1.764l-2.072 3.76c-.64.068-.792 1.039-.202 1.298.39.27.696-.18 1.051-.164h3.168v-.864h-3.18l1.992-3.612-.757-.418z"}));function MZ(){return MZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},MZ.apply(null,arguments)}var AZ=({styles:e={},...t})=>I_("svg",MZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.848.001C8.113-.093.931 6.281.125 13.983c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.207C29.105 4.938 23.55.48 17.367.06A16.448 16.448 0 0015.848 0v.001zm.293 1.727c7.113-.099 13.662 5.97 14.077 13.08.56 6.299-3.516 12.735-9.582 14.679-5.798 2.004-12.806-.12-16.283-5.237C.717 19.159.874 11.638 5.016 6.876 7.722 3.638 11.902 1.63 16.14 1.728zm-.415 1.555C9.157 3.258 3.256 9.156 3.278 15.729c-.16 5.965 4.365 11.725 10.293 12.737 5.409 1.065 11.37-1.744 13.775-6.753 2.534-4.986 1.386-11.627-2.953-15.251-2.364-2.077-5.512-3.27-8.667-3.18zm.507 1.692c5.82-.026 11.013 5.318 10.79 11.143-.024 5.3-4.313 10.267-9.636 10.803-5.075.667-10.426-2.588-11.885-7.553-1.535-4.744.494-10.46 4.925-12.885a11.072 11.072 0 015.806-1.508z"}));function DZ(){return DZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DZ.apply(null,arguments)}function NZ(){return NZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NZ.apply(null,arguments)}function RZ(){return RZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RZ.apply(null,arguments)}function jZ(){return jZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jZ.apply(null,arguments)}function IZ(){return IZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IZ.apply(null,arguments)}function LZ(){return LZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LZ.apply(null,arguments)}function BZ(){return BZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BZ.apply(null,arguments)}function zZ(){return zZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zZ.apply(null,arguments)}function $Z(){return $Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$Z.apply(null,arguments)}function qZ(){return qZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qZ.apply(null,arguments)}function FZ(){return FZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FZ.apply(null,arguments)}function VZ(){return VZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VZ.apply(null,arguments)}function HZ(){return HZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HZ.apply(null,arguments)}function UZ(){return UZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UZ.apply(null,arguments)}function WZ(){return WZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WZ.apply(null,arguments)}function GZ(){return GZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GZ.apply(null,arguments)}function QZ(){return QZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QZ.apply(null,arguments)}function ZZ(){return ZZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZZ.apply(null,arguments)}function XZ(){return XZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XZ.apply(null,arguments)}function YZ(){return YZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YZ.apply(null,arguments)}function KZ(){return KZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KZ.apply(null,arguments)}function JZ(){return JZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JZ.apply(null,arguments)}function eX(){return eX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eX.apply(null,arguments)}function tX(){return tX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tX.apply(null,arguments)}function nX(){return nX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nX.apply(null,arguments)}function rX(){return rX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rX.apply(null,arguments)}function iX(){return iX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iX.apply(null,arguments)}function oX(){return oX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oX.apply(null,arguments)}function sX(){return sX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sX.apply(null,arguments)}function aX(){return aX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aX.apply(null,arguments)}function lX(){return lX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lX.apply(null,arguments)}function cX(){return cX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cX.apply(null,arguments)}function pX(){return pX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pX.apply(null,arguments)}var uX=({styles:e={},...t})=>I_("svg",pX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M5.637 3A5.644 5.644 0 000 8.637v15.417a5.644 5.644 0 005.637 5.637h20.726A5.644 5.644 0 0032 24.054V8.637A5.644 5.644 0 0026.363 3H5.637zm0 1.778h20.726a3.83 3.83 0 013.859 3.859v15.417a3.83 3.83 0 01-3.859 3.858h-4.201V16.695H9.838v11.217H5.637a3.83 3.83 0 01-3.859-3.858V8.637a3.83 3.83 0 013.859-3.859zm5.33 13.046h10.066v10.065H10.967V17.824zm4.189 1.431V22.06H12.35v1.689h2.804V26.554h1.69V23.749h2.804V22.06h-2.804V19.255h-1.69z"}));function dX(){return dX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dX.apply(null,arguments)}var hX=({styles:e={},...t})=>I_("svg",dX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M5.636 3A5.642 5.642 0 000 8.636v15.418a5.643 5.643 0 005.636 5.636h20.728A5.643 5.643 0 0032 24.054V8.636A5.642 5.642 0 0026.364 3H5.636zm0 1.778h20.728a3.83 3.83 0 013.858 3.858v15.418a3.83 3.83 0 01-3.858 3.858h-4.203V16.723H9.84v11.189H5.636a3.83 3.83 0 01-3.858-3.858V8.636a3.83 3.83 0 013.858-3.858zm5.331 13.074h10.066v10.06H10.967v-10.06zm1.336 3.996v1.711h7.394v-1.71h-7.394z"}));function fX(){return fX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fX.apply(null,arguments)}function mX(){return mX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mX.apply(null,arguments)}function gX(){return gX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gX.apply(null,arguments)}function yX(){return yX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yX.apply(null,arguments)}var vX={Association:({styles:e={},...t})=>I_("svg",yQ({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),I_("path",{stroke:"#000",strokeWidth:"2",fill:"none",strokeDasharray:"3.3,6",strokeLinecap:"square",d:"M1.5 30.5l29-29"})),BusinessRuleTask:({styles:e={},...t})=>I_("svg",vQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zM5.296 7.398v12.665h16.87V7.398H5.296zm.718 4.386h15.433v3.44H9.985v-3.432h-.719v3.431H6.014v-3.44zm0 4.158h3.252v3.403H6.014v-3.403zm3.97 0h11.463v3.403H9.985v-3.403z"}),I_("path",{d:"M6.079 8.209v3.587H21.44V8.209z"})),CallActivity:({styles:e={},...t})=>I_("svg",bQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M24.978 3c3.761 0 6.89 2.979 7.018 6.695l.004.238V22.4c0 3.747-3.05 6.804-6.783 6.93l-.24.003H7.023c-3.761 0-6.89-2.978-7.018-6.695L0 22.4V9.933C0 6.187 3.05 3.13 6.783 3.004L7.023 3h17.955zm0 3.667H7.022c-1.842 0-3.255 1.344-3.35 3.079l-.005.187V22.4c0 1.761 1.35 3.167 3.16 3.262l.195.005L10 25.666V15h12v10.666h2.978c1.842 0 3.255-1.344 3.35-3.079l.005-.187V9.933c0-1.761-1.35-3.166-3.16-3.261l-.195-.005zm-3.732 9.087H10.754v9.912h10.491v-9.912zm-4.475 1.817v2.658h2.658v1.542H16.77v2.658H15.23V21.77H12.57V20.23h2.658V17.57h1.542z"})),Collaboration:({styles:e={},...t})=>I_("svg",wQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("g",{fillRule:"evenodd"},I_("path",{fillRule:"nonzero",d:"M0 0v8.62h32V0H0zm1.655 7.054v-5.37h28.62v5.37H1.656zM0 23.38V32h32v-8.62H0zm1.655 7.054v-5.37h28.62v5.37H1.656z"}),I_("path",{d:"M24 8l4 7h-8l4-7zm0 2l-2.28 4h4.56L24 10zM23.5 21h1v3h-1zM23.5 15h1v3h-1zM8 24l-4-7h8l-4 7zm0-2l2.28-4H5.72L8 22zM7.5 8h1v3h-1zM7.5 14h1v3h-1z"}))),ConditionalFlow:({styles:e={},...t})=>I_("svg",xQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M32 .041S20.42 5.95 14.537 8.713c1.26 1.15 2.432 2.392 3.648 3.588-5.703 5.78-3.15 3.303-8.087 8.316l-8.472 1.377L0 32l10.006-1.626.098-.598 1.279-7.873c4.975-5.052 2.403-2.555 8.118-8.346 1.218 1.214 2.43 2.435 3.648 3.648C26.29 11.018 32 .041 32 .041zM9.603 22.397L8.54 28.91 2.03 29.97l1.061-6.515 6.512-1.058z"})),SequenceFlow:({styles:e={},...t})=>I_("svg",_Q({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M32 .06S20.33 6.014 14.403 8.798c1.27 1.16 2.451 2.41 3.676 3.616L0 30.734 1.325 32l18.08-18.32c1.227 1.223 2.448 2.453 3.676 3.676C26.247 11.12 32 .06 32 .06z"})),DataInput:({styles:e={},...t})=>I_("svg",OQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M20.833 0H3.488v32H28V7.36L20.833 0zm-2.105 1.818v7.507h7.454v20.857H5.306V1.818h13.422zm1.818.493l5.06 5.196h-5.06V2.311zm-9.182.86v3.744H7.081v3.222h4.283v3.743l5.7-5.354-5.7-5.354zm.808 1.868l3.711 3.487-3.71 3.487V9.329H7.888V7.723h4.283V5.039z"})),DataInputAssociation:EQ,DataOutput:({styles:e={},...t})=>I_("svg",SQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M20.833 0H3.488v32H28V7.36L20.833 0zm-2.105 1.818v7.507h7.454v20.857H5.306V1.818h13.422zm1.818.493l5.06 5.196h-5.06V2.311zm-9.182.86v3.744H7.081v3.222h4.283v3.743l5.7-5.354-5.7-5.354z"})),DataOutputAssociation:EQ,DataObjectReference:({styles:e={},...t})=>I_("svg",PQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M21.345 0H4v32h24.512V7.36L21.345 0zM19.24 1.818v7.507h7.454v20.857H5.818V1.818H19.24zm1.818.493l5.06 5.196h-5.06V2.311z"})),DataStoreReference:({styles:e={},...t})=>I_("svg",CQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.008 1c-3.712 0-7.417.306-10.319.939-1.45.316-2.7.71-3.68 1.226C1.065 3.662.297 4.304.061 5.23a.823.823 0 00-.035.15L0 5.502l.017.084c-.012 7.41 0 14.46 0 22.08l.017.082c.203.985.995 1.656 1.975 2.172.98.517 2.23.91 3.68 1.226 2.902.633 6.607.94 10.319.94 3.711 0 7.416-.307 10.318-.94 1.451-.316 2.701-.71 3.68-1.226.98-.516 1.772-1.187 1.975-2.172l.017-.082V5.541a.825.825 0 000-.106v-.016l-.002-.013a.823.823 0 00-.046-.197c-.244-.916-1.007-1.55-1.943-2.044-.98-.516-2.23-.91-3.68-1.226C23.423 1.306 19.718 1 16.006 1zm0 1.646c3.62 0 7.245.308 9.968.901 1.36.297 2.497.67 3.263 1.074.612.323.932.643 1.063.882-.131.24-.451.56-1.063.882-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.901-1.361-.297-2.497-.67-3.264-1.074-.611-.322-.931-.642-1.062-.882.13-.24.451-.56 1.062-.882.767-.403 1.903-.777 3.264-1.074 2.723-.593 6.348-.9 9.968-.9zM1.664 7.647c.112.067.227.132.345.194.98.517 2.23.91 3.68 1.226 2.902.633 6.607.94 10.319.94 3.711 0 7.416-.307 10.318-.94 1.451-.316 2.701-.71 3.68-1.226.119-.062.234-.127.346-.194v1.93c-.08.245-.398.619-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.9-1.361-.298-2.497-.671-3.264-1.075-.714-.376-1.032-.75-1.112-.995v-1.93zm0 4.187c.112.067.227.132.345.195.98.516 2.23.91 3.68 1.226 2.902.632 6.607.938 10.319.938 3.711 0 7.416-.306 10.318-.938 1.451-.317 2.701-.71 3.68-1.226.119-.063.234-.128.346-.195v1.93c-.08.245-.398.619-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.9-1.361-.298-2.497-.67-3.264-1.075-.714-.376-1.032-.75-1.112-.995v-1.93zm0 4.188c.112.067.227.131.345.194.98.516 2.23.91 3.68 1.226 2.902.633 6.607.939 10.319.939 3.711 0 7.416-.306 10.318-.94 1.451-.316 2.701-.709 3.68-1.225.119-.063.234-.127.346-.194V27.47c-.08.245-.398.618-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.9-9.968.9-3.62 0-7.245-.306-9.968-.9-1.361-.297-2.497-.67-3.264-1.074-.714-.377-1.032-.75-1.112-.995V16.022z"})),DefaultFlow:({styles:e={},...t})=>I_("svg",TQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M32 .06S20.33 6.014 14.403 8.798c1.27 1.16 2.451 2.41 3.676 3.616L6.84 23.804H.046v1.755h5.063L0 30.735 1.325 32l6.357-6.441h7.145v-1.756H9.414l9.99-10.123c1.228 1.223 2.45 2.453 3.677 3.676C26.247 11.12 32 .06 32 .06z"})),CancelEndEvent:({styles:e={},...t})=>I_("svg",MQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-3.955 3.918L8.94 12.072l3.985 3.985-3.913 3.913 3.048 3.047 3.913-3.913 3.987 3.987 3.096-3.096-3.987-3.987 3.913-3.913-3.047-3.048-3.913 3.913-3.985-3.985z"})),CompensateEndEvent:({styles:e={},...t})=>I_("svg",AQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-.56 5.744l-7.407 5.23 7.408 5.234v-5.057c2.384 1.687 4.771 3.371 7.157 5.057V10.801l-7.157 5.054v-5.054z"})),ErrorEndEvent:({styles:e={},...t})=>I_("svg",DQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm6.132 4.166l-3.633 7.363-4.516-5.874-4.102 12.131 4.599-5.91 4.743 5.427 2.909-13.137z"})),EscalationEndEvent:({styles:e={},...t})=>I_("svg",NQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 3.9c-1.672 4.653-2.733 9.5-4.406 14.153 1.535-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.497-4.71-2.91-9.445-4.406-14.155z"})),LinkEndEvent:({styles:e={},...t})=>I_("svg",RQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.532 18.532 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm1.78 4.065v3.555H9.779v6.713h7.994v3.554l5.828-6.91-5.828-6.912z"})),MessageEndEvent:({styles:e={},...t})=>I_("svg",jQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.532 18.532 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-5.91 5.448l6.041 4.9 6.04-4.9H10.084zm-1.34 1.137v9.92h14.513v-9.718l-7.132 5.786-7.381-5.988z"})),MultipleEndEvent:({styles:e={},...t})=>I_("svg",IQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.529 18.529 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.011 3.039l-7.619 5.53 2.91 8.95h9.418l2.91-8.95-7.619-5.53z"})),EndEvent:({styles:e={},...t})=>I_("svg",LQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.84.042C8.654-.01 1.913 5.437.4 12.454-1.057 18.62 1.554 25.495 6.784 29.09c5.076 3.636 12.31 3.92 17.59.544 5.309-3.251 8.435-9.744 7.445-15.921C30.91 7.307 25.795 1.738 19.442.422a16.064 16.064 0 00-3.602-.38zm.382 5.01c5.28-.017 10.13 4.353 10.669 9.61.687 5.025-2.552 10.281-7.423 11.792-4.754 1.617-10.486-.447-12.962-4.856-2.74-4.575-1.574-11.094 2.768-14.27a11.05 11.05 0 016.948-2.276z"})),SignalEndEvent:({styles:e={},...t})=>I_("svg",BQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 3.492c-2.261 4.07-4.532 8.136-6.797 12.204h13.595L15.999 8.55z"})),TerminateEndEvent:({styles:e={},...t})=>I_("svg",zQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 2.859c-5.264-.2-9.495 5.551-7.755 10.516 1.366 5.085 8.108 7.436 12.339 4.301 4.455-2.807 4.708-9.943.462-13.058A8.128 8.128 0 0016 7.915z"})),EventSubProcess:({styles:e={},...t})=>I_("svg",$Q({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M7.295 4.78h1.779V3.003h-1.78V4.78zm3.558 0h1.779V3.003h-1.78V4.78zm3.557 0h1.78V3.003h-1.78V4.78zm3.558 0h1.78V3.003h-1.78V4.78zm3.558 0h1.779V3.003h-1.779V4.78zm3.558 0c.55.014 1.106-.034 1.654.045l.245-1.762c-.629-.096-1.266-.05-1.9-.061V4.78zM5.732 3.004a5.933 5.933 0 00-.915.093c.111.582.226 1.164.315 1.75.358-.101.947.098.746-.483-.096-.382.164-1.208-.146-1.36zm22.372 2.281c.427.234.812.547 1.13.915.42-.4 1.002-.777 1.33-1.18a5.863 5.863 0 00-1.593-1.289l-.867 1.554zm-25.27-1.44c-.587.354-1.11.811-1.539 1.345.47.333.96.86 1.417 1.077.299-.362.66-.673 1.065-.913-.328-.493-.55-1.055-.944-1.509zM30.515 7.26c-.563.046-.557.342-.378.784.154.25-.097.862.25.85.525-.023 1.14.043 1.612-.032a5.891 5.891 0 00-.362-2.027l-1.122.425zM.268 7.114A6.042 6.042 0 000 9.052h1.78c-.013-.5.047-1.003.208-1.478L.296 7.027l-.026.079-.002.008zM30.22 12.45H32v-1.779h-1.779v1.779zm-30.22.16h1.78v-1.779H0v1.78zm30.22 3.398H32v-1.78h-1.779v1.78zm-30.22.16h1.78v-1.779H0v1.779zm30.22 3.398H32v-1.78h-1.779v1.78zm-30.22.16h1.78v-1.78H0v1.78zm30.22 3.397H32v-1.779h-1.779v1.78zm-30.22.16h1.78v-1.778H0v1.778zm30.137 1.47a4.059 4.059 0 01-.522 1.32c.506.283 1.046.715 1.53.908a5.836 5.836 0 00.744-1.918c-.576-.094-1.209-.264-1.752-.31zm-29.984.51c.157.676.435 1.325.82 1.904l1.486-.977a4.065 4.065 0 01-.577-1.347l-1.73.42zm28.427 1.943c-.371.277-.79.49-1.234.627l.548 1.693a5.84 5.84 0 001.835-.96l-1.082-1.412-.066.05-.001.002zm-26.164 1.47c.567.413 1.21.722 1.886.907.14-.569.343-1.175.444-1.722a4.062 4.062 0 01-1.283-.624l-1.047 1.438zm3.88 1.119h1.779v-1.78h-1.78v1.78zm3.55 0h1.787v-1.78H9.846v1.78zm3.565 0h1.78v-1.78h-1.78v1.78zm3.558 0h1.78v-1.78h-1.78v1.78zm3.451 0h1.743v-1.78h-1.743v1.78zm3.665 0h1.779v-1.78h-1.78v1.78zm-1.922-.545V16.776H9.846V29.25h12.318zM10.967 17.905h10.068V27.97H10.967V17.905zm1.336 3.998v1.711h7.396v-1.711h-7.396z",opacity:".97"})),ComplexGateway:({styles:e={},...t})=>I_("svg",qQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm-.327 6.79v.007l-.145.027-.118.08-.083.123-.028.145v4.954L11.793 10.8l-.125-.08-.14-.029-.144.027-.122.082-.46.46-.085.125-.026.142.028.14.08.125 3.505 3.505H9.347l-.001-.002-.145.032-.118.08-.083.122-.028.146v.652l.029.147.082.119.12.08.144.032h4.956L10.8 20.207v-.001l-.084.124-.026.142.028.14.08.124.46.461.126.082.14.029.143-.027.124-.084L15.3 17.69v4.964-.001l.028.147.082.12.12.08.144.031h.652l.148-.03.118-.08.083-.12.028-.146v-4.962l3.505 3.505.126.082.14.027.142-.027.124-.084.461-.46.083-.123s.028-.144.027-.146l-.028-.14-.082-.126-3.496-3.496h4.948l.148-.03.119-.08.082-.12.028-.147v-.652l-.028-.145-.083-.122-.119-.08s-.147-.033-.147-.031h-4.964l3.512-3.512.082-.122.029-.144-.028-.14-.084-.124-.46-.461-.123-.082-.14-.027-.145.027-.122.082-3.507 3.507V9.348l-.028-.146-.082-.122-.12-.08-.147-.029h-.652z"})),EventBasedGateway:({styles:e={},...t})=>I_("svg",FQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16 0a1.29 1.29 0 00-.918.373L.371 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.915.372A1.294 1.294 0 0016 0zm-.002 2.181l13.821 13.821-13.821 13.821-13.821-13.82L15.998 2.18zm0 5.876l-.254.185-7.377 5.355 2.915 8.964h9.433l2.915-8.964-7.631-5.54zm0 1.07l6.614 4.8-2.526 7.769h-8.175l-2.526-7.768 6.614-4.802z"})),ExclusiveGateway:({styles:e={},...t})=>I_("svg",WQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16 0a1.29 1.29 0 00-.918.373L.371 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.915.372A1.294 1.294 0 0016 0zm-.002 2.181l13.821 13.821-13.821 13.821-13.821-13.82L15.998 2.18zm-5.162 7.69l-.166.032-.141.096-.532.532s-.097.142-.097.144l-.03.164.032.162.093.144 4.857 4.858-4.855 4.855v-.001L9.9 21l-.03.164.032.162s.093.142.093.144l.531.532.146.095.162.032.164-.03.144-.097 4.855-4.856 4.857 4.857.145.095.162.032.164-.03.144-.097.531-.532.095-.14.033-.168-.033-.162-.095-.146L17.144 16 22 11.144l.095-.14.033-.166-.033-.163-.097-.144-.532-.532-.14-.095-.163-.032-.166.032-.141.095L16 14.855l-4.858-4.858v-.002l-.144-.092-.162-.032z"})),Gateway:({styles:e={},...t})=>I_("svg",VQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.373a1.313 1.313 0 00-1.833 0L.373 15.084zm1.806.918L16 2.182l13.821 13.82L16 29.823 2.179 16.003z"})),InclusiveGateway:({styles:e={},...t})=>I_("svg",HQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm0 6.379a7.447 7.447 0 00-7.44 7.441A7.447 7.447 0 0016 23.443 7.447 7.447 0 0023.443 16a7.447 7.447 0 00-7.441-7.441zm0 .825a6.61 6.61 0 016.617 6.616A6.61 6.61 0 0116 22.618 6.61 6.61 0 019.385 16 6.61 6.61 0 0116 9.385z"})),ParallelGateway:({styles:e={},...t})=>I_("svg",UQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm-.377 5.708l-.168.032-.136.092-.096.14-.032.168v6.868h-6.87l-.002-.002-.166.037-.137.092v-.002l-.095.141-.033.167v.753s.032.169.034.17l.094.138.138.092.167.036h6.87v6.867l-.001-.001.033.17.095.138.138.092s.166.035.167.037h.752l.17-.036.137-.092.095-.137.033-.17v-6.867h6.868l.17-.035.137-.092.095-.137.033-.17v-.753s-.033-.165-.032-.167l-.096-.14-.138-.093s-.17-.037-.17-.035H16.81V8.323l-.033-.168-.094-.14-.138-.092-.17-.034h-.752z"})),Group:({styles:e={},...t})=>I_("svg",GQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.34.016c-2.333.025-4.684 1.77-5.29 4.17C.608 5.848.88 7.608.804 9.314v2.922h2.041c.038-2.332-.076-4.673.062-7C3.14 3.355 4.869 1.938 6.643 2.04h8.956V.009c-3.086 0-6.173-.02-9.258 0v.007zm13.094 2.023h1.92V.009h-1.92v2.03zm5.756 0c1.265-.069 2.66.045 3.602 1.055 1.036.983 1.201 2.523 1.122 3.91v6.313h2.078c-.03-2.677.062-5.36-.047-8.032-.17-2.743-2.62-5.111-5.215-5.236-.511-.064-1.027-.02-1.54-.033v2.023zM.803 18.319h2.041v-2.026H.804v2.026zm29.11 1.084h2.08v-2.03h-2.08v2.03zM.804 26.148c.004 2.218 1.393 4.366 3.313 5.28 1.728.853 3.681.448 5.521.544.43-.112 1.29.231 1.435-.183v-1.847c-1.788-.043-3.584.094-5.365-.082-1.67-.354-2.919-2.048-2.863-3.844v-3.644H.804v3.777zm29.11-.068c.04 1.961-1.508 3.787-3.381 3.842-1.954.06-3.914.02-5.87.026v2.03c2.118-.042 4.242.08 6.355-.063 2.524-.264 4.818-2.644 4.94-5.323.08-1.039.014-2.085.035-3.126h-2.078v2.613zm-15.006 5.898h1.92v-2.03h-1.92v2.03z"})),CancelIntermediateCatchEvent:ZQ,CompensateIntermediateCatchEvent:YQ,ConditionalIntermediateCatchEvent:JQ,ErrorIntermediateCatchEvent:tZ,EscalationIntermediateCatchEvent:rZ,LinkIntermediateCatchEvent:oZ,MessageIntermediateCatchEvent:aZ,MultipleIntermediateCatchEvent:cZ,ConditionalIntermediateCatchEventNonInterrupting:uZ,EscalationIntermediateCatchEventNonInterrupting:hZ,MessageIntermediateCatchEventNonInterrupting:mZ,MultipleIntermediateCatchEventNonInterrupting:yZ,ParallelIntermediateCatchEventNonInterrupting:bZ,SignalIntermediateCatchEventNonInterrupting:xZ,TimerIntermediateCatchEventNonInterrupting:kZ,ParallelMultipleIntermediateCatchEvent:OZ,SignalIntermediateCatchEvent:SZ,TimerIntermediateCatchEvent:TZ,IntermediateThrowEvent:AZ,CompensateIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",DZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm-.56 5.772l-7.408 5.231 7.409 5.234v-5.057c2.385 1.687 4.771 3.371 7.157 5.057V10.747l-7.157 5.055v-5.055z"})),EscalationIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",NZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.927c-1.672 4.654-2.734 9.502-4.406 14.155 1.534-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.496-4.71-2.91-9.446-4.406-14.156z"})),LinkIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",RZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm1.78 4.093v3.555H9.785v6.714h7.994v3.554l5.829-6.911-5.83-6.912z"})),MessageIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",jZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm-5.91 5.475l6.04 4.901 6.042-4.9H10.088zm-1.341 1.138v9.921h14.514V11.79l-7.132 5.787-7.382-5.99z"})),MultipleIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",IZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.073l-7.62 5.532 2.91 8.95h9.42l2.91-8.95-7.62-5.532z"})),SignalIntermediateThrowEvent:({styles:e={},...t})=>I_("svg",LZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.52c-2.261 4.07-4.533 8.136-6.798 12.205h13.596L16.005 8.495z"})),Lane:({styles:e={},...t})=>I_("svg",BZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M0 7v18.62h32V7H0zm1.655 17.056V8.684h28.62v15.372H1.656z"})),ManualTask:({styles:e={},...t})=>I_("svg",zZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm4.43 1.328c-.222.005-.43.09-.606.203-.985.638-4.356 2.977-5.096 3.486-.67.46-1.12 1.153-1.38 1.974-.27.858-.235 1.793-.232 2.576.002.59.016 1.104.17 1.727.22.908.634 1.63 1.23 2.118.597.49 1.363.732 2.23.734 3.038.012 6.078.016 9.119 0 .327-.002.645-.127.848-.37.204-.241.287-.56.291-.914a1.732 1.732 0 00-.097-.625h.327c.335 0 .641-.11.852-.316.21-.206.317-.475.374-.754a1.783 1.783 0 00-.126-1.143 1.18 1.18 0 00.877-.521c.196-.306.257-.666.258-1.025.001-.375-.088-.738-.293-1.033a1.179 1.179 0 00-.958-.512h-.478c.108-.237.156-.505.155-.782-.003-.373-.098-.721-.316-.99a1.21 1.21 0 00-.943-.43c-2.273-.004-4.236.018-6.412.012l-.19-.001c.102-.104.202-.205.312-.314.337-.336.662-.652.83-.869.4-.516.46-1.215.123-1.729-.178-.272-.439-.456-.72-.494a.93.93 0 00-.148-.008zm.029.728l.022.001c.055.008.115.027.209.172.132.201.126.606-.09.884-.079.102-.431.465-.767.8-.337.334-.657.643-.815.836-.153.186-.096.338-.056.435.04.096.085.212.298.263.063.014.066.01.086.012l.066.003c2.429.027 4.986-.004 7.223-.003.194 0 .293.056.379.162.086.105.151.286.153.533 0 .257-.065.467-.155.59-.09.124-.183.182-.37.183-1.706-.001-3.411-.005-5.117-.009v.731c2.23.004 4.461.01 6.692.012.17 0 .265.06.361.2.096.138.164.364.163.615 0 .268-.058.501-.143.634-.085.132-.162.193-.385.195-2.32-.001-4.554-.006-6.688-.003v.73c1.905 0 3.809.003 5.713.001.194.005.316.09.416.26.102.173.151.442.093.728-.04.193-.102.313-.17.38-.067.065-.148.108-.343.108h-5.71l.002.734c1.445 0 2.89-.01 4.334-.001.162 0 .232.041.297.123.064.081.123.238.12.488-.003.244-.061.385-.12.455-.06.07-.127.11-.296.11-3.037.016-6.076.012-9.113 0-.735-.002-1.316-.196-1.77-.568-.454-.372-.793-.935-.986-1.728-.134-.546-.146-.978-.148-1.558-.003-.796-.018-1.664.199-2.354.222-.705.582-1.24 1.096-1.593.75-.515 4.14-2.866 5.079-3.474a.504.504 0 01.241-.087z"})),MessageFlow:({styles:e={},...t})=>I_("svg",$Z({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M4.073 26.607l1.295 1.296L1.325 32l-.662-.633L0 30.735l4.073-4.128zm6.953-7.046l1.296 1.296L1.325 32l7.555-7.656-1.295-1.296 1.455-1.474 1.986-2.013zM32 .06s-2.699 5.189-5.417 10.462l-.326.633c-1.14 2.214-2.265 4.407-3.176 6.2-1.228-1.222-2.449-2.452-3.676-3.675l-3.57 3.618-1.297-1.296 3.541-3.588c-.98-.964-1.932-1.958-2.923-2.91l-.753-.706c2.68-1.258 6.533-3.165 9.95-4.876l.617-.309C28.838 1.673 32 .06 32 .06zm-4.126 4.06l-.015.007-.115.057-.048.024-.115.057L17.7 9.172l5.017 4.948 5.157-10z"})),Participant:({styles:e={},...t})=>I_("svg",qZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M0 5v22.069h32V5H0zm30.276 1.684v18.82H6.62V6.684h23.655zm-28.62 0h3.31v18.82h-3.31V6.684z"})),Process:({styles:e={},...t})=>I_("svg",FZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{fillRule:"evenodd",d:"M16.177 0l.137.002c.452.009.9.037 1.342.082.346.036.62.303.68.646l.437 2.536c.055.319.296.57.608.655.986.269 1.923.653 2.796 1.14.28.155.624.145.885-.039l2.083-1.47a.775.775 0 01.937.022c.86.699 1.645 1.484 2.343 2.343.22.27.223.653.023.937l-1.439 2.038a.833.833 0 00-.031.896c.512.889.92 1.846 1.204 2.855a.833.833 0 00.653.601l2.435.42c.342.059.61.333.645.679a15.928 15.928 0 01.08 2.064l-.003.114c-.012.382-.038.76-.077 1.134a.775.775 0 01-.645.68l-2.396.412a.835.835 0 00-.656.61 12.511 12.511 0 01-1.2 2.917.832.832 0 00.034.892l1.396 1.978c.2.284.196.667-.023.936a16.104 16.104 0 01-2.343 2.343.775.775 0 01-.937.023l-1.99-1.404a.833.833 0 00-.88-.026c-.907.516-1.886.922-2.916 1.2a.833.833 0 00-.61.656l-.414 2.396a.775.775 0 01-.679.646 16.096 16.096 0 01-3.312 0 .775.775 0 01-.679-.646l-.423-2.452a.834.834 0 00-.598-.636 12.474 12.474 0 01-1.468-.514 12.49 12.49 0 01-1.417-.68.833.833 0 00-.878.03l-2.026 1.43a.775.775 0 01-.937-.023 16.069 16.069 0 01-2.342-2.342.774.774 0 01-.024-.936l1.402-1.986a.833.833 0 00.032-.896 12.507 12.507 0 01-1.214-2.911.833.833 0 00-.655-.606l-2.386-.412a.775.775 0 01-.646-.678 16.097 16.097 0 010-3.314.775.775 0 01.646-.678l2.386-.412a.833.833 0 00.655-.606 12.507 12.507 0 011.214-2.911.833.833 0 00-.032-.896L3.552 6.853a.774.774 0 01.023-.936 16.091 16.091 0 012.343-2.343.775.775 0 01.937-.023l2.03 1.433c.26.177.6.182.874.028.915-.512 1.88-.9 2.87-1.167a.833.833 0 00.612-.656l.424-2.46a.775.775 0 01.679-.645C14.845.032 15.348.004 15.85 0h.326zM16 6.4c-5.302 0-9.6 4.297-9.6 9.599 0 5.302 4.298 9.6 9.6 9.6s9.6-4.298 9.6-9.6-4.298-9.6-9.6-9.6zm-3 4.283c0-1.425 1.637-2.203 2.715-1.29l5.69 4.815c.794.672.794 1.91 0 2.583l-5.69 4.815c-1.078.913-2.715.134-2.715-1.29z"})),ReceiveTask:({styles:e={},...t})=>I_("svg",VZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zM5.23 7.764v11.577h17.55V7.764H5.23zm1.816.758h13.917l-6.959 4.577-6.958-4.577zm-1.06.21l8.018 5.274 8.018-5.275v9.853H5.987V8.73z"})),ScriptTask:({styles:e={},...t})=>I_("svg",HZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm2.99 3.077l-.077.045-.026.015c-1.09.646-1.84 1.239-2.336 1.818-.496.579-.735 1.162-.742 1.725-.014 1.119.812 1.958 1.544 2.708.732.75 1.385 1.456 1.446 2.041.032.298-.039.598-.364 1.008-.324.408-.911.897-1.85 1.445l-1.388.808h8.56l.101-.059c.996-.58 1.667-1.116 2.094-1.655.429-.54.603-1.107.547-1.638-.11-1.052-.967-1.818-1.688-2.556-.721-.739-1.306-1.436-1.298-2.092.004-.331.132-.7.535-1.171.402-.47 1.08-1.02 2.119-1.636l1.362-.806h-8.54zm.241.867h5.271a6.83 6.83 0 00-1.113 1.01c-.496.58-.736 1.163-.743 1.726-.014 1.119.812 1.958 1.544 2.708.732.75 1.385 1.456 1.446 2.041.032.298-.039.598-.364 1.008-.312.393-.872.862-1.753 1.386H8.728c.367-.286.658-.566.88-.847.43-.54.604-1.107.548-1.638-.11-1.052-.968-1.818-1.688-2.556-.721-.739-1.306-1.435-1.298-2.092.004-.331.132-.7.534-1.171.389-.454 1.04-.984 2.021-1.575zm-1.233 1.48v.4h4.12v-.4h-4.12zm-.154 2.158v.4H12.6v-.4H8.34zm1.931 2.158v.4h4.126v-.4H10.27zm.59 2.158v.4h4.276v-.4h-4.276z"})),SendTask:({styles:e={},...t})=>I_("svg",UZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm-1.38 3.16l8.332 4.717L21.78 8.16H5.114zm.021 1.745v9.309H21.8V9.905l-8.353 4.655-8.31-4.655z"})),ServiceTask:({styles:e={},...t})=>I_("svg",WZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm1.22 1.681V7.84c-.329.093-.63.223-.914.382l-.83-.82-1.554 1.561.83.82c-.16.288-.285.594-.372.911l-1.177.002v2.2l1.189-.004c.109.431.345.819.58 1.165v-1.898l-1.038.004v-.737l1.034-.002.058-.294c.084-.429.252-.838.493-1.203l.165-.25-.727-.718.523-.526.728.719.247-.165c.379-.25.793-.417 1.206-.505l.291-.06-.002-1.01h.75L9.19 8.417H11.16c-.185-.221-.951-.508-1.237-.588L9.93 6.68H7.713zm2.078 2.105l.003 1.158a4.19 4.19 0 00-.915.383l-.83-.821-1.553 1.562.83.82c-.16.288-.286.593-.373.91l-1.176.003v2.2l1.188-.004c.094.326.224.624.383.905l-.85.847 1.57 1.543.847-.843c.29.161.599.286.919.373v1.198c.756.006 1.56.003 2.206.003V17.81a4.19 4.19 0 00.915-.383l.847.835 1.554-1.56-.848-.836c.16-.288.286-.594.373-.912l1.152-.007V12.75l-1.165.007a4.09 4.09 0 00-.382-.905l.805-.807-1.57-1.546-.804.806a4.16 4.16 0 00-.915-.372l.007-1.147H9.792zm.732.73h.751l-.006 1.005.297.058c.43.085.844.252 1.21.492l.25.162.701-.704.528.52-.702.704.169.25c.248.374.412.779.505 1.196l.061.292 1.016-.006v.737l-1.01.006-.058.292c-.085.43-.252.838-.494 1.205l-.165.25.744.733-.523.525-.743-.734-.248.165c-.378.247-.789.418-1.203.503l-.294.058v1.067h-.745v-1.059l-.295-.057a3.395 3.395 0 01-1.21-.492l-.248-.162-.747.743-.528-.52.747-.744-.17-.25a3.546 3.546 0 01-.506-1.196l-.06-.291-1.04.004v-.738l1.034-.002.058-.294c.085-.428.252-.837.493-1.203l.165-.25-.726-.718.522-.526.728.72.248-.166a3.546 3.546 0 011.205-.504l.292-.06-.003-1.01zm.388 2.685a1.65 1.65 0 00-1.645 1.645c0 .904.74 1.645 1.645 1.645a1.65 1.65 0 001.645-1.645 1.65 1.65 0 00-1.645-1.645zm0 .73a.91.91 0 01.915.915.91.91 0 01-.915.914.91.91 0 01-.915-.914.91.91 0 01.915-.915z"})),CompensateStartEvent:({styles:e={},...t})=>I_("svg",GZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm-.566 9.03l-7.415 5.235 7.415 5.238v-5.062c2.386 1.689 4.775 3.375 7.163 5.062V10.761l-7.163 5.058v-5.058zm-.866 1.666v7.13L9.51 15.993l5.052-3.565zm7.166 0v7.137l-5.052-3.568 5.052-3.569z"})),ConditionalStartEvent:({styles:e={},...t})=>I_("svg",QZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16 0C7.174 0 0 7.174 0 16s7.174 16 16 16 16-7.174 16-16S24.826 0 16 0zm0 1.73c7.892 0 14.27 6.378 14.27 14.27 0 7.891-6.379 14.27-14.27 14.27S1.73 23.891 1.73 16C1.73 8.108 8.108 1.73 16 1.73zm-5.362 7.523v13.493h10.724V9.253H10.638zm.863.866h8.995V21.88H11.501V10.12zm.928 1.324v.863h7.139v-.863h-7.139zm0 2.605v.867h7.139v-.867h-7.139zm0 3.01v.864h7.139v-.863h-7.139zm0 2.72v.863h7.139v-.863h-7.139z"})),ErrorStartEvent:({styles:e={},...t})=>I_("svg",ZZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.005C9.705-.08 3.643 3.968 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994.005zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626-4.814-3.838-6.538-10.939-4.067-16.57 2.14-5.205 7.515-8.774 13.147-8.708zm6.13 7.45l-3.635 7.37-4.52-5.88c-1.37 4.048-2.738 8.095-4.106 12.143l4.603-5.917 4.748 5.433 2.91-13.149zm-7.754 3.889l4.299 5.449 1.073-2.39-1.028 4.135-4.387-5.16-1.78 2.75 1.823-4.784z"})),EscalationStartEvent:({styles:e={},...t})=>I_("svg",XZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm0 7.183c-1.674 4.658-2.736 9.509-4.41 14.166 1.535-1.526 2.874-3.236 4.41-4.763l4.41 4.763c-1.499-4.713-2.913-9.453-4.41-14.166zm.032 2.931c.822 2.588 1.598 5.19 2.42 7.778l-2.42-2.615c-.683.598-2.455 2.887-2.34 2.39.871-2.489 1.448-5.07 2.34-7.553z"})),MessageStartEvent:({styles:e={},...t})=>I_("svg",YZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm-7.257 8.732v11.069h14.513v-11.07H8.738zm3.224 1.73h8.064c-1.428.878-2.857 2.807-4.285 3.018l-3.779-3.019zm9.562 1.017v6.593H10.465V13.21l5.528 4.417 5.53-4.418z"})),MultipleStartEvent:({styles:e={},...t})=>I_("svg",KZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm0 6.328l-7.626 5.536c.97 2.986 1.942 5.971 2.913 8.957h9.426l2.912-8.957-7.625-5.536zm0 1.068l6.609 4.798-2.525 7.763H11.91l-2.524-7.763 6.609-4.798z"})),ConditionalStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",JZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M10.632 9.189V22.68h10.723V9.189H10.632zm.862.865h8.994v11.76H11.494v-11.76zm.928 1.324v.863h7.138v-.863h-7.138zm0 2.605v.866h7.138v-.866h-7.138zm0 3.01v.863h7.138v-.863h-7.138zm0 2.72v.862h7.138v-.863h-7.138zM16.12 0h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136-.109-.118-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006l-.216-.042-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006l-.006-.001-.22-.017-.005-.001h-.006L17.06.03h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012L16.132 0h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zM6.377 3.21l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1v.003l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114v-.008l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V15.95l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z"})),EscalationStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",eX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16 9.209c-1.674 4.655-2.735 9.504-4.408 14.16 1.534-1.526 2.873-3.235 4.407-4.761l4.408 4.76c-1.497-4.71-2.91-9.448-4.408-14.16zm.031 2.93c.822 2.586 1.598 5.187 2.42 7.774l-2.42-2.614c-.682.598-2.453 2.886-2.34 2.389.873-2.488 1.45-5.068 2.34-7.55zM16.132.364c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.564c-.734.078-1.196.762-1.735 1.206C3.552 6.02 2.55 7.511 1.681 9.053c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786A15.932 15.932 0 011.728 16a.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),MessageStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",tX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M8.746 10.393v11.064h14.506V10.393H8.746zm3.223 1.728h8.06c-1.428.879-2.856 2.807-4.283 3.018l-3.777-3.018zm9.557 1.018v6.59H10.473v-6.59l5.525 4.416 5.528-4.416zM16.132 0c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.2c-.734.078-1.196.762-1.735 1.206C3.552 5.656 2.55 7.147 1.681 8.69c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786a15.932 15.932 0 01-1.672-6.874.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),MultipleStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",nX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M23.621 13.524L16 7.99l-7.622 5.534 2.911 8.952h9.422l2.911-8.952zm-1.016.33l-2.523 7.759h-8.165l-2.524-7.76L16 9.059l6.606 4.796zM16.132 0c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.2c-.734.078-1.196.762-1.735 1.206C3.552 5.656 2.55 7.147 1.681 8.69c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786a15.932 15.932 0 01-1.672-6.874.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),ParallelMultipleStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",rX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M13.503 9.016v4.428H9.075v4.98h4.428v4.428h4.98v-4.427h4.428v-4.981h-4.427V9.016h-4.981zm.83.83h3.32v4.428h4.428v3.32h-4.428v4.428h-3.32v-4.454H9.905v-3.294h4.428V9.846zM16.12 0h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136-.109-.118-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006l-.216-.042-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006l-.006-.001-.22-.017-.005-.001h-.006L17.06.03h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012L16.132 0h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zM6.377 3.21l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1v.003l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114v-.008l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V15.95l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z",opacity:".98"})),SignalStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",iX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16.007 8.82L9.21 21.022h13.596L16.007 8.82zm0 1.775l5.328 9.563H10.68l5.327-9.563zM16.14.386c-1.571.236-4.195-.284-4.9 1.381.619 1.703 2.745.069 4.085.365 1.421-.13 2.84.2 4.235.259C21.27.784 18.19.344 17 .413a20.456 20.456 0 00-.86-.027zM25 3.162c-2.19.694.401 2.26 1.181 3.094 1.083 1.152 1.954 2.484 2.715 3.864 1.48 1.005 1.845-1.26.81-2.03-1.158-1.897-2.613-3.704-4.513-4.89l-.192-.038zm-18.438.423c-1.793.712-2.909 2.548-4.01 4.061-.773.814-2.211 3.653.005 3.211 1.123-1.469 1.87-3.306 3.267-4.614.664-.7 2.73-2.013.738-2.658zm24.57 11.072c-1.659.435-.468 2.667-.99 3.895a13.427 13.427 0 01-1.497 4.435c-.23 1.659 1.991 1.165 2.018-.199a14.277 14.277 0 001.254-7.552.865.865 0 00-.785-.579zm-30.18.666c-1.677.386-.633 2.667-.608 3.876.371 1.623.792 3.35 1.79 4.696 2.382.321.571-2.338.292-3.492a15.92 15.92 0 01-.684-4.39.877.877 0 00-.79-.69zm24.558 11.81c-1.755.865-3.303 2.266-5.274 2.765-1.162-.016-3.074 1.271-1.331 2.102 2.66-.447 5.163-1.733 7.236-3.445.472-.506.06-1.432-.631-1.421zm-19.151.043c-2.004.786.416 2.405 1.43 2.913 1.608.904 3.379 1.636 5.208 1.877 1.77-.804-.228-2.094-1.357-2.073-1.75-.537-3.403-1.396-4.798-2.586l-.227-.104-.256-.027z"})),TimerStartEventNonInterrupting:({styles:e={},...t})=>I_("svg",oX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.991 8.7c-3.018-.042-5.92 1.925-7.03 4.725-1.138 2.695-.509 6.011 1.537 8.102 1.99 2.142 5.267 2.93 8.013 1.927 2.877-.98 4.99-3.826 5.067-6.87.153-2.956-1.624-5.88-4.299-7.135a7.551 7.551 0 00-3.288-.75zm0 1.383c2.758-.052 5.372 1.972 6.014 4.654.704 2.578-.482 5.516-2.79 6.867-2.358 1.48-5.682 1.085-7.617-.919-2.043-1.97-2.407-5.38-.84-7.743 1.11-1.764 3.149-2.88 5.233-2.86zm1.962 1.764l-2.074 3.762c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.182l1.993-3.614-.757-.418zM16.12.358h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136L19.823.9l-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006L19.135.64l-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006L17.512.42l-.22-.017-.005-.001h-.006l-.22-.015h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012l-.221-.003h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zm-18.458.426l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1V9.5l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114V16.5l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V16.308l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z"})),CancelBoundaryEvent:ZQ,CompensateBoundaryEvent:YQ,ConditionalBoundaryEvent:JQ,ErrorBoundaryEvent:tZ,EscalationBoundaryEvent:rZ,LinkBoundaryEvent:oZ,MessageBoundaryEvent:aZ,MultipleBoundaryEvent:cZ,BoundaryEvent:AZ,ConditionalBoundaryEventNonInterrupting:uZ,EscalationBoundaryEventNonInterrupting:hZ,MessageBoundaryEventNonInterrupting:mZ,MultipleBoundaryEventNonInterrupting:yZ,ParallelBoundaryEventNonInterrupting:bZ,SignalBoundaryEventNonInterrupting:xZ,TimerBoundaryEventNonInterrupting:kZ,ParallelMultipleBoundaryEvent:OZ,SignalBoundaryEvent:SZ,TimerBoundaryEvent:TZ,StartEvent:({styles:e={},...t})=>I_("svg",sX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.847.004C9.61-.016 3.624 4.014 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.101 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.268.403-6.228-3.26-12.441-8.87-15.154A15.924 15.924 0 0015.846.004zm.439 1.729c6.105.033 11.856 4.45 13.435 10.359 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.625-4.814-3.84-6.538-10.94-4.067-16.57 2.14-5.206 7.515-8.775 13.147-8.71.097-.001.194-.002.29-.001z"})),ParallelMultipleStartEvent:({styles:e={},...t})=>I_("svg",aX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.847 0C9.61-.02 3.624 4.01 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.101 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.268.403-6.228-3.26-12.441-8.87-15.154A15.924 15.924 0 0015.846 0zm.439 1.729c6.105.033 11.856 4.45 13.435 10.359 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.625C2.101 23.17.377 16.07 2.848 10.44c2.134-5.2 7.522-8.78 13.147-8.71.097-.001.194-.002.29-.001zM13.504 9.08v4.427H9.077v4.98h4.427v4.427h4.98v-4.427h4.428v-4.98h-4.427V9.08h-4.98zm.83.83h3.32v4.427h4.428v3.32h-4.427v4.427h-3.32v-4.453H9.906v-3.294h4.427V9.91z"})),SignalStartEvent:({styles:e={},...t})=>I_("svg",lX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M15.995.005C9.705-.08 3.643 3.968 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994.005zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626-4.814-3.838-6.538-10.939-4.067-16.57 2.14-5.205 7.515-8.774 13.147-8.708zm0 6.776L9.19 20.724H22.8L15.995 8.511zm0 1.777l5.332 9.572H10.662l5.333-9.572z"})),TimerStartEvent:({styles:e={},...t})=>I_("svg",cX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M16 0C7.174 0 0 7.174 0 16s7.174 16 16 16 16-7.174 16-16S24.826 0 16 0zm0 1.73c7.892 0 14.27 6.378 14.27 14.27 0 7.891-6.379 14.27-14.27 14.27S1.73 23.891 1.73 16C1.73 8.108 8.108 1.73 16 1.73zm-.143 6.676c-2.967.02-5.797 1.97-6.89 4.727-1.138 2.695-.51 6.012 1.537 8.102 1.99 2.142 5.268 2.932 8.014 1.928 2.878-.98 4.992-3.827 5.068-6.87.153-2.957-1.624-5.881-4.3-7.137a7.552 7.552 0 00-3.43-.75zm.27 1.383c2.71.012 5.254 2.015 5.886 4.656.704 2.577-.482 5.517-2.791 6.867-2.358 1.48-5.682 1.085-7.618-.918-2.043-1.971-2.407-5.381-.84-7.745 1.11-1.763 3.15-2.88 5.234-2.86h.13zm1.833 1.765l-2.074 3.763c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.181l1.992-3.615-.757-.418z"})),CollapsedSubProcess:uX,CollapsedAdHocSubProcess:uX,ExpandedSubProcess:hX,ExpandedAdHocSubProcess:hX,Task:({styles:e={},...t})=>I_("svg",fX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M6.494 2.667C2.916 2.667 0 5.57 0 9.142v13.383C0 26.097 2.916 29 6.494 29h19.012C29.084 29 32 26.097 32 22.525V9.142c0-3.572-2.916-6.475-6.494-6.475H6.494zm0 2h19.012c2.509 0 4.494 1.98 4.494 4.475v13.383C30 25.02 28.015 27 25.506 27H6.494C3.985 27 2 25.02 2 22.525V9.142c0-2.495 1.985-4.475 4.494-4.475z"})),TextAnnotation:({styles:e={},...t})=>I_("svg",mX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M22.087 0v31.647H32v-1.788h-8.125V1.788H32V0h-9.913zm-2.924 13.999l-2.737 2.167 2.167 2.738 2.738-2.167-2.168-2.738zm-5.475 4.335L10.95 20.5l2.168 2.738 2.737-2.168-2.167-2.737zm-5.475 4.335l-2.738 2.167 2.168 2.738 2.737-2.168-2.167-2.737zm-5.476 4.335L0 29.17l2.167 2.738 2.738-2.168-2.168-2.737z"})),Transaction:({styles:e={},...t})=>I_("svg",gX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{d:"M5.422 3A5.424 5.424 0 000 8.422v15.822a5.424 5.424 0 005.422 5.423h21.156A5.424 5.424 0 0032 24.244V8.422A5.424 5.424 0 0026.578 3H5.422zm0 1.244h21.156a4.155 4.155 0 014.178 4.178v15.822a4.155 4.155 0 01-4.178 4.178H5.422a4.155 4.155 0 01-4.178-4.178V8.422a4.155 4.155 0 014.178-4.178zm1.056 1.778a3.373 3.373 0 00-3.367 3.366v13.89a3.373 3.373 0 003.367 3.366h19.044a3.373 3.373 0 003.367-3.366V9.388a3.373 3.373 0 00-3.367-3.366H6.478zm0 1.245h19.044c1.187 0 2.122.935 2.122 2.121v13.89a2.104 2.104 0 01-2.122 2.122H6.478a2.104 2.104 0 01-2.122-2.122V9.388c0-1.186.935-2.121 2.122-2.121z"})),UserTask:({styles:e={},...t})=>I_("svg",yX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),I_("path",{fillRule:"evenodd",d:"M10.263 7.468c-1.698 0-2.912 1.305-2.915 2.791v.001c0 .45.121.924.311 1.352.138.309.308.593.516.82-1.235.423-2.683 1.119-3.414 2.49l-.04.075v4.44h11.083v-4.44l-.04-.074c-.72-1.352-2.136-2.047-3.36-2.471.597-.608.774-1.392.774-2.192-.004-1.487-1.218-2.792-2.915-2.792zm-1.16 1.583c.08 0 .165.003.26.008.757.045 1.012.181 1.207.31.196.13.334.252.851.268.404-.016.598-.087.737-.169.056-.033.103-.067.152-.1.128.275.197.578.198.893 0 .894-.154 1.52-.975 2.034l.08.604c.171.052.348.11.527.171.025.105.054.242.073.387.02.153.029.311.016.43a.422.422 0 01-.056.19c-.417.417-1.157.66-1.908.66-.75 0-1.49-.243-1.908-.66a.422.422 0 01-.056-.19 1.949 1.949 0 01.016-.43c.02-.146.049-.284.074-.388.177-.062.352-.118.521-.17l.048-.648a.616.616 0 00-.126-.118c-.183-.138-.405-.44-.562-.793-.157-.353-.254-.757-.254-1.08 0-.387.105-.758.297-1.079l.11-.04c.143-.046.339-.09.679-.09zm-1.448 4.304l-.002.014c-.025.185-.04.387-.018.589.021.202.074.42.248.593.595.594 1.494.857 2.382.857.889 0 1.788-.263 2.382-.857.174-.174.227-.391.249-.593a2.496 2.496 0 00-.018-.59l-.002-.01c.903.396 1.776.963 2.258 1.81v3.599H13.53v-2.538h-.67v2.538H7.651v-2.538h-.67v2.538H5.39v-3.599c.483-.849 1.359-1.416 2.264-1.813zM6.495 3C2.914 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.01C28.016 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5z"}))};function bX(e){const{type:t}=e;let n=xX(t);const r=function(e){const t=Si(e),n=t.eventDefinitions;return n&&n[0]}(e);if(r)return n=`${function(e){const t=xX(e.$type);return t.replace("EventDefinition","")}(r)}${n}`,(Oi(e,"bpmn:StartEvent")&&!Gi(e)||Oi(e,"bpmn:BoundaryEvent")&&!function(e){const t=Si(e);return t&&!1!==t.cancelActivity}(e))&&(n=`${n}NonInterrupting`),n;if(Oi(e,"bpmn:SubProcess")&&!Oi(e,"bpmn:Transaction"))if(Qi(e))n=`Event${n}`;else{const t=Ui(e)&&!function(e){const t=e&&(e.di||Si(e).di);return Oi(t,"bpmndi:BPMNPlane")}(e);n=`${t?"Expanded":"Collapsed"}${n}`}return function(e){const t=Si(e),n=Si(e.source);if(!Oi(e,"bpmn:SequenceFlow")||!n)return!1;return n.default&&n.default===t&&(Oi(n,"bpmn:Gateway")||Oi(n,"bpmn:Activity"))}(e)&&(n="DefaultFlow"),function(e){const t=Si(e),n=Si(e.source);if(!Oi(e,"bpmn:SequenceFlow")||!n)return!1;return t.conditionExpression&&Oi(n,"bpmn:Activity")}(e)&&(n="ConditionalFlow"),n}const wX=e=>(e||(e=e=>e),{getDocumentationRef:e=>{const t=_X();if(t)return function(e,t){const n=kX(e,t);return n&&n.documentationRef}(e,t)},getElementLabel:e=>Oi(e,"bpmn:Process")?Si(e).name:ro(e),getElementIcon:e=>{const t=bX(e),n=gQ("config.elementTemplateIconRenderer",!1),{iconProperty:r="zeebe:modelerTemplateIcon"}=n||{},i=Si(e).get(r);return i?()=>B_("img",{class:"bio-properties-panel-header-template-icon",width:"32",height:"32",src:i}):vX[t]},getTypeLabel:t=>{const n=_X();if(n){const r=kX(t,n);if(r&&r.name)return e(r.name)}const r=bX(t);return e(r.replace(/(\B[A-Z])/g," $1").replace(/(\bNon Interrupting)/g,"($1)"))}});function xX(e){return e.split(":")[1]}function _X(){return gQ("elementTemplates",!1)}function kX(e,t){return t.get(e)}function EX(){return EX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},EX.apply(null,arguments)}var OX=({styles:e={},...t})=>I_("svg",EX({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"64",height:"64"},t),I_("defs",null,I_("rect",{id:"a",width:"57",height:"47",x:"3",y:"8",rx:"7"}),I_("mask",{id:"b",width:"57",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},I_("use",{xlinkHref:"#a"}))),I_("g",{fill:"none",fillRule:"evenodd"},I_("path",{fill:"#818798",d:"M52 11a5 5 0 015 5v31a5 5 0 01-5 5H11a5 5 0 01-5-5V16a5 5 0 015-5h41zm0 2H11a3 3 0 00-2.995 2.824L8 16v31a3 3 0 002.824 2.995L11 50h41a3 3 0 002.995-2.824L55 47V16a3 3 0 00-2.824-2.995L52 13z"}),I_("path",{fill:"#D5D7DD",d:"M16 24h31v6H16zM21 33h21v6H21z"}),I_("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));function PX(){return PX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PX.apply(null,arguments)}var SX=({styles:e={},...t})=>I_("svg",PX({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"128",height:"64"},t),I_("defs",null,I_("path",{id:"a",d:"M9 9h110v47H9z"}),I_("mask",{id:"b",width:"110",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},I_("use",{xlinkHref:"#a"}))),I_("g",{fill:"none",fillRule:"evenodd"},I_("path",{fill:"#818798",d:"M25 20.272L37.728 33 25 45.728 12.272 33 25 20.272zm0 2.829L15.1 33l9.9 9.9 9.9-9.9-9.9-9.9z"}),I_("path",{fill:"#D5D7DD",d:"M17 47h16v6H17z"}),I_("path",{fill:"#818798",d:"M35 32h27v2H35z"}),I_("path",{fill:"#818798",d:"M60 30v6l6-3z"}),I_("path",{fill:"#D5D7DD",d:"M80 34h21v6H80z"}),I_("g",null,I_("path",{fill:"#818798",d:"M111 12a5 5 0 015 5v31a5 5 0 01-5 5H70a5 5 0 01-5-5V17a5 5 0 015-5h41zm0 2H70a3 3 0 00-3 3v31a3 3 0 003 3h41a3 3 0 003-3V17a3 3 0 00-3-3z"}),I_("path",{fill:"#D5D7DD",d:"M75 25h31v6H75z"})),I_("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));const CX=e=>(e||(e=e=>e),{getEmpty:()=>({text:e("Select an element to edit its properties."),icon:OX}),getMultiple:()=>({text:e("Multiple elements are selected. Select a single element to edit its properties."),icon:SX})});function TX(e){const{element:t,injector:n,getProviders:r,layoutConfig:i,descriptionConfig:o,tooltipConfig:s,feelPopupContainer:a}=e,l=n.get("canvas"),p=n.get("elementRegistry"),u=n.get("eventBus"),d=n.get("translate"),[h,f]=Hx({selectedElement:t}),g=h.selectedElement,y=e=>{if(!e)return;let t=e;t&&"label"===t.type&&(t=t.labelTarget),f({...h,selectedElement:t}),u.fire("propertiesPanel.updated",{element:t})};Wx((()=>{const e=e=>{const{newSelection:t=[]}=e;if(t.length>1)return y(t);const n=t[0],r=l.getRootElement();(function(e){return e&&(e.isImplicit||"__implicitroot"===e.id)})(r)||y(n||r)};return u.on("selection.changed",e),()=>{u.off("selection.changed",e)}}),[]),Wx((()=>{const e=e=>{const t=function(e,t){return m(e,(e=>e===t))}(e.elements,g);t&&function(e,t){return e&&t.get(e.id)}(t,p)&&y(t)};return u.on("elements.changed",e),()=>{u.off("elements.changed",e)}}),[g]),Wx((()=>{const e=e=>{const t=e.element;y(t)};return u.on("root.added",e),()=>{u.off("root.added",e)}}),[g]),Wx((()=>{const e=()=>{y(g)};return u.on("propertiesPanel.providersChanged",e),()=>{u.off("propertiesPanel.providersChanged",e)}}),[g]),Wx((()=>{const e=()=>{y(g)};return u.on("elementTemplates.changed",e),()=>{u.off("elementTemplates.changed",e)}}),[g]);const v={selectedElement:g,injector:n,getService:(e,t)=>n.get(e,t)},b=r(g),x=Zx((()=>w(b,(function(e,t){if(c(g))return[];return t.getGroups(g)(e)}),[])),[b,g]),[_,k]=Hx(i||{}),E=Xx((e=>{u.fire("propertiesPanel.layoutChanged",{layout:e})}),[u]);Wx((()=>{const e=e=>{const{layout:t}=e;k(t)};return u.on("propertiesPanel.setLayout",e),()=>u.off("propertiesPanel.setLayout",e)}),[u,k]);return B_(mQ.Provider,{value:v,children:B_(RW,{element:g,headerProvider:wX(d),placeholderProvider:CX(d),groups:x,layoutConfig:_,layoutChanged:E,descriptionConfig:o,descriptionLoaded:e=>{u.fire("propertiesPanel.descriptionLoaded",{description:e})},tooltipConfig:s,tooltipLoaded:e=>{u.fire("propertiesPanel.tooltipLoaded",{tooltip:e})},feelPopupContainer:a,eventBus:u})})}class MX{constructor(e,t,n){const{parent:r,layout:i,description:o,tooltip:s,feelPopupContainer:a}=e||{};this._eventBus=n,this._injector=t,this._layoutConfig=i,this._descriptionConfig=o,this._tooltipConfig=s,this._feelPopupContainer=a,this._container=ge('<div style="height: 100%" class="bio-properties-panel-container"></div>');var l=t.get("commandStack",!1);l&&function(e,t,n){function r(e){e.preventDefault(),e.stopPropagation()}function i(e){return Ys(e)?(n.undo(),r(e)):Ks(e)?(n.redo(),r(e)):void 0}t.on("keyboard.bind",(function(){ce.bind(e,"keydown",i)})),t.on("keyboard.unbind",(function(){ce.unbind(e,"keydown",i)}))}(this._container,n,l),n.on("diagram.init",(()=>{r&&this.attachTo(r)})),n.on("diagram.destroy",(()=>{this.detach()})),n.on("root.added",(e=>{const{element:t}=e;this._render(t)}))}attachTo(e){if(!e)throw new Error("container required");e.get&&e.constructor.prototype.jquery&&(e=e.get(0)),"string"==typeof e&&(e=ve(e)),this.detach(),e.appendChild(this._container),this._eventBus.fire("propertiesPanel.attach")}detach(){const e=this._container.parentNode;e&&(e.removeChild(this._container),this._eventBus.fire("propertiesPanel.detach"))}registerProvider(e,t){t||(t=e,e=1e3),"function"==typeof t.getGroups?(this._eventBus.on("propertiesPanel.getProviders",e,(function(e){e.providers.push(t)})),this._eventBus.fire("propertiesPanel.providersChanged")):console.error("Properties provider does not implement #getGroups(element) API")}setLayout(e){this._eventBus.fire("propertiesPanel.setLayout",{layout:e})}_getProviders(){const e=this._eventBus.createEvent({type:"propertiesPanel.getProviders",providers:[]});return this._eventBus.fire(e),e.providers}_render(e){const t=this._injector.get("canvas");e||(e=t.getRootElement()),function(e){return e&&(e.isImplicit||"__implicitroot"===e.id)}(e)||(Tx(B_(TX,{element:e,injector:this._injector,getProviders:this._getProviders.bind(this),layoutConfig:this._layoutConfig,descriptionConfig:this._descriptionConfig,tooltipConfig:this._tooltipConfig,feelPopupContainer:this._feelPopupContainer}),this._container),this._eventBus.fire("propertiesPanel.rendered"))}_destroy(){this._container&&(Tx(null,this._container),this._eventBus.fire("propertiesPanel.destroyed"))}}MX.$inject=["config.propertiesPanel","injector","eventBus"];let AX=class{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;v(e,(function(e){t.execute(e.cmd,e.context)}))}};AX.$inject=["commandStack"];const DX={"properties-panel.multi-command-executor":AX};function NX(e,t){e.on("diagram.init",(function(){v(DX,(function(e,n){t.registerHandler(n,e)}))}))}NX.$inject=["eventBus","commandStack"];var RX={__depends__:[{__init__:[NX]},lG,pG],__init__:["propertiesPanel"],propertiesPanel:["type",MX]};function jX(e){const{autoFocusEntry:t,element:n,getOptions:r}=e,i=r(n),o=LU(i);return Wx((()=>{if(t&&o&&i.length>o.length){const e=ve(`[data-entry-id="${t}"]`),n=ve(".bio-properties-panel-input",e);n&&n.select()}}),[i]),B_(ZW,{...e})}function IX(e){return BX(e,"bpmn:ErrorEventDefinition")}function LX(e){const t=IX(e);return t&&t.get("errorRef")}function BX(e,t){return m(Si(e).get("eventDefinitions")||[],(function(e){return Oi(e,t)}))}function zX(e){return Oi(e,"bpmn:ReceiveTask")?Si(e):BX(e,"bpmn:MessageEventDefinition")}function $X(e){const t=zX(e);return t&&t.get("messageRef")}function qX(e){return BX(e,"bpmn:LinkEventDefinition")}function FX(e){return BX(e,"bpmn:SignalEventDefinition")}function VX(e){const t=FX(e);return t&&t.get("signalRef")}function HX(e){return BX(e,"bpmn:EscalationEventDefinition")}function UX(e){const t=HX(e);return t&&t.get("escalationRef")}function WX(e){return BX(e,"bpmn:CompensateEventDefinition")}function GX(e){const{element:t}=e;return function(e){return Pi(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"])&&!!WX(e)}(t)?[{id:"waitForCompletion",component:QX,isEdited:WW},{id:"activityRef",component:ZX,isEdited:XW}]:[]}function QX(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=WX(t);return UW({element:t,id:"waitForCompletion",label:r("Wait for completion"),getValue:()=>i.get("waitForCompletion"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:i,properties:{waitForCompletion:e}})}})}function ZX(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("elementRegistry"),i=gQ("translate"),o=WX(t);return jX({element:t,id:"activityRef",label:i("Activity reference"),getValue:()=>{const e=function(e){const t=WX(e);return t&&t.get("activityRef")}(t);return e&&e.get("id")},setValue:e=>{const i=e?Si(r.get(e)):void 0;n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{activityRef:i}})},getOptions:()=>{let e=[{value:"",label:i("<none>")}];const n=function(e){const t=Si(e);let n=t.$parent,r=KX(n);Oi(n,"bpmn:SubProcess")&&n.triggeredByEvent&&(n=n.$parent,n&&(r=[...r,...KX(n)]));return r}(t);var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((function(t){e.push({value:t.id,label:JX(t)})})),e}})}function XX(e,t){const{flowElements:n}=e;return n.filter((function(e){return Oi(e,t)}))}function YX(e,t){return Oi(e,"bpmn:CallActivity")||Oi(e,"bpmn:SubProcess")&&!e.triggeredByEvent&&!e.isForCompensation||function(e,t){const{id:n}=e;return!!m(t,(function(e){const{attachedToRef:t}=e,r=WX(e);return t&&r&&t.id===n}))}(e,t)}function KX(e){const t=function(e){return XX(e,"bpmn:Activity")}(e),n=function(e){return XX(e,"bpmn:BoundaryEvent")}(e);return t.filter((function(e){return YX(e,n)}))}function JX(e){const{id:t,name:n}=e;return`${n?n+" ":""}(id=${t})`}const eY="text/plain";function tY(e){const{element:t}=e,n=[{id:"documentation",component:nY,isEdited:tG}];return function(e){return Oi(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)&&n.push({id:"processDocumentation",component:rY,isEdited:tG}),n}function nY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=gQ("debounceInput"),s=oY(Si(t)),a=sY(t,Si(t),n,r);return eG({element:t,id:"documentation",label:i("Element documentation"),getValue:s,setValue:a,debounce:o})}function rY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=gQ("debounceInput"),s=Si(t).processRef,a=oY(s),l=sY(t,s,n,r);return eG({element:t,id:"processDocumentation",label:i("Process documentation"),getValue:a,setValue:l,debounce:o})}function iY(e){return e.find((function(e){return(e.textFormat||eY)===eY}))}function oY(e){return function(){const t=iY(e&&e.get("documentation"));return t&&t.text}}function sY(e,t,n,r){return function(i){let o=iY(t&&t.get("documentation"));return o?i?r.execute("element.updateModdleProperties",{element:e,moddleElement:o,properties:{text:i}}):r.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:b(t.get("documentation"),o)}}):i?(o=n.create("bpmn:Documentation",{text:i}),r.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:[...t.get("documentation"),o]}})):void 0}}function aY(e,t,n,r){const i=r.create(e,t);return n&&(i.$parent=n),i}function lY(e){return new n([32,32,1]).nextPrefixed(e)}function cY(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function pY(e,t){return function(e,t){return(e||[]).filter((e=>Oi(e,t)))}(cY(e).get("rootElements"),t)}function uY(e,t,n){return pY(e,t).find((e=>e.id===n))}const dY="",hY="create-new";function fY(e){const{element:t}=e;if(!function(e){return Pi(e,["bpmn:StartEvent","bpmn:BoundaryEvent","bpmn:EndEvent"])&&!!IX(e)}(t))return[];let n=[{id:"errorRef",component:mY,isEdited:XW}];return LX(t)&&(n=[...n,{id:"errorName",component:gY,isEdited:oG},{id:"errorCode",component:yY,isEdited:oG}]),n}function mY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=IX(t);return jX({element:t,id:"errorRef",label:i("Global error reference"),autoFocusEntry:"errorName",getValue:()=>{const e=LX(t);return e?e.get("id"):dY},setValue:e=>{const i=cY(o),s=[];let a;return e===hY&&(a=aY("bpmn:Error",{name:lY("Error_")},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})),a=a||uY(o,"bpmn:Error",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{errorRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:dY,label:i("<none>")},{value:hY,label:i("Create new ...")}];const n=pY(Si(t),"bpmn:Error");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function gY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=LX(t);return iG({element:t,id:"errorName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function yY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=LX(t);return iG({element:t,id:"errorCode",label:r("Code"),getValue:()=>o.get("errorCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{errorCode:e}}),debounce:i})}const vY="create-new";function bY(e){const{element:t}=e;if(!function(e){return Oi(e,"bpmn:Event")&&!!HX(e)}(t))return[];let n=[{id:"escalationRef",component:wY,isEdited:XW}];return UX(t)&&(n=[...n,{id:"escalationName",component:xY,isEdited:oG},{id:"escalationCode",component:_Y,isEdited:oG}]),n}function wY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=HX(t);return jX({element:t,id:"escalationRef",label:i("Global escalation reference"),autoFocusEntry:"escalationName",getValue:()=>{const e=UX(t);return e&&e.get("id")},setValue:e=>{const i=cY(o),s=[];let a;if(e===vY){const r=lY("Escalation_");a=aY("bpmn:Escalation",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||uY(o,"bpmn:Escalation",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{escalationRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:"",label:i("<none>")},{value:vY,label:i("Create new ...")}];const n=pY(Si(t),"bpmn:Escalation");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function xY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=UX(t);return iG({element:t,id:"escalationName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function _Y(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=UX(t);return iG({element:t,id:"escalationCode",label:r("Code"),getValue:()=>o.get("escalationCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{escalationCode:e}}),debounce:i})}function kY(e){const{element:t}=e;return Oi(t,"bpmn:Process")||function(e){return Oi(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"isExecutable",component:EY,isEdited:WW}]:[]}function EY(e){const{element:t}=e,n=gQ("modeling"),r=gQ("commandStack"),i=gQ("translate");let o,s;if(s=e=>{n.updateProperties(t,{isExecutable:e})},o=e=>e.businessObject.isExecutable,Oi(t,"bpmn:Participant")){const e=t.businessObject.get("processRef");s=n=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:e,properties:{isExecutable:n}})},o=()=>e.get("isExecutable")}return UW({element:t,id:"isExecutable",label:i("Executable"),getValue:o,setValue:s})}const OY=/\s/,PY=/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i,SY=/^[a-z_][\w-.]*$/i;function CY(e,t,n){const r=e.$model.ids.assigned(t);return t?r&&r!==e?n("ID must be unique."):function(e,t){if(n=e,OY.test(n))return t("ID must not contain spaces.");var n;if(!SY.test(e))return PY.test(e)?t("ID must not contain prefix."):t("ID must be a valid QName.")}(t,n):n("ID must not be empty.")}function TY(e){const{element:t}=e,n=gQ("modeling"),r=gQ("debounceInput"),i=gQ("translate"),o=Xx((e=>Si(e).id),[t]),s=Xx((e=>CY(Si(t),e,i)),[t,i]);return iG({element:t,id:"id",label:i(Oi(t,"bpmn:Participant")?"Participant ID":"ID"),getValue:o,setValue:(e,r)=>{r||n.updateProperties(t,{id:e})},debounce:r,validate:s})}function MY(e){const{element:t}=e;return function(e){return Pi(e,["bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"])&&!!qX(e)}(t)?[{id:"linkName",component:AY,isEdited:oG}]:[]}function AY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=qX(t);return iG({element:t,id:"linkName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:i})}const DY="",NY="create-new";function RY(e){const{element:t}=e;if(!function(e){return Oi(e,"bpmn:ReceiveTask")||Pi(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!zX(e)}(t))return[];let n=[{id:"messageRef",component:jY,isEdited:XW}];return $X(t)&&(n=[...n,{id:"messageName",component:IY,isEdited:oG}]),n}function jY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=zX(t);return jX({element:t,id:"messageRef",label:i("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=$X(t);return e?e.get("id"):DY},setValue:e=>{const i=cY(o),s=[];let a;if(e===NY){const r=lY("Message_");a=aY("bpmn:Message",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||uY(o,"bpmn:Message",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{messageRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:DY,label:i("<none>")},{value:NY,label:i("Create new ...")}];const n=pY(Si(t),"bpmn:Message");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function IY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=$X(t);return iG({element:t,id:"messageName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function LY(e){const{element:t}=e;if(!function(e){const t=FY(e);return!!t&&Oi(t,"bpmn:MultiInstanceLoopCharacteristics")}(t))return[];return[{id:"loopCardinality",component:BY,isEdited:oG},{id:"completionCondition",component:zY,isEdited:oG}]}function BY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("debounceInput"),i=gQ("commandStack"),o=gQ("translate");return iG({element:t,id:"loopCardinality",label:o("Loop cardinality"),getValue:()=>function(e){const t=function(e){return qY(e,"loopCardinality")}(e);return $Y(t)}(t),setValue:e=>i.execute("element.updateModdleProperties",VY(t,"loopCardinality",e,n)),debounce:r})}function zY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("debounceInput"),i=gQ("commandStack"),o=gQ("translate");return iG({element:t,id:"completionCondition",label:o("Completion condition"),getValue:()=>function(e){const t=function(e){return qY(e,"completionCondition")}(e);return $Y(t)}(t),setValue:e=>i.execute("element.updateModdleProperties",VY(t,"completionCondition",e,n)),debounce:r})}function $Y(e){return e&&e.get("body")}function qY(e,t){const n=FY(e);return n&&n.get(t)}function FY(e){return Si(e).loopCharacteristics}function VY(e,t,n,r){const i=FY(e),o={};if(!n)return o[t]=void 0,{element:e,moddleElement:i,properties:o};const s=i.get(t);return s?{element:e,moddleElement:s,properties:{body:n}}:(o[t]=function(e,t,n){return aY("bpmn:FormalExpression",{body:t},e,n)}(i,n,r),{element:e,moddleElement:i,properties:o})}function HY(e){const{element:t}=e;return Pi(t,["bpmn:Collaboration","bpmn:DataAssociation","bpmn:Association"])?[]:[{id:"name",component:UY,isEdited:tG}]}function UY(e){const{element:t}=e,n=gQ("modeling"),r=gQ("debounceInput"),i=gQ("canvas"),o=gQ("bpmnFactory"),s=gQ("translate");let a={element:t,id:"name",label:s("Name"),debounce:r,setValue:e=>{n.updateProperties(t,{name:e})},getValue:e=>e.businessObject.name,autoResize:!0};return Oi(t,"bpmn:TextAnnotation")?a={...a,setValue:e=>{n.updateProperties(t,{text:e})},getValue:e=>e.businessObject.text}:Oi(t,"bpmn:Group")?a={...a,setValue:e=>{const r=Si(t);r.categoryValueRef||function(e,t,n){const r=function(e,t){const n=t.create("bpmn:CategoryValue"),r=t.create("bpmn:Category",{categoryValue:[n]});return Ot(e.get("rootElements"),r),Si(r).$parent=e,Si(n).$parent=r,n}(Si(t).$parent,n);e.categoryValueRef=r}(r,i.getRootElement(),o),n.updateLabel(t,e)},getValue:e=>{const t=Si(e).categoryValueRef;return t&&t.value}}:Oi(t,"bpmn:Participant")&&(a.label=s("Participant Name")),eG(a)}function WY(e){const{element:t}=e;return function(e){return Oi(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"processId",component:QY,isEdited:oG},{id:"processName",component:GY,isEdited:oG}]:[]}function GY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=t.businessObject.get("processRef");return iG({element:t,id:"processName",label:r("Process name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:i})}function QY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=t.businessObject.get("processRef"),s=Xx((e=>CY(o,e,r)),[o,r]);return iG({element:t,id:"processId",label:r("Process ID"),getValue:()=>o.get("id"),setValue:(e,r)=>{r||n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{id:e}})},debounce:i,validate:s})}const ZY="",XY="create-new";function YY(e){const{element:t}=e;if(!function(e){return Oi(e,"bpmn:Event")&&!!FX(e)}(t))return[];let n=[{id:"signalRef",component:KY,isEdited:XW}];return VX(t)&&(n=[...n,{id:"signalName",component:JY,isEdited:oG}]),n}function KY(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=FX(t);return jX({element:t,id:"signalRef",label:i("Global signal reference"),autoFocusEntry:"signalName",getValue:()=>{const e=VX(t);return e?e.get("id"):ZY},setValue:e=>{const i=cY(o),s=[];let a;if(e===XY){const r=lY("Signal_");a=aY("bpmn:Signal",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||uY(o,"bpmn:Signal",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{signalRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:ZY,label:i("<none>")},{value:XY,label:i("Create new ...")}];const n=pY(Si(t),"bpmn:Signal");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function JY(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=VX(t);return iG({element:t,id:"signalName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function eK(e){return Pi(e,["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:BoundaryEvent"])&&!!nK(e)}function tK(e){if(!e)return;if(void 0!==e.get("timeDate"))return"timeDate";if(void 0!==e.get("timeCycle"))return"timeCycle";return void 0!==e.get("timeDuration")?"timeDuration":void 0}function nK(e){return rK(e,"bpmn:TimerEventDefinition")}function rK(e,t){return m(Si(e).get("eventDefinitions")||[],(function(e){return Oi(e,t)}))}function iK(e){return rK(e,"bpmn:SignalEventDefinition")}function oK(e){const t=iK(e);return t&&t.get("signalRef")}function sK(e){const{element:t,idPrefix:n}=e;let{timerEventDefinition:r}=e;if(!r){r=nK(Si(t))}const i=tK(r);if(!eK(t))return[];const o=[];return o.push({id:pK(n,"timerEventDefinitionType"),component:aK,isEdited:XW,timerEventDefinition:r,timerEventDefinitionType:i}),i&&o.push({id:pK(n,"timerEventDefinitionValue"),component:lK,isEdited:oG,timerEventDefinition:r,timerEventDefinitionType:i}),o}function aK(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:r}=e,i=gQ("commandStack"),o=gQ("bpmnFactory"),s=gQ("translate");return ZW({element:t,id:"timerEventDefinitionType",label:s("Type"),getValue:()=>r||"",setValue:e=>{if(e===r)return;const s=o.create("bpmn:FormalExpression",{body:void 0});s.$parent=n;const a={timeDuration:void 0,timeDate:void 0,timeCycle:void 0};""!==e&&(a[e]=s),i.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:a})},getOptions:e=>[{value:"",label:s("<none>")},{value:"timeDate",label:s("Date")},{value:"timeDuration",label:s("Duration")},{value:"timeCycle",label:s("Cycle")}]})}function lK(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput"),a=n.get(r);return iG({element:t,id:"timerEventDefinitionValue",label:o("Value"),getValue:()=>a&&a.get("body"),setValue:e=>{i.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{body:e}})},debounce:s,tooltip:cK(r,o)})}function cK(e,t){switch(e){case"timeDate":return B_("div",{children:[B_("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),B_("li",{children:[B_("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),B_("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-date",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeCycle":return B_("div",{children:[B_("p",{children:t("A cycle defined as ISO 8601 repeating intervals format.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),B_("li",{children:[B_("code",{children:"R/P1D"})," - ",t("every day, infinitely")]})]}),B_("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-cycle",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeDuration":return B_("div",{children:[B_("p",{children:t("A time duration defined as ISO 8601 durations format.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"PT15S"})," - ",t("15 seconds")]}),B_("li",{children:[B_("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),B_("li",{children:[B_("code",{children:"P14D"})," - ",t("14 days")]})]}),B_("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-duration",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]})}}function pK(e,t){return e?e+t:t}function uK(e,t){const n=t.get("translate"),r=[...HY({element:e}),{id:"id",component:TY,isEdited:oG},...WY({element:e}),...kY({element:e})];return{id:"general",label:n("General"),entries:r,component:qU}}function dK(e,t){const n={label:t.get("translate")("Compensation"),id:"compensation",component:qU,entries:[...GX({element:e})]};return n.entries.length?n:null}function hK(e,t){const n=t.get("translate"),r=[...tY({element:e})];return{id:"documentation",label:n("Documentation"),entries:r,component:qU}}function fK(e,t){const n={id:"error",label:t.get("translate")("Error"),component:qU,entries:[...fY({element:e})]};return n.entries.length?n:null}function mK(e,t){const n={id:"message",label:t.get("translate")("Message"),component:qU,entries:[...RY({element:e})]};return n.entries.length?n:null}function gK(e,t){const n={id:"signal",label:t.get("translate")("Signal"),component:qU,entries:[...YY({element:e})]};return n.entries.length?n:null}function yK(e,t){const n={label:t.get("translate")("Link"),id:"link",component:qU,entries:[...MY({element:e})]};return n.entries.length?n:null}function vK(e,t){const n={id:"escalation",label:t.get("translate")("Escalation"),component:qU,entries:[...bY({element:e})]};return n.entries.length?n:null}function bK(e,t){const n={label:t.get("translate")("Timer"),id:"timer",component:qU,entries:[...sK({element:e})]};return n.entries.length?n:null}function wK(e,t){const n={label:t.get("translate")("Multi-instance"),id:"multiInstance",component:qU,entries:[...LY({element:e})]};return n.entries.length?n:null}class xK{constructor(e,t){e.registerProvider(this),this._injector=t}getGroups(e){return t=>(t=t.concat(function(e,t){return[uK(e,t),hK(e,t),dK(e,t),fK(e,t),yK(e,t),mK(e,t),wK(e,t),gK(e,t),vK(e,t),bK(e,t)].filter((e=>null!==e))}(e,this._injector)),t)}}xK.$inject=["propertiesPanel","injector"];var _K={__init__:["bpmnPropertiesProvider"],bpmnPropertiesProvider:["type",xK]};function kK(e,t=void 0){const n=e.get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>Oi(e,t))):r:[]}function EK(e,t,n,r){c(n)||(n=[n]);const i=t.get("extensionElements"),o=i.get("values").filter((e=>!n.includes(e)));r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:o}})}const OK={getVariablesForElement:e=>JG(e)};const PK=function(e){return t=>{const n=Zx((()=>{const e=gQ("config");return e&&e.propertiesPanel&&e.propertiesPanel.feelTooltipContainer}),[]);return B_(e,{...t,tooltipContainer:n})}}(EW),SK=function(e){return t=>{const{bpmnElement:n,element:r}=t,i=(n||r).businessObject,[o,s]=Hx([]),a=gQ("eventBus"),l=function(e,t){const n=gQ(e,!1);if(!n)return t;return n}("variableResolver",OK);return Wx((()=>{const e=()=>{(async()=>{const e=await l.getVariablesForElement(i,r);s(e.map((e=>({...e,info:e.info||e.origin&&"Written in "+e.origin.map((e=>e.name||e.id)).join(", ")}))))})()};return a.on("commandStack.changed",e),e(),()=>{a.off("commandStack.changed",e)}}),[i]),B_(e,{...t,variables:o})}}(PK);function CK(e){const{element:t}=e;return Oi(t,"bpmn:UserTask")?[{id:"assignmentDefinitionAssignee",component:TK,isEdited:SW},{id:"assignmentDefinitionCandidateGroups",component:MK,isEdited:SW},{id:"assignmentDefinitionCandidateUsers",component:AK,isEdited:SW}]:[]}function TK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"assignmentDefinitionAssignee",label:i("Assignee"),feel:"optional",getValue:()=>(DK(t)||{}).assignee,setValue:e=>{const i=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=DK(t);a||(a=aY("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{assignee:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function MK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"assignmentDefinitionCandidateGroups",label:i("Candidate groups"),feel:"optional",getValue:()=>(DK(t)||{}).candidateGroups,setValue:e=>{let i=[];const o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=DK(t);a||(a=aY("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{candidateGroups:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function AK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"assignmentDefinitionCandidateUsers",label:i("Candidate users"),feel:"optional",getValue:()=>(DK(t)||{}).candidateUsers,setValue:e=>{let i=[];const o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=DK(t);a||(a=aY("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{candidateUsers:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function DK(e){return kK(Si(e),"zeebe:AssignmentDefinition")[0]}function NK(e){return!!Oi(e,"zeebe:ZeebeServiceTask")&&(Oi(e,"bpmn:EndEvent")||Oi(e,"bpmn:IntermediateThrowEvent")?!!zX(e):!(Pi(e,["bpmn:BusinessRuleTask","bpmn:ScriptTask"])&&!function(e){const t=Si(e);return kK(t,"zeebe:TaskDefinition")[0]}(e)))}function RK(e){return kK(Si(e),"zeebe:TaskHeaders")[0]}const jK="dmn",IK="jobWorker",LK="";function BK(e){const{element:t}=e;return Oi(t,"bpmn:BusinessRuleTask")?[{id:"businessRuleImplementation",component:zK,isEdited:()=>function(e){return $K(e)||qK(e)}(t)}]:[]}function zK(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate");return ZW({element:t,id:n,label:o("Implementation"),getValue:()=>qK(t)?jK:$K(t)?IK:LK,setValue:e=>{let n,o;e===jK?(n=qK(t),o="zeebe:CalledDecision"):e===IK?(n=$K(t),o="zeebe:TaskDefinition"):function(e,t){const n=Si(e),r=[$K(e),RK(e),qK(e)].filter(Boolean);EK(e,n,r,t)}(t,r),!n&&o&&(n=aY(o,{},null,i),function(e,t,n,r){const i=Si(e),o=[];let s,a=i.get("extensionElements");a||(a=aY("bpmn:ExtensionElements",{values:[]},i,n),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{extensionElements:a}}}));t.$parent=a,Oi(t,"zeebe:TaskDefinition")?s=b(a.get("values"),qK(e)):Oi(t,"zeebe:CalledDecision")&&(s=b(a.get("values"),$K(e)));o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...s,t]}}}),r.execute("properties-panel.multi-command-executor",o)}(t,n,i,r))},getOptions:()=>[{value:LK,label:o("<none>")},{value:jK,label:o("DMN decision")},{value:IK,label:o("Job worker")}]})}function $K(e){return kK(Si(e),"zeebe:TaskDefinition")[0]}function qK(e){return kK(Si(e),"zeebe:CalledDecision")[0]}function FK(e){const{element:t}=e;return Oi(t,"bpmn:BusinessRuleTask")&&UK(t)?[{id:"decisionId",component:VK,isEdited:SW},{id:"resultVariable",component:HK,isEdited:oG}]:[]}function VK(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return SK({element:t,id:n,label:o("Decision ID"),feel:"optional",getValue:()=>(UK(t)||{}).decisionId,setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=UK(t);a||(a=aY("zeebe:CalledDecision",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{decisionId:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function HK(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:t,id:n,label:o("Result variable"),getValue:()=>(UK(t)||{}).resultVariable,setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=UK(t);a||(a=aY("zeebe:CalledDecision",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{resultVariable:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function UK(e){return kK(Si(e),"zeebe:CalledDecision")[0]}function WK(e){const{element:t}=e;if(!Oi(t,"bpmn:SequenceFlow"))return[];const n=[];return function(e){return Pi(e,QK)}(t.source)&&n.push({id:"conditionExpression",component:GK,isEdited:SW}),n}function GK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"conditionExpression",label:i("Condition expression"),feel:"required",getValue:()=>function(e){const t=Si(e),n=t.conditionExpression;if(n)return n.get("body")}(t),setValue:e=>{const i=[],o=Si(t),s=t.source;s.businessObject.default===o&&i.push({cmd:"element.updateProperties",context:{element:s,properties:{default:void 0}}});const a=e&&""!=e?aY("bpmn:FormalExpression",{body:e},o,r):void 0;i.push({cmd:"element.updateProperties",context:{element:t,properties:{conditionExpression:a}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}const QK=["bpmn:Activity","bpmn:ExclusiveGateway","bpmn:InclusiveGateway"];function ZK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=LX(t);return SK({element:t,id:"errorCode",label:r("Code"),feel:"optional",getValue:()=>o.get("errorCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{errorCode:e}}),debounce:i})}function XK(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=UX(t);return SK({element:t,id:"escalationCode",label:r("Code"),feel:"optional",getValue:()=>o.get("escalationCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{escalationCode:e}}),debounce:i})}const YK="camunda-forms:bpmn:",KK="UserTaskForm_",JK={CAMUNDA_FORM_EMBEDDED:"camunda-form-embedded",CAMUNDA_FORM_LINKED:"camunda-form-linked",CUSTOM_FORM:"custom-form",EXTERNAL_REFERENCE:"external-reference"};function eJ(e){return kK(Si(e),"zeebe:FormDefinition")[0]}function tJ(e,t){t=t||rJ(e);const n=eJ(e);if(!n)return;const r=n.get("formKey");return kK(t,"zeebe:UserTaskForm").find((e=>nJ(e.get("id"))===r))}function nJ(e){return`${YK}${e}`}function rJ(e){let t=Si(e);for(;t.$parent&&!Oi(t,"bpmn:Process");)t=t.$parent;return t}function iJ(e){const t=eJ(e);if(!t)return;const n=t.get("formId"),r=t.get("formKey"),i=t.get("externalReference");return a(n)?JK.CAMUNDA_FORM_LINKED:a(i)?JK.EXTERNAL_REFERENCE:a(r)?tJ(e)?JK.CAMUNDA_FORM_EMBEDDED:JK.CUSTOM_FORM:void 0}function oJ(e){return kK(Si(e),"zeebe:UserTask").length>0}const sJ="none";function aJ(e){const{element:t}=e;if(!Oi(t,"bpmn:UserTask"))return[];const n=[{id:"formType",component:lJ,isEdited:e=>e.value!==sJ}],r=iJ(t);return r===JK.CAMUNDA_FORM_EMBEDDED?n.push({id:"formConfiguration",component:cJ,isEdited:tG}):r===JK.CAMUNDA_FORM_LINKED?n.push({id:"formId",component:pJ,isEdited:oG}):r===JK.CUSTOM_FORM?n.push({id:"customFormKey",component:uJ,isEdited:oG}):r===JK.EXTERNAL_REFERENCE&&n.push({id:"externalReference",component:dJ,isEdited:SW}),n}function lJ(e){const{element:t}=e,n=gQ("injector"),r=gQ("translate");return ZW({element:t,id:"formType",label:r("Type"),getValue:()=>iJ(t)||sJ,setValue:e=>{!function(e,t,n){n===JK.CAMUNDA_FORM_EMBEDDED?bJ(e,t,""):n===JK.CAMUNDA_FORM_LINKED?gJ(e,t,""):n===JK.CUSTOM_FORM?yJ(e,t,""):n===JK.EXTERNAL_REFERENCE?vJ(e,t,""):function(e,t){const n=eJ(t),r=e.get("modeling");if(n){const e=Si(t).get("extensionElements");r.updateModdleProperties(t,e,{values:b(e.get("values"),n)})}}(e,t)}(n,t,e)},getOptions:()=>function(e,t){if(oJ(t))return[{value:sJ,label:e("<none>")},{value:JK.CAMUNDA_FORM_LINKED,label:e("Camunda Form")},{value:JK.EXTERNAL_REFERENCE,label:e("External form reference")}];return[{value:sJ,label:e("<none>")},{value:JK.CAMUNDA_FORM_LINKED,label:e("Camunda Form (linked)")},{value:JK.CAMUNDA_FORM_EMBEDDED,label:e("Camunda Form (embedded)")},{value:JK.CUSTOM_FORM,label:e("Custom form key")}]}(r,t)})}function cJ(e){const{element:t}=e,n=gQ("debounceInput"),r=gQ("injector"),i=gQ("translate");return eG({element:t,id:"formConfiguration",label:i("Form JSON configuration"),rows:4,getValue:()=>tJ(t).get("body"),setValue:e=>{bJ(r,t,s(e)?"":e)},debounce:n})}function pJ(e){const{element:t}=e,n=gQ("debounceInput"),r=gQ("injector"),i=gQ("translate");return iG({element:t,id:"formId",label:i("Form ID"),getValue:()=>eJ(t).get("formId"),setValue:e=>{gJ(r,t,s(e)?"":e)},debounce:n})}function uJ(e){const{element:t}=e,n=gQ("debounceInput"),r=gQ("injector"),i=gQ("translate");return iG({element:t,id:"customFormKey",label:i("Custom form key"),getValue:()=>eJ(t).get("formKey"),setValue:e=>{yJ(r,t,s(e)?"":e)},debounce:n})}function dJ(e){const{element:t}=e,n=gQ("debounceInput"),r=gQ("injector"),i=gQ("translate");return SK({element:t,id:"externalReference",label:i("External form reference"),feel:"optional",getValue:()=>eJ(t).get("externalReference"),setValue:e=>{vJ(r,t,s(e)?"":e)},debounce:n})}function hJ(e,t,n){const r=n||Si(t);let i=r.get("extensionElements");if(i)return{commands:[],extensionElements:i};return i=aY("bpmn:ExtensionElements",{values:[]},r,e.get("bpmnFactory")),{commands:[wJ(t,r,{extensionElements:i})],extensionElements:i}}function fJ(e,t){let n=eJ(t);if(n)return{commands:[],formDefinition:n};const{extensionElements:r,commands:i}=hJ(e,t);return n=function(e,t,n){const r=e.get("bpmnFactory");return aY("zeebe:FormDefinition",t,n,r)}(e,{},r),{commands:[...i,wJ(t,r,{values:[...r.get("values"),n]})],formDefinition:n}}function mJ(e,t){let n=tJ(t);if(n)return{commands:[],formDefinition:eJ(t),userTaskForm:n};const r=rJ(t),{extensionElements:i,commands:o}=hJ(e,t,r),{formDefinition:s,commands:a}=fJ(e,t),l=lY(KK);return n=function(e,t,n){const r=e.get("bpmnFactory");return aY("zeebe:UserTaskForm",t,n,r)}(e,{id:l},i),{commands:[...o,...a,wJ(t,i,{values:[...i.get("values"),n]}),wJ(t,s,{formKey:nJ(l)})],formDefinition:s,userTaskForm:n}}function gJ(e,t,n){let{commands:r,formDefinition:i}=fJ(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,wJ(t,i,{formId:n})])}function yJ(e,t,n){let{commands:r,formDefinition:i}=fJ(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,wJ(t,i,{formKey:n})])}function vJ(e,t,n){let{commands:r,formDefinition:i}=fJ(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,wJ(t,i,{externalReference:n})])}function bJ(e,t,n){let{commands:r,userTaskForm:i}=mJ(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,wJ(t,i,{body:n})])}function wJ(e,t,n){return{cmd:"element.updateModdleProperties",context:{element:e,moddleElement:t,properties:n}}}function xJ(e){const{idPrefix:t,header:n}=e;return[{id:t+"-key",component:_J,header:n,idPrefix:t},{id:t+"-value",component:kJ,header:n,idPrefix:t}]}function _J(e){const{idPrefix:t,element:n,header:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:r,id:t+"-key",label:o("Key"),getValue:e=>e.key,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{key:e}})},debounce:s})}function kJ(e){const{idPrefix:t,element:n,header:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return eG({element:r,id:t+"-value",label:o("Value"),getValue:e=>e.value,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{value:e}})},debounce:s,autoResize:!0})}function EJ({element:e,injector:t}){if(!function(e){return Oi(e,"bpmn:UserTask")||NK(e)}(e))return null;const n=function(e){const t=RK(e);return t?t.get("values"):[]}(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-header-"+n;return{id:r,label:t.get("key")||"",entries:xJ({idPrefix:r,element:e,header:t}),autoFocusEntry:r+"-key",remove:OJ({commandStack:i,element:e,header:t})}}));return{items:o,add:PJ({bpmnFactory:r,commandStack:i,element:e})}}function OJ({commandStack:e,element:t,header:n}){return function(r){r.stopPropagation();let i=[];const o=RK(t);if(!o)return;const s=b(o.get("values"),n);if(i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{values:s}}}),!s.length){const e=Si(t).get("extensionElements");i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:e,properties:{values:b(e.get("values"),o)}}})}e.execute("properties-panel.multi-command-executor",i)}}function PJ({bpmnFactory:e,commandStack:t,element:n}){return function(r){r.stopPropagation();let i=[];const o=Si(n);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,e),i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:o,properties:{extensionElements:s}}}));let a=RK(n);if(!a){a=aY("zeebe:TaskHeaders",{values:[]},s,e),i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{values:[...s.get("values"),a]}}})}const l=aY("zeebe:Header",{},a,e);i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{values:[...a.get("values"),l]}}}),t.execute("properties-panel.multi-command-executor",i)}}function SJ(e){const t=function(e){const t=Si(e);return kK(t,"zeebe:CalledElement")}(e);return t[0]}function CJ(e){const{element:t}=e;return Oi(t,"bpmn:CallActivity")?[{id:"propagateAllParentVariables",component:TJ,isEdited:uW}]:[]}function TJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=function(e){if(!Oi(e,"bpmn:CallActivity"))return;const t=Si(e),n=SJ(t);return!n||!f(n,"propagateAllParentVariables")||n.get("propagateAllParentVariables")}(t);return pW({id:"propagateAllParentVariables",label:i("Propagate all parent process variables"),switcherLabel:i(o?"On":"Off"),tooltip:B_("div",{children:[B_("p",{children:i("If turned on, all variables from the parent process instance will be propagated to the child process instance.")}),B_("p",{children:i("Otherwise, only variables defined via input mappings will be propagated.")})]}),getValue:()=>o,setValue:e=>{const i=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=SJ(o);a||(a=aY("zeebe:CalledElement",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{propagateAllParentVariables:e}}}),n.execute("properties-panel.multi-command-executor",i)}})}function MJ(e){const{idPrefix:t,parameter:n}=e;return[{id:t+"-target",component:AJ,idPrefix:t,parameter:n},{id:t+"-source",component:DJ,idPrefix:t,parameter:n}]}function AJ(e){const{idPrefix:t,element:n,parameter:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:r,id:t+"-target",label:o(Oi(r,"zeebe:Input")?"Local variable name":"Process variable name"),getValue:e=>e.target,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{target:e}})},debounce:s})}function DJ(e){const{idPrefix:t,element:n,parameter:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return SK({bpmnElement:n,element:r,id:t+"-source",label:o("Variable assignment value"),feel:"required",getValue:e=>e.source,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{source:e}})},debounce:s})}function NJ(e,t){const n=RJ(e);return n&&n.get(t)||[]}function RJ(e){return(function(e,t,n){const r=kK(e,t);return n?(r[0]||{})[n]||[]:r}(Si(e),"zeebe:IoMapping")||[])[0]}function jJ(e){return NJ.apply(this,[e,"outputParameters"])}function IJ(e){return Pi(e,["bpmn:UserTask","bpmn:SubProcess","bpmn:CallActivity","bpmn:BusinessRuleTask","bpmn:ScriptTask"])||NK(e)||function(e){if(!Pi(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"]))return!1;return!!BX(e,"bpmn:SignalEventDefinition")}(e)}function LJ(e){return(!Oi(e,"bpmn:EndEvent")||!IX(e)&&!function(e){return BX(e,"bpmn:TerminateEventDefinition")}(e))&&Pi(e,["zeebe:ZeebeServiceTask","bpmn:UserTask","bpmn:SubProcess","bpmn:ReceiveTask","bpmn:CallActivity","bpmn:Event","bpmn:BusinessRuleTask"])}function BJ(e,t,n){return aY("zeebe:IoMapping",e,t,n)}function zJ({element:e,injector:t}){if(!IJ(e))return null;const n=function(e){return NJ.apply(this,[e,"inputParameters"])}(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-input-"+n;return{id:r,label:t.get("target")||"",entries:MJ({idPrefix:r,element:e,parameter:t}),autoFocusEntry:r+"-target",remove:$J({commandStack:i,element:e,parameter:t})}}));return{items:o,add:qJ({element:e,bpmnFactory:r,commandStack:i})}}function $J({commandStack:e,element:t,parameter:n}){return function(r){r.stopPropagation();const i=[],o=RJ(t);if(!o)return;const s=b(o.get("inputParameters"),n);i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{inputParameters:s}}});const a=Si(t).get("extensionElements"),l=b(a.get("values"),o);s.length||o.get("outputParameters").length||i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:l}}}),e.execute("properties-panel.multi-command-executor",i)}}function qJ({element:e,bpmnFactory:t,commandStack:n}){return function(r){r.stopPropagation();const i=[],o=Si(e);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:s}}}));let a=RJ(e);a||(a=BJ({inputParameters:[],outputParameters:[]},s,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}}));const l=aY("zeebe:Input",{target:lY("InputVariable_")},a,t);i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{inputParameters:[...a.get("inputParameters"),l]}}}),n.execute("properties-panel.multi-command-executor",i)}}function FJ(e){const{element:t}=e,n=$X(t),r=[];return n&&r.push({id:"messageName",component:VJ,isEdited:SW}),n&&function(e){if(Oi(e,"bpmn:ReceiveTask"))return!0;if(!Oi(e,"bpmn:StartEvent"))return!0;if(Oi(e,"bpmn:StartEvent")&&Qi(e.parent))return!0;return!1}(t)&&r.push({id:"messageSubscriptionCorrelationKey",component:HJ,isEdited:SW}),r}function VJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=$X(t);return SK({element:t,id:"messageName",label:r("Name"),feel:"optional",getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function HJ(e){const{element:t}=e,n=gQ("bpmnFactory"),r=gQ("commandStack"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"messageSubscriptionCorrelationKey",label:i("Subscription correlation key"),feel:"required",getValue:()=>function(e){const t=UJ(e);return t?t.get("correlationKey"):""}(t),setValue:e=>{const i=[],o={correlationKey:e},s=$X(t);let a=s.get("extensionElements");a||(a=aY("bpmn:ExtensionElements",{values:[]},s,n),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{extensionElements:a}}}));let l=UJ(t);l?i.push({cmd:"element.updateModdleProperties",context:{element:t,properties:o,moddleElement:l}}):(l=aY("zeebe:Subscription",o,a,n),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:[...a.get("values"),l]}}})),r.execute("properties-panel.multi-command-executor",i)},debounce:o})}function UJ(e){const t=function(e){const t=kK(e,"zeebe:Subscription");return t}($X(e));return t[0]}function WJ(e){const{element:t}=e;return function(e){return!!KJ(e)}(t)?[{id:"multiInstance-inputCollection",component:GJ,isEdited:SW},{id:"multiInstance-inputElement",component:QJ,isEdited:oG},{id:"multiInstance-outputCollection",component:ZJ,isEdited:oG},{id:"multiInstance-outputElement",component:XJ,isEdited:SW},{id:"multiInstance-completionCondition",component:YJ,isEdited:SW}]:[]}function GJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"multiInstance-inputCollection",label:i("Input collection"),feel:"required",getValue:()=>t0(t,"inputCollection"),setValue:e=>n0(t,"inputCollection",e,n,r),debounce:o})}function QJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return iG({element:t,id:"multiInstance-inputElement",label:i("Input element"),getValue:()=>t0(t,"inputElement"),setValue:e=>n0(t,"inputElement",e,n,r),debounce:o})}function ZJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return iG({element:t,id:"multiInstance-outputCollection",label:i("Output collection"),getValue:()=>t0(t,"outputCollection"),setValue:e=>n0(t,"outputCollection",e,n,r),debounce:o})}function XJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"multiInstance-outputElement",label:i("Output element"),feel:"required",getValue:()=>t0(t,"outputElement"),setValue:e=>n0(t,"outputElement",e,n,r),debounce:o})}function YJ(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"multiInstance-completionCondition",label:i("Completion condition"),feel:"required",getValue:()=>{const e=function(e){return KJ(e).get("completionCondition")}(t);return e&&e.get("body")},setValue:e=>{if(e&&""!==e){const i=aY("bpmn:FormalExpression",{body:e},KJ(t),r);e0(t,n,i)}else e0(t,n,void 0)},debounce:o})}function KJ(e){return Si(e).get("loopCharacteristics")}function JJ(e){const t=kK(e,"zeebe:LoopCharacteristics");return t&&t[0]}function e0(e,t,n=void 0){t.execute("element.updateModdleProperties",{element:e,moddleElement:KJ(e),properties:{completionCondition:n}})}function t0(e,t){const n=JJ(KJ(e));return n&&n.get(t)}function n0(e,t,n,r,i){const o=KJ(e),s=[];let a=o.get("extensionElements");a||(a=aY("bpmn:ExtensionElements",{values:[]},o,i),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:a}}}));let l=JJ(o);l||(l=aY("zeebe:LoopCharacteristics",{},a,i),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...a.get("values"),l]}}})),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:l,properties:{[t]:n}}}),r.execute("properties-panel.multi-command-executor",s)}function r0(e){const{element:t}=e;return Oi(t,"bpmn:CallActivity")?[{id:"propagateAllChildVariables",component:i0,isEdited:uW}]:[]}function i0(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=function(e){if(!Oi(e,"bpmn:CallActivity"))return;const t=Si(e),n=SJ(t);return n&&f(n,"propagateAllChildVariables")?n.get("propagateAllChildVariables"):function(e){const t=jJ(e);if(t)return!(t.length>0)}(e)}(t);return pW({id:"propagateAllChildVariables",label:i("Propagate all child process variables"),switcherLabel:i(o?"On":"Off"),tooltip:B_("div",{children:[B_("p",{children:i("If turned on, all variables from the child process instance will be propagated to the parent process instance.")}),B_("p",{children:i("Otherwise, only variables defined via output mappings will be propagated.")})]}),getValue:()=>o,setValue:e=>{const i=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=SJ(o);a||(a=aY("zeebe:CalledElement",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{propagateAllChildVariables:e}}}),n.execute("properties-panel.multi-command-executor",i)}})}function o0({element:e,injector:t}){if(!LJ(e))return null;const n=jJ(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-output-"+n;return{id:r,label:t.get("target")||"",entries:MJ({idPrefix:r,element:e,parameter:t}),autoFocusEntry:r+"-target",remove:s0({commandStack:i,element:e,parameter:t})}}));return{items:o,add:a0({element:e,bpmnFactory:r,commandStack:i})}}function s0({commandStack:e,element:t,parameter:n}){return function(r){r.stopPropagation();let i=[];const o=RJ(t);if(!o)return;const s=b(o.get("outputParameters"),n);if(i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{outputParameters:s}}}),!o.get("inputParameters").length&&!s.length){const e=Si(t).get("extensionElements"),n=b(e.get("values"),o);i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:e,properties:{values:n}}})}e.execute("properties-panel.multi-command-executor",i)}}function a0({element:e,bpmnFactory:t,commandStack:n}){return function(r){r.stopPropagation();let i=[];const o=Si(e);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:s}}}));let a=RJ(e);if(!a){a=BJ({inputParameters:[],outputParameters:[]},s,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}})}const l=aY("zeebe:Output",{target:lY("OutputVariable_")},a,t);i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{outputParameters:[...a.get("outputParameters"),l]}}}),n.execute("properties-panel.multi-command-executor",i)}}const l0="script",c0="jobWorker",p0="";function u0(e){const{element:t}=e;return Oi(t,"bpmn:ScriptTask")?[{id:"scriptImplementation",component:d0,isEdited:()=>function(e){return h0(e)||f0(e)}(t)}]:[]}function d0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate");return ZW({element:t,id:n,label:o("Implementation"),getValue:()=>f0(t)?l0:h0(t)?c0:p0,setValue:e=>{let n,o;e===l0?(n=f0(t),o="zeebe:Script"):e===c0?(n=h0(t),o="zeebe:TaskDefinition"):function(e,t){const n=Si(e),r=h0(e),i=function(e){const t=Si(e);return kK(t,"zeebe:TaskHeaders")}(e),o=f0(e);if(r){return void EK(e,n,[r,i].filter(Boolean),t)}o&&EK(e,n,o,t)}(t,r),!n&&o&&(n=aY(o,{},null,i),function(e,t,n,r){const i=Si(e),o=[];let s,a=i.get("extensionElements");a||(a=aY("bpmn:ExtensionElements",{values:[]},i,n),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{extensionElements:a}}}));if(t.$parent=a,Oi(t,"zeebe:TaskDefinition"))s=b(a.get("values"),f0(e));else if(Oi(t,"zeebe:Script")){const e=e=>Pi(e,["zeebe:TaskDefinition","zeebe:TaskHeaders"]);s=b(a.get("values"),e)}o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...s,t]}}}),r.execute("properties-panel.multi-command-executor",o)}(t,n,i,r))},getOptions:()=>[{value:p0,label:o("<none>")},{value:l0,label:o("FEEL expression")},{value:c0,label:o("Job worker")}]})}function h0(e){return kK(Si(e),"zeebe:TaskDefinition")[0]}function f0(e){return kK(Si(e),"zeebe:Script")[0]}function m0(e){const{element:t}=e;return Oi(t,"bpmn:ScriptTask")&&v0(t)?[{id:"resultVariable",component:y0,isEdited:oG},{id:"scriptExpression",component:g0,isEdited:SW}]:[]}function g0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return SK({element:t,id:n,label:o("FEEL expression"),feel:"required",getValue:()=>(v0(t)||{}).get("expression"),setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=v0(t);a||(a=aY("zeebe:Script",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{expression:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function y0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:t,id:n,label:o("Result variable"),getValue:()=>(v0(t)||{}).resultVariable,setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=v0(t);a||(a=aY("zeebe:Script",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{resultVariable:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function v0(e){return kK(Si(e),"zeebe:Script")[0]}function b0(e){const{element:t}=e;if(!function(e){return Oi(e,"bpmn:Event")&&!!iK(e)}(t))return[];let n=[];return oK(t)&&(n=[...n,{id:"signalName",component:w0,isEdited:SW}]),n}function w0(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("translate"),i=gQ("debounceInput"),o=oK(t);return SK({element:t,id:"signalName",label:r("Name"),feel:"optional",getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function x0(e){const{element:t}=e;return Oi(t,"bpmn:CallActivity")?[{id:"targetProcessId",component:_0,isEdited:SW}]:[]}function _0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return SK({element:t,id:n,label:o("Process ID"),feel:"optional",getValue:()=>function(e){const t=SJ(e);return t?t.get("processId"):""}(t),setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=SJ(o);a||(a=aY("zeebe:CalledElement",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{processId:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function k0(e){const{element:t}=e;return NK(t)?[{id:"taskDefinitionType",component:E0,isEdited:SW},{id:"taskDefinitionRetries",component:O0,isEdited:SW}]:[]}function E0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return SK({element:t,id:n,label:o("Type"),feel:"optional",getValue:()=>(P0(t)||{}).type,setValue:e=>{const n=[],o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=P0(t);a||(a=aY("zeebe:TaskDefinition",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{type:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function O0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=gQ("debounceInput");return SK({element:t,id:n,label:o("Retries"),feel:"optional",getValue:()=>(P0(t)||{}).retries,setValue:e=>{let n=[];const o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=P0(t);a||(a=aY("zeebe:TaskDefinition",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{retries:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function P0(e){return kK(Si(e),"zeebe:TaskDefinition")[0]}function S0(e){const{element:t}=e;return Oi(t,"bpmn:UserTask")?[{id:"taskScheduleDueDate",component:C0,isEdited:SW},{id:"taskScheduleFollowUpDate",component:T0,isEdited:SW}]:[]}function C0(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"taskScheduleDueDate",label:i("Due date"),feel:"optional",getValue:()=>{const e=M0(t);if(e)return e.get("dueDate")},setValue:e=>{let i=[];const o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=M0(t);a||(a=aY("zeebe:TaskSchedule",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{dueDate:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function T0(e){const{element:t}=e,n=gQ("commandStack"),r=gQ("bpmnFactory"),i=gQ("translate"),o=gQ("debounceInput");return SK({element:t,id:"taskScheduleFollowUpDate",label:i("Follow up date"),feel:"optional",getValue:()=>{const e=M0(t);if(e)return e.get("followUpDate")},setValue:e=>{let i=[];const o=Si(t);let s=o.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=M0(t);a||(a=aY("zeebe:TaskSchedule",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{followUpDate:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function M0(e){return kK(Si(e),"zeebe:TaskSchedule")[0]}function A0(e,t){const n=Si(t);switch(e){case"timeDate":return Pi(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent","bpmn:StartEvent"]);case"timeCycle":return!((!Oi(t,"bpmn:StartEvent")||N0(n))&&D0(n))||!(!Oi(t,"bpmn:BoundaryEvent")||D0(n));case"timeDuration":return!!Pi(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])||!(!Oi(t,"bpmn:StartEvent")||!N0(n));default:return!1}}function D0(e){return Oi(e,"bpmn:BoundaryEvent")?!1!==e.get("cancelActivity"):!1!==e.get("isInterrupting")}function N0(e){const t=e.$parent;return t&&Oi(t,"bpmn:SubProcess")&&t.get("triggeredByEvent")}function R0(e){const{element:t,injector:n}=e,r=n.get("translate"),i=tK(nK(Si(t)));if(!eK(t))return[];const o=function(e,t){const n=[];A0("timeDate",e)&&n.push({value:"timeDate",label:t("Date")});A0("timeDuration",e)&&n.push({value:"timeDuration",label:t("Duration")});A0("timeCycle",e)&&n.push({value:"timeCycle",label:t("Cycle")});return n}(t,r),s=[];return s.push({id:"timerEventDefinitionType",component:j0,isEdited:XW,options:o}),i&&s.push({id:"timerEventDefinitionValue",component:I0,isEdited:SW,timerEventDefinitionType:i||o[0].value}),s}function j0(e){const{element:t,options:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate"),s=nK(Si(t)),a=tK(s);return ZW({element:t,id:"timerEventDefinitionType",label:o("Type"),getValue:()=>a||"",setValue:e=>{if(e===a)return;const n=L0(i,s),o={timeDuration:void 0,timeDate:void 0,timeCycle:void 0};""!==e&&(o[e]=n),r.execute("element.updateModdleProperties",{element:t,moddleElement:s,properties:o})},getOptions:e=>[{value:"",label:o("<none>")},...n]})}function I0(e){const{element:t,label:n,timerEventDefinitionType:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput"),a=gQ("bpmnFactory"),l=nK(Si(t)),c=l.get(r);return SK({element:t,id:"timerEventDefinitionValue",label:n||o("Value"),feel:"optional",getValue:()=>c&&c.get("body"),setValue:e=>{if(!c){const n=L0(a,l);return n.set("body",e),void i.execute("element.updateModdleProperties",{element:t,moddleElement:l,properties:{[r]:n}})}i.execute("element.updateModdleProperties",{element:t,moddleElement:c,properties:{body:e}})},debounce:s,tooltip:B0(r,o)})}function L0(e,t){const n=e.create("bpmn:FormalExpression",{body:void 0});return n.$parent=t,n}function B0(e,t){switch(e){case"timeDate":return B_("div",{children:[B_("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),B_("li",{children:[B_("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),B_("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-date",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]});case"timeCycle":return B_("div",{children:[B_("p",{children:t("A cycle defined as ISO 8601 repeating intervals format, or a cron expression.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),B_("li",{children:[B_("code",{children:"R/P1D"})," - ",t("every day, infinitely")]}),B_("li",{children:[B_("code",{children:"0 0 9-17 * * MON-FRI"})," - ",t("every hour on the hour from 9-5 p.m. UTC Monday-Friday")]})]}),B_("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-cycle",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]});case"timeDuration":return B_("div",{children:[B_("p",{children:t("A time duration defined as ISO 8601 durations format.")}),B_("ul",{children:[B_("li",{children:[B_("code",{children:"PT15S"})," - ",t("15 seconds")]}),B_("li",{children:[B_("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),B_("li",{children:[B_("code",{children:"P14D"})," - ",t("14 days")]})]}),B_("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-duration",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]})}}const z0="zeebeUserTask",$0="jobWorker";function q0(e){const{element:t}=e;return Oi(t,"bpmn:UserTask")?[{id:"userTaskImplementation",component:F0,isEdited:()=>function(e){return V0(e)}(t)}]:[]}function F0(e){const{element:t,id:n}=e,r=gQ("commandStack"),i=gQ("bpmnFactory"),o=gQ("translate");return ZW({element:t,id:n,label:o("Type"),getValue:()=>V0(t)?z0:$0,setValue:e=>{e===z0?function(e,t,n){const r=Si(e),i=aY("zeebe:UserTask",{},r,t);!function(e,t,n,r,i){const o=[];let s=t.get("extensionElements");s||(s=aY("bpmn:ExtensionElements",{values:[]},t,r),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:t,properties:{extensionElements:s}}})),n.$parent=s,o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),n]}}}),i.execute("properties-panel.multi-command-executor",o)}(e,r,i,t,n)}(t,i,r):e===$0&&function(e,t){const n=V0(e);EK(e,Si(e),n,t)}(t,r)},getOptions:()=>[{value:z0,label:o("Zeebe user task")},{value:$0,label:o("Job worker")}]})}function V0(e){return kK(Si(e),"zeebe:UserTask")[0]}function H0(e){const{idPrefix:t,property:n}=e;return[{id:t+"-name",component:U0,idPrefix:t,property:n},{id:t+"-value",component:W0,idPrefix:t,property:n}]}function U0(e){const{idPrefix:t,element:n,property:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:r,id:t+"-name",label:o("Name"),getValue:()=>r.name,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{name:e}})},debounce:s})}function W0(e){const{idPrefix:t,element:n,property:r}=e,i=gQ("commandStack"),o=gQ("translate"),s=gQ("debounceInput");return iG({element:r,id:t+"-value",label:o("Value"),getValue:()=>r.value,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{value:e}})},debounce:s})}function G0({element:e,injector:t,namespace:n="camunda"}){let r=X0(e);if(!r)return;const i=function(e,t="camunda"){const n=X0(e),r=K0(n,t);return r&&r.get(Y0(t))}(r,n)||[],o=t.get("bpmnFactory"),s=t.get("commandStack"),a=i.map(((t,r)=>{const i=e.id+"-extensionProperty-"+r;return{id:i,label:t.get("name")||"",entries:H0({idPrefix:i,element:e,property:t}),autoFocusEntry:i+"-name",remove:Q0({commandStack:s,element:e,property:t,namespace:n})}}));return{items:a,add:Z0({bpmnFactory:o,commandStack:s,element:e,namespace:n})}}function Q0({commandStack:e,element:t,property:n,namespace:r}){return function(i){i.stopPropagation();const o=[],s=X0(t),a=s.get("extensionElements"),l=K0(s,r);if(!l)return;const c=Y0(r),p=b(l.get(c),n);o.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:l,properties:{[c]:p}}}),p.length||o.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:b(a.get("values"),l)}}}),e.execute("properties-panel.multi-command-executor",o)}}function Z0({bpmnFactory:e,commandStack:t,element:n,namespace:r}){return function(i){i.stopPropagation();let o=[];const s=X0(n);let a=s.get("extensionElements");a||(a=aY("bpmn:ExtensionElements",{values:[]},s,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{extensionElements:a}}}));const l=Y0(r);let c=K0(s,r);if(!c){const t=a;c=aY(`${r}:Properties`,{[l]:[]},t,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{values:[...a.get("values"),c]}}})}const p=aY(`${r}:Property`,{},c,e);o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:c,properties:{[l]:[...c.get(l),p]}}}),t.execute("properties-panel.multi-command-executor",o)}}function X0(e){let t=Si(e);return Oi(e,"bpmn:Participant")?t.get("processRef"):t}function Y0(e="camunda"){return"zeebe"===e?"properties":"values"}function K0(e,t="camunda"){return kK(X0(e),`${t}:Properties`)[0]}const J0=[function(e,t){const n=t.get("translate"),r={id:"businessRuleImplementation",label:n("Implementation"),entries:[...BK({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"calledDecision",label:n("Called decision"),entries:[...FK({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"scriptImplementation",label:n("Implementation"),entries:[...u0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"script",label:n("Script"),entries:[...m0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"userTaskImplementation",label:n("Implementation"),entries:[...q0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"taskDefinition",label:n("Task definition"),entries:[...k0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"assignmentDefinition",label:n("Assignment"),entries:[...CK({element:e}),...S0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"form",label:n("Form"),entries:[...aJ({element:e,injector:t})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"condition",label:n("Condition"),entries:[...WK({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"calledElement",label:n("Called element"),entries:[...x0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"inputPropagation",label:n("Input propagation"),entries:[...CJ({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"inputs",label:n("Inputs"),component:VW,...zJ({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={id:"outputPropagation",label:n("Output propagation"),entries:[...r0({element:e})],component:qU};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"outputs",label:n("Outputs"),component:VW,...o0({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={id:"headers",label:n("Headers"),component:VW,...EJ({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={label:n("Extension properties"),id:"Zeebe__ExtensionProperties",component:VW,...G0({element:e,injector:t,namespace:"zeebe"})};if(r.items)return r;return null}];let e1=class{constructor(e,t){e.registerProvider(500,this),this._injector=t}getGroups(e){return t=>(function(e,t){const n=t1(e,"error");if(!n)return;n.entries=n1(n.entries,function(e){const{element:t}=e,n=[];return LX(t)&&Oi(t,"bpmn:ThrowEvent")&&n.push({id:"errorCode",component:ZK,isEdited:SW}),n}({element:t}))}(t=t.concat(this._getGroups(e)),e),function(e,t){const n=t1(e,"escalation");if(!n)return;n.entries=n1(n.entries,function(e){const{element:t}=e;if(!Oi(t,"bpmn:ThrowEvent"))return[];const n=[];return UX(t)&&n.push({id:"escalationCode",component:XK,isEdited:SW}),n}({element:t}))}(t,e),function(e,t){const n=t1(e,"message");if(!n)return;n.entries=n1(n.entries,FJ({element:t}))}(t,e),function(e,t){const n=t1(e,"signal");if(!n)return;n.entries=n1(n.entries,b0({element:t}))}(t,e),function(e,t,n){const r=t1(e,"timer");if(!r)return;r.entries=[...R0({element:t,injector:n})]}(t,e,this._injector),function(e,t){const n=t1(e,"multiInstance");if(!n)return;n.entries=[...WJ({element:t})]}(t,e),t=function(e,t){const n=t1(e,"message");(function(e){return Oi(e,"bpmn:EndEvent")&&!!zX(e)}(t)||function(e){return Oi(e,"bpmn:IntermediateThrowEvent")&&!!zX(e)}(t))&&(e=e.filter((e=>e!=n)));return e}(t,e),t)}_getGroups(e){const t=J0.map((t=>t(e,this._injector)));return t.filter((e=>null!==e))}};function t1(e,t){return e.find((e=>e.id===t))}function n1(e,t){return[...e.filter((e=>!t.find((t=>t.id===e.id)))),...t]}e1.$inject=["propertiesPanel","injector"];var r1={__init__:["zeebePropertiesProvider"],zeebePropertiesProvider:["type",e1]};const i1={"group-assignmentDefinition":e=>{const t=gQ("translate");return B_("div",{children:[t("Define who the task is assigned to. One or all of the following attributes can be specified simultaneously. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/user-tasks/#assignments",target:"_blank",rel:"noopener",title:t("User task documentation"),children:t("Learn more.")})]})},"group-condition":e=>{const t=gQ("translate");return B_("div",{children:[t("Define a boolean condition expression that defines when this flow is taken. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/exclusive-gateways/#conditions",target:"_blank",rel:"noopener",title:t("Conditions documentation"),children:t("Learn how to define conditions.")})]})},"group-businessRuleImplementation":e=>{const t=gQ("translate");return B_("div",{children:[t("Evaluate a business rule, for example a DMN decision. To add a custom implementation, use a job worker. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Business rule task documentation"),children:t("Learn more.")})]})},"group-scriptImplementation":e=>{const t=gQ("translate");return B_("div",{children:[t("Implement a script task using an inline FEEL expression. To add a custom implementation, use a job worker. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/script-tasks/#defining-a-script-task",target:"_blank",rel:"noopener",title:t("Script task documentation"),children:t("Learn more.")})]})},"group-userTaskImplementation":e=>{const t=gQ("translate");return B_("div",{children:[t("Implement a user task managed by Zeebe. To add a custom implementation, use a job worker. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/user-tasks/#define-a-user-task",target:"_blank",rel:"noopener",title:t("User task documentation"),children:t("Learn more.")})]})},"group-form":e=>{const t=gQ("translate");return oJ(e)?B_("div",{children:[t("Link a form created with the Camunda Forms editor. To associate a custom form, application, or URL to the user task, specify an external reference. "),B_("a",{href:"https://docs.camunda.io/docs/guides/utilizing-forms/#link-your-form-to-a-bpmn-diagram",target:"_blank",rel:"noopener",title:t("User task form documentation"),children:t("Learn more.")})]}):B_("div",{children:[t("Link or embed a form created with the Camunda Forms editor. To associate a custom form, application, or URL to the user task, specify a form key. "),B_("a",{href:"https://docs.camunda.io/docs/guides/utilizing-forms/#link-your-form-to-a-bpmn-diagram",target:"_blank",rel:"noopener",title:t("User task form documentation"),children:t("Learn more.")})]})},"group-calledDecision":e=>{const t=gQ("translate");return B_("div",{children:[t("Define the decision to evaluate and how to map back the evaluation result. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#defining-a-called-decision",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("Learn more.")})]})},"group-message":e=>{const t=gQ("translate");return Oi(e,"bpmn:ReceiveTask")?B_("div",{children:[t("Define the name of the message (e.g. "),B_("code",{children:"Money collected"}),t(") and the "),B_("code",{children:"correlationKey"}),t(" expression (e.g. "),B_("code",{children:"= orderId"}),t(")"),t(" to subscribe to. "),t("Learn more how to "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/send-tasks",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("send ")}),t("and "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/receive-tasks",target:"_blank",rel:"noopener",title:t("Receive task documentation"),children:t("receive messages. ")})]}):B_("div",{children:[t("Define the name of the message (e.g. "),B_("code",{children:"Money collected"}),t(") and the "),B_("code",{children:"correlationKey"}),t(" expression (e.g. "),B_("code",{children:"= orderId"}),t(")"),t(" to subscribe to. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/message-events/#messages",target:"_blank",rel:"noopener",title:t("Message event documentation"),children:t("Learn more.")})]})},"group-calledElement":e=>{const t=gQ("translate");return B_("div",{children:[t("Define the ID of the process to call (e.g. ")," ",B_("code",{children:"shipping-process"}),t(" or "),B_("code",{children:'= "shipping-" + tenantId'})," ",t("). "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/call-activities/",target:"_blank",rel:"noopener",title:t("Call activity documentation"),children:t("Learn more.")})]})},"group-taskDefinition":e=>{const t=gQ("translate");return Oi(e,"bpmn:ServiceTask")?B_("div",{children:[t("Specify which job workers handle the task work to execute a service (e.g. "),B_("code",{children:"order-items"}),t("). "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/service-tasks",target:"_blank",rel:"noopener",title:t("Service task documentation"),children:t("Learn more.")})]}):Oi(e,"bpmn:BusinessRuleTask")?B_("div",{children:[t("Specify which job workers handle the task work to evaluate business rules. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#job-worker-implementation",target:"_blank",rel:"noopener",title:t("Business rule task documentation"),children:t("Learn more.")})]}):Oi(e,"bpmn:ScriptTask")?B_("div",{children:[t("Specify which job workers handle the task work to execute a script. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/script-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Script task documentation"),children:t("Learn more.")})]}):Oi(e,"bpmn:SendTask")?B_("div",{children:[t("Specify which job workers handle the task work to send a message (e.g. "),B_("code",{children:"kafka"}),t(" or "),B_("code",{children:"mail"}),t("). "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/send-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("Learn more.")})]}):Oi(e,"bpmn:ThrowEvent")?B_("div",{children:[t("Specify which job workers handle the event work. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/message-events/#message-throw-events",target:"_blank",rel:"noopener",title:t("Message throw event documentation"),children:t("Learn more.")})]}):void 0},"group-multiInstance":e=>{const t=gQ("translate");return B_("div",{children:[t("Execute this task for each element of a given collection. "),B_("br",{}),t("Define an input collection expression that defines the collection to iterate over (e.g. "),B_("code",{children:"= items"}),t("). "),t("To collect the output define the output collection and the output element expressions. "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/multi-instance/#defining-the-collection-to-iterate-over",target:"_blank",rel:"noopener",title:t("Multi instance documentation"),children:t("Learn more.")})]})},"group-error":e=>{const t=gQ("translate");return B_("div",{children:[t("Define an error code (e.g. "),B_("code",{children:"order-not-found"}),t("). "),B_("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/error-events/#defining-the-error",target:"_blank",rel:"noopener",title:t("Error event documentation"),children:t("Learn more.")})]})},"group-inputs":e=>{const t=gQ("translate");return B_("div",{children:[t("Create a new local variable in the scope of this task. "),B_("a",{href:"https://docs.camunda.io/docs/components/concepts/variables/#input-mappings",target:"_blank",rel:"noopener",title:t("Input mappings documentation"),children:t("Learn more.")})]})},"group-outputs":e=>{const t=gQ("translate");return B_("div",{children:[t("Customize how result variables are merged into the global scope of the process instance. "),B_("a",{href:"https://docs.camunda.io/docs/components/concepts/variables/#output-mappings",target:"_blank",rel:"noopener",title:t("Output mappings documentation"),children:t("Learn more.")})]})},taskDefinitionRetries:e=>{const t=gQ("translate");return B_("div",{children:B_("p",{children:[t("The number of times the engine tries executing this activity if a worker signals a failure. The default is three.")," "," ",B_("a",{href:"https://docs.camunda.io/docs/next/components/best-practices/development/dealing-with-problems-and-exceptions/#leveraging-retries",target:"_blank",rel:"noopener",children:t("Learn more.")})]})})}};function o1(e={}){bw.call(this,e)}function s1(e,t=void 0){const n=Si(e).get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>Oi(e,t))):r:[]}function a1(e,t,n,r){c(n)||(n=[n]);const i=t.get("extensionElements"),o=i.get("values").filter((e=>!n.includes(e)));r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:o}})}e(o1,bw),o1.prototype.getModules=function(e={}){return[...bw.prototype.getModules.call(this,e),e.disableAdjustOrigin?Fw:Uw,e.disableGrid?{}:Lw]},o1.prototype._extensionModules=[Nw,tx,RX,_K],o1.prototype._modules=[].concat(bw.prototype._modules,o1.prototype._extensionModules);class l1 extends Wo{constructor(e,t){super(t),this.preExecute("element.updateModdleProperties",5e3,(function(e){const{element:t,moddleElement:n,properties:r}=e;if(!Oi(t,"bpmn:BusinessRuleTask")||!Oi(n,"bpmn:ExtensionElements")||!r.values)return;const i=c1(t),o=p1(t);i&&!o&&r.values.find((e=>Oi(e,"zeebe:CalledDecision")))&&r.values.find((e=>Oi(e,"zeebe:TaskDefinition")))&&(r.values=b(r.values,i))}),!0),this.preExecute("element.updateModdleProperties",5e3,(function(e){const{element:t,moddleElement:n,properties:r}=e;if(!Oi(t,"bpmn:BusinessRuleTask")||!Oi(n,"bpmn:ExtensionElements")||!r.values)return;const i=c1(t),o=p1(t),s=function(e){const t=Si(e);return s1(t,"zeebe:TaskHeaders")[0]}(t);!i&&(o||s)&&r.values.find((e=>Oi(e,"zeebe:CalledDecision")))&&r.values.find((e=>Oi(e,"zeebe:TaskDefinition")||Oi(e,"zeebe:TaskHeaders")))&&(r.values=b(r.values,(e=>e===o||e===s)))}),!0)}}function c1(e){return s1(Si(e),"zeebe:CalledDecision")[0]}function p1(e){return s1(Si(e),"zeebe:TaskDefinition")[0]}l1.$inject=["commandStack","eventBus"];class u1 extends Wo{constructor(e,t){super(e),this.postExecuted("shape.replace",(function(e){const{context:n}=e,{newShape:r}=n;if(!Oi(r,"bpmn:EndEvent")||!function(e){const t=Si(e),n=t.get("eventDefinitions")||[];return m(n,(function(e){return Oi(e,"bpmn:ErrorEventDefinition")}))}(r))return;const i=function(e){const t=Si(e).get("extensionElements");if(!t)return null;const n=t.get("values");if(!n)return null;return m(n,(e=>Oi(e,"zeebe:IoMapping")))}(r);if(!i)return;const o=Si(r).get("extensionElements"),s=b(o.get("values"),i);t.updateModdleProperties(r,o,{values:s})}))}}u1.$inject=["eventBus","modeling"];class d1 extends Wo{constructor(e,t){super(e),this.postExecuted(["element.updateProperties","element.updateModdleProperties"],(e=>{const n=e.shape||e.newShape||e.element;if(n.labelTarget)return;if(!Oi(n,"bpmn:Event"))return;const r=function(e){const t=Si(e);return t.get("eventDefinitions").find((e=>Oi(e,"bpmn:MessageEventDefinition")))}(n);if(!r)return;const i=r.get("messageRef");if(!i)return;const o=function(e){return s1(e,"zeebe:Subscription")[0]}(i);o&&function(e){const t=e.$descriptor;return t.properties.every((t=>void 0===e.get(t.name)))}(o)&&a1(n,i,o,t)}),!0)}}function h1(e,t){const n=Si(t);switch(e){case"timeDate":return Pi(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent","bpmn:StartEvent"]);case"timeCycle":return!((!Oi(t,"bpmn:StartEvent")||m1(n))&&f1(n))||!(!Oi(t,"bpmn:BoundaryEvent")||f1(n));case"timeDuration":return!!Pi(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])||!(!Oi(t,"bpmn:StartEvent")||!m1(n));default:return!1}}function f1(e){return Oi(e,"bpmn:BoundaryEvent")?!1!==e.get("cancelActivity"):!1!==e.get("isInterrupting")}function m1(e){const t=e.$parent;return t&&Oi(t,"bpmn:SubProcess")&&t.get("triggeredByEvent")}d1.$inject=["eventBus","commandStack"];class g1 extends Wo{constructor(e,t){super(e),this.postExecuted(["shape.move","shape.replace","element.updateProperties","element.updateModdleProperties"],(e=>{const n=e.shape||e.newShape||e.element;if(n.labelTarget)return;if(!Oi(n,"bpmn:Event"))return;const r=function(e){return Si(e).get("eventDefinitions").find((e=>Oi(e,"bpmn:TimerEventDefinition")))}(n);if(!r)return;const i={};["timeCycle","timeDate","timeDuration"].forEach((e=>{r.get(e)&&!h1(e,n)&&(i[e]=void 0)})),Object.keys(i).length&&t.updateModdleProperties(n,r,i)}),!0)}}g1.$inject=["eventBus","modeling"];const y1="*",v1=["timeCycle","timeDate","timeDuration"],b1=["zeebe:Input","zeebe:LoopCharacteristics","zeebe:TaskDefinition","zeebe:TaskHeaders","zeebe:Subscription"];class w1{constructor(e){e.on("moddleCopy.canCopyProperty",(e=>{const{parent:t,property:n,propertyName:r}=e;return this.canCopyProperty(n,t,r)}))}canCopyProperty(e,t,n){return!(p(e)&&!function(e,t){const n=e.$type&&e.$model.getTypeDescriptor(e.$type),r=n&&n.meta&&n.meta.allowedIn;if(!r||function(e){return-1!==e.indexOf(y1)}(r))return!0;return _(r,(function(e){return x1(t,e)}))}(e,t))&&(!!this.canHostServiceTaskLikeProperties(e,t)&&(!!this.canHostTimerExpression(e,t,n)&&void 0))}canHostServiceTaskLikeProperties(e,t){if(function(e){return b1.some((t=>Oi(e,t)))}(e)){const e=x1(t,"bpmn:IntermediateThrowEvent")||x1(t,"bpmn:EndEvent");if(e)return function(e){const t=e.get("eventDefinitions");return t.some((e=>Oi(e,"bpmn:MessageEventDefinition")))}(e)}return!0}canHostTimerExpression(e,t,n){return!Oi(t,"bpmn:TimerEventDefinition")||!v1.includes(n)||h1(n,t.$parent)}}function x1(e,t){return t?Oi(e,t)?e:e.$parent?x1(e.$parent,t):void 0:e.$parent}function _1(e,t,n,r){var i=r.create(e,t);return i.$parent=n,i}function k1(e){const t=function(e){const t=Si(e);return s1(t,"zeebe:CalledElement")}(e);return t[0]}w1.$inject=["eventBus"];class E1 extends Wo{constructor(e,t,n){super(t),this.postExecuted("shape.create",5e3,(function(t){const{shape:r}=t;if(!Oi(r,"bpmn:CallActivity"))return;const i=Si(r);let o=k1(i);if(o)f(o,"propagateAllChildVariables")||n.updateModdleProperties(r,o,{propagateAllChildVariables:!1});else{let t=i.get("extensionElements");t||(t=_1("bpmn:ExtensionElements",{values:[]},i,e),n.updateProperties(r,{extensionElements:t})),o=_1("zeebe:CalledElement",{propagateAllChildVariables:!1},t,e),n.updateModdleProperties(r,t,{values:[...t.values||[],o]})}}),!0)}}E1.$inject=["bpmnFactory","eventBus","modeling"];class O1 extends Wo{constructor(e,t,n){super(e),this.postExecuted("shape.delete",250,(function(e){const{collaborationRoot:r,shape:i}=e,o=t.getRootElement();if(Oi(i,"bpmn:Participant")&&r&&!r.businessObject.get("participants").length&&Oi(o,"bpmn:Process")){const e=i.businessObject.get("processRef");if(!e)return;n.updateProperties(o,{isExecutable:e.get("isExecutable")})}}),!0)}}O1.$inject=["eventBus","canvas","modeling"];const P1=new n([32,32,1]);const S1="camunda-forms:bpmn:";function C1(e){return s1(Si(e),"zeebe:FormDefinition")[0]}function T1(e,t={}){let{formKey:n,rootElement:r}=t;if(r=r||N1(e),!n){const t=C1(e);if(!t)return;n=t.get("formKey")}return s1(r,"zeebe:UserTaskForm").find((e=>M1(e.get("id"))===n))}function M1(e){return`${S1}${e}`}function A1(e){return e&&e.startsWith(S1)}function D1(){return function(e){return P1.nextPrefixed(e)}("UserTaskForm_")}function N1(e){let t=Si(e);for(;t.$parent&&!Oi(t,"bpmn:Process");)t=t.$parent;return t}class R1 extends Wo{constructor(e,t,n){function r(e,t,r){const i=t.get("extensionElements"),o=b(i.get("values"),r);n.updateModdleProperties(e,i,{values:o}),o.length||n.updateModdleProperties(e,t,{extensionElements:void 0})}super(t),this._modeling=n,this.postExecute("shape.delete",(function(e){const{oldParent:t,shape:n}=e,i=N1(t),o=T1(n,{rootElement:i});Oi(n,"bpmn:UserTask")&&o&&r(n,i,o)}),!0),this.postExecute("shape.create",(function(t){const{shape:r}=t,i=C1(r);if(!Oi(r,"bpmn:UserTask")||!i)return;const o=T1(r),s=N1(r),a=Si(r).get("extensionElements");let l=s.get("extensionElements");l||(l=_1("bpmn:ExtensionElements",{values:[]},s,e),n.updateModdleProperties(r,s,{extensionElements:l}));let c=a.get("values").filter((e=>e!==i));const p=D1(),u=_1("zeebe:FormDefinition",{formKey:M1(p)},a,e);c=[...c,u],n.updateModdleProperties(r,a,{values:c});const d=_1("zeebe:UserTaskForm",{id:p,body:o?o.get("body"):""},l,e);n.updateModdleProperties(r,l,{values:[...l.get("values")||[],d]})}),!0),this.preExecute("element.updateModdleProperties",(function(e){const{moddleElement:t,properties:n}=e;Oi(t,"zeebe:FormDefinition")&&("formId"in n?(n.formKey=void 0,n.externalReference=void 0):"formKey"in n?(n.formId=void 0,n.externalReference=void 0):"externalReference"in n&&(n.formId=void 0,n.formKey=void 0))}),!0),this.postExecute("element.updateModdleProperties",(function(e){const{element:t,moddleElement:i,oldProperties:o}=e;if(Oi(i,"zeebe:FormDefinition")){const e=i.get("formKey");if(!e||!A1(e)){const e=T1(t,{formKey:o.formKey});e&&r(t,N1(t),e)}}else if(function(e,t){const{moddleElement:n,oldProperties:r,properties:i}=e;return Oi(n,"bpmn:ExtensionElements")&&"values"in r&&"values"in i&&r.values.find((e=>Oi(e,t)))&&!i.values.find((e=>Oi(e,t)))}(e,"zeebe:FormDefinition")){const e=T1(t,{formKey:o.values.find((e=>Oi(e,"zeebe:FormDefinition"))).get("formKey")});e&&r(t,N1(t),e),i.get("values").length||n.updateProperties(t,{extensionElements:void 0})}}),!0),this._registerZeebeUserTaskSupport()}_registerZeebeUserTaskSupport(){this.postExecute("element.updateModdleProperties",(({element:e})=>{if(!Oi(e,"bpmn:UserTask")||!j1(e))return;const t=C1(e);if(!t)return;const n=t.get("formKey");s(n)||(A1(n)?this._modeling.updateModdleProperties(e,t,{formKey:void 0}):this._modeling.updateModdleProperties(e,t,{externalReference:n}))}),!0),this.postExecute("element.updateModdleProperties",(({element:e})=>{if(!Oi(e,"bpmn:UserTask")||j1(e))return;const t=C1(e);if(!t)return;const n=t.get("externalReference");s(n)||this._modeling.updateModdleProperties(e,t,{externalReference:void 0,formKey:n})}),!0)}}function j1(e){return s1(e,"zeebe:UserTask").length}R1.$inject=["bpmnFactory","eventBus","modeling"];class I1 extends Wo{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",5e3,(function(t){const{element:n,moddleElement:r}=t;if(!Oi(r,"zeebe:AssignmentDefinition"))return;const i=r;if(Oi(n,"bpmn:UserTask")&&s(i.get("zeebe:assignee"))&&s(i.get("zeebe:candidateGroups"))&&s(i.get("zeebe:candidateUsers"))){a1(n,Si(n),i,e)}}),!0)}}I1.$inject=["commandStack","eventBus"];class L1 extends Wo{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",5e3,(function(t){const{element:n,moddleElement:r}=t;if(!Oi(r,"zeebe:TaskSchedule"))return;const i=r;if(Oi(n,"bpmn:UserTask")&&s(i.get("zeebe:dueDate"))&&s(i.get("zeebe:followUpDate"))){a1(n,Si(n),i,e)}}),!0)}}L1.$inject=["commandStack","eventBus"];var B1={__init__:["cleanUpBusinessRuleTaskBehavior","cleanUpEndEventBehavior","cleanUpSubscriptionBehavior","cleanUpTimerExpressionBehavior","copyPasteBehavior","createZeebeCallActivityBehavior","deleteParticipantBehaviour","formsBehavior","removeAssignmentDefinitionBehavior","removeTaskScheduleBehavior"],cleanUpBusinessRuleTaskBehavior:["type",l1],cleanUpEndEventBehavior:["type",u1],cleanUpSubscriptionBehavior:["type",d1],cleanUpTimerExpressionBehavior:["type",g1],copyPasteBehavior:["type",w1],createZeebeCallActivityBehavior:["type",E1],deleteParticipantBehaviour:["type",O1],formsBehavior:["type",R1],removeAssignmentDefinitionBehavior:["type",I1],removeTaskScheduleBehavior:["type",L1]};let z1;const $1=new Uint8Array(16);function q1(){if(!z1&&(z1="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!z1))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return z1($1)}const F1=[];for(let e=0;e<256;++e)F1.push((e+256).toString(16).slice(1));var V1={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function H1(e,t,n){if(V1.randomUUID&&!t&&!e)return V1.randomUUID();const r=(e=e||{}).random||(e.rng||q1)();return r[6]=15&r[6]|64,r[8]=63&r[8]|128,function(e,t=0){return F1[e[t+0]]+F1[e[t+1]]+F1[e[t+2]]+F1[e[t+3]]+"-"+F1[e[t+4]]+F1[e[t+5]]+"-"+F1[e[t+6]]+F1[e[t+7]]+"-"+F1[e[t+8]]+F1[e[t+9]]+"-"+F1[e[t+10]]+F1[e[t+11]]+F1[e[t+12]]+F1[e[t+13]]+F1[e[t+14]]+F1[e[t+15]]}(r)}var U1=function(e,t){for(var n=e.split("."),r=t.split("."),i=0;i<3;i++){var o=Number(n[i]),s=Number(r[i]);if(o>s)return 1;if(s>o)return-1;if(!isNaN(o)&&isNaN(s))return 1;if(isNaN(o)&&!isNaN(s))return-1}return 0},W1=$_(U1);function G1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Q1={exports:{}},Z1={};Object.defineProperty(Z1,"__esModule",{value:!0});const X1=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var s=o[i];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n};X1.code='require("ajv/dist/runtime/equal").default',Z1.default=X1,Q1.exports=u2,Q1.exports.default=u2;const Y1={type:"object",allOf:[{required:["name","id","appliesTo","properties"],properties:{name:{$id:"#/name",type:"string",description:"The name of the element template."},id:{$id:"#/id",type:"string",description:"The identifier of the element template."},description:{$id:"#/description",type:"string",description:"The description of the element template."},version:{$id:"#/version",type:"integer",description:"Optional version of the template. If you add a version to a template it will be considered unique based on its ID and version. Two templates can have the same ID if their version is different."},isDefault:{$id:"#/isDefault",type:"boolean",description:"Indicates whether the element template is a default template."},deprecated:{$id:"#/deprecated",type:["boolean","object"],description:"Indicates whether the element template is deprecated.",properties:{message:{$id:"#/deprecated/message",type:"string",description:"Optional message to describe migration path."},documentationRef:{$id:"#/deprecated/documentationRef",type:"string",pattern:"^(https|http)://.*",description:"Optional link to migration documentation."}}},appliesTo:{$id:"#/appliesTo",type:"array",description:"List of BPMN types the template can be applied to.",default:[],items:{$id:"#/appliesTo/items",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:Task","bpmn:ServiceTask","bpmn:SequenceFlow","bpmn:Process","bpmn:StartEvent","bpmn:Gateway"]}],errorMessage:{pattern:'invalid item for "appliesTo", should contain namespaced property, example: "bpmn:Task"'}}},elementType:{$id:"#/elementType",type:"object",description:"The BPMN type the element will be transformed into.",default:{},required:["value"],properties:{value:{$id:"#/elementType/value",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:ServiceTask","bpmn:UserTask","bpmn:StartEvent","bpmn:ExclusiveGateway","bpmn:ParallelGateway"]}],errorMessage:{pattern:'invalid item for "elementType", should contain namespaced property, example: "bpmn:Task"'}}},errorMessage:{required:{value:"missing elementType value"}}},metadata:{$id:"#/metadata",type:"object",description:"Some custom properties for further configuration.",default:{}},entriesVisible:{$id:"#/entriesVisible",type:"boolean",description:"Select whether non-template entries are visible in the properties panel."},groups:{$id:"#/groups",type:"array",description:"Custom fields can be ordered together via groups.",allOf:[{examples:[[{id:"group-1",label:"My Group"}]]}],items:{$id:"#/groups/group",type:"object",default:{},required:["id","label"],properties:{id:{$id:"#/groups/group/id",type:"string",description:"The id of the custom group"},label:{$id:"#/groups/group/label",type:"string",description:"The label of the custom group"}},errorMessage:{required:{id:'missing id for group "${0#}"',label:'missing label for group "${0#}"'}}}},documentationRef:{$id:"#/documentationRef",type:"string",pattern:"^(https|http)://.*",errorMessage:{pattern:'Malformed documentation URL, must match "^(https|http)://.*"'}}},errorMessage:{required:{name:"missing template name",id:"missing template id",appliesTo:"missing appliesTo=[]",properties:"missing properties=[]"}}}],properties:{properties:{$ref:"#/definitions/properties",$id:"#/properties"},scopes:{$id:"#/scopes",type:"array",description:"Special scoped bindings that allow you to configure nested elements.",allOf:[{examples:[[{type:"bpmn:Error",id:"Error_1",properties:[{value:"error-code",binding:{type:"property",name:"errorCode"}},{value:"error-message",binding:{type:"property",name:"camunda:errorMessage"}},{value:"error-name",binding:{type:"property",name:"name"}}]}]]}],items:{$id:"#/scopes/item",type:"object",default:{},properties:{type:{$id:"#scopes/item/type",type:"string",description:"The type of a scope.",enum:["camunda:Connector","bpmn:Error"],errorMessage:"invalid scope type ${0}; must be any of { camunda:Connector, bpmn:Error }"},properties:{$id:"#/scopes/properties",description:"List of properties of a scope.",default:[],allOf:[{$ref:"#/definitions/properties/allOf/0"},{$ref:"#/definitions/properties/allOf/1"}]}},required:["type","properties"],allOf:[{if:{properties:{type:{enum:["bpmn:Error"]}},required:["type"]},then:{required:["id"],errorMessage:"invalid scope ${0/type}, missing id"}}],errorMessage:{required:{type:"invalid scope, missing type",properties:"invalid scope ${0/type}, missing properties=[]"}}}}}},K1={$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'}}}},{if:{properties:{binding:{properties:{type:{const:"camunda:executionListener"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["Hidden"],errorMessage:'invalid property type ${1/type} for binding type "camunda:executionListener"; must be "Hidden"'},binding:{properties:{implementationType:{enum:["class","delegateExpression","expression","script"]}},oneOf:[{not:{properties:{implementationType:{const:"script"}}}},{required:["scriptFormat"]},{allOf:[{not:{required:["implementationType"]}},{not:{required:["scriptFormat"]}}]}]}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:property","camunda:outputParameter","camunda:in","camunda:in:businessKey","camunda:out","camunda:errorEventDefinition"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Hidden, Dropdown }"}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:inputParameter","camunda:field"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"}}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Camunda extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","camunda:property","camunda:inputParameter","camunda:field"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"camunda:outputParameter"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"camunda:in"}},required:["type"]},then:{anyOf:[{required:["variables"]},{required:["target"]}],errorMessage:"property.binding ${0/type} requires variables, target, or both"}},{if:{properties:{type:{const:"camunda:out"}},required:["type"]},then:{oneOf:[{required:["variables"],not:{anyOf:[{required:["source"]},{required:["sourceExpression"]}]}},{required:["source"],not:{anyOf:[{required:["variables"]},{required:["sourceExpression"]}]}},{required:["sourceExpression"],not:{anyOf:[{required:["variables"]},{required:["source"]}]}},{required:["variables","sourceExpression"],not:{required:["source"]}},{required:["variables","source"],not:{required:["sourceExpression"]}}],errorMessage:"property.binding ${0/type} requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"}},{if:{properties:{type:{const:"camunda:errorEventDefinition"}},required:["type"]},then:{oneOf:[{required:["errorRef"]}],errorMessage:"property.binding ${0/type} requires errorRef"}},{examples:[{type:"property",name:"name"},{type:"camunda:property",name:"property"},{type:"camunda:inputParameter",name:"input"},{type:"camunda:outputParameter",source:"output"},{type:"camunda:in",target:"target"},{type:"camunda:in:businessKey"},{type:"camunda:out",source:"output"},{type:"camunda:executionListener",event:"start"},{type:"camunda:field",name:"field"},{type:"camunda:errorEventDefinition",errorRef:"error"},{type:"camunda:errorEventDefinition",errorRef:"error"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",enum:["property","camunda:property","camunda:inputParameter","camunda:outputParameter","camunda:in","camunda:out","camunda:in:businessKey","camunda:executionListener","camunda:field","camunda:errorEventDefinition"],description:"The type of a property binding.",errorMessage:"invalid property.binding type ${0}; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},event:{$id:"#/properties/property/binding/event",type:"string",description:"The event type of a property binding (camunda:executionListener)."},scriptFormat:{$id:"#/properties/property/binding/scriptFormat",type:"string",description:"The script format of a property binding (camunda:outputParameter, camunda:inputParameter)."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (camunda:outputParameter, camunda:out)."},target:{$id:"#/properties/property/binding/target",type:"string",description:"The target value of a property binding (camunda:in)."},expression:{$id:"#/properties/property/binding/expression",type:"boolean",description:"Indicates whether the control field value is an expression (camunda:in, camunda:field)."},variables:{$id:"#/properties/property/binding/variables",type:"string",enum:["all","local"],description:"The variable mapping of a property binding (camunda:in)."},sourceExpression:{$id:"#/properties/property/binding/sourceExpression",type:"string",description:"The string containing the expression for the source attribute (camunda:out)."}}}},errorMessage:{required:'missing binding for property "${0#}"'}}},J1=new RegExp("^(https|http)://.*","u"),e2=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),t2={required:"missingProperty",dependencies:"property",dependentRequired:"property"},n2={allOf:[{type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}},{definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},condition:{type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}},{if:{oneOf:[{properties:{type:{enum:["String","Text"]}},required:["type"]},{not:{required:["type"]}}]},then:{properties:{placeholder:{type:"string"}}},else:{not:{required:["placeholder"]}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."}}}},{$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'}}}},{if:{properties:{binding:{properties:{type:{const:"camunda:executionListener"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["Hidden"],errorMessage:'invalid property type ${1/type} for binding type "camunda:executionListener"; must be "Hidden"'},binding:{properties:{implementationType:{enum:["class","delegateExpression","expression","script"]}},oneOf:[{not:{properties:{implementationType:{const:"script"}}}},{required:["scriptFormat"]},{allOf:[{not:{required:["implementationType"]}},{not:{required:["scriptFormat"]}}]}]}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:property","camunda:outputParameter","camunda:in","camunda:in:businessKey","camunda:out","camunda:errorEventDefinition"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Hidden, Dropdown }"}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:inputParameter","camunda:field"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"}}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Camunda extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","camunda:property","camunda:inputParameter","camunda:field"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"camunda:outputParameter"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"camunda:in"}},required:["type"]},then:{anyOf:[{required:["variables"]},{required:["target"]}],errorMessage:"property.binding ${0/type} requires variables, target, or both"}},{if:{properties:{type:{const:"camunda:out"}},required:["type"]},then:{oneOf:[{required:["variables"],not:{anyOf:[{required:["source"]},{required:["sourceExpression"]}]}},{required:["source"],not:{anyOf:[{required:["variables"]},{required:["sourceExpression"]}]}},{required:["sourceExpression"],not:{anyOf:[{required:["variables"]},{required:["source"]}]}},{required:["variables","sourceExpression"],not:{required:["source"]}},{required:["variables","source"],not:{required:["sourceExpression"]}}],errorMessage:"property.binding ${0/type} requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"}},{if:{properties:{type:{const:"camunda:errorEventDefinition"}},required:["type"]},then:{oneOf:[{required:["errorRef"]}],errorMessage:"property.binding ${0/type} requires errorRef"}},{examples:[{type:"property",name:"name"},{type:"camunda:property",name:"property"},{type:"camunda:inputParameter",name:"input"},{type:"camunda:outputParameter",source:"output"},{type:"camunda:in",target:"target"},{type:"camunda:in:businessKey"},{type:"camunda:out",source:"output"},{type:"camunda:executionListener",event:"start"},{type:"camunda:field",name:"field"},{type:"camunda:errorEventDefinition",errorRef:"error"},{type:"camunda:errorEventDefinition",errorRef:"error"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",enum:["property","camunda:property","camunda:inputParameter","camunda:outputParameter","camunda:in","camunda:out","camunda:in:businessKey","camunda:executionListener","camunda:field","camunda:errorEventDefinition"],description:"The type of a property binding.",errorMessage:"invalid property.binding type ${0}; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},event:{$id:"#/properties/property/binding/event",type:"string",description:"The event type of a property binding (camunda:executionListener)."},scriptFormat:{$id:"#/properties/property/binding/scriptFormat",type:"string",description:"The script format of a property binding (camunda:outputParameter, camunda:inputParameter)."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (camunda:outputParameter, camunda:out)."},target:{$id:"#/properties/property/binding/target",type:"string",description:"The target value of a property binding (camunda:in)."},expression:{$id:"#/properties/property/binding/expression",type:"boolean",description:"Indicates whether the control field value is an expression (camunda:in, camunda:field)."},variables:{$id:"#/properties/property/binding/variables",type:"string",enum:["all","local"],description:"The variable mapping of a property binding (camunda:in)."},sourceExpression:{$id:"#/properties/property/binding/sourceExpression",type:"string",description:"The string containing the expression for the source attribute (camunda:out)."}}}},errorMessage:{required:'missing binding for property "${0#}"'}}}]},r2={required:["property"],properties:{property:{const:{$data:"2/id"}}}},i2={type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}},o2=Z1.default;function s2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const a=s;let l=!1,c=null;const p=s,u=s;let d=!1,h=null;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=f===s)&&(d=!0,h=0);const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((g=m===s)&&d)d=!1,h=[h,1];else{g&&(d=!0,h=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var g;(g=n===s)&&d?(d=!1,h=[h,2]):g&&(d=!0,h=2)}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(r=t2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():i2.errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}(b=p===s)&&(l=!0,c=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={instancePath:t,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let r=0;r<e;r++){let e=n[r];const i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(v=c===s)&&(a=!0,l=0);const p=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/allMatch/"+r+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((v=p===s)&&a)a=!1,l=[l,1];else{v&&(a=!0,l=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var v;(v=n===s)&&a?(a=!1,l=[l,2]):v&&(a=!0,l=2)}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=t2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():i2.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}var b;if((b=y===s)&&l?(l=!1,c=[c,1]):b&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return s2.errors=o,0===s}function a2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const g=s;let y=!0;const v=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=v===s;if(s=g,null!==o&&(g?o.length=g:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}y=a=e===s}if(!y){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const b=s;let w=!0;const x=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!o2(e.property,r2.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=x===s;if(s=b,null!==o&&(b?o.length=b:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[36]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}w=l=e===s}if(!w){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={instancePath:t+"/"+r+"/id",schemaPath:"#/allOf/0/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=t2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():i2.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let i=0;i<e;i++){let e=n[i];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=t2[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():i2.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const _=s;let k=!0;const E=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){const e=s,t=s;if("Number"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var d=E===s;if(s=_,null!==o&&(_?o.length=_:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:n2.allOf[0].items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}k=d=e===s}if(!k){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!0;const S=s,C=s;let T=!1;const M=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={};null===o?o=[e]:o.push(e),s++}}(h=M===s)&&(T=!0);const A=s,D=s,N=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}var h;if(N===s){const e={};null===o?o=[e]:o.push(e),s++}else s=D,null!==o&&(D?o.length=D:o=null);if((h=A===s)&&T?T=!1:h&&(T=!0),T)s=C,null!==o&&(C?o.length=C:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}var f=S===s;let R;if(s=O,null!==o&&(O?o.length=O:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.placeholder&&"string"!=typeof n.placeholder){const e={instancePath:t+"/"+r+"/placeholder",schemaPath:"#/allOf/0/items/allOf/3/then/properties/placeholder/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}P=f=e===s,R="then"}else{const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.placeholder){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/3/else/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);P=f=e===s,R="else"}if(!P){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/3/if",keyword:"if",params:{failingKeyword:R},message:'must match "'+R+'" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/properties/value/type",keyword:"type",params:{type:n2.allOf[0].items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/allOf/0/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/allOf/0/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/0/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(s2(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?s2.errors:o.concat(s2.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(40))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():n2.allOf[0].items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(m=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var m;if((m=p===s)&&a?(a=!1,l=[l,1]):m&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/allOf/0/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/allOf/0/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const i=s;let a=!0;const l=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var g=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),g){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.allOf[0].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/0/then/properties/type")||"/"!==e.schemaPath[44]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}a=g=e===s}if(!a){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"camunda:executionListener"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var y=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),y){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.type){if("Hidden"!==n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.allOf[1].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/1/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid property type "+JSON.stringify(n&&n.type)+' for binding type "camunda:executionListener"; must be "Hidden"'};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==n.binding){let e=n.binding;const i=s;let a=!1,l=null;const c=s,p=s,u=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.implementationType&&"script"!==e.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(v=c===s)&&(a=!0,l=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.scriptFormat){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",keyword:"required",params:{missingProperty:"scriptFormat"},message:"must have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((v=d===s)&&a)a=!1,l=[l,1];else{v&&(a=!0,l=1);const n=s,i=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);const p=s,u=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.scriptFormat){const e={};null===o?o=[e]:o.push(e),s++}var v;if(u===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(v=n===s)&&a?(a=!1,l=[l,2]):v&&(a=!0,l=2)}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.implementationType){let n=e.implementationType;if("class"!==n&&"delegateExpression"!==n&&"expression"!==n&&"script"!==n){const e={instancePath:t+"/"+r+"/binding/implementationType",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}p=y=e===s}if(!p){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("camunda:property"!==t&&"camunda:outputParameter"!==t&&"camunda:in"!==t&&"camunda:in:businessKey"!==t&&"camunda:out"!==t&&"camunda:errorEventDefinition"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var b=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),b){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.allOf[2].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/2/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Hidden, Dropdown }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}h=b=e===s}if(!h){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=s;let A=!0;const D=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("camunda:inputParameter"!==t&&"camunda:field"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var w=D===s;if(s=m,null!==o&&(m?o.length=m:o=null),w){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.allOf[3].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/3/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Text, Hidden, Dropdown }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}A=w=e===s}if(!A){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.binding){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const i=s;let a=!0;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("property"!==t&&"camunda:property"!==t&&"camunda:inputParameter"!==t&&"camunda:field"!==t){const e={};null===o?o=[e]:o.push(e),s++}}var x=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),x){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/0/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}a=x=n===s}if(!a){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"camunda:outputParameter"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var _=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),_){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/1/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}p=_=n===s}if(!p){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"camunda:in"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var k=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),k){const n=s,i=s;let a=!1;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}var E=l===s;if(a=a||E,!a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.target){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"target"},message:"must have required property 'target'"};null===o?o=[e]:o.push(e),s++}E=n===s;a=a||E}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/2/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires variables, target, or both"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}h=k=n===s}if(!h){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=s;let g=!0;const y=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"camunda:out"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var O=y===s;if(s=m,null!==o&&(m?o.length=m:o=null),O){const n=s,i=s;let a=!1,l=null;const c=s,p=s,u=s,d=s;let h=!1;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}var P=f===s;if(h=h||P,!h){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}P=t===s;h=h||P}if(h)s=d,null!==o&&(d?o.length=d:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(T=c===s)&&(a=!0,l=0);const m=s,y=s,v=s,b=s;let w=!1;const x=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={};null===o?o=[e]:o.push(e),s++}var S=x===s;if(w=w||S,!w){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}S=t===s;w=w||S}if(w)s=b,null!==o&&(b?o.length=b:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(v===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=y,null!==o&&(y?o.length=y:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((T=m===s)&&a)a=!1,l=[l,1];else{T&&(a=!0,l=1);const n=s,i=s,c=s,p=s;let u=!1;const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={};null===o?o=[e]:o.push(e),s++}var C=d===s;if(u=u||C,!u){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}C=t===s;u=u||C}if(u)s=p,null!==o&&(p?o.length=p:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((T=n===s)&&a)a=!1,l=[l,2];else{T&&(a=!0,l=2);const n=s,i=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.sourceExpression){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((T=n===s)&&a)a=!1,l=[l,3];else{T&&(a=!0,l=3);const n=s,i=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}var T;if(c===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(T=n===s)&&a?(a=!1,l=[l,4]):T&&(a=!0,l=4)}}}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/3/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}g=O=n===s}if(!g){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const v=s;let b=!0;const w=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"camunda:errorEventDefinition"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var M=w===s;if(s=v,null!==o&&(v?o.length=v:o=null),M){const n=s,i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.errorRef){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",keyword:"required",params:{missingProperty:"errorRef"},message:"must have required property 'errorRef'"};null===o?o=[e]:o.push(e),s++}if(c===s&&(a=!0,l=0),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/4/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires errorRef"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}b=M=n===s}if(!b){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("property"!==n&&"camunda:property"!==n&&"camunda:inputParameter"!==n&&"camunda:outputParameter"!==n&&"camunda:in"!==n&&"camunda:out"!==n&&"camunda:in:businessKey"!==n&&"camunda:executionListener"!==n&&"camunda:field"!==n&&"camunda:errorEventDefinition"!==n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.properties.binding.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/properties/binding/properties/type")||"/"!==n.schemaPath[50]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid property.binding type "+JSON.stringify(n)+"; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/"+r+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.event&&"string"!=typeof e.event){const e={instancePath:t+"/"+r+"/binding/event",schemaPath:"#/allOf/1/items/properties/binding/properties/event/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.scriptFormat&&"string"!=typeof e.scriptFormat){const e={instancePath:t+"/"+r+"/binding/scriptFormat",schemaPath:"#/allOf/1/items/properties/binding/properties/scriptFormat/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={instancePath:t+"/"+r+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.target&&"string"!=typeof e.target){const e={instancePath:t+"/"+r+"/binding/target",schemaPath:"#/allOf/1/items/properties/binding/properties/target/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.expression&&"boolean"!=typeof e.expression){const e={instancePath:t+"/"+r+"/binding/expression",schemaPath:"#/allOf/1/items/properties/binding/properties/expression/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.variables){let n=e.variables;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("all"!==n&&"local"!==n){const e={instancePath:t+"/"+r+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/enum",keyword:"enum",params:{allowedValues:n2.allOf[1].items.properties.binding.properties.variables.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.sourceExpression&&"string"!=typeof e.sourceExpression){const e={instancePath:t+"/"+r+"/binding/sourceExpression",schemaPath:"#/allOf/1/items/properties/binding/properties/sourceExpression/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={required:function(){return'missing binding for property "'+JSON.stringify(r)+'"'}};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(15))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const a={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():n2.allOf[1].items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t,schemaPath:"#/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return a2.errors=o,0===s}const l2={type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}},{definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},condition:{type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}},{if:{oneOf:[{properties:{type:{enum:["String","Text"]}},required:["type"]},{not:{required:["type"]}}]},then:{properties:{placeholder:{type:"string"}}},else:{not:{required:["placeholder"]}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."}}}};function c2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const g=s;let y=!0;const v=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=v===s;if(s=g,null!==o&&(g?o.length=g:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/items/allOf/0/then")||"/"!==n.schemaPath[20]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}y=a=e===s}if(!y){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const b=s;let w=!0;const x=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!o2(e.property,r2.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=x===s;if(s=b,null!==o&&(b?o.length=b:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}w=l=e===s}if(!w){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={instancePath:t+"/"+r+"/id",schemaPath:"#/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=t2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():i2.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let i=0;i<e;i++){let e=n[i];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:i2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:i2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=t2[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():i2.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const _=s;let k=!0;const E=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){const e=s,t=s;if("Number"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var d=E===s;if(s=_,null!==o&&(_?o.length=_:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:l2.items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}k=d=e===s}if(!k){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!0;const S=s,C=s;let T=!1;const M=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={};null===o?o=[e]:o.push(e),s++}}(h=M===s)&&(T=!0);const A=s,D=s,N=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}var h;if(N===s){const e={};null===o?o=[e]:o.push(e),s++}else s=D,null!==o&&(D?o.length=D:o=null);if((h=A===s)&&T?T=!1:h&&(T=!0),T)s=C,null!==o&&(C?o.length=C:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}var f=S===s;let R;if(s=O,null!==o&&(O?o.length=O:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.placeholder&&"string"!=typeof n.placeholder){const e={instancePath:t+"/"+r+"/placeholder",schemaPath:"#/items/allOf/3/then/properties/placeholder/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}P=f=e===s,R="then"}else{const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.placeholder){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/3/else/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);P=f=e===s,R="else"}if(!P){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/3/if",keyword:"if",params:{failingKeyword:R},message:'must match "'+R+'" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/items/properties/value/type",keyword:"type",params:{type:l2.items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(s2(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?s2.errors:o.concat(s2.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():l2.items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(m=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var m;if((m=p===s)&&a?(a=!1,l=[l,1]):m&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return c2.errors=o,0===s}function p2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"properties"},message:"must have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={instancePath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.version){let n=e.version;if("number"!=typeof n||n%1||isNaN(n)){const e={instancePath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",keyword:"type",params:{type:"integer"},message:"must be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={instancePath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.deprecated){let n=e.deprecated;if("boolean"!=typeof n&&(!n||"object"!=typeof n||Array.isArray(n))){const e={instancePath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",keyword:"type",params:{type:Y1.allOf[0].properties.deprecated.type},message:"must be boolean,object"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!J1.test(e)){const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}}}if(void 0!==e.appliesTo){let n=e.appliesTo;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"==typeof e){if(!e2.test(e)){const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/appliesTo/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/appliesTo/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(36))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const a={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():Y1.allOf[0].properties.appliesTo.items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"==typeof e){if(!e2.test(e)){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType/value"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType/properties/value")&&/^\/[^\/]*$/.test(n.schemaPath.slice(49))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const i={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():Y1.allOf[0].properties.elementType.properties.value.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(r=t2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():Y1.allOf[0].properties.elementType.errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.metadata){let n=e.metadata;if(!n||"object"!=typeof n||Array.isArray(n)){const e={instancePath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={instancePath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"label"},message:"must have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/groups/"+r+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={instancePath:t+"/groups/"+r+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{id:[],label:[]}},n={required:{id:function(){return'missing id for group "'+JSON.stringify(r)+'"'},label:function(){return'missing label for group "'+JSON.stringify(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/groups/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(i=t2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():Y1.allOf[0].properties.groups.items.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={instancePath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!J1.test(n)){const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/documentationRef"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/documentationRef")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const i={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():Y1.allOf[0].properties.documentationRef.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(r=t2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/allOf/0/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():Y1.allOf[0].errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.properties&&(a2(e.properties,{instancePath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?a2.errors:o.concat(a2.errors),s=o.length)),void 0!==e.scopes){let n=e.scopes;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];const k=s;let E=!0;const O=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"bpmn:Error"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var a=O===s;if(s=k,null!==o&&(k?o.length=k:o=null),a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.id){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/scopes/"+r&&(0!==e.instancePath.indexOf(t+"/scopes/"+r)||"/"!==e.instancePath[t+"/scopes/"+r.length])||0!==e.schemaPath.indexOf("#/properties/scopes/items/allOf/0/then")||"/"!==e.schemaPath[38]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid scope "+JSON.stringify(e&&e.type)+", missing id"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}E=a=n===s}if(!E){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/required",keyword:"required",params:{missingProperty:"properties"},message:"must have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("camunda:Connector"!==n&&"bpmn:Error"!==n){const e={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/enum",keyword:"enum",params:{allowedValues:Y1.properties.scopes.items.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/type")||"/"!==n.instancePath[t+"/scopes/"+r+5])||0!==n.schemaPath.indexOf("#/properties/scopes/items/properties/type")||"/"!==n.schemaPath[41]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid scope type "+JSON.stringify(n)+"; must be any of { camunda:Connector, bpmn:Error }"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.properties){let n=e.properties;if(c2(n,{instancePath:t+"/scopes/"+r+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?c2.errors:o.concat(c2.errors),s=o.length),Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];const a=s;let k=!0;const E=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type&&"property"!==t.type){const e={};null===o?o=[e]:o.push(e),s++}}var l=E===s;if(s=a,null!==o&&(a?o.length=a:o=null),l){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Text"!==n&&"Hidden"!==n&&"Dropdown"!==n&&"Boolean"!==n){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:K1.items.allOf[0].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+5])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/0/then/properties/type")||"/"!==n.schemaPath[67]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid property type "+JSON.stringify(n)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}k=l=n===s}if(!k){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!0;const S=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type&&"camunda:executionListener"!==t.type){const e={};null===o?o=[e]:o.push(e),s++}}var c=S===s;if(s=O,null!==o&&(O?o.length=O:o=null),c){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.type){if("Hidden"!==e.type){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:K1.items.allOf[1].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/1/then/properties/type")||"/"!==e.schemaPath[67]||(n.push(e),e.emUsed=!0);if(n.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e&&e.type)+' for binding type "camunda:executionListener"; must be "Hidden"'};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.binding){let n=e.binding;const a=s;let l=!1,c=null;const u=s,d=s,h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.implementationType&&"script"!==n.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(h===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=d,null!==o&&(d?o.length=d:o=null);(p=u===s)&&(l=!0,c=0);const f=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.scriptFormat){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",keyword:"required",params:{missingProperty:"scriptFormat"},message:"must have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((p=f===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const e=s,a=s,u=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);const d=s,h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.scriptFormat){const e={};null===o?o=[e]:o.push(e),s++}var p;if(h===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=d,null!==o&&(d?o.length=d:o=null);(p=e===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.implementationType){let e=n.implementationType;if("class"!==e&&"delegateExpression"!==e&&"expression"!==e&&"script"!==e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/implementationType",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",keyword:"enum",params:{allowedValues:K1.items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}P=c=n===s}if(!P){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const C=s;let T=!0;const M=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type){let e=t.type;if("camunda:property"!==e&&"camunda:outputParameter"!==e&&"camunda:in"!==e&&"camunda:in:businessKey"!==e&&"camunda:out"!==e&&"camunda:errorEventDefinition"!==e){const e={};null===o?o=[e]:o.push(e),s++}}}var u=M===s;if(s=C,null!==o&&(C?o.length=C:o=null),u){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Hidden"!==n&&"Dropdown"!==n){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/enum",keyword:"enum",params:{allowedValues:K1.items.allOf[2].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const a=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/2/then/properties/type")||"/"!==e.schemaPath[67]||(a.push(e),e.emUsed=!0);if(a.length){const l={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:a},message:"invalid property type "+JSON.stringify(n)+" for binding type "+JSON.stringify(e&&e.binding&&e.binding.type)+"; must be any of { String, Hidden, Dropdown }"};null===o?o=[l]:o.push(l),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}T=u=n===s}if(!T){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const A=s;let D=!0;const N=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type){let e=t.type;if("camunda:inputParameter"!==e&&"camunda:field"!==e){const e={};null===o?o=[e]:o.push(e),s++}}}var d=N===s;if(s=A,null!==o&&(A?o.length=A:o=null),d){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Text"!==n&&"Hidden"!==n&&"Dropdown"!==n){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/enum",keyword:"enum",params:{allowedValues:K1.items.allOf[3].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const a=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/3/then/properties/type")||"/"!==e.schemaPath[67]||(a.push(e),e.emUsed=!0);if(a.length){const l={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:a},message:"invalid property type "+JSON.stringify(n)+" for binding type "+JSON.stringify(e&&e.binding&&e.binding.type)+"; must be any of { String, Text, Hidden, Dropdown }"};null===o?o=[l]:o.push(l),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}D=d=n===s}if(!D){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.binding){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.binding){let n=e.binding;const a=s;let l=!0;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("property"!==e&&"camunda:property"!==e&&"camunda:inputParameter"!==e&&"camunda:field"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var h=c===s;if(s=a,null!==o&&(a?o.length=a:o=null),h){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.name){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires name"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}l=h=e===s}if(!l){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const p=s;let u=!0;const d=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"camunda:outputParameter"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var f=d===s;if(s=p,null!==o&&(p?o.length=p:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires source"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}u=f=e===s}if(!u){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const k=s;let E=!0;const O=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"camunda:in"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var m=O===s;if(s=k,null!==o&&(k?o.length=k:o=null),m){const e=s,a=s;let l=!1;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}var g=c===s;if(l=l||g,!l){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.target){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"target"},message:"must have required property 'target'"};null===o?o=[e]:o.push(e),s++}g=e===s;l=l||g}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires variables, target, or both"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}E=m=e===s}if(!E){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const P=s;let S=!0;const C=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"camunda:out"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var y=C===s;if(s=P,null!==o&&(P?o.length=P:o=null),y){const e=s,a=s;let l=!1,c=null;const p=s,u=s,d=s,h=s;let f=!1;const m=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}var v=m===s;if(f=f||v,!f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}v=e===s;f=f||v}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(d===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=u,null!==o&&(u?o.length=u:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(x=p===s)&&(l=!0,c=0);const g=s,_=s,k=s,E=s;let O=!1;const P=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={};null===o?o=[e]:o.push(e),s++}var b=P===s;if(O=O||b,!O){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}b=e===s;O=O||b}if(O)s=E,null!==o&&(E?o.length=E:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(k===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=_,null!==o&&(_?o.length=_:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((x=g===s)&&l)l=!1,c=[c,1];else{x&&(l=!0,c=1);const e=s,a=s,p=s,u=s;let d=!1;const h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={};null===o?o=[e]:o.push(e),s++}var w=h===s;if(d=d||w,!d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}w=e===s;d=d||w}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(p===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((x=e===s)&&l)l=!1,c=[c,2];else{x&&(l=!0,c=2);const e=s,a=s,p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}if(p===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.variables){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.sourceExpression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((x=e===s)&&l)l=!1,c=[c,3];else{x&&(l=!0,c=3);const e=s,a=s,p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}var x;if(p===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.variables){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(x=e===s)&&l?(l=!1,c=[c,4]):x&&(l=!0,c=4)}}}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}S=y=e===s}if(!S){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const T=s;let M=!0;const A=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"camunda:errorEventDefinition"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var _=A===s;if(s=T,null!==o&&(T?o.length=T:o=null),_){const e=s,a=s;let l=!1,c=null;const p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.errorRef){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",keyword:"required",params:{missingProperty:"errorRef"},message:"must have required property 'errorRef'"};null===o?o=[e]:o.push(e),s++}if(p===s&&(l=!0,c=0),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires errorRef"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}M=_=e===s}if(!M){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.type){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type){let e=n.type;if("string"!=typeof e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("property"!==e&&"camunda:property"!==e&&"camunda:inputParameter"!==e&&"camunda:outputParameter"!==e&&"camunda:in"!==e&&"camunda:out"!==e&&"camunda:in:businessKey"!==e&&"camunda:executionListener"!==e&&"camunda:field"!==e&&"camunda:errorEventDefinition"!==e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:K1.items.properties.binding.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+13])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/properties/type")||"/"!==e.schemaPath[73]||(n.push(e),e.emUsed=!0);if(n.length){const a={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid property.binding type "+JSON.stringify(e)+"; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/name",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.event&&"string"!=typeof n.event){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/event",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/event/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.scriptFormat&&"string"!=typeof n.scriptFormat){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/scriptFormat",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/scriptFormat/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.source&&"string"!=typeof n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/source",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.target&&"string"!=typeof n.target){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/target",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/target/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.expression&&"boolean"!=typeof n.expression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/expression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/expression/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.variables){let e=n.variables;if("string"!=typeof e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("all"!==e&&"local"!==e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/enum",keyword:"enum",params:{allowedValues:K1.items.properties.binding.properties.variables.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.sourceExpression&&"string"!=typeof n.sourceExpression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/sourceExpression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/sourceExpression/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={required:function(){return'missing binding for property "'+JSON.stringify(i)+'"'}};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/scopes/"+r+"/properties/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(38))&&(e[n.keyword].push(n),n.emUsed=!0);for(const a in e)if(e[a].length){const l={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:e[a]},message:a in n?n[a]():K1.items.errorMessage[a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}}else{const e={instancePath:t+"/scopes/"+r+"/properties",schemaPath:"#/definitions/properties/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const n={required:{type:[],properties:[]}},i={required:{properties:function(){return"invalid scope "+JSON.stringify(e&&e.type)+", missing properties=[]"}}};let a,l;for(const e of o)"errorMessage"!==e.keyword&&!e.emUsed&&e.instancePath===t+"/scopes/"+r&&e.keyword in n&&0===e.schemaPath.indexOf("#/properties/scopes/items")&&/^\/[^\/]*$/.test(e.schemaPath.slice(25))&&(a=t2[e.keyword],l=n[e.keyword][e.params[a]],l&&(l.push(e),e.emUsed=!0));for(const e in n)for(const a in n[e])if(l=n[e][a],l.length){const n=i[e]&&i[e][a],c={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/errorMessage",keyword:"errorMessage",params:{errors:l},message:n?n():Y1.properties.scopes.items.errorMessage[e][a]};null===o?o=[c]:o.push(c),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={instancePath:t+"/scopes",schemaPath:"#/properties/scopes/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}return p2.errors=o,0===s}function u2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;p2(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(o=null===o?p2.errors:o.concat(p2.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++)p2(e[r],{instancePath:t+"/"+r,parentData:e,parentDataProperty:r,rootData:i})||(o=null===o?p2.errors:o.concat(p2.errors),s=o.length)}else{const e={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}var d;if((d=u===s)&&l?(l=!1,c=[c,1]):d&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return u2.errors=o,0===s}var d2=G1(Q1.exports),h2={},f2={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",'"':'"',"/":"/","\\":"\\"},m2="a".charCodeAt();h2.parse=function(e,t,n){var r={},i=0,o=0,s=0,a=n&&n.bigint&&"undefined"!=typeof BigInt;return{data:l("",!0),pointers:r};function l(t,n){var r;c(),g(t,"value");var i=d();switch(i){case"t":u("rue"),r=!0;break;case"f":u("alse"),r=!1;break;case"n":u("ull"),r=null;break;case'"':r=p();break;case"[":r=function(e){c();var t=[],n=0;if("]"==d())return t;h();for(;;){var r=e+"/"+n;t.push(l(r)),c();var i=d();if("]"==i)break;","!=i&&w(),c(),n++}return t}(t);break;case"{":r=function(e){c();var t={};if("}"==d())return t;h();for(;;){var n=v();'"'!=d()&&w();var r=p(),i=e+"/"+S2(r);y(i,"key",n),g(i,"keyEnd"),c(),":"!=d()&&w(),c(),t[r]=l(i),c();var o=d();if("}"==o)break;","!=o&&w(),c()}return t}(t);break;default:h(),"-0123456789".indexOf(i)>=0?r=function(){var t="",n=!0;"-"==e[s]&&(t+=d());t+="0"==e[s]?d():m(),"."==e[s]&&(t+=d()+m(),n=!1);"e"!=e[s]&&"E"!=e[s]||(t+=d(),"+"!=e[s]&&"-"!=e[s]||(t+=d()),t+=m(),n=!1);var r=+t;return a&&n&&(r>Number.MAX_SAFE_INTEGER||r<Number.MIN_SAFE_INTEGER)?BigInt(t):r}():b()}return g(t,"valueEnd"),c(),n&&s<e.length&&b(),r}function c(){e:for(;s<e.length;){switch(e[s]){case" ":o++;break;case"\t":o+=4;break;case"\r":o=0;break;case"\n":o=0,i++;break;default:break e}s++}}function p(){for(var e,t="";'"'!=(e=d());)"\\"==e?(e=d())in f2?t+=f2[e]:"u"==e?t+=f():w():t+=e;return t}function u(e){for(var t=0;t<e.length;t++)d()!==e[t]&&w()}function d(){x();var t=e[s];return s++,o++,t}function h(){s--,o--}function f(){for(var e=4,t=0;e--;){t<<=4;var n=d().toLowerCase();n>="a"&&n<="f"?t+=n.charCodeAt()-m2+10:n>="0"&&n<="9"?t+=+n:w()}return String.fromCharCode(t)}function m(){for(var t="";e[s]>="0"&&e[s]<="9";)t+=d();if(t.length)return t;x(),b()}function g(e,t){y(e,t,v())}function y(e,t,n){r[e]=r[e]||{},r[e][t]=n}function v(){return{line:i,column:o,pos:s}}function b(){throw new SyntaxError("Unexpected token "+e[s]+" in JSON at position "+s)}function w(){h(),b()}function x(){if(s>=e.length)throw new SyntaxError("Unexpected end of JSON input")}},h2.stringify=function(e,t,n){if(y2(e)){var r,i,o=0,s="object"==typeof n?n.space:n;switch(typeof s){case"number":var a=s>10?10:s<0?0:Math.floor(s);s=a&&v(a," "),r=a,i=a;break;case"string":s=s.slice(0,10),r=0,i=0;for(var l=0;l<s.length;l++){switch(s[l]){case" ":i++;break;case"\t":i+=4;break;case"\r":i=0;break;case"\n":i=0,o++;break;default:throw new Error("whitespace characters not allowed in JSON")}r++}break;default:s=void 0}var c="",p={},u=0,d=0,h=0,f=n&&n.es6&&"function"==typeof Map;return function e(t,n,r){switch(y(r,"value"),typeof t){case"number":case"bigint":case"boolean":m(""+t);break;case"string":m(E2(t));break;case"object":null===t?m("null"):"function"==typeof t.toJSON?m(E2(t.toJSON())):Array.isArray(t)?i():f?t.constructor.BYTES_PER_ELEMENT?i():t instanceof Map?a():t instanceof Set?a(!0):o():o()}function i(){if(t.length){m("[");for(var i=n+1,o=0;o<t.length;o++){o&&m(","),g(i);var s=y2(t[o])?t[o]:null;e(s,i,r+"/"+o)}g(n),m("]")}else m("[]")}function o(){var i=Object.keys(t);if(i.length){m("{");for(var o=n+1,a=0;a<i.length;a++){var l=i[a],c=t[l];if(y2(c)){a&&m(",");var p=r+"/"+S2(l);g(o),y(p,"key"),m(E2(l)),y(p,"keyEnd"),m(":"),s&&m(" "),e(c,o,p)}}g(n),m("}")}else m("{}")}function a(i){if(t.size){m("{");for(var o=n+1,a=!0,l=t.entries(),c=l.next();!c.done;){var p=c.value,u=p[0],d=!!i||p[1];if(y2(d)){a||m(","),a=!1;var h=r+"/"+S2(u);g(o),y(h,"key"),m(E2(u)),y(h,"keyEnd"),m(":"),s&&m(" "),e(d,o,h)}c=l.next()}g(n),m("}")}else m("{}")}y(r,"valueEnd")}(e,0,""),{json:c,pointers:p}}function m(e){d+=e.length,h+=e.length,c+=e}function g(e){if(s){for(c+="\n"+v(e,s),u++,d=0;e--;)o?(u+=o,d=i):d+=i,h+=r;h+=1}}function y(e,t){p[e]=p[e]||{},p[e][t]={line:u,column:d,pos:h}}function v(e,t){return Array(e+1).join(t)}};var g2=["number","bigint","boolean","string","object"];function y2(e){return g2.indexOf(typeof e)>=0}var v2=/"|\\/g,b2=/[\b]/g,w2=/\f/g,x2=/\n/g,_2=/\r/g,k2=/\t/g;function E2(e){return'"'+(e=e.replace(v2,"\\$&").replace(w2,"\\f").replace(b2,"\\b").replace(x2,"\\n").replace(_2,"\\r").replace(k2,"\\t"))+'"'}var O2=/~/g,P2=/\//g;function S2(e){return e.replace(O2,"~0").replace(P2,"~1")}function C2(e,t){const n=function(e){return h2.stringify(e,null,2).pointers}(e),r=t(e);let i=t.errors;return i&&i.length&&(v(i,T2),i=function(e){return y(e,(function(e){return"if"!==e.keyword}))}(i),v(i,(function(e){!function(e,t){const n=e.instancePath,r=t[n];e.dataPointer=r}(e,n)}))),{valid:r,object:e,errors:i}}function T2(e){const t=e.params;t&&t.errors&&(t.rawErrors=t.errors,delete t.errors)}var M2={exports:{}};M2.exports=V2,M2.exports.default=V2;const A2={type:"object",allOf:[{required:["name","id","appliesTo","properties"],properties:{name:{$id:"#/name",type:"string",description:"The name of the element template."},id:{$id:"#/id",type:"string",description:"The identifier of the element template."},description:{$id:"#/description",type:"string",description:"The description of the element template."},version:{$id:"#/version",type:"integer",description:"Optional version of the template. If you add a version to a template it will be considered unique based on its ID and version. Two templates can have the same ID if their version is different."},isDefault:{$id:"#/isDefault",type:"boolean",description:"Indicates whether the element template is a default template."},deprecated:{$id:"#/deprecated",type:["boolean","object"],description:"Indicates whether the element template is deprecated.",properties:{message:{$id:"#/deprecated/message",type:"string",description:"Optional message to describe migration path."},documentationRef:{$id:"#/deprecated/documentationRef",type:"string",pattern:"^(https|http)://.*",description:"Optional link to migration documentation."}}},appliesTo:{$id:"#/appliesTo",type:"array",description:"List of BPMN types the template can be applied to.",default:[],items:{$id:"#/appliesTo/items",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:Task","bpmn:ServiceTask","bpmn:SequenceFlow","bpmn:Process","bpmn:StartEvent","bpmn:Gateway"]}],errorMessage:{pattern:'invalid item for "appliesTo", should contain namespaced property, example: "bpmn:Task"'}}},elementType:{$id:"#/elementType",type:"object",description:"The BPMN type the element will be transformed into.",default:{},required:["value"],properties:{value:{$id:"#/elementType/value",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:ServiceTask","bpmn:UserTask","bpmn:StartEvent","bpmn:ExclusiveGateway","bpmn:ParallelGateway"]}],errorMessage:{pattern:'invalid item for "elementType", should contain namespaced property, example: "bpmn:Task"'}}},errorMessage:{required:{value:"missing elementType value"}}},metadata:{$id:"#/metadata",type:"object",description:"Some custom properties for further configuration.",default:{}},entriesVisible:{$id:"#/entriesVisible",type:"boolean",description:"Select whether non-template entries are visible in the properties panel."},groups:{$id:"#/groups",type:"array",description:"Custom fields can be ordered together via groups.",allOf:[{examples:[[{id:"group-1",label:"My Group"}]]}],items:{$id:"#/groups/group",type:"object",default:{},required:["id","label"],properties:{id:{$id:"#/groups/group/id",type:"string",description:"The id of the custom group"},label:{$id:"#/groups/group/label",type:"string",description:"The label of the custom group"}},errorMessage:{required:{id:'missing id for group "${0#}"',label:'missing label for group "${0#}"'}}}},documentationRef:{$id:"#/documentationRef",type:"string",pattern:"^(https|http)://.*",errorMessage:{pattern:'Malformed documentation URL, must match "^(https|http)://.*"'}}},errorMessage:{required:{name:"missing template name",id:"missing template id",appliesTo:"missing appliesTo=[]",properties:"missing properties=[]"}}},{allOf:[{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"bpmn:Message#property"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{enum:["bpmn:ReceiveTask","bpmn:SendTask","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},allOf:[{if:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}}},then:{eventDefinition:{const:"bpmn:MessageEventDefinition"},required:["eventDefinition"]}}]}}}},{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"bpmn:Message#zeebe:subscription#property"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{enum:["bpmn:ReceiveTask","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},allOf:[{if:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}}},then:{eventDefinition:{const:"bpmn:MessageEventDefinition"},required:["eventDefinition"]}}]}}}},{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"zeebe:calledElement"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{anyOf:[{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{const:"bpmn:CallActivity"}}}}},{required:["appliesTo"],properties:{appliesTo:{const:["bpmn:CallActivity"]}}}]}}]}],properties:{properties:{$ref:"#/definitions/properties",$id:"#/properties"},icon:{$id:"#/icon",type:"object",description:"Custom icon to be shown on the element",default:{},properties:{contents:{$id:"#/icon/contents",type:"string",description:"The URL of an icon.",pattern:"^(https?|data):.*",errorMessage:{pattern:"Malformed icon source, must be a valid HTTP(s) or data URL"}}},required:["contents"],errorMessage:{required:{contents:"missing icon contents"}}},elementType:{allOf:[{allOf:[{properties:{eventDefinition:{$id:"#/elementType/eventDefinition",enum:["bpmn:MessageEventDefinition"]}}},{if:{required:["eventDefinition"]},then:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},required:["value"]}}]}]},groups:{items:{properties:{tooltip:{$id:"#/groups/group/tooltip",type:"string"},openByDefault:{$id:"#/groups/group/openByDefault",type:"boolean",description:"Specifies whether the Group should be opened when first viewed. Defaults to true.",default:!0}}}}}},D2=new RegExp("^(https|http)://.*","u"),N2=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),R2=new RegExp("^(https?|data):.*","u"),j2={required:"missingProperty",dependencies:"property",dependentRequired:"property"},I2=Z1.default,L2={allOf:[{type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}},{definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},condition:{type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}},{if:{oneOf:[{properties:{type:{enum:["String","Text"]}},required:["type"]},{not:{required:["type"]}}]},then:{properties:{placeholder:{type:"string"}}},else:{not:{required:["placeholder"]}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."}}}},{$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean","Number"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }'}}}},{if:{properties:{binding:{properties:{type:{enum:["zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader","zeebe:taskDefinition:type","bpmn:Message#property","bpmn:Message#zeebe:subscription#property","zeebe:taskDefinition","zeebe:calledElement"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean","Number"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }"}}}},{if:{properties:{optional:{const:!0}},required:["optional"]},then:{properties:{binding:{properties:{type:{enum:["zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader"],errorMessage:"optional is not supported for binding type ${0}; must be any of { zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader }"}},required:["type"]}}}},{if:{properties:{optional:{const:!0}},required:["optional"]},then:{properties:{constraints:{properties:{notEmpty:{const:!1,errorMessage:'optional is not allowed for truthy "notEmpty" constraint'}},required:["notEmpty"]}}}},{if:{properties:{feel:{not:{const:null}}},required:["feel"]},then:{properties:{type:{enum:["String","Text","Number","Boolean"],errorMessage:'feel is only supported for "String", "Text", "Number" and "Boolean" type'}},required:["type"]}},{if:{properties:{language:{not:{const:null}}},required:["language"]},then:{properties:{type:{enum:["Text"],errorMessage:'language is only supported for "Text" type'}}}},{if:{required:["value"]},then:{not:{required:["generatedValue"]}}},{if:{properties:{type:{enum:["Boolean","Dropdown"]}},required:["type"]},then:{not:{required:["generatedValue"]}}},{if:{properties:{type:{enum:["String","Text"]}},required:["feel"]},then:{properties:{feel:{enum:["optional","required"]}}}},{if:{properties:{feel:{const:"required"}},required:["feel"]},then:{properties:{value:{type:"string"}}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Zeebe extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","zeebe:property","zeebe:input","bpmn:Message#property","bpmn:Message#zeebe:subscription#property"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"zeebe:output"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"zeebe:taskHeader"}},required:["type"]},then:{required:["key"],errorMessage:"property.binding ${0/type} requires key"}},{if:{properties:{type:{const:"zeebe:taskDefinition"}},required:["type"]},then:{properties:{property:{enum:["type","retries"]}},required:["property"]}},{if:{properties:{type:{const:"zeebe:taskDefinition:type"}},required:["type"]},then:{deprecated:!0}},{if:{properties:{type:{const:"zeebe:calledElement"}},required:["type"]},then:{properties:{property:{const:"processId"}},required:["property"]}},{examples:[{type:"property",name:"name"},{type:"zeebe:input",name:"input"},{type:"zeebe:output",source:"output"},{type:"zeebe:property",name:"property"},{type:"zeebe:taskHeader",key:"key"},{type:"zeebe:taskDefinition",property:"retries"},{type:"zeebe:taskDefinition",property:"type"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",description:"The type of a property binding.",enum:["property","zeebe:taskDefinition:type","zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader","bpmn:Message#property","bpmn:Message#zeebe:subscription#property","zeebe:taskDefinition","zeebe:calledElement"],errorMessage:"invalid property.binding type ${0}; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (zeebe:output)."},key:{$id:"#/properties/property/binding/key",type:"string",description:"The key value of a property binding (zeebe:taskHeader)."},property:{$id:"#/properties/property/binding/property",type:"string",description:"The name of the property defined in the binding."}}},optional:{$id:"#/optional",type:"boolean",description:"Indicates whether a property is optional. Optional bindings do not persist empty values in the underlying BPMN 2.0 XML."},feel:{$id:"#/properties/property/feel",type:"string",description:"Indicates whether the property can be a feel expression",enum:["optional","required","static"]},language:{$id:"#/properties/property/language",type:"string",description:"Indicates that the field is a custom language editor"},generatedValue:{$id:"#/properties/property/generatedValue",type:"object",required:["type"],properties:{type:{const:"uuid"}},description:"Sets property to a generated value according to given scheme."},tooltip:{$id:"#/properties/property/tooltip",type:"string",description:"Hints for the control field."}},errorMessage:{required:{binding:'missing binding for property "${0#}"'}}}}]},B2={required:["property"],properties:{property:{const:{$data:"2/id"}}}},z2={type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}};function $2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const a=s;let l=!1,c=null;const p=s,u=s;let d=!1,h=null;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:z2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=f===s)&&(d=!0,h=0);const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:z2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((g=m===s)&&d)d=!1,h=[h,1];else{g&&(d=!0,h=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var g;(g=n===s)&&d?(d=!1,h=[h,2]):g&&(d=!0,h=2)}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(r=j2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():z2.errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}(b=p===s)&&(l=!0,c=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={instancePath:t,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let r=0;r<e;r++){let e=n[r];const i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:z2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(v=c===s)&&(a=!0,l=0);const p=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/allMatch/"+r+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:z2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((v=p===s)&&a)a=!1,l=[l,1];else{v&&(a=!0,l=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var v;(v=n===s)&&a?(a=!1,l=[l,2]):v&&(a=!0,l=2)}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=j2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():z2.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}var b;if((b=y===s)&&l?(l=!1,c=[c,1]):b&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return $2.errors=o,0===s}function q2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const g=s;let y=!0;const v=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=v===s;if(s=g,null!==o&&(g?o.length=g:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}y=a=e===s}if(!y){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const b=s;let w=!0;const x=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!I2(e.property,B2.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=x===s;if(s=b,null!==o&&(b?o.length=b:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[36]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}w=l=e===s}if(!w){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={instancePath:t+"/"+r+"/id",schemaPath:"#/allOf/0/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:z2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:z2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=j2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():z2.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let i=0;i<e;i++){let e=n[i];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:z2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:z2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=j2[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():z2.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const _=s;let k=!0;const E=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){const e=s,t=s;if("Number"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var d=E===s;if(s=_,null!==o&&(_?o.length=_:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:L2.allOf[0].items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}k=d=e===s}if(!k){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!0;const S=s,C=s;let T=!1;const M=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={};null===o?o=[e]:o.push(e),s++}}(h=M===s)&&(T=!0);const A=s,D=s,N=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}var h;if(N===s){const e={};null===o?o=[e]:o.push(e),s++}else s=D,null!==o&&(D?o.length=D:o=null);if((h=A===s)&&T?T=!1:h&&(T=!0),T)s=C,null!==o&&(C?o.length=C:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}var f=S===s;let R;if(s=O,null!==o&&(O?o.length=O:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.placeholder&&"string"!=typeof n.placeholder){const e={instancePath:t+"/"+r+"/placeholder",schemaPath:"#/allOf/0/items/allOf/3/then/properties/placeholder/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}P=f=e===s,R="then"}else{const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.placeholder){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/3/else/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);P=f=e===s,R="else"}if(!P){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/3/if",keyword:"if",params:{failingKeyword:R},message:'must match "'+R+'" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/properties/value/type",keyword:"type",params:{type:L2.allOf[0].items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/allOf/0/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/allOf/0/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/0/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&($2(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?$2.errors:o.concat($2.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(40))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():L2.allOf[0].items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(m=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var m;if((m=p===s)&&a?(a=!1,l=[l,1]):m&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/allOf/0/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/allOf/0/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const i=s;let a=!0;const l=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var g=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),g){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e&&"Number"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[0].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/0/then/properties/type")||"/"!==e.schemaPath[44]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }'};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}a=g=e===s}if(!a){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("zeebe:input"!==t&&"zeebe:output"!==t&&"zeebe:property"!==t&&"zeebe:taskHeader"!==t&&"zeebe:taskDefinition:type"!==t&&"bpmn:Message#property"!==t&&"bpmn:Message#zeebe:subscription#property"!==t&&"zeebe:taskDefinition"!==t&&"zeebe:calledElement"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var y=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),y){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e&&"Number"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[1].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/1/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}p=y=e===s}if(!p){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.optional){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.optional&&!0!==n.optional){const e={};null===o?o=[e]:o.push(e),s++}var v=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),v){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("zeebe:input"!==n&&"zeebe:output"!==n&&"zeebe:property"!==n&&"zeebe:taskHeader"!==n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[2].then.properties.binding.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/2/then/properties/binding/properties/type")||"/"!==n.schemaPath[63]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"optional is not supported for binding type "+JSON.stringify(n)+"; must be any of { zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader }"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}}h=v=e===s}if(!h){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=s;let A=!0;const D=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.optional){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.optional&&!0!==n.optional){const e={};null===o?o=[e]:o.push(e),s++}var b=D===s;if(s=m,null!==o&&(m?o.length=m:o=null),b){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.notEmpty){const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/required",keyword:"required",params:{missingProperty:"notEmpty"},message:"must have required property 'notEmpty'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.notEmpty){if(!1!==e.notEmpty){const e={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/const",keyword:"const",params:{allowedValue:!1},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/constraints/notEmpty"&&(0!==n.instancePath.indexOf(t+"/"+r+"/constraints/notEmpty")||"/"!==n.instancePath[t+"/"+r+21])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty")||"/"!==n.schemaPath[71]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/errorMessage",keyword:"errorMessage",params:{errors:e},message:'optional is not allowed for truthy "notEmpty" constraint'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}}}A=b=e===s}if(!A){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const N=s;let R=!0;const j=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.feel){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.feel){const e=s,t=s;if(null!==n.feel){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var w=j===s;if(s=N,null!==o&&(N?o.length=N:o=null),w){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.type){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/4/then/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Number"!==e&&"Boolean"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[4].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/4/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:'feel is only supported for "String", "Text", "Number" and "Boolean" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}}R=w=e===s}if(!R){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const I=s;let L=!0;const B=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.language){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.language){const e=s,t=s;if(null!==n.language){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var x=B===s;if(s=I,null!==o&&(I?o.length=I:o=null),x){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){if("Text"!==n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[5].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/5/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:'language is only supported for "Text" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}L=x=e===s}if(!L){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/5/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const z=s;let $=!0;const q=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.value){const e={};null===o?o=[e]:o.push(e),s++}var _=q===s;if(s=z,null!==o&&(z?o.length=z:o=null),_){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.generatedValue){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/6/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);$=_=e===s}if(!$){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/6/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const F=s;let V=!0;const H=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("Boolean"!==e&&"Dropdown"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var k=H===s;if(s=F,null!==o&&(F?o.length=F:o=null),k){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.generatedValue){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/7/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);V=k=e===s}if(!V){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/7/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const U=s;let W=!0;const G=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.feel){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var E=G===s;if(s=U,null!==o&&(U?o.length=U:o=null),E){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.feel){let e=n.feel;if("optional"!==e&&"required"!==e){const e={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/allOf/8/then/properties/feel/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.allOf[8].then.properties.feel.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}W=E=e===s}if(!W){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/8/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const Q=s;let Z=!0;const X=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.feel){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.feel&&"required"!==n.feel){const e={};null===o?o=[e]:o.push(e),s++}var O=X===s;if(s=Q,null!==o&&(Q?o.length=Q:o=null),O){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/1/items/allOf/9/then/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}Z=O=e===s}if(!Z){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/9/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.binding){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const i=s;let a=!0;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("property"!==t&&"zeebe:property"!==t&&"zeebe:input"!==t&&"bpmn:Message#property"!==t&&"bpmn:Message#zeebe:subscription#property"!==t){const e={};null===o?o=[e]:o.push(e),s++}}var P=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),P){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/0/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}a=P=n===s}if(!a){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"zeebe:output"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var S=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),S){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/1/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}p=S=n===s}if(!p){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"zeebe:taskHeader"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var C=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),C){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.key){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/required",keyword:"required",params:{missingProperty:"key"},message:"must have required property 'key'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/2/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires key"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}h=C=n===s}if(!h){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=s;let g=!0;const y=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"zeebe:taskDefinition"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var T=y===s;if(s=m,null!==o&&(m?o.length=m:o=null),T){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property){let n=e.property;if("type"!==n&&"retries"!==n){const e={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/properties/property/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.properties.binding.allOf[3].then.properties.property.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}g=T=n===s}if(!g){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const v=s;let b=!0;const w=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"zeebe:calledElement"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var M=w===s;if(s=v,null!==o&&(v?o.length=v:o=null),M){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/then/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"processId"!==e.property){const e={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/then/properties/property/const",keyword:"const",params:{allowedValue:"processId"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}b=M=n===s}if(!b){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("property"!==n&&"zeebe:taskDefinition:type"!==n&&"zeebe:input"!==n&&"zeebe:output"!==n&&"zeebe:property"!==n&&"zeebe:taskHeader"!==n&&"bpmn:Message#property"!==n&&"bpmn:Message#zeebe:subscription#property"!==n&&"zeebe:taskDefinition"!==n&&"zeebe:calledElement"!==n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.properties.binding.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/properties/binding/properties/type")||"/"!==n.schemaPath[50]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid property.binding type "+JSON.stringify(n)+"; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property }"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/"+r+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={instancePath:t+"/"+r+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.key&&"string"!=typeof e.key){const e={instancePath:t+"/"+r+"/binding/key",schemaPath:"#/allOf/1/items/properties/binding/properties/key/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.optional&&"boolean"!=typeof n.optional){const e={instancePath:t+"/"+r+"/optional",schemaPath:"#/allOf/1/items/properties/optional/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.feel){let e=n.feel;if("string"!=typeof e){const e={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/properties/feel/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("optional"!==e&&"required"!==e&&"static"!==e){const e={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/properties/feel/enum",keyword:"enum",params:{allowedValues:L2.allOf[1].items.properties.feel.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.language&&"string"!=typeof n.language){const e={instancePath:t+"/"+r+"/language",schemaPath:"#/allOf/1/items/properties/language/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.generatedValue){let e=n.generatedValue;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={instancePath:t+"/"+r+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"uuid"!==e.type){const e={instancePath:t+"/"+r+"/generatedValue/type",schemaPath:"#/allOf/1/items/properties/generatedValue/properties/type/const",keyword:"const",params:{allowedValue:"uuid"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.tooltip&&"string"!=typeof n.tooltip){const e={instancePath:t+"/"+r+"/tooltip",schemaPath:"#/allOf/1/items/properties/tooltip/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{binding:[]}},n={required:{binding:function(){return'missing binding for property "'+JSON.stringify(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(15))&&(i=j2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():L2.allOf[1].items.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={instancePath:t,schemaPath:"#/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return q2.errors=o,0===s}function F2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"properties"},message:"must have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={instancePath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.version){let n=e.version;if("number"!=typeof n||n%1||isNaN(n)){const e={instancePath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",keyword:"type",params:{type:"integer"},message:"must be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={instancePath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.deprecated){let n=e.deprecated;if("boolean"!=typeof n&&(!n||"object"!=typeof n||Array.isArray(n))){const e={instancePath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",keyword:"type",params:{type:A2.allOf[0].properties.deprecated.type},message:"must be boolean,object"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!D2.test(e)){const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}}}if(void 0!==e.appliesTo){let n=e.appliesTo;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"==typeof e){if(!N2.test(e)){const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/appliesTo/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/appliesTo/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(36))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const a={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():A2.allOf[0].properties.appliesTo.items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"==typeof e){if(!N2.test(e)){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType/value"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType/properties/value")&&/^\/[^\/]*$/.test(n.schemaPath.slice(49))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const i={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():A2.allOf[0].properties.elementType.properties.value.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(r=j2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():A2.allOf[0].properties.elementType.errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.metadata){let n=e.metadata;if(!n||"object"!=typeof n||Array.isArray(n)){const e={instancePath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={instancePath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"label"},message:"must have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/groups/"+r+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={instancePath:t+"/groups/"+r+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{id:[],label:[]}},n={required:{id:function(){return'missing id for group "'+JSON.stringify(r)+'"'},label:function(){return'missing label for group "'+JSON.stringify(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/groups/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(i=j2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():A2.allOf[0].properties.groups.items.errorMessage[i][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={instancePath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!D2.test(n)){const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/documentationRef"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/documentationRef")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const i={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():A2.allOf[0].properties.documentationRef.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(r=j2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/allOf/0/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():A2.allOf[0].errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}const a=s;let l=!0;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.properties){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.properties){let t=e.properties;if(Array.isArray(t)){const e=s,n=t.length;for(let e=0;e<n;e++){let n=t[e];const r=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"bpmn:Message#property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var p=r===s;if(p)break}if(p)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var u=c===s;if(s=a,null!==o&&(a?o.length=a:o=null),u){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/0/then/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const r=s;let i=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var d=a===s;if(s=r,null!==o&&(r?o.length=r:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/then/required",keyword:"required",params:{missingProperty:"eventDefinition"},message:"must have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}i=d=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:ReceiveTask"!==e&&"bpmn:SendTask"!==e&&"bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/properties/value/enum",keyword:"enum",params:{allowedValues:A2.allOf[1].allOf[0].then.properties.elementType.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}l=u=n===s}if(!l){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const h=s;let f=!0;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.properties){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.properties){let t=e.properties;if(Array.isArray(t)){const e=s,n=t.length;for(let e=0;e<n;e++){let n=t[e];const r=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"bpmn:Message#zeebe:subscription#property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var g=r===s;if(g)break}if(g)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var y=m===s;if(s=h,null!==o&&(h?o.length=h:o=null),y){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/1/then/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const r=s;let i=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var v=a===s;if(s=r,null!==o&&(r?o.length=r:o=null),v){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/then/required",keyword:"required",params:{missingProperty:"eventDefinition"},message:"must have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}i=v=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:ReceiveTask"!==e&&"bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/properties/value/enum",keyword:"enum",params:{allowedValues:A2.allOf[1].allOf[1].then.properties.elementType.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}f=y=n===s}if(!f){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const b=s;let w=!0;const x=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.properties){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.properties){let t=e.properties;if(Array.isArray(t)){const e=s,n=t.length;for(let e=0;e<n;e++){let n=t[e];const r=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"zeebe:calledElement"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var _=r===s;if(_)break}if(_)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var k=x===s;if(s=b,null!==o&&(b?o.length=b:o=null),k){const n=s,r=s;let i=!1;const a=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"bpmn:CallActivity"!==n.value){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/properties/elementType/properties/value/const",keyword:"const",params:{allowedValue:"bpmn:CallActivity"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}}}var E=a===s;if(i=i||E,!i){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.appliesTo&&!I2(e.appliesTo,A2.allOf[1].allOf[2].then.anyOf[1].properties.appliesTo.const)){const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/1/allOf/2/then/anyOf/1/properties/appliesTo/const",keyword:"const",params:{allowedValue:A2.allOf[1].allOf[2].then.anyOf[1].properties.appliesTo.const},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}E=n===s;i=i||E}if(i)s=r,null!==o&&(r?o.length=r:o=null);else{const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};null===o?o=[e]:o.push(e),s++}w=k=n===s}if(!w){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.properties&&(q2(e.properties,{instancePath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?q2.errors:o.concat(q2.errors),s=o.length)),void 0!==e.icon){let n=e.icon;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.contents){const e={instancePath:t+"/icon",schemaPath:"#/properties/icon/required",keyword:"required",params:{missingProperty:"contents"},message:"must have required property 'contents'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.contents){let e=n.contents;if("string"==typeof e){if(!R2.test(e)){const e={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/pattern",keyword:"pattern",params:{pattern:"^(https?|data):.*"},message:'must match pattern "^(https?|data):.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/icon/contents"&&n.keyword in e&&0===n.schemaPath.indexOf("#/properties/icon/properties/contents")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const i={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():A2.properties.icon.properties.contents.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/icon",schemaPath:"#/properties/icon/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{contents:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/icon"&&n.keyword in e&&0===n.schemaPath.indexOf("#/properties/icon")&&/^\/[^\/]*$/.test(n.schemaPath.slice(17))&&(r=j2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/icon",schemaPath:"#/properties/icon/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():A2.properties.icon.errorMessage[r][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.eventDefinition&&"bpmn:MessageEventDefinition"!==n.eventDefinition){const e={instancePath:t+"/elementType/eventDefinition",schemaPath:"#/properties/elementType/allOf/0/allOf/0/properties/eventDefinition/enum",keyword:"enum",params:{allowedValues:A2.properties.elementType.allOf[0].allOf[0].properties.eventDefinition.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}const r=s;let i=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={};null===o?o=[e]:o.push(e),s++}var O=a===s;if(s=r,null!==o&&(r?o.length=r:o=null),O){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={instancePath:t+"/elementType/value",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/properties/value/enum",keyword:"enum",params:{allowedValues:A2.properties.elementType.allOf[0].allOf[1].then.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}i=O=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.tooltip&&"string"!=typeof e.tooltip){const e={instancePath:t+"/groups/"+r+"/tooltip",schemaPath:"#/properties/groups/items/properties/tooltip/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.openByDefault&&"boolean"!=typeof e.openByDefault){const e={instancePath:t+"/groups/"+r+"/openByDefault",schemaPath:"#/properties/groups/items/properties/openByDefault/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}}}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}return F2.errors=o,0===s}function V2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;F2(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(o=null===o?F2.errors:o.concat(F2.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++)F2(e[r],{instancePath:t+"/"+r,parentData:e,parentDataProperty:r,rootData:i})||(o=null===o?F2.errors:o.concat(F2.errors),s=o.length)}else{const e={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}var d;if((d=u===s)&&l?(l=!1,c=[c,1]):d&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return V2.errors=o,0===s}var H2=G1(M2.exports);function U2(e){this.cache=e}U2.prototype.resolveRule=function(e,t){return this.resolve("rule",e,t)},U2.prototype.resolveConfig=function(e,t){return this.resolve("config",e,t)},U2.prototype.resolve=function(e,t,n){const r=`${t}/${n}`,i=this.cache[`${e}:${r}`];if(!i)throw new Error(`unknown ${e} <${r}>`);return i};const W2="zeebe:modelerTemplate";function G2(e){const t=Si(e);if(t)return t.get(W2)}function Q2(e){const t=Si(e);if(t)return t.get("zeebe:modelerTemplateVersion")}function Z2(e,t){const n=Si(e);let r;if(r=Oi(n,"bpmn:ExtensionElements")?n:n.get("extensionElements"),r)return r.get("values").find((e=>Oi(e,t)))}function X2(e,t){return e.get("properties").find((e=>e.name===t.name))}function Y2(e,t){return e.get("inputParameters").find((e=>e.target===t.name))}function K2(e,t){return e.get("outputParameters").find((e=>e.source===t.source))}function J2(e,t){return e.get("values").find((e=>e.key===t.key))}function e3(e){if(Oi(e,"bpmn:Event")){const t=e.get("eventDefinitions");if(!t||!t.length)return;e=t[0]}if(e)return e.get("messageRef")}function t3(e){if(void 0!==e.value)return e.value;if(e.generatedValue){const{type:t}=e.generatedValue;if("uuid"===t)return H1()}}const n3="camunda:modelerTemplate";function r3(e){const t=Si(e);if(t)return t.get(n3)}let i3=class{constructor(e,t,n,r){this._commandStack=e,this._eventBus=t,this._injector=r,this._modeling=n,this._templates={}}get(e,t){const n=this._templates;let r;return s(e)?null:h(e)?(s(t)&&(t="_"),n[e]&&n[e][t]?n[e][t]:null):(r=e,this.get(this._getTemplateId(r),this._getTemplateVersion(r)))}getDefault(e){return m(this.getAll(e),(function(e){return e.isDefault}))||null}getAll(e){return this._getTemplateVerions(e,{includeDeprecated:!0})}getLatest(e,t={}){return this._getTemplateVerions(e,{...t,latest:!0})}set(e){this._templates={},e.forEach((e=>{const t=e.id,n=s(e.version)?"_":e.version;this._templates[t]||(this._templates[t]={latest:e}),this._templates[t][n]=e;const r=this._templates[t].latest.version;(s(r)||e.version>r)&&(this._templates[t].latest=e)}))}_getTemplateVerions(e,t={}){const{latest:n,deprecated:i}=t,o=this._templates,s=e=>{const{latest:t,...r}=e;return n?!i&&t.deprecated?[]:[t]:O(r)};if(l(e))return r(O(o).map(s));if(p(e)){const n=e;return y(this._getTemplateVerions(null,t),(function(e){return Pi(n,e.appliesTo)}))||[]}if(h(e))return o[e]&&s(o[e]);throw new Error("argument must be of type {string|djs.model.Base|undefined}")}_getTemplateId(e){return r3(e)}_getTemplateVersion(e){return function(e){const t=Si(e);if(t)return t.get("camunda:modelerTemplateVersion")}(e)}applyTemplate(e,t){let n="apply",r={element:e,newTemplate:t};const i=this.get(e);i&&!t&&(n="unlink",r={element:e}),t&&i&&t.id===i.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:i};return this._commandStack.execute("propertiesPanel.camunda.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,r),o.element}removeTemplate(e){this._injector.get("eventBus").fire("elementTemplates.remove",{element:e});const t={element:e};return this._commandStack.execute("propertiesPanel.removeTemplate",t),t.newElement}unlinkTemplate(e){return this.applyTemplate(e,null)}};i3.$inject=["commandStack","eventBus","modeling","injector"];class o3 extends i3{constructor(e,t,n,r,i){super(t,n,r,i),this._templateElementFactory=e}_getTemplateId(e){return G2(e)}_getTemplateVersion(e){return Q2(e)}createElement(e){if(!e)throw new Error("template is missing");return this._templateElementFactory.create(e)}applyTemplate(e,t){let n="apply",r={element:e,newTemplate:t};const i=this.get(e);i&&!t&&(n="unlink",r={element:e}),t&&i&&t.id===i.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:i};return this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,r),o.element}}o3.$inject=["templateElementFactory","commandStack","eventBus","modeling","injector"];const s3="0.18.0",a3=["bpmn:Activity","bpmn:Event","bpmn:Gateway"];let l3=class{constructor(e){this._templatesById={},this._validTemplates=[],this._errors=[],this._moddle=e}addAll(e){return c(e)?e.forEach(this.add,this):this._logError("templates must be []"),this}add(e){let t,n;return this._validateTemplate(e)||(t=e.id,n=e.version||"_",this._templatesById[t]||(this._templatesById[t]={}),this._templatesById[t][n]=e,this._validTemplates.push(e)),this}_validateTemplate(e){let t;const n=e.id,r=e.version||"_",i=e.$schema&&c3(e.$schema);if(i&&W1(s3,i)<0)return this._logError(`unsupported element template schema version <${i}>. Your installation only supports up to version <${s3}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][r])return"_"===r?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${r}> already used`,e);const o=this._validateElementType(e);if(o)return o;const s=C2(e,d2);const{errors:a,valid:l}=s;return l||(t=new Error("invalid template"),p3(a).forEach((t=>{this._logError(t.message,e)}))),t}_validateElementType(e){if(e.elementType&&e.appliesTo){const t=e.elementType.value,n=e.appliesTo;if(!n.find((e=>this._isType(t,e))))return this._logError(`template does not apply to requested element type <${t}>`,e);for(const r of n)if(!this._canMorph(r,t))return this._logError(`can not morph <${r}> into <${t}>`,e)}}_isType(e,t){const n=this._moddle.getType(e);return n&&t in this._moddle.getElementDescriptor(n).allTypesByName}_canMorph(e,t){if(e===t)return!0;const n=a3.find((t=>this._isType(e,t)));return!!n&&this._isType(t,n)}_logError(e,t){if(h(e)){if(t){const{id:n,name:r}=t;e=`template(id: <${n}>, name: <${r}>): ${e}`}e=new Error(e)}return this._errors.push(e),e}getErrors(){return this._errors}getValidTemplates(){return this._validTemplates}};function c3(e){const t=e.match(/\d+\.\d+\.\d+/g);return null===t?void 0:t[0]}function p3(e){return y(e,(e=>{const{instancePath:t,keyword:n}=e;return"errorMessage"===n||!("type"!==n||!t||t.startsWith("/scopes/"))}))}const u3="0.20.0";class d3 extends l3{constructor(e){super(e)}_validateTemplate(e){let t;const n=e.id,r=e.version||"_",i=e.$schema,o=i&&c3(i);if(!i)return this._logError("missing $schema attribute.",e);if(!this.isSchemaValid(i))return this._logError(`unsupported $schema attribute <${i}>.`,e);if(o&&W1(u3,o)<0)return this._logError(`unsupported element template schema version <${o}>. Your installation only supports up to version <${u3}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][r])return"_"===r?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${r}> already used`,e);const s=this._validateElementType(e);if(s)return s;const a=C2(e,H2);const{errors:l,valid:c}=a;return c||(t=new Error("invalid template"),p3(l).forEach((t=>{this._logError(t.message,e)}))),t}isSchemaValid(e){return e&&e.includes("@camunda/zeebe-element-templates-json-schema")}}let h3=class{constructor(e,t,n,r){this._loadTemplates=e,this._eventBus=t,this._elementTemplates=n,this._moddle=r,t.on("diagram.init",(()=>{this.reload()}))}reload(){const e=this._loadTemplates;if(!s(e))return d(e)?e(((e,t)=>{if(e)return this.templateErrors([e]);this.setTemplates(t)})):e.length?this.setTemplates(e):void 0}setTemplates(e){const t=this._elementTemplates,n=this._moddle,r=new l3(n).addAll(e),i=r.getErrors(),o=r.getValidTemplates();t.set(o),i.length&&this.templateErrors(i),this.templatesChanged()}templatesChanged(){this._eventBus.fire("elementTemplates.changed")}templateErrors(e){this._eventBus.fire("elementTemplates.errors",{errors:e})}};h3.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];class f3 extends h3{constructor(e,t,n,r){super(e,t,n,r),this._elementTemplates=n}setTemplates(e){const t=this._elementTemplates,n=this._moddle,r=new d3(n).addAll(e),i=r.getErrors(),o=r.getValidTemplates();t.set(o),i.length&&this.templateErrors(i),this.templatesChanged()}}function m3(e,t,n,r){const i=r.create(e,t);return n&&(i.$parent=n),i}function g3(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function y3(e,t){return function(e,t){return(e||[]).filter((e=>Oi(e,t)))}(g3(e).get("rootElements"),t)}function v3(e,t,n){const{name:r}=e;return n.create("zeebe:Input",{source:t,target:r})}function b3(e,t,n){const{source:r}=e;return n.create("zeebe:Output",{source:r,target:t})}function w3(e,t,n){const{key:r}=e;return n.create("zeebe:Header",{key:r,value:t})}function x3(e={},t){return t.create("zeebe:TaskDefinition",e)}function _3(e,t="",n){const{name:r}=e;return n.create("zeebe:Property",{name:r,value:t})}function k3(e,t){const{optional:n}=t;return e||!n}function E3(e,t,n){const r=Si(e);let i=r.get("extensionElements");i||(i=m3("bpmn:ExtensionElements",{},r,n),r.set("extensionElements",i));let o=Z2(i,t);return o||(o=n.create(t),o.$parent=i,i.get("values").push(o)),o}f3.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];const O3="property",P3="zeebe:property",S3="zeebe:input",C3="zeebe:output",T3="zeebe:property",M3="zeebe:taskDefinition:type",A3="zeebe:taskDefinition",D3="zeebe:taskHeader",N3="bpmn:Message#property",R3="bpmn:Message#zeebe:subscription#property",j3="zeebe:calledElement",I3=[R3,S3,C3,T3,M3,A3,D3,j3],L3=[M3,A3],B3=[S3,C3],z3=[N3,R3],$3=[O3,N3];function q3(e){return e.type===M3?"type":e.property}function F3(e,t){const n=t.get("modeling"),r=t.get("canvas"),i=t.get("bpmnjs"),o=r.getRootElement(),s=i.getDefinitions(),a=s.get("rootElements"),l=a.filter((t=>t!==e));l.length!==a.length&&n.updateModdleProperties(o,s,{rootElements:l})}function V3(e){const t=Si(e);return Oi(t,"bpmn:Event")?t.get("eventDefinitions")[0]:t}let H3=class{constructor(e,t,n,r,i){this._bpmnFactory=e,this._bpmnReplace=t,this._modeling=r,this._commandStack=n,this._injector=i}preExecute(e){let t=e.newTemplate,n=e.oldTemplate,r=e.element;this._updateZeebeModelerTemplate(r,t),this._updateZeebeModelerTemplateIcon(r,t),t&&(r=e.element=this._updateElementType(r,n,t),this._updateProperties(r,n,t),this._updateZeebeTaskDefinition(r,n,t),this._updateZeebeInputOutputParameterProperties(r,n,t),this._updateZeebeTaskHeaderProperties(r,n,t),this._updateZeebePropertyProperties(r,n,t),this._updateMessage(r,n,t),this._updateCalledElement(r,n,t))}_getOrCreateExtensionElements(e,t=Si(e)){const n=this._bpmnFactory,r=this._modeling;let i=t.get("extensionElements");return i||(i=n.create("bpmn:ExtensionElements",{values:[]}),i.$parent=t,r.updateModdleProperties(e,t,{extensionElements:i})),i}_updateZeebeModelerTemplate(e,t){const n=this._modeling,r=t&&t.id,i=t&&t.version;G2(e)===r&&Q2(e)===i||n.updateProperties(e,{"zeebe:modelerTemplate":r,"zeebe:modelerTemplateVersion":i})}_updateZeebeModelerTemplateIcon(e,t){const n=this._modeling,r=t&&t.icon,i=r&&r.contents;(function(e){const t=Si(e);if(t)return t.get("zeebe:modelerTemplateIcon")})(e)!==i&&n.updateProperties(e,{"zeebe:modelerTemplateIcon":i})}_updateProperties(e,t,n){const r=this._commandStack,i=Si(e),o=n.properties.filter((e=>"property"===e.binding.type)),s=t&&t.properties.filter((e=>"property"===e.binding.type&&!o.find((t=>t.binding.name===e.binding.name))))||[];if(s.length){const t=s.reduce(((e,t)=>(e[t.binding.name]=void 0,e)),{});r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:t})}o.length&&o.forEach((n=>{const o=W3(t,n),s=n.binding.name,a=t3(n);let l={};G3(i,o,n)||(l[s]=a,r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:l}))}))}_updateZeebeTaskDefinition(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>{const t=e.binding.type;return L3.includes(t)})),s=this._getOrCreateExtensionElements(e);let a=Z2(s,"zeebe:TaskDefinition");if(!o.length)return void i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}});o.forEach((n=>{const o=W3(t,n),l=t3(n),c=q3(n.binding);if(a){if(!G3(a,o,n)){const t={[c]:l};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:t})}}else{a=x3({[c]:l},r),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}})}}));(t&&t.properties.filter((e=>{const t=e.binding.type;return L3.includes(t)&&!o.find((t=>t.binding.property===e.binding.property))}))||[]).forEach((t=>{const n={[t.binding.property]:void 0};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:n})}))}_updateZeebeInputOutputParameterProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>{const t=e.binding.type;return"zeebe:input"===t||"zeebe:output"===t})),s=this._getOrCreateExtensionElements(e);let a=Z2(s,"zeebe:IoMapping");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:IoMapping"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("zeebe:inputParameters")?a.get("zeebe:inputParameters").slice():[],c=a.get("zeebe:outputParameters")?a.get("zeebe:outputParameters").slice():[];let p;o.forEach((n=>{const o=W3(t,n),u=U3(s,n),d=t3(n),h=n.binding,f=h.type;let m,g;u?((k3(d,n)||G3(u,o,n))&&(Oi(u,"zeebe:Input")?Z3(l,u):Z3(c,u)),G3(u,o,n)||(g=Oi(u,"zeebe:Input")?{source:d}:{target:d},i.execute("element.updateModdleProperties",{element:e,moddleElement:u,properties:g}))):k3(d,n)&&("zeebe:input"===f?(p="inputParameters",m=v3(h,d,r)):(p="outputParameters",m=b3(h,d,r)),m.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{[p]:[...a.get(p),m]}}))})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{inputParameters:b(a.get("inputParameters"),(e=>l.includes(e)))}}),c.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{outputParameters:b(a.get("outputParameters"),(e=>c.includes(e)))}})}_updateZeebeTaskHeaderProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>"zeebe:taskHeader"===e.binding.type)),s=this._getOrCreateExtensionElements(e);let a=Z2(s,"zeebe:TaskHeaders");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:TaskHeaders"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("zeebe:values")?a.get("zeebe:values").slice():[];o.forEach((n=>{const o=W3(t,n),c=U3(s,n),p=t3(n),u=n.binding;if(c){if(!G3(c,o,n)){const t={value:p};i.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:t})}Z3(l,c)}else if(p){const t=w3(u,p,r);t.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:[...a.get("values"),t]}})}})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:b(a.get("values"),(e=>l.includes(e)))}})}_updateZeebePropertyProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>"zeebe:property"===e.binding.type)),s=this._getOrCreateExtensionElements(e);let a=Z2(s,"zeebe:Properties");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:Properties"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("properties")?a.get("properties").slice():[];o.forEach((n=>{const o=W3(t,n),c=U3(s,n),p=t3(n),u=n.binding;if(c)(k3(p,n)||G3(c,o,n))&&Z3(l,c),G3(c,o,n)||i.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:{value:p}});else if(k3(p,n)){const t=_3(u,p,r);t.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{properties:[...a.get("properties"),t]}})}})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{properties:b(a.get("properties"),(e=>l.includes(e)))}})}_updateMessage(e,t,n){this._updateMessageProperties(e,t,n),this._updateMessageZeebeSubscriptionProperties(e,t,n),this._updateZeebeModelerTemplateOnReferencedElement(e,t,n),n.properties.some((e=>z3.includes(e.binding.type)))||function(e,t){const n=t.get("modeling"),r=V3(e);if(!r)return;const i=e3(r);i&&(n.updateModdleProperties(e,r,{messageRef:void 0}),F3(i,t))}(e,this._injector)}_updateMessageProperties(e,t,n){const r=n.properties.filter((e=>e.binding.type===N3)),i=t&&t.properties.filter((e=>e.binding.type===N3&&!r.find((t=>t.binding.name===e.binding.name))))||[];let o=this._getMessage(e);o&&i.forEach((t=>{this._modeling.updateModdleProperties(e,o,{[t.binding.name]:void 0})})),r.length&&(o=this._getOrCreateMessage(e,n),r.forEach((n=>{const r=W3(t,n),i=n.binding.name,s=t3(n),a=o;let l={};G3(a,r,n)||(l[i]=s,this._modeling.updateModdleProperties(e,a,l))})))}_updateMessageZeebeSubscriptionProperties(e,t,n){const r=n.properties.filter((e=>e.binding.type===R3)),i=t&&t.properties.filter((e=>e.binding.type===R3&&!r.find((t=>t.binding.name===e.binding.name))))||[];if(!r.length&&!i.length)return;const o=this._getOrCreateMessage(e,n),s=this._getOrCreateExtensionElements(e,o),a=this._getSubscription(e,o),l=r.reduce(((e,n)=>{const r=W3(t,n),i=n.binding.name,o=t3(n);return G3(a,r,n)||(e[i]=o),e}),{});if(a)this._modeling.updateModdleProperties(e,a,l);else{const t=m3("zeebe:Subscription",l,o,this._bpmnFactory);this._modeling.updateModdleProperties(e,s,{values:[...s.get("values"),t]})}if(!t||!a)return;const c=i.reduce(((e,t)=>(e[t.binding.name]=void 0,e)),{});this._modeling.updateModdleProperties(e,a,c)}_updateZeebeModelerTemplateOnReferencedElement(e,t,n){const r=e3(Si(e));r&&G2(r)!==n.id&&this._modeling.updateModdleProperties(e,r,{"zeebe:modelerTemplate":n.id})}_getSubscription(e,t){const n=Z2(this._getOrCreateExtensionElements(e,t),"zeebe:Subscription");if(n)return n}_getOrCreateMessage(e,t){return this._getMessage(e)||this._createMessage(e,t)}_createMessage(e,t){let n=Si(e);Oi(n,"bpmn:Event")&&(n=n.get("eventDefinitions")[0]);const r=this._bpmnFactory.create("bpmn:Message",{"zeebe:modelerTemplate":t.id});return r.$parent=g3(n),this._modeling.updateModdleProperties(e,n,{messageRef:r}),r}_getMessage(e){let t=Si(e);return Oi(t,"bpmn:Event")&&(t=t.get("eventDefinitions")[0]),t&&t.get("messageRef")}_updateCalledElement(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>e.binding.type===j3)),s=this._getOrCreateExtensionElements(e);let a=Z2(s,"zeebe:CalledElement");if(!o.length)return void i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}});o.forEach((n=>{const o=W3(t,n),l=t3(n),c=n.binding.property;if(a){if(!G3(a,o,n)){const t={[c]:l};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:t})}}else{a=function(e={},t){return t.create("zeebe:CalledElement",e)}({[c]:l},r),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}})}}));(t&&t.properties.filter((e=>e.binding.type===j3&&!o.find((t=>t.binding.property===e.binding.property))))||[]).forEach((t=>{const n={[t.binding.property]:void 0};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:n})}))}_updateElementType(e,t,n){const r=n.elementType;if(!r)return e;const i=t&&t.elementType||{value:e.type};if(i&&i.value===r.value&&i.eventDefinition===r.eventDefinition)return e;const o={type:r.value};r.eventDefinition&&(o.eventDefinitionType=r.eventDefinition);return this._bpmnReplace.replaceElement(e,o)}};function U3(e,t){const n=Si(e),r=t.binding,i=r.type;if(L3.includes(i))return Z2(n,"zeebe:TaskDefinition");if("zeebe:input"===i||"zeebe:output"===i){const e=Z2(n,"zeebe:IoMapping");if(!e)return;return"zeebe:input"===i?m(e.get("zeebe:inputParameters"),(function(e){return e.get("zeebe:target")===r.name})):m(e.get("zeebe:outputParameters"),(function(e){return e.get("zeebe:source")===r.source}))}if("zeebe:taskHeader"===i){const e=Z2(n,"zeebe:TaskHeaders");if(!e)return;return m(e.get("zeebe:values"),(function(e){return e.get("zeebe:key")===r.key}))}if("zeebe:property"===i){const e=Z2(n,"zeebe:Properties");if(!e)return;return e.get("properties").find((e=>e.get("name")===r.name))}}function W3(e,t){if(!e)return;const n=e.properties,r=t.binding,i=r.name,o=r.type;return"property"===o?m(n,(function(e){const t=e.binding,n=t.name;return"property"===t.type&&n===i})):L3.includes(o)?m(n,(function(e){return q3(e.binding)===q3(r)})):"zeebe:input"===o?m(n,(function(e){const t=e.binding,n=t.name;if("zeebe:input"===t.type)return n===i})):"zeebe:output"===o?m(n,(function(e){const t=e.binding;if("zeebe:output"===t.type)return t.source===r.source})):"zeebe:taskHeader"===o?m(n,(function(e){const t=e.binding;if("zeebe:taskHeader"===t.type)return t.key===r.key})):"zeebe:property"===o?n.find((e=>{const t=e.binding;if("zeebe:property"===t.type)return t.name===r.name})):o===N3?n.find((e=>{const t=e.binding;if(t.type===N3)return t.name===r.name})):o===R3?n.find((e=>{const t=e.binding;if(t.type===R3)return t.name===r.name})):void 0}function G3(e,t,n){if("Hidden"===n.type)return!1;if("Dropdown"===n.type){const t=Q3(e,n);return n.choices&&n.choices.some((e=>e.value===t))}return t?function(e,t){const n=t.value;return Q3(e,t)!==n}(e,t):!!Q3(e,n)}function Q3(e,t){const n=Si(e);if(!n)return;const r=t.binding,i=r.name,o=r.type;return"property"===o?n.get(i):L3.includes(o)?n.get(q3(r)):"zeebe:input"===o?n.get("zeebe:source"):"zeebe:output"===o?n.get("zeebe:target"):"zeebe:taskHeader"===o||"zeebe:property"===o?n.get("zeebe:value"):o===N3||o===R3?n.get(i):void 0}function Z3(e,t){const n=e.indexOf(t);return s(n)||e.splice(n,1),e}H3.$inject=["bpmnFactory","bpmnReplace","commandStack","modeling","injector"];class X3{constructor(e,t,n,r,i,o,s){this._modeling=e,this._elementFactory=t,this._elementRegistry=n,this._canvas=r,this._bpmnFactory=i,this._replace=o,this._commandStack=s}preExecute(e){const{element:t}=e;t.parent?e.newElement=this._removeTemplate(t):e.newElement=this._removeRootTemplate(t)}_removeTemplate(e){const t=this._replace,n=Si(e),r=n.$type,i=this._getEventDefinitionType(n),o=this._createBlankBusinessObject(e);return t.replaceElement(e,{type:r,businessObject:o,eventDefinitionType:i},{createElementsBehavior:!1})}_removeRootTemplate(e){var t=this._modeling,n=this._elementFactory,r=this._elementRegistry,i=this._canvas;if(rs(e)){const t=es(e),n=r.get(t);if(n&&n!==e)return i.setRootElement(i.findRoot(n)),this._removeTemplate(n)}const o=Si(e).$type,s=this._createBlankBusinessObject(e),a=n.create("root",{type:o,businessObject:s});return this._commandStack.execute("canvas.updateRoot",{newRoot:a,oldRoot:e}),t.moveElements(e.children,{x:0,y:0},a),a}_getEventDefinitionType(e){if(!e.eventDefinitions)return null;const t=e.eventDefinitions[0];return t?t.$type:null}_createBlankBusinessObject(e){const t=this._bpmnFactory,n=Si(e),r=t.create(n.$type),i=ro(e);return i?(Oi(e,"bpmn:Group")&&(r.categoryValueRef=t.create("bpmn:CategoryValue")),io({businessObject:r},i),r):r}}X3.$inject=["modeling","elementFactory","elementRegistry","canvas","bpmnFactory","replace","commandStack"];class Y3{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;v(e,(function(e){t.execute(e.cmd,e.context)}))}}Y3.$inject=["commandStack"];let K3=class{constructor(e,t,n){e.registerHandler("element-templates.multi-command-executor",Y3),e.registerHandler("propertiesPanel.zeebe.changeTemplate",H3),e.registerHandler("propertiesPanel.removeTemplate",X3),n.on(["commandStack.shape.create.postExecuted"],(function(n){const{context:{hints:r={},shape:i}}=n;!1!==r.createElementsBehavior&&J3(i,t,e)})),n.on(["commandStack.connection.create.postExecuted"],(function(n){const{context:{hints:r={},connection:i}}=n;!1!==r.createElementsBehavior&&J3(i,t,e)}))}};function J3(e,t,n){if(!t.get(e)&&t.getDefault(e)){const r="propertiesPanel.zeebe.changeTemplate",i={element:e,newTemplate:t.getDefault(e)};n.execute(r,i)}}K3.$inject=["commandStack","elementTemplates","eventBus"];var e5={__init__:["elementTemplateCommands"],elementTemplateCommands:["type",K3]};class t5{static create(e,t){const{property:n}=t,{binding:r}=n,{name:i}=r,o=t3(n);Si(e)[i]=o}}class n5{static create(e,t){const{property:n,bpmnFactory:r}=t,i=t3(n),o=q3(n.binding);E3(e,"zeebe:TaskDefinition",r).set(o,i)}}class r5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=t3(n),s=E3(e,"zeebe:IoMapping",r);if(!k3(o,n))return;const a=v3(i,o,r);a.$parent=s,s.get("inputParameters").push(a)}}class i5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=t3(n),s=E3(e,"zeebe:IoMapping",r);if(!k3(o,n))return;const a=b3(i,o,r);a.$parent=s,s.get("outputParameters").push(a)}}class o5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=t3(n),s=E3(e,"zeebe:TaskHeaders",r),a=w3(i,o,r);a.$parent=s,s.get("values").push(a)}}class s5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=t3(n),s=E3(e,"zeebe:Properties",r);if(!k3(o,n))return;const a=_3(i,o,r);a.$parent=s,s.get("properties").push(a)}}class a5{static create(e,t){const{bpmnFactory:n,property:r}=t,{binding:i}=r,{name:o}=i,s=t3(r);let a=Si(e);Oi(a,"bpmn:Event")&&(a=a.get("eventDefinitions")[0]);let l=a.get("messageRef");l||(l=n.create("bpmn:Message",{"zeebe:modelerTemplate":G2(e)}),a.set("messageRef",l)),l.set(o,s)}}class l5{static create(e,t){const{bpmnFactory:n,property:r}=t,{binding:i}=r,{name:o}=i,s=t3(r);let a=Si(e);Oi(a,"bpmn:Event")&&(a=a.get("eventDefinitions")[0]);let l=a.get("messageRef");l||(l=n.create("bpmn:Message",{"zeebe:modelerTemplate":G2(e)}),a.set("messageRef",l));const c=E3(l,"zeebe:Subscription",n);k3(s,r)&&c.set(o,s)}}class c5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,{property:o}=i,s=t3(n),a=E3(e,"zeebe:CalledElement",r);!function(e){e.set("propagateAllChildVariables",!1),e.set("propagateAllParentVariables",!1)}(a),a.set(o,s)}}const p5=["Boolean","Integer","String"];function u5(e,t,n){const r=function(e,t,n){let r=Si(e);const i="",{binding:o}=t,{name:a,property:l,type:c}=o;if("property"===c){const e=r.get(a);return s(e)?i:e}if(L3.includes(c)){const e=Z2(r,"zeebe:TaskDefinition");if(e){if(c===M3)return e.get("type");if(c===A3)return e.get(l)}return i}if(B3.includes(c)){const e=Z2(r,"zeebe:IoMapping");if(!e)return i;if(c===S3){const t=Y2(e,o);return t?t.get("source"):i}if(c===C3){const t=K2(e,o);return t?t.get("target"):i}}if(c===D3){const e=Z2(r,"zeebe:TaskHeaders");if(!e)return i;const t=J2(e,o);return t?t.get("value"):i}if(c===T3){const e=Z2(r,"zeebe:Properties");if(e){const t=X2(e,o);if(t)return t.get("value")}return i}if(c===N3){const e=e3(r),t=e?e.get(a):void 0;return s(t)?i:t}if(c===R3){const e=e3(r);if(e){const t=Z2(e,"zeebe:Subscription");if(!s(t?t.get(a):void 0))return t.get(a)}return i}if(c===j3){const e=Z2(r,"zeebe:CalledElement");return e?e.get(l):i}throw m5(e,t)}(e,t),{type:i}=t;return"Boolean"===i?function(e){switch(e){case"true":return!0;case"false":return!1}return e}(r):r}const d5=null;function h5(e,t,n,r,i){let o=Si(n);const{binding:a}=r,{name:l,type:c}=a;let p,u;const d=[],h={element:n,property:r};if(z3.includes(c)){Oi(o,"bpmn:Event")&&(o=o.get("eventDefinitions")[0]);let t=e3(o);t||(t=e.create("bpmn:Message",{"zeebe:modelerTemplate":G2(n)}),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{messageRef:t}}})),o=t}if(I3.includes(c)&&(p=o.get("extensionElements"),p?d.push(d5):(p=m3("bpmn:ExtensionElements",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{extensionElements:p}}}))),$3.includes(c)){const e=o.$descriptor.propertiesByName[l];if(e){const{type:t}=e;if(!p5.includes(t))throw new Error(`cannot set property of type <${t}>`);"Boolean"===t?u=!!i:"Integer"===t?(u=parseInt(i,10),isNaN(u)&&(u=void 0)):u=i||""}else u=i||"";s(u)?d.push(d5):d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{[l]:u}}})}if(L3.includes(c)){const t=Z2(p,"zeebe:TaskDefinition"),n=q3(a),r={[n]:i||""};if(t)d.push({cmd:"element.updateModdleProperties",context:{...h,properties:r,moddleElement:t}});else{const t=x3(r,e);t.$parent=o;const n=p.get("values");d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...n,t]}}})}}if(B3.includes(c)){let t=Z2(p,"zeebe:IoMapping");if(t||(t=m3("zeebe:IoMapping",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}})),c===S3){const n=Y2(t,a),o=t.get("inputParameters").filter((e=>e!==n));if(k3(i,r)){const t=v3(a,i,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{inputParameters:[...o]}}})}if(c===C3){const n=K2(t,a),o=t.get("outputParameters").filter((e=>e!==n));if(k3(i,r)){const t=b3(a,i,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{outputParameters:[...o]}}})}}if(c===D3){let t=Z2(p,"zeebe:TaskHeaders");t||(t=m3("zeebe:TaskHeaders",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const n=J2(t,a),r=t.get("values").filter((e=>e!==n));if(i){const n=w3(a,i,e);d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:[...r,n]}}})}else d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:r}}})}if(c===T3){let t=Z2(p,"zeebe:Properties");t||(t=m3("zeebe:Properties",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const s=X2(t,a),l=t.get("properties").filter((e=>e!==s));if(k3(i,r)){const t=_3(a,i,e);l.push(t)}d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{properties:l}}})}if(c===R3){let t=Z2(p,"zeebe:Subscription");const r={[l]:i||""};t?d.push({cmd:"element.updateModdleProperties",context:{element:n,properties:r,moddleElement:t}}):(t=m3("zeebe:Subscription",r,p,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(c===j3){let t=Z2(n,"zeebe:CalledElement");const r=a.property,o={[r]:i||""};t?d.push({cmd:"element.updateModdleProperties",context:{element:n,properties:o,moddleElement:t}}):(t=m3("zeebe:CalledElement",o,p,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(!d.length)throw m5(n,r);{const e=d.filter((e=>e!==d5));e.length&&t.execute("element-templates.multi-command-executor",e)}}function f5(e,t,n=g5){const{constraints:r={},label:i}=t,{maxLength:o,minLength:s,notEmpty:a}=r;if(a&&function(e){if("string"==typeof e)return!e.trim().length;return void 0===e}(e))return`${i} ${n("must not be empty.")}`;if(o&&(e||"").length>o)return`${i} ${n("must have max length {maxLength}.",{maxLength:o})}`;if(s&&(e||"").length<s)return`${i} ${n("must have min length {minLength}.",{minLength:s})}`;let{pattern:l}=r;if(l){let t;if(h(l)||(t=l.message,l=l.value),!function(e,t){return new RegExp(t).test(e)}(e,l))return t?`${i} ${n(t)}`:`${i} ${n("must match pattern {pattern}.",{pattern:l})}`}}function m5(e,t){const n=Si(e).get("id"),{binding:r}=t,{type:i}=r;return new Error(`unknown binding <${i}> for element <${n}>, this should never happen`)}function g5(e,t){return t=t||{},e.replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}function y5(e,t){const{properties:n}=t,r=n.filter((t=>function(e,t){const{binding:n}=t,{type:r}=n;if("bpmn:Message#zeebe:subscription#property"===r&&"correlationKey"===n.name&&Oi(e,"bpmn:StartEvent")&&!Qi(e.parent))return!1;return!0}(e,t)&&v5(e,n,t)));return{...t,properties:r}}function v5(e,t,n){const{condition:r}=n;if(!r)return!0;if(r.allMatch){return r.allMatch.every((n=>b5(e,t,n)))}return b5(e,t,r)}function b5(e,t,n){const{property:r,equals:i,oneOf:o,isActive:s}=n;if(void 0!==s){const n=t.find((e=>e.id===r));return n?s?v5(e,t,n):!v5(e,t,n):!s}const a=function(e,t,n){const r=t.find((e=>e.id===n));if(!r)return;return u5(e,r)}(e,t,r);return l=n,c="equals",Object.prototype.hasOwnProperty.call(l,c)?a===i:!!o&&o.includes(a);var l,c}class w5{constructor(e,t){this._bpmnFactory=e,this._elementFactory=t,this._providers={[O3]:t5,[M3]:n5,[A3]:n5,[P3]:s5,[S3]:r5,[C3]:i5,[D3]:o5,[N3]:a5,[R3]:l5,[j3]:c5}}create(e){const{properties:t}=e,n=this._createShape(e);return this._setModelerTemplate(n,e),function(e){const{icon:t}=e;return!(!t||!t.contents)}(e)&&this._setModelerTemplateIcon(n,e),this._applyProperties(n,t),n}_createShape(e){const{appliesTo:t,elementType:n={}}=e,r=this._elementFactory,i={type:n.value||t[0]};n.eventDefinition&&(i.eventDefinitionType=n.eventDefinition);return r.createShape(i)}_ensureExtensionElements(e){const t=this._bpmnFactory,n=Si(e);let r=n.get("extensionElements");return r||(r=t.create("bpmn:ExtensionElements",{values:[]}),r.$parent=n,n.set("extensionElements",r)),r}_setModelerTemplate(e,t){const{id:n,version:r}=t,i=Si(e);i.set("zeebe:modelerTemplate",n),i.set("zeebe:modelerTemplateVersion",r)}_setModelerTemplateIcon(e,t){const{icon:n}=t,{contents:r}=n;Si(e).set("zeebe:modelerTemplateIcon",r)}_applyProperties(e,t){const n=[];t.forEach((r=>this._applyProperty(e,r,t,n)))}_applyProperty(e,t,n,r){if(r.includes(t))return;const i=function(e,t){const{condition:n}=e;if(!n)return[];const r=function(e,t){return m(e,(function(e){return e.id===t}))}(t,n.property);if(r)return[r];return[]}(t,n);i.forEach((t=>this._applyProperty(e,t,n,r))),v5(e,n,t)&&this._bindProperty(t,e),r.push(t)}_bindProperty(e,t){const{binding:n}=e,{type:r}=n;this._providers[r].create(t,{property:e,bpmnFactory:this._bpmnFactory})}}w5.$inject=["bpmnFactory","elementFactory"];var x5={__init__:["templateElementFactory"],templateElementFactory:["type",w5]};class _5 extends Wo{constructor(e,t,n,r,i){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=r,this._injector=i,this.preExecute(["element.updateProperties","element.updateModdleProperties","element.move"],this._saveConditionalState,!0,this),this.postExecute(["element.updateProperties","element.updateModdleProperties","propertiesPanel.zeebe.changeTemplate","element.move"],this._applyConditions,!0,this),this.preExecute(["propertiesPanel.zeebe.changeTemplate"],this._ensureConditional,!0,this)}_saveConditionalState(e){const{element:t}=e,n=this._elementTemplates.get(t);n&&(e.oldTemplateWithConditions=y5(t,n))}_applyConditions(e){const{element:t,newTemplate:n,oldTemplateWithConditions:r}=e,i=this._elementTemplates.get(t),o=r||n;if(!i||!o)return;const s=y5(t,i);if(!function(e,t){let n=t.properties;return n.some((t=>!e.properties.find((e=>k5(e,t)))))}(a=s,l=o)&&!function(e,t){const n=function(e,t){let n=t.properties;return n.filter((t=>!e.properties.find((e=>k5(e,t)))))}(t,e);return n.some((e=>!function(e,t){return e.properties.some((e=>O5(t.binding,e.binding)))}(t,e)))}(a,l))return;var a,l;const c={element:t,newTemplate:i,oldTemplate:o};this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",c)}_ensureConditional(e){const{element:t,newTemplate:n}=e;n&&(e.newTemplate=y5(t,n))}}function k5(e,t){return O5(e.binding,t.binding)&&S5(e.condition,t.condition)}function E5(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function O5(e,t){return S5(e=P5(e),t=P5(t))}function P5(e){return e.type===M3?{...e,type:A3,property:"type"}:e}function S5(e,t){return JSON.stringify(e,E5)===JSON.stringify(t,E5)}_5.$inject=["eventBus","elementTemplates","commandStack","bpmnFactory","injector"];let C5=class extends Wo{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(t){var n=t.context,r=Si(n.oldShape),i=n.newShape,o=Si(i);if(!r.modelerTemplate)return;const s=o.modelerTemplate,a=o.modelerTemplateVersion,l=e.get(s,a);if(!l)return void e.unlinkTemplate(i);const{appliesTo:c,elementType:p}=l;if(p)return void(Oi(i,p.value)&&!function(e,t){if(!Oi(e,"bpmn:Event"))return!1;const{eventDefinition:n}=t,r=Si(e),i=r.get("eventDefinitions");if(!n)return 0!==i.length;return!Oi(i[0],n)}(i,p)||e.unlinkTemplate(i));const u=c.reduce(((e,t)=>e||Oi(o,t)),!1);u||e.unlinkTemplate(i)}))}};C5.$inject=["elementTemplates","injector"];class T5 extends Wo{constructor(e,t,n,r){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=r,this.postExecute(["element.updateProperties","element.updateModdleProperties"],this._updatePropertiesOrder,!0,this)}_updatePropertiesOrder(e){const{element:t}=e,n=this._elementTemplates.get(t),r=t.businessObject,i=[];if(!n)return;const o=y5(t,n).properties,s=Z2(r,"zeebe:Properties");s&&this._updateZeebePropertiesOrder(s,o,i,e);const a=Z2(r,"zeebe:IoMapping");a&&(this._updateInputOrder(a,o,i,e),this._updateOutputOrder(a,o,i,e));const l=Z2(r,"zeebe:TaskHeaders");if(l&&this._updateTaskHeadersOrder(l,o,i,e),i.length){const e=i.filter((e=>null!==e));e.length&&this._commandStack.execute("element-templates.multi-command-executor",e)}else;}_updateZeebePropertiesOrder(e,t,n,r){const i=e.get("properties");if(i.length<1)return;let o=[...i];D5(o,((e,t)=>e.findIndex((e=>"zeebe:property"==e.binding.type&&e.binding.name===t.get("name")))),t),A5(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{properties:o}}})}_updateInputOrder(e,t,n,r){const i=e.get("inputParameters");if(i.length<1)return;let o=[...i];D5(o,((e,t)=>e.findIndex((e=>"zeebe:input"==e.binding.type&&e.binding.name===t.get("target")))),t),A5(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{inputParameters:o}}})}_updateOutputOrder(e,t,n,r){const i=e.get("outputParameters");if(i.length<1)return;let o=[...i];D5(o,((e,t)=>e.findIndex((e=>"zeebe:output"==e.binding.type&&e.binding.source===t.get("source")))),t),A5(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{outputParameters:o}}})}_updateTaskHeadersOrder(e,t,n,r){const i=e.get("zeebe:values");if(i.length<1)return;let o=[...i];D5(o,((e,t)=>e.findIndex((e=>"zeebe:taskHeader"==e.binding.type&&e.binding.key===t.get("key")))),t),A5(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{values:o}}})}}function M5(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function A5(e,t){return e.every(((e,n)=>function(e,t){return JSON.stringify(e,M5)===JSON.stringify(t,M5)}(e,t[n])))}function D5(e,t,n){return e.sort(((e,r)=>t(n,e)-t(n,r)))}T5.$inject=["eventBus","elementTemplates","commandStack","bpmnFactory"];class N5 extends Wo{constructor(e,t,n,r,i,o){super(e),this._eventBus=e,this._elementTemplates=t,this._modeling=n,this._injector=r,this.postExecuted(["element.updateProperties","element.updateModdleProperties"],this._handlePropertiesUpdate,!0,this),this.postExecuted("shape.replace",this._handleReplacement,!0,this),this.postExecuted("shape.delete",this._handleRemoval,!0,this),e.on("copyPaste.pasteElement",(function(e){const{referencedRootElement:t}=e.descriptor;t&&G2(t)&&(e.descriptor.referencedRootElement=i.copyElement(t,o.create(t.$type)))}))}_handlePropertiesUpdate(e){const{element:t,properties:n}=e;if(!R5(t))return;if(!(W2 in n)||h(n[W2]))return;const r=e3(Si(t));r&&G2(r)&&this._modeling.updateModdleProperties(t,r,{[W2]:null})}_handleReplacement(e){const{oldShape:t,newShape:n}=e,r=G2(t),i=G2(n);if(!R5(t)||!r)return;const o=e3(Si(t));o&&G2(o)&&(R5(n)&&i?this._addMessage(n,o):F3(o,this._injector))}_handleRemoval(e){const{shape:t}=e;if("label"===t.type)return;if(!R5(t))return;if(!G2(t))return;const n=e3(Si(t));n&&G2(n)&&F3(n,this._injector)}_addMessage(e,t){const n=V3(e);this._modeling.updateModdleProperties(e,n,{messageRef:t})}}function R5(e){return Pi(e,["bpmn:ReceiveTask","bpmn:SendTask","bpmn:Event"])}N5.$inject=["eventBus","elementTemplates","modeling","injector","moddleCopy","bpmnFactory"];class j5 extends Wo{constructor(e,t,n,r,i){super(e),this._eventBus=e,this._elementTemplates=t,this._modeling=n,this.preExecute("shape.create",(e=>{const n=e.shape,o=t.get(n);if(!o)return;const s=o.properties.filter((e=>e.generatedValue));s.forEach((e=>{if(!u5(n,e))return;const t=t3(e);h5(i,r,n,e,t)}))}),!0)}}j5.$inject=["eventBus","elementTemplates","modeling","commandStack","bpmnFactory"];class I5 extends Wo{constructor(e,t,n){super(e),this._modeling=t,this._elementTemplates=n,this.postExecuted(["element.updateProperties","element.updateModdleProperties"],this._ensureNoPropagation,!0,this)}_ensureNoPropagation(e){const{element:t}=e;if(!this._elementTemplates.get(t))return;if(!Oi(t,"bpmn:CallActivity"))return;const n=Z2(t,"zeebe:CalledElement");if(n)for(const e of["propagateAllChildVariables","propagateAllParentVariables"])!1!==n.get(e)&&this._modeling.updateModdleProperties(t,n,{[e]:!1})}}I5.$inject=["eventBus","modeling","elementTemplates"];var L5={__depends__:[e5,{__init__:["elementTemplatesReplaceBehavior","elementTemplatesConditionalBehavior","elementTemplatesGeneratedValueBehavior","elementTemplatesReferencedElementBehavior","elementTemplatesUpdatePropertiesOrderBehavior","elementTemplatesCalledElementBehavior"],elementTemplatesReplaceBehavior:["type",C5],elementTemplatesConditionalBehavior:["type",_5],elementTemplatesGeneratedValueBehavior:["type",j5],elementTemplatesReferencedElementBehavior:["type",N5],elementTemplatesUpdatePropertiesOrderBehavior:["type",T5],elementTemplatesCalledElementBehavior:["type",I5]},x5],__init__:["elementTemplatesLoader"],elementTemplates:["type",o3],elementTemplatesLoader:["type",f3]};function B5(e){const t=e.metadata,n=e.version;if(t){if(!s(t.created))return z5(t.created);if(!s(t.updated))return z5(t.updated)}return s(n)?null:n}function z5(e){const t=new Date(e),n=t.getFullYear(),r=$5(String(t.getMonth()+1));return $5(String(t.getDate()))+"."+r+"."+n+" "+$5(String(t.getHours()))+":"+$5(String(t.getMinutes()))}function $5(e){return function(e,t,n){for(;e.length<t;)e=n+e;return e}(e,2,"0")}function q5(e={}){const{getTemplateId:t=r3}=e;return function(e){const{id:n,label:r,element:i,entries:o=[]}=e,[s,a]=IU(["groups",n,"open"],!1),l=!o.length;return B_("div",{class:"bio-properties-panel-group bio-properties-panel-templates-group","data-group-id":"group-"+n,children:[B_("div",{class:F_("bio-properties-panel-group-header",{empty:l,open:s&&!l}),onClick:()=>!l&&a(!s),children:[B_("div",{title:r,class:"bio-properties-panel-group-header-title",children:r}),B_("div",{class:"bio-properties-panel-group-header-buttons",children:[B_(V5,{element:i,getTemplateId:t}),!l&&B_(F5,{open:s})]})]}),B_("div",{class:F_("bio-properties-panel-group-entries",{open:s&&!l}),children:o.map((e=>{const{component:t,id:n}=e;return lx(t,{...e,key:n,element:i})}))})]})}}function F5({open:e}){return B_(BW,{title:"Toggle section",class:"bio-properties-panel-arrow",children:B_(hU,{class:e?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})}function V5({element:e,getTemplateId:t}){const n=function(e,t,n){const r=n(t),i=e.get(t);if(!r)return{type:"NO_TEMPLATE"};if(!i)return{type:"UNKNOWN_TEMPLATE",templateId:r};if(i.deprecated)return{type:"DEPRECATED_TEMPLATE",template:i};const o=e.getLatest(r,{deprecated:!0})[0];if(o!==i)return{type:"OUTDATED_TEMPLATE",template:i,newerTemplate:o};return{type:"KNOWN_TEMPLATE",template:i}}(gQ("elementTemplates"),e,t);return"NO_TEMPLATE"===n.type?B_(H5,{element:e}):"KNOWN_TEMPLATE"===n.type?B_(U5,{element:e}):"UNKNOWN_TEMPLATE"===n.type?B_(G5,{element:e}):"DEPRECATED_TEMPLATE"===n.type?B_(Y5,{element:e,templateState:n}):"OUTDATED_TEMPLATE"===n.type?B_(Z5,{element:e,templateState:n}):void 0}function H5({element:e}){const t=gQ("translate"),n=gQ("eventBus");return B_(BW,{title:"Select a template",class:"bio-properties-panel-select-template-button",onClick:()=>n.fire("elementTemplates.select",{element:e}),children:[B_(fU,{}),B_("span",{children:t("Select")})]})}function U5({element:e}){const t=gQ("translate"),n=gQ("elementTemplates"),r=[{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:B_(W5,{}),action:()=>n.removeTemplate(e)}];return B_(IW,{menuItems:r,class:"bio-properties-panel-applied-template-button",children:B_(BW,{children:[B_("span",{children:t("Applied")}),B_(hU,{class:"bio-properties-panel-arrow-down"})]})})}function W5(){return B_("span",{class:"bio-properties-panel-remove-template",children:gQ("translate")("Remove")})}function G5({element:e}){const t=gQ("translate"),n=gQ("elementTemplates"),r=[{entry:B_(Q5,{})},{separator:!0},{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:B_(W5,{}),action:()=>n.removeTemplate(e)}];return B_(IW,{menuItems:r,class:"bio-properties-panel-template-not-found",children:B_(BW,{children:[B_("span",{children:t("Not found")}),B_(hU,{class:"bio-properties-panel-arrow-down"})]})})}function Q5(){return B_("div",{class:"bio-properties-panel-template-not-found-text",children:gQ("translate")("The template applied was not found. Therefore, its properties cannot be shown. Unlink to access the data.")})}function Z5({element:e,templateState:t}){const{newerTemplate:n}=t,r=gQ("translate"),i=gQ("elementTemplates"),o=[{entry:B_(X5,{newerTemplate:n})},{separator:!0},{entry:r("Update"),action:()=>i.applyTemplate(e,n)},{entry:r("Unlink"),action:()=>i.unlinkTemplate(e)},{entry:B_(W5,{}),action:()=>i.removeTemplate(e)}];return B_(IW,{menuItems:o,class:"bio-properties-panel-template-update-available",children:B_(BW,{children:[B_("span",{children:r("Update available")}),B_(hU,{class:"bio-properties-panel-arrow-down"})]})})}function X5({newerTemplate:e}){return B_("div",{class:"bio-properties-panel-template-update-available-text",children:gQ("translate")("A new version of the template is available: {templateVersion}",{templateVersion:B5(e)})})}function Y5({element:e,templateState:t}){const{template:n}=t,r=gQ("translate"),i=gQ("elementTemplates"),o=[{entry:B_(K5,{template:n})},{separator:!0},{entry:r("Unlink"),action:()=>i.unlinkTemplate(e)},{entry:B_(W5,{}),action:()=>i.removeTemplate(e)}];return B_(IW,{menuItems:o,class:"bio-properties-panel-deprecated-template-button",children:B_(BW,{children:[B_("span",{children:r("Deprecated")}),B_(hU,{class:"bio-properties-panel-arrow-down"})]})})}function K5({template:e}){const t=gQ("translate"),{message:n=t("This template is deprecated."),documentationRef:r}=e.deprecated;return B_("div",{class:"bio-properties-panel-deprecated-template-text",children:[n,r&&B_(px,{children:[" ",B_("a",{href:r,children:B_(J5,{})})]})]})}function J5(){return B_("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:B_("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.6368 10.6375V5.91761H11.9995V10.6382C11.9995 10.9973 11.8623 11.3141 11.5878 11.5885C11.3134 11.863 10.9966 12.0002 10.6375 12.0002H1.36266C0.982345 12.0002 0.660159 11.8681 0.396102 11.6041C0.132044 11.34 1.52588e-05 11.0178 1.52588e-05 10.6375V1.36267C1.52588e-05 0.98236 0.132044 0.660173 0.396102 0.396116C0.660159 0.132058 0.982345 2.95639e-05 1.36266 2.95639e-05H5.91624V1.36267H1.36266V10.6375H10.6368ZM12 0H7.2794L7.27873 1.36197H9.68701L3.06507 7.98391L4.01541 8.93425L10.6373 2.31231V4.72059H12V0Z",fill:"#818798"})})}function e4({element:e,elementTemplates:t}){const n=t.get(e);return n?[{id:"template-name",component:t4,template:n},{id:"template-version",component:n4,template:n},{id:"template-description",component:r4,template:n}].filter((e=>!!e.component)):[]}function t4({id:e,template:t}){return B_(i4,{id:e,label:gQ("translate")("Name"),content:t.name})}function n4({id:e,template:t}){const n=gQ("translate"),r=B5(t);return r?B_(i4,{id:e,label:n("Version"),content:r}):null}function r4({id:e,template:t}){const n=gQ("translate"),{description:r}=t;return r?B_(i4,{id:e,label:n("Description"),content:t.description}):null}function i4({id:e,label:t,content:n}){return B_("div",{"data-entry-id":e,class:"bio-properties-panel-entry bio-properties-panel-text-entry",children:[B_("span",{class:"bio-properties-panel-label",children:t}),B_("span",{class:"bio-properties-panel-text-entry__content",children:n})]})}var o4,s4={};function a4(e,t,n){if(3===e.nodeType){var r="textContent"in e?e.textContent:e.nodeValue||"";if(!1!==a4.options.trim){var i=0===t||t===n.length-1;if((!(r=r.match(/^[\s\n]+$/g)&&"all"!==a4.options.trim?" ":r.replace(/(^[\s\n]+|[\s\n]+$)/g,"all"===a4.options.trim||i?"":" "))||" "===r)&&n.length>1&&i)return null}return r}if(1!==e.nodeType)return null;var o=String(e.nodeName).toLowerCase();if("script"===o&&!a4.options.allowScripts)return null;var s,a,l=a4.h(o,function(e){var t=e&&e.length;if(!t)return null;for(var n={},r=0;r<t;r++){var i=e[r],o=i.name,s=i.value;"on"===o.substring(0,2)&&a4.options.allowEvents&&(s=new Function(s)),n[o]=s}return n}(e.attributes),(a=(s=e.childNodes)&&Array.prototype.map.call(s,a4).filter(c4))&&a.length?a:null);return a4.visitor&&a4.visitor(l),l}var l4,c4=function(e){return e},p4={};function u4(e){var t=(e.type||"").toLowerCase(),n=u4.map;n&&n.hasOwnProperty(t)?(e.type=n[t],e.props=Object.keys(e.props||{}).reduce((function(t,n){var r;return t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=e.props[n],t}),{})):e.type=t.replace(/[^a-z0-9-]/i,"")}var d4=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.setReviver=function(e){l4=e},t.prototype.shouldComponentUpdate=function(e){var t=this.props;return e.wrap!==t.wrap||e.type!==t.type||e.markup!==t.markup},t.prototype.setComponents=function(e){if(this.map={},e)for(var t in e)if(e.hasOwnProperty(t)){var n=t.replace(/([A-Z]+)([A-Z][a-z0-9])|([a-z0-9]+)([A-Z])/g,"$1$3-$2$4").toLowerCase();this.map[n]=e[t]}},t.prototype.render=function(e){var t=e.wrap;void 0===t&&(t=!0);var n,r=e.type,i=e.markup,o=e.components,s=e.reviver,a=e.onError,l=e["allow-scripts"],c=e["allow-events"],p=e.trim,u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["wrap","type","markup","components","reviver","onError","allow-scripts","allow-events","trim"]),d=s||this.reviver||this.constructor.prototype.reviver||l4||lx;this.setComponents(o);var h={allowScripts:l,allowEvents:c,trim:p};try{n=function(e,t,n,r,i){var o=function(e,t){var n,r,i,o,s="html"===t?"text/html":"application/xml";"html"===t?(o="body",i="<!DOCTYPE html>\n<html><body>"+e+"</body></html>"):(o="xml",i='<?xml version="1.0" encoding="UTF-8"?>\n<xml>'+e+"</xml>");try{n=(new DOMParser).parseFromString(i,s)}catch(e){r=e}if(n||"html"!==t||((n=o4||(o4=function(){if(document.implementation&&document.implementation.createHTMLDocument)return document.implementation.createHTMLDocument("");var e=document.createElement("iframe");return e.style.cssText="position:absolute; left:0; top:-999em; width:1px; height:1px; overflow:hidden;",e.setAttribute("sandbox","allow-forms"),document.body.appendChild(e),e.contentWindow.document}())).open(),n.write(i),n.close()),n){var a=n.getElementsByTagName(o)[0],l=a.firstChild;return e&&!l&&(a.error="Document parse failed."),l&&"parsererror"===String(l.nodeName).toLowerCase()&&(l.removeChild(l.firstChild),l.removeChild(l.lastChild),a.error=l.textContent||l.nodeValue||r||"Unknown error",a.removeChild(l)),a}}(e,t);if(o&&o.error)throw new Error(o.error);var s=o&&o.body||o;u4.map=r||p4;var a=s&&function(e,t,n,r){return a4.visitor=t,a4.h=n,a4.options=r||s4,a4(e)}(s,u4,n,i);return u4.map=null,a&&a.props&&a.props.children||null}(i,r,d,this.map,h)}catch(e){a?a({error:e}):"undefined"!=typeof console&&console.error&&console.error("preact-markup: "+e)}if(!1===t)return n||null;var f=u.hasOwnProperty("className")?"className":"class",m=u[f];return m?m.splice?m.splice(0,0,"markup"):"string"==typeof m?u[f]+=" markup":"object"==typeof m&&(m.markup=!0):u[f]="markup",d("div",u,n||null)},t}(ux);const h4=3,f4=1,m4=["h1","h2","h3","h4","h5","span","em","a","p","div","ul","ol","li","hr","blockquote","img","pre","code","br","strong"],g4=["align","alt","class","href","id","name","rel","target","src"],y4=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,v4=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g,b4=document.createElement("form");function w4(e){const t=(new DOMParser).parseFromString(`<!DOCTYPE html>\n<html><body><div>${e}`,"text/html");t.normalize();const n=t.body.firstChild;return n?(x4(n),(new XMLSerializer).serializeToString(n)):""}function x4(e){if(e.nodeType===h4)return;if(e.nodeType!==f4)return e.remove();const t=e.tagName.toLowerCase();if(!m4.includes(t))return e.remove();const n=e.attributes;for(let r=n.length;r--;){const i=n[r],o=i.name,s=o.toLowerCase(),a=i.value.trim();e.removeAttribute(o);_4(t,s,a)&&e.setAttribute(o,a)}"a"===t&&"_blank"===e.getAttribute("target")&&"noopener"!==e.getAttribute("rel")&&e.setAttribute("rel","noopener");for(let t=e.childNodes.length;t--;)x4(e.childNodes[t])}function _4(e,t,n){return!!g4.includes(t)&&(("id"!==t&&"name"!==t||!(n in document)&&!(n in b4))&&(("target"!==t||"_blank"===n)&&!("href"===t&&!y4.test(n.replace(v4,"")))))}function k4(e){const{tooltip:t}=e;return t&&B_(d4,{markup:w4(t),trim:!1})}function E4(e,t,n,r){const i=Xx(M4(e,t,n,r),[e,t,n,r]),o=Xx(T4(n,r),[n,r]),[s,a]=Hx(C4(r,o())),l=Xx((e=>{!s&&"string"==typeof e&&e.startsWith("=")&&a(!0),!s||"string"==typeof e&&e.startsWith("=")||a(!1)}),[s]),c=Xx(((e,t)=>{l(e),i(P4(e,r.type))}),[i,r,l]),p=Xx((()=>s?o():S4(o(),r.type)),[o,r,s]);return O4(r)?[p,c]:[o,i]}const O4=e=>["optional","static"].includes(e.feel)&&["Boolean","Number"].includes(e.type),P4=(e,t)=>"string"==typeof e&&e.startsWith("=")?e:"Boolean"===t?"="+!!(e="false"!==e&&e):void 0===e?e:"="+e.toString(),S4=(e,t)=>void 0===e?e:("string"==typeof e&&e.startsWith("=")&&(e=e.slice(1)),"Number"===t?Number(e):"Boolean"===t?"false"!==e:e),C4=(e,t)=>!O4(e)||("Boolean"===e.type?!("=true"===t||"=false"===t):"Number"!==e.type||isNaN(S4(t,e.type)));function T4(e,t){return function(){return u5(e,t)}}function M4(e,t,n,r){return function(i){return h5(e,t,n,r,i)}}function A4(e,t){return n=>f5(n,t,e)}function D4(e){return["zeebe:property","zeebe:taskHeader"].includes(e.binding.type)}function N4(e){const{description:t}=e,n=gQ("translate");return t&&B_(d4,{markup:w4(n(t)),trim:!1})}function R4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,language:l,placeholder:c,tooltip:p}=r,u=gQ("bpmnFactory"),d=gQ("commandStack"),h=gQ("debounceInput"),f=gQ("translate");return eG({debounce:h,element:t,id:n,label:s,feel:a,placeholder:c,monospace:!!l,autoResize:!0,description:N4({description:i}),getValue:T4(t,r),setValue:M4(u,d,t,r),validate:A4(f,r),disabled:!1===o,tooltip:k4({tooltip:p})})}function j4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,placeholder:l,tooltip:c}=r,p=gQ("bpmnFactory"),u=gQ("commandStack"),d=gQ("debounceInput"),h=gQ("translate");return iG({debounce:d,element:t,getValue:T4(t,r),id:n,label:s,feel:a,placeholder:l,description:N4({description:i}),setValue:M4(p,u,t,r),validate:A4(h,r),disabled:!1===o,tooltip:k4({tooltip:c})})}function I4(e){return t=>{const{bpmnElement:n,element:r}=t,i=(n||r).businessObject,[o,s]=Hx([]),a=gQ("eventBus"),l=(c={getVariablesForElement:JG},gQ("variableResolver",!1)||c);var c;return Wx((()=>{const e=()=>{(async()=>{const e=await l.getVariablesForElement(i);s(e.map((e=>({...e,info:e.info||e.origin&&"Written in "+e.origin.map((e=>e.name||e.id)).join(", ")}))))})()};return a.on("commandStack.changed",e),e(),()=>{a.off("commandStack.changed",e)}}),[i]),B_(e,{...t,variables:o})}}function L4(e){return t=>{const n=Zx((()=>{const e=gQ("config");return e&&e.propertiesPanel&&e.propertiesPanel.feelTooltipContainer}),[]);return B_(e,{...t,tooltipContainer:n})}}const B4=L4(EW),z4=L4((function(e){return B_(EW,{class:"bio-properties-panel-feel-textarea",OptionalComponent:_W,...e})})),$4=I4(B4),q4=I4(z4);function F4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,placeholder:l,tooltip:c}=r,p=gQ("bpmnFactory"),u=gQ("commandStack"),d=gQ("debounceInput"),h=gQ("translate");return(D4(r)?B4:$4)({debounce:d,element:t,getValue:T4(t,r),id:n,label:s,feel:a,placeholder:l,description:N4({description:i}),setValue:M4(p,u,t,r),validate:A4(h,r),disabled:!1===o,tooltip:k4({tooltip:c})})}function V4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,placeholder:l,tooltip:c}=r,p=gQ("bpmnFactory"),u=gQ("commandStack"),d=gQ("debounceInput"),h=gQ("translate");return(D4(r)?z4:q4)({debounce:d,element:t,getValue:T4(t,r),id:n,label:s,feel:a,placeholder:l,description:N4({description:i}),setValue:M4(p,u,t,r),validate:A4(h,r),disabled:!1===o,tooltip:k4({tooltip:c})})}function H4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,tooltip:a}=r,l=gQ("bpmnFactory"),c=gQ("commandStack"),p=gQ("translate");return ZW({element:t,id:n,label:s,getOptions:()=>{const{choices:e,optional:t}=r;let n=[];return n=e.map((({name:e,value:t})=>({label:e,value:t}))),t&&(n=[{label:"",value:void 0},...n]),n},description:N4({description:i}),getValue:T4(t,r),setValue:M4(l,c,t,r),validate:A4(p,r),disabled:!1===o,tooltip:k4({tooltip:a})})}function U4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,tooltip:a,feel:l}=r,c=gQ("bpmnFactory"),p=gQ("commandStack"),u=gQ("debounceInput"),d=gQ("translate"),h="optional"===l?PW:UW,[f,m]=E4(c,p,t,r);return h({element:t,debounce:u,translate:d,getValue:f,id:n,label:s,description:N4({description:i}),setValue:m,disabled:!1===o,tooltip:k4({tooltip:a})})}function W4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c="optional"===a?OW:fW,p=gQ("bpmnFactory"),d=gQ("commandStack"),h=gQ("debounceInput"),f=gQ("translate"),[m,g]=E4(p,d,t,r),y=Xx((e=>{if(O4(r)&&u(e)&&e.toString().includes("e"))return f("Scientific notation is disallowed in FEEL.");return A4(f,r)(e)}),[f,r]);return c({debounce:h,element:t,getValue:m,id:n,label:s,description:N4({description:i}),setValue:g,validate:y,disabled:!1===o,tooltip:k4({tooltip:l})})}function G4(e){const{element:t,elementTemplate:n,injector:r}=e,i=r.get("translate"),o=[],{id:s,properties:a,groups:l}=n,c=function(e){return P(e,"group")}(a),p=[];return v(c,((e,n)=>{const r=function(e,t){return m(e,(e=>e.id===t))}(l,n);if(!r)return p.push(...e);Q4(o,{element:t,id:`ElementTemplates__CustomProperties-${n}`,label:i(r.label),openByDefault:r.openByDefault,properties:e,templateId:`${s}-${n}`,tooltip:k4({tooltip:r.tooltip})})})),p.length&&Q4(o,{id:"ElementTemplates__CustomProperties",label:i("Custom properties"),element:t,properties:p,templateId:s}),o}function Q4(e,t){const{element:n,id:r,label:i,openByDefault:o=!0,properties:s,templateId:a,tooltip:l}=t,c={id:r,label:i,component:qU,entries:[],shouldOpen:o,tooltip:l};s.forEach(((e,t)=>{const n=function(e,t,n){let{type:r,feel:i}=n;r||(r=function(e){const{binding:t}=e,{type:n}=t;if([O3,M3,A3,S3,C3,T3,D3].includes(n))return"String"}(n));if("required"===i)return{id:e,component:F4,isEdited:SW,property:n};if("Number"===r)return{id:e,component:W4,isEdited:mW,property:n};if("Boolean"===r)return{id:e,component:U4,isEdited:WW,property:n};if("Dropdown"===r)return{id:e,component:H4,isEdited:XW,property:n};if("String"===r)return i?{id:e,component:F4,isEdited:SW,property:n}:{id:e,component:j4,isEdited:oG,property:n};if("Text"===r)return i?{id:e,component:V4,isEdited:SW,property:n}:{id:e,component:R4,isEdited:tG,property:n}}(`custom-entry-${a}-${t}`,0,e);n&&c.entries.push(n)})),c.entries.length&&e.push(c)}function Z4(e){return Oi(e,"bpmn:ReceiveTask")?Si(e):function(e,t){return m(Si(e).get("eventDefinitions")||[],(function(e){return Oi(e,t)}))}(e,"bpmn:MessageEventDefinition")}const X4="",Y4="create-new";function K4(e){const{element:t}=e;return function(e){return Oi(e,"bpmn:ReceiveTask")||Pi(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!Z4(e)}(t)?[{id:"messageRef",component:J4,isEdited:XW}]:[]}function J4(e){const{element:t}=e,r=gQ("bpmnFactory"),i=gQ("modeling"),o=gQ("translate"),s=Z4(t);return function(e){const{autoFocusEntry:t,element:n,getOptions:r}=e,i=r(n),o=LU(i);return Wx((()=>{if(t&&o&&i.length>o.length){const e=ve(`[data-entry-id="${t}"]`),n=ve(".bio-properties-panel-input",e);n&&n.select()}}),[i]),B_(ZW,{...e})}({element:t,id:"messageRef",label:o("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=function(e){const t=Z4(e);return t&&t.get("messageRef")}(t);return e?e.get("id"):X4},setValue:e=>{const o=g3(s);let a;if(e===Y4){const t=function(e){return new n([32,32,1]).nextPrefixed(e)}("Message_");a=m3("bpmn:Message",{id:t,name:t},o,r),e=a.get("id")}return a=function(e,t,n){return y3(e,t).find((e=>e.id===n))}(s,"bpmn:Message",e)||a,i.updateModdleProperties(t,s,{messageRef:a})},getOptions:()=>{let e=[{value:X4,label:o("<none>")},{value:Y4,label:o("Create new ...")}];const n=function(e){return e.filter((e=>!e.get("zeebe:modelerTemplate")))}(y3(Si(t),"bpmn:Message"));var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}const e6=["general","documentation","multiInstance"];let t6=class{constructor(e,t,n){t.registerProvider(300,this),this._elementTemplates=e,this._injector=n}getGroups(e){return t=>{const n=this._injector;if(function(e,t){const n=function(e,t){return e.find((e=>e.id===t))}(e,"message");if(!n)return;n.entries=(r=n.entries,i=K4({element:t}),r.map((e=>i.find((t=>t.id===e.id))||e)));var r,i}(t,e),!this._shouldShowTemplateProperties(e))return t;const r=n.get("translate");t=t.slice();const i={element:e,id:"ElementTemplates__Template",label:r("Template"),component:q5({getTemplateId:G2}),entries:e4({element:e,elementTemplates:this._elementTemplates})};n6(e6,t,[i]);let o=this._elementTemplates.get(e);if(o){o=y5(e,o);n6("ElementTemplates__Template",t,[].concat(G4({element:e,elementTemplate:o,injector:n})))}return G2(e)&&(t=function(e,t){if(!e.entriesVisible)return t.filter((e=>e6.includes(e.id)||e.id.startsWith("ElementTemplates__")));return t}(o||{},t)),t}}_shouldShowTemplateProperties(e){return G2(e)||this._elementTemplates.getAll(e).length}};function n6(e,t,n){let r=e;Array.isArray(e)||(r=[e]);const i=t.reduce(((e,t,n)=>r.includes(t.id)?n:e),-1);-1!==i?t.splice(i+1,0,...n):t.unshift(...n)}t6.$inject=["elementTemplates","propertiesPanel","injector"];var r6={__depends__:[L5,{__depends__:[Ao],__init__:["elementTemplatesPropertiesProvider"],elementTemplatesPropertiesProvider:["type",t6]}]};function i6(){}function o6(e,t){this.model=e,this.properties=t}(class extends Wo{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(n){var r=n.context,i=Si(r.oldShape),o=r.newShape,s=Si(o);if(!i.modelerTemplate)return;const a=s.modelerTemplate,l=s.modelerTemplateVersion,c=e.get(a,l);if(!c)return void e.unlinkTemplate(o,t);const{appliesTo:p,elementType:u}=c;if(u)return void(Oi(o,u.value)||e.unlinkTemplate(o,t));const d=p.reduce(((e,t)=>e||Oi(s,t)),!1);d||e.unlinkTemplate(o,t)}))}}).$inject=["elementTemplates","injector"],i6.prototype.get=function(e){return this.$model.properties.get(this,e)},i6.prototype.set=function(e,t){this.$model.properties.set(this,e,t)},o6.prototype.createType=function(e){var t=this.model,n=this.properties,r=Object.create(i6.prototype);v(e.properties,(function(e){e.isMany||void 0===e.default||(r[e.name]=e.default)})),n.defineModel(r,t),n.defineDescriptor(r,e);var i=e.ns.name;function o(e){n.define(this,"$type",{value:i,enumerable:!0}),n.define(this,"$attrs",{value:{}}),n.define(this,"$parent",{writable:!0}),v(e,I((function(e,t){this.set(t,e)}),this))}return o.prototype=r,o.hasType=r.$instanceOf=this.model.hasType,n.defineModel(o,t),n.defineDescriptor(o,e),o};var s6={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},a6={String:function(e){return e},Boolean:function(e){return"true"===e},Integer:function(e){return parseInt(e,10)},Real:function(e){return parseFloat(e)}};function l6(e,t){var n=a6[e];return n?n(t):t}function c6(e){return!!s6[e]}function p6(e){return!!a6[e]}function u6(e,t){var n,r,i=e.split(/:/);if(1===i.length)n=e,r=t;else{if(2!==i.length)throw new Error("expected <prefix:localName> or <localName>, got "+e);n=i[1],r=i[0]}return{name:e=(r?r+":":"")+n,prefix:r,localName:n}}function d6(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}function h6(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,v(e,I(this.registerPackage,this))}function f6(e,t,n){var r=t[n];if(r in e)throw new Error("package with "+n+" <"+r+"> already defined")}function m6(e){this.model=e}function g6(e,t,n){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:n,configurable:!0})}function y6(e){return e.replace(/^:/,"")}function v6(e,t={}){this.properties=new m6(this),this.factory=new o6(this,this.properties),this.registry=new h6(e,this.properties),this.typeCache={},this.config=t}d6.prototype.build=function(){return $(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},d6.prototype.addProperty=function(e,t,n){"boolean"==typeof t&&(n=t,t=void 0),this.addNamedProperty(e,!1!==n);var r=this.properties;void 0!==t?r.splice(t,0,e):r.push(e)},d6.prototype.replaceProperty=function(e,t,n){var r=e.ns,i=this.properties,o=this.propertiesByName,s=e.name!==t.name;if(e.isId){if(!t.isId)throw new Error("property <"+t.ns.name+"> must be id property to refine <"+e.ns.name+">");this.setIdProperty(t,!1)}if(e.isBody){if(!t.isBody)throw new Error("property <"+t.ns.name+"> must be body property to refine <"+e.ns.name+">");this.setBodyProperty(t,!1)}var a=i.indexOf(e);if(-1===a)throw new Error("property <"+r.name+"> not found in property list");i.splice(a,1),this.addProperty(t,n?void 0:a,s),o[r.name]=o[r.localName]=t},d6.prototype.redefineProperty=function(e,t,n){var r=e.ns.prefix,i=t.split("#"),o=u6(i[0],r),s=u6(i[1],o.prefix).name,a=this.propertiesByName[s];if(!a)throw new Error("refined property <"+s+"> not found");this.replaceProperty(a,e,n),delete e.redefines},d6.prototype.addNamedProperty=function(e,t){var n=e.ns,r=this.propertiesByName;t&&(this.assertNotDefined(e,n.name),this.assertNotDefined(e,n.localName)),r[n.name]=r[n.localName]=e},d6.prototype.removeNamedProperty=function(e){var t=e.ns,n=this.propertiesByName;delete n[t.name],delete n[t.localName]},d6.prototype.setBodyProperty=function(e,t){if(t&&this.bodyProperty)throw new Error("body property defined multiple times (<"+this.bodyProperty.ns.name+">, <"+e.ns.name+">)");this.bodyProperty=e},d6.prototype.setIdProperty=function(e,t){if(t&&this.idProperty)throw new Error("id property defined multiple times (<"+this.idProperty.ns.name+">, <"+e.ns.name+">)");this.idProperty=e},d6.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},d6.prototype.assertNotDefined=function(e,t){var n=e.name,r=this.propertiesByName[n];if(r)throw new Error("property <"+n+"> already defined; override of <"+r.definedBy.ns.name+"#"+r.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},d6.prototype.hasProperty=function(e){return this.propertiesByName[e]},d6.prototype.addTrait=function(e,t){t&&this.assertNotTrait(e);var n=this.allTypesByName,r=this.allTypes,i=e.name;i in n||(v(e.properties,I((function(n){n=L({},n,{name:n.ns.localName,inherited:t}),Object.defineProperty(n,"definedBy",{value:e});var r=n.replaces,i=n.redefines;r||i?this.redefineProperty(n,r||i,r):(n.isBody&&this.setBodyProperty(n),n.isId&&this.setIdProperty(n),this.addProperty(n))}),this)),r.push(e),n[i]=e)},h6.prototype.getPackage=function(e){return this.packageMap[e]},h6.prototype.getPackages=function(){return this.packages},h6.prototype.registerPackage=function(e){e=L({},e);var t=this.packageMap;f6(t,e,"prefix"),f6(t,e,"uri"),v(e.types,I((function(t){this.registerType(t,e)}),this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},h6.prototype.registerType=function(e,t){var n=u6((e=L({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:L(e.meta||{})})).name,t.prefix),r=n.name,i={};v(e.properties,I((function(e){var t=u6(e.name,n.prefix),r=t.name;c6(e.type)||(e.type=u6(e.type,t.prefix).name),L(e,{ns:t,name:r}),i[r]=e}),this)),L(e,{ns:n,name:r,propertiesByName:i}),v(e.extends,I((function(e){var t=u6(e,n.prefix),i=this.typeMap[t.name];i.traits=i.traits||[],i.traits.push(r)}),this)),this.definePackage(e,t),this.typeMap[r]=e},h6.prototype.mapTypes=function(e,t,n){var r=c6(e.name)?{name:e.name}:this.typeMap[e.name],i=this;function o(n,r){var o=u6(n,c6(n)?"":e.prefix);i.mapTypes(o,t,r)}function s(e){return o(e,!0)}if(!r)throw new Error("unknown type <"+e.name+">");v(r.superClass,n?s:function(e){return o(e,!1)}),t(r,!n),v(r.traits,s)},h6.prototype.getEffectiveDescriptor=function(e){var t=u6(e),n=new d6(t);this.mapTypes(t,(function(e,t){n.addTrait(e,t)}));var r=n.build();return this.definePackage(r,r.allTypes[r.allTypes.length-1].$pkg),r},h6.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})},m6.prototype.set=function(e,t,n){if(!h(t)||!t.length)throw new TypeError("property name must be a non-empty string");var r=this.getProperty(e,t),i=r&&r.name;void 0===n?r?delete e[i]:delete e.$attrs[y6(t)]:r?i in e?e[i]=n:g6(e,r,n):e.$attrs[y6(t)]=n},m6.prototype.get=function(e,t){var n=this.getProperty(e,t);if(!n)return e.$attrs[y6(t)];var r=n.name;return!e[r]&&n.isMany&&g6(e,n,[]),e[r]},m6.prototype.define=function(e,t,n){if(!n.writable){var r=n.value;delete(n=L({},n,{get:function(){return r}})).value}Object.defineProperty(e,t,n)},m6.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},m6.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},m6.prototype.getProperty=function(e,t){var n=this.model,r=n.getPropertyDescriptor(e,t);if(r)return r;if(t.includes(":"))return null;const i=n.config.strict;if(void 0!==i){const n=new TypeError(`unknown property <${t}> on <${e.$type}>`);if(i)throw n;"undefined"!=typeof console&&console.warn(n)}return null},v6.prototype.create=function(e,t){var n=this.getType(e);if(!n)throw new Error("unknown type <"+e+">");return new n(t)},v6.prototype.getType=function(e){var t=this.typeCache,n=h(e)?e:e.ns.name,r=t[n];return r||(e=this.registry.getEffectiveDescriptor(n),r=t[n]=this.factory.createType(e)),r},v6.prototype.createAny=function(e,t,n){var r=u6(e),i={$type:e,$instanceOf:function(e){return e===this.$type},get:function(e){return this[e]},set:function(e,t){B(this,[e],t)}},o={name:e,isGeneric:!0,ns:{prefix:r.prefix,localName:r.localName,uri:t}};return this.properties.defineDescriptor(i,o),this.properties.defineModel(i,this),this.properties.define(i,"get",{enumerable:!1,writable:!0}),this.properties.define(i,"set",{enumerable:!1,writable:!0}),this.properties.define(i,"$parent",{enumerable:!1,writable:!0}),this.properties.define(i,"$instanceOf",{enumerable:!1,writable:!0}),v(n,(function(e,t){p(e)&&void 0!==e.value?i[e.name]=e.value:i[t]=e})),i},v6.prototype.getPackage=function(e){return this.registry.getPackage(e)},v6.prototype.getPackages=function(){return this.registry.getPackages()},v6.prototype.getElementDescriptor=function(e){return e.$descriptor},v6.prototype.hasType=function(e,t){return void 0===t&&(t=e,e=this),t in e.$model.getElementDescriptor(e).allTypesByName},v6.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},v6.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var b6=String.fromCharCode,w6=Object.prototype.hasOwnProperty,x6=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,_6={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};function k6(e,t,n,r){return r?w6.call(_6,r)?_6[r]:"&"+r+";":b6(t||parseInt(n,16))}function E6(e){return e.length>3&&-1!==e.indexOf("&")?e.replace(x6,k6):e}Object.keys(_6).forEach((function(e){_6[e.toUpperCase()]=_6[e]}));var O6="non-whitespace outside of root node";function P6(e){return new Error(e)}function S6(e){return"missing namespace for prefix <"+e+">"}function C6(e){return{get:e,enumerable:!0}}function T6(e){var t,n={};for(t in e)n[t]=e[t];return n}function M6(e){return e+"$uri"}function A6(){return{line:0,column:0}}function D6(e){throw e}function N6(e){if(!this)return new N6(e);var t,n,r,i,o,s,a,l,c,p=e&&e.proxy,u=D6,d=A6,h=!1,f=!1,m=null,g=!1;function y(e){e instanceof Error||(e=P6(e)),m=e,u(e,d)}function v(e){o&&(e instanceof Error||(e=P6(e)),o(e,d))}this.on=function(e,c){if("function"!=typeof c)throw P6("required args <name, cb>");switch(e){case"openTag":n=c;break;case"text":t=c;break;case"closeTag":r=c;break;case"error":u=c;break;case"warn":o=c;break;case"cdata":i=c;break;case"attention":l=c;break;case"question":a=c;break;case"comment":s=c;break;default:throw P6("unsupported event: "+e)}return this},this.ns=function(e){if(void 0===e&&(e={}),"object"!=typeof e)throw P6("required args <nsMap={}>");var t,n={};for(t in e)n[t]=e[t];return f=!0,c=n,this},this.parse=function(e){if("string"!=typeof e)throw P6("required args <xml=string>");return m=null,function(e){var o,u,m,b,w,x,_,k,E,O,P,S=f?[]:null,C=f?function(e){var t,n,r={};for(t in e)r[n=e[t]]=n,r[M6(n)]=t;return r}(c):null,T=[],M=0,A=!1,D=!1,N=0,R=0,j="",I=0;function L(){if(null!==P)return P;var e,t,n,r,i,o,s,a,l,p,u,d=f&&C.xmlns,m=f&&h?[]:null,g=I,y=j,b=y.length,w={},x={};e:for(;g<b;g++)if(l=!1,!(32===(p=y.charCodeAt(g))||p<14&&p>8)){for((p<65||p>122||p>90&&p<97)&&95!==p&&58!==p&&(v("illegal first char attribute name"),l=!0),u=g+1;u<b;u++)if(!((p=y.charCodeAt(u))>96&&p<123||p>64&&p<91||p>47&&p<59||46===p||45===p||95===p)){if(32===p||p<14&&p>8){v("missing attribute value"),g=u;continue e}if(61===p)break;v("illegal attribute name char"),l=!0}if("xmlns:xmlns"===(a=y.substring(g,u))&&(v("illegal declaration of xmlns"),l=!0),34===(p=y.charCodeAt(u+1)))-1===(u=y.indexOf('"',g=u+2))&&-1!==(u=y.indexOf("'",g))&&(v("attribute value quote missmatch"),l=!0);else if(39===p)-1===(u=y.indexOf("'",g=u+2))&&-1!==(u=y.indexOf('"',g))&&(v("attribute value quote missmatch"),l=!0);else for(v("missing attribute value quotes"),l=!0,u+=1;u<b&&!(32===(p=y.charCodeAt(u+1))||p<14&&p>8);u++);for(-1===u&&(v("missing closing quotes"),u=b,l=!0),l||(o=y.substring(g,u)),g=u;u+1<b&&!(32===(p=y.charCodeAt(u+1))||p<14&&p>8);u++)g===u&&(v("illegal character after attribute end"),l=!0);if(g=u+1,!l)if(a in x)v("attribute <"+a+"> already defined");else if(x[a]=!0,f)if(h){if(null!==(i="xmlns"===a?"xmlns":120===a.charCodeAt(0)&&"xmlns:"===a.substr(0,6)?a.substr(6):null)){if(e=E6(o),t=M6(i),!(s=c[e])){if("xmlns"===i||t in C&&C[t]!==e)do{s="ns"+M++}while(void 0!==C[s]);else s=i;c[e]=s}C[i]!==s&&(r||(C=T6(C),r=!0),C[i]=s,"xmlns"===i&&(C[M6(s)]=e,d=s),C[t]=e),w[a]=o;continue}m.push(a,o)}else-1!==(p=a.indexOf(":"))?(n=C[a.substring(0,p)])?w[a=d===n?a.substr(p+1):n+a.substr(p)]=o:v(S6(a.substring(0,p))):w[a]=o;else w[a]=o}if(h)for(g=0,b=m.length;g<b;g++){if(a=m[g++],o=m[g],-1!==(p=a.indexOf(":"))){if(!(n=C[a.substring(0,p)])){v(S6(a.substring(0,p)));continue}a=d===n?a.substr(p+1):n+a.substr(p)}w[a]=o}return P=w}function B(){for(var t,n,r=/(\r\n|\r|\n)/g,i=0,o=0,s=0,a=R;N>=s&&(t=r.exec(e))&&!((a=t[0].length+t.index)>N);)i+=1,s=a;return-1==N?(o=a,n=e.substring(R)):0===R?n=e.substring(R,N):(o=N-s,n=-1==R?e.substring(N):e.substring(N,R+1)),{data:n,line:i,column:o}}d=B,p&&(O=Object.create({},{name:C6((function(){return k})),originalName:C6((function(){return E})),attrs:C6(L),ns:C6((function(){return C}))}));for(;-1!==R;){if(-1===(N=60===e.charCodeAt(R)?R:e.indexOf("<",R)))return T.length?y("unexpected end of file"):0===R?y("missing start tag"):void(R<e.length&&e.substring(R).trim()&&v(O6));if(R!==N)if(T.length){if(t&&(t(e.substring(R,N),E6,d),g))return}else if(e.substring(R,N).trim()&&(v(O6),g))return;if(33===(w=e.charCodeAt(N+1))){if(91===(b=e.charCodeAt(N+2))&&"CDATA["===e.substr(N+3,6)){if(-1===(R=e.indexOf("]]>",N)))return y("unclosed cdata");if(i&&(i(e.substring(N+9,R),d),g))return;R+=3;continue}if(45===b&&45===e.charCodeAt(N+3)){if(-1===(R=e.indexOf("--\x3e",N)))return y("unclosed comment");if(s&&(s(e.substring(N+4,R),E6,d),g))return;R+=3;continue}}if(63!==w){for(u=N+1;;u++){if(x=e.charCodeAt(u),isNaN(x))return R=-1,y("unclosed tag");if(34===x)u=-1!==(b=e.indexOf('"',u+1))?b:u;else if(39===x)u=-1!==(b=e.indexOf("'",u+1))?b:u;else if(62===x){R=u;break}}if(33!==w){if(P={},47===w){if(A=!1,D=!0,!T.length)return y("missing open tag");if(u=k=T.pop(),b=N+2+u.length,e.substring(N+2,b)!==u)return y("closing tag mismatch");for(;b<R;b++)if(!(32===(w=e.charCodeAt(b))||w>8&&w<14))return y("close tag")}else{if(47===e.charCodeAt(R-1)?(u=k=e.substring(N+1,R-1),A=!0,D=!0):(u=k=e.substring(N+1,R),A=!0,D=!1),!(w>96&&w<123||w>64&&w<91||95===w||58===w))return y("illegal first char nodeName");for(b=1,m=u.length;b<m;b++)if(!((w=u.charCodeAt(b))>96&&w<123||w>64&&w<91||w>47&&w<59||45===w||95===w||46==w)){if(32===w||w<14&&w>8){k=u.substring(0,b),P=null;break}return y("invalid nodeName")}D||T.push(k)}if(f){if(o=C,A&&(D||S.push(o),null===P&&(h=-1!==u.indexOf("xmlns",b))&&(I=b,j=u,L(),h=!1)),E=k,-1!==(w=k.indexOf(":"))){if(!(_=C[k.substring(0,w)]))return y("missing namespace on <"+E+">");k=k.substr(w+1)}else _=C.xmlns;_&&(k=_+":"+k)}if(A&&(I=b,j=u,n&&(p?n(O,E6,D,d):n(k,L,E6,D,d),g)))return;if(D){if(r&&(r(p?O:k,E6,A,d),g))return;f&&(C=A?o:S.pop())}R+=1}else{if(l&&(l(e.substring(N,R+1),E6,d),g))return;R+=1}}else{if(-1===(R=e.indexOf("?>",N)))return y("unclosed question");if(a&&(a(e.substring(N,R+2),d),g))return;R+=2}}}(e),d=A6,g=!1,m},this.stop=function(){g=!0}}function R6(e){return e.xml&&"lowerCase"===e.xml.tagAlias}var j6={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},I6="property";function L6(e){return e.xml&&e.xml.serialize}function B6(e,t){return R6(t)?e.prefix+":"+((n=e.localName).charAt(0).toUpperCase()+n.slice(1)):e.name;var n}function z6(e){return new Error(e)}function $6(e){return e.$descriptor}function q6(e){L(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(e){this.references.push(e)},this.addElement=function(e){if(!e)throw z6("expected element");var t,n=this.elementsById,r=$6(e).idProperty;if(r&&(t=e.get(r.name))){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(t))throw new Error("illegal ID <"+t+">");if(n[t])throw z6("duplicate ID <"+t+">");n[t]=e}},this.addWarning=function(e){this.warnings.push(e)}}function F6(){}function V6(){}function H6(){}function U6(e,t){this.property=e,this.context=t}function W6(e,t){this.element=t,this.propertyDesc=e}function G6(){}function Q6(e,t,n){this.model=e,this.type=e.getType(t),this.context=n}function Z6(e,t,n){Q6.call(this,e,t,n)}function X6(e,t,n){this.model=e,this.context=n}function Y6(e){e instanceof v6&&(e={model:e}),L(this,{lax:!1},e)}F6.prototype.handleEnd=function(){},F6.prototype.handleText=function(){},F6.prototype.handleNode=function(){},V6.prototype=Object.create(F6.prototype),V6.prototype.handleNode=function(){return this},H6.prototype=Object.create(F6.prototype),H6.prototype.handleText=function(e){this.body=(this.body||"")+e},U6.prototype=Object.create(H6.prototype),U6.prototype.handleNode=function(e){if(this.element)throw z6("expected no sub nodes");return this.element=this.createReference(e),this},U6.prototype.handleEnd=function(){this.element.id=this.body},U6.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}},W6.prototype=Object.create(H6.prototype),W6.prototype.handleEnd=function(){var e=this.body||"",t=this.element,n=this.propertyDesc;e=l6(n.type,e),n.isMany?t.get(n.name).push(e):t.set(n.name,e)},G6.prototype=Object.create(H6.prototype),G6.prototype.handleNode=function(e){var t=this,n=this.element;return n?t=this.handleChild(e):(n=this.element=this.createElement(e),this.context.addElement(n)),t},Q6.prototype=Object.create(G6.prototype),Q6.prototype.addReference=function(e){this.context.addReference(e)},Q6.prototype.handleText=function(e){if(!$6(this.element).bodyProperty)throw z6("unexpected body text <"+e+">");H6.prototype.handleText.call(this,e)},Q6.prototype.handleEnd=function(){var e=this.body,t=this.element,n=$6(t).bodyProperty;n&&void 0!==e&&(e=l6(n.type,e),t.set(n.name,e))},Q6.prototype.createElement=function(e){var t,n=e.attributes,r=this.type,i=$6(r),o=this.context,s=new r({}),a=this.model;return v(n,(function(e,n){var r=i.propertiesByName[n];r&&r.isReference?r.isMany?v(e.split(" "),(function(e){o.addReference({element:s,property:r.ns.name,id:e})})):o.addReference({element:s,property:r.ns.name,id:e}):(r?e=l6(r.type,e):"xmlns"===n?n=":"+n:(t=u6(n,i.ns.prefix),a.getPackage(t.prefix)&&o.addWarning({message:"unknown attribute <"+n+">",element:s,property:n,value:e})),s.set(n,e))})),s},Q6.prototype.getPropertyForNode=function(e){var t=u6(e.name),n=this.type,r=this.model,i=$6(n),o=t.name,s=i.propertiesByName[o];if(s&&!s.isAttr){const t=function(e){const t=L6(e);return t!==I6&&(t||null)}(s);if(t){const n=e.attributes[t];if(n){const t=function(e,t,n){const r=u6(e,t.xmlns),i=u6(`${t[r.prefix]||r.prefix}:${r.localName}`);return function(e,t){var n=e.name,r=e.localName,i=t&&t.xml&&t.xml.typePrefix;return i&&0===r.indexOf(i)?e.prefix+":"+r.slice(i.length):n}(i,n.getPackage(i.prefix))}(n,e.ns,r);return L({},s,{effectiveType:$6(r.getType(t)).name})}}return s}var a=r.getPackage(t.prefix);if(a){const e=B6(t,a),n=r.getType(e);if(s=m(i.properties,(function(e){return!e.isVirtual&&!e.isReference&&!e.isAttribute&&n.hasType(e.type)})),s)return L({},s,{effectiveType:$6(n).name})}else if(s=m(i.properties,(function(e){return!e.isReference&&!e.isAttribute&&"Element"===e.type})),s)return s;throw z6("unrecognized element <"+t.name+">")},Q6.prototype.toString=function(){return"ElementDescriptor["+$6(this.type).name+"]"},Q6.prototype.valueHandler=function(e,t){return new W6(e,t)},Q6.prototype.referenceHandler=function(e){return new U6(e,this.context)},Q6.prototype.handler=function(e){return"Element"===e?new X6(this.model,e,this.context):new Q6(this.model,e,this.context)},Q6.prototype.handleChild=function(e){var t,n,r,i;if(t=this.getPropertyForNode(e),r=this.element,p6(n=t.effectiveType||t.type))return this.valueHandler(t,r);var o=(i=t.isReference?this.referenceHandler(t).handleNode(e):this.handler(n).handleNode(e)).element;return void 0!==o&&(t.isMany?r.get(t.name).push(o):r.set(t.name,o),t.isReference?(L(o,{element:r}),this.context.addReference(o)):o.$parent=r),i},Z6.prototype=Object.create(Q6.prototype),Z6.prototype.createElement=function(e){var t=e.name,n=u6(t),r=this.model,i=this.type,o=r.getPackage(n.prefix),s=o&&B6(n,o)||t;if(!i.hasType(s))throw z6("unexpected element <"+e.originalName+">");return Q6.prototype.createElement.call(this,e)},X6.prototype=Object.create(G6.prototype),X6.prototype.createElement=function(e){var t=e.name,n=u6(t).prefix,r=e.ns[n+"$uri"],i=e.attributes;return this.model.createAny(t,r,i)},X6.prototype.handleChild=function(e){var t=new X6(this.model,"Element",this.context).handleNode(e),n=this.element,r=t.element;return void 0!==r&&((n.$children=n.$children||[]).push(r),r.$parent=n),t},X6.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)},Y6.prototype.fromXML=function(e,t,n){var r=t.rootHandler;t instanceof Q6?(r=t,t={}):"string"==typeof t?(r=this.handler(t),t={}):"string"==typeof r&&(r=this.handler(r));var i=this.model,o=this.lax,s=new q6(L({},t,{rootHandler:r})),a=new N6({proxy:!0}),l=function(){var e=[];return Object.defineProperty(e,"peek",{value:function(){return this[this.length-1]}}),e}();function c(e,t,n){var r=t(),i=r.line,o=r.column,a=r.data;"<"===a.charAt(0)&&-1!==a.indexOf(" ")&&(a=a.slice(0,a.indexOf(" "))+">");var l="unparsable content "+(a?a+" ":"")+"detected\n\tline: "+i+"\n\tcolumn: "+o+"\n\tnested error: "+e.message;if(n)return s.addWarning({message:l,error:e}),!0;throw z6(l)}function p(e,t){return c(e,t,!0)}r.context=s,l.push(r);var u=/^<\?xml /i,d=/ encoding="([^"]+)"/i,h=/^utf-8$/i;function f(e,t){try{l.peek().handleText(e)}catch(e){p(e,t)}}var m=i.getPackages().reduce((function(e,t){return e[t.uri]=t.prefix,e}),Object.entries(j6).reduce((function(e,[t,n]){return e[n]=t,e}),i.config&&i.config.nsMap||{}));return a.ns(m).on("openTag",(function(e,t,n,r){var i=e.attrs||{},s=Object.keys(i).reduce((function(e,n){var r=t(i[n]);return e[n]=r,e}),{});!function(e,t){var n=l.peek();try{l.push(n.handleNode(e))}catch(e){c(e,t,o)&&l.push(new V6)}}({name:e.name,originalName:e.originalName,attributes:s,ns:e.ns},r)})).on("question",(function(e){if(u.test(e)){var t=d.exec(e),n=t&&t[1];n&&!h.test(n)&&s.addWarning({message:"unsupported document encoding <"+n+">, falling back to UTF-8"})}})).on("closeTag",(function(){l.pop().handleEnd()})).on("cdata",f).on("text",(function(e,t,n){!function(e,t){e.trim()&&f(e,t)}(t(e),n)})).on("error",c).on("warn",p),new Promise((function(t,n){var i;try{a.parse(e),function(){var e,t,n=s.elementsById,r=s.references;for(e=0;t=r[e];e++){var i=t.element,o=n[t.id],a=$6(i).propertiesByName[t.property];if(o||s.addWarning({message:"unresolved reference <"+t.id+">",element:t.element,property:t.property,value:t.id}),a.isMany){var l=i.get(a.name),c=l.indexOf(t);-1===c&&(c=l.length),o?l[c]=o:l.splice(c,1)}else i.set(a.name,o)}}()}catch(e){i=e}var o=r.element;i||o||(i=z6("failed to parse document as <"+r.type.$descriptor.name+">"));var l=s.warnings,c=s.references,p=s.elementsById;return i?(i.warnings=l,n(i)):t({rootElement:o,elementsById:p,references:c,warnings:l})}))},Y6.prototype.handler=function(e){return new Z6(this.model,e)};var K6=/<|>|'|"|&|\n\r|\n/g,J6=/<|>|&/g;function e7(e){this.prefixMap={},this.uriMap={},this.used={},this.wellknown=[],this.custom=[],this.parent=e,this.defaultPrefixMap=e&&e.defaultPrefixMap||{}}function t7(e,t){return R6(t)?function(e){return e.charAt(0).toLowerCase()+e.slice(1)}(e):e}function n7(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function r7(e){return h(e)?e:(e.prefix?e.prefix+":":"")+e.localName}e7.prototype.mapDefaultPrefixes=function(e){this.defaultPrefixMap=e},e7.prototype.defaultUriByPrefix=function(e){return this.defaultPrefixMap[e]},e7.prototype.byUri=function(e){return this.uriMap[e]||this.parent&&this.parent.byUri(e)},e7.prototype.add=function(e,t){this.uriMap[e.uri]=e,t?this.wellknown.push(e):this.custom.push(e),this.mapPrefix(e.prefix,e.uri)},e7.prototype.uriByPrefix=function(e){return this.prefixMap[e||"xmlns"]||this.parent&&this.parent.uriByPrefix(e)},e7.prototype.mapPrefix=function(e,t){this.prefixMap[e||"xmlns"]=t},e7.prototype.getNSKey=function(e){return void 0!==e.prefix?e.uri+"|"+e.prefix:e.uri},e7.prototype.logUsed=function(e){var t=e.uri,n=this.getNSKey(e);this.used[n]=this.byUri(t),this.parent&&this.parent.logUsed(e)},e7.prototype.getUsed=function(e){return[].concat(this.wellknown,this.custom).filter((e=>{var t=this.getNSKey(e);return this.used[t]}))};var i7={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},o7={"<":"lt",">":"gt","&":"amp"};function s7(e,t,n){return(e=h(e)?e:""+e).replace(t,(function(e){return"&"+n[e]+";"}))}function a7(e){this.tagName=e}function l7(){}function c7(e){this.tagName=e}function p7(e,t){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=t}function u7(e,t,n){p7.call(this,e,t),this.serialization=n}function d7(){this.value="",this.write=function(e){this.value+=e}}function h7(e,t){var n=[""];this.append=function(t){return e.write(t),this},this.appendNewLine=function(){return t&&e.write("\n"),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 f7(e){return e=L({format:!1,preamble:!0},e||{}),{toXML:function(t,n){var r=n||new d7,i=new h7(r,e.format);e.preamble&&i.append('<?xml version="1.0" encoding="UTF-8"?>\n');var o=new p7,s=t.$model;if(o.getNamespaces().mapDefaultPrefixes(function(e){const t=e.config&&e.config.nsMap||{},n={};for(const e in j6)n[e]=j6[e];for(const e in t){n[t[e]]=e}for(const t of e.getPackages())n[t.prefix]=t.uri;return n}(s)),o.build(t).serializeTo(i),!n)return r.value}}}function m7(e,t){v6.call(this,e,t)}a7.prototype.build=function(e){return this.element=e,this},a7.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()},l7.prototype.serializeValue=l7.prototype.serializeTo=function(e){e.append(this.escape?s7(this.value,J6,o7):this.value)},l7.prototype.build=function(e,t){return this.value=t,"String"===e.type&&-1!==t.search(J6)&&(this.escape=!0),this},n7(c7,l7),c7.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("</"+this.tagName+">").appendNewLine()},p7.prototype.build=function(e){this.element=e;var t,n,r=e.$descriptor,i=this.propertyDescriptor,o=r.isGeneric;return t=o?this.parseGenericNsAttributes(e):this.parseNsAttributes(e),this.ns=i?this.nsPropertyTagName(i):this.nsTagName(r),this.tagName=this.addTagName(this.ns),o?this.parseGenericContainments(e):(n=function(e){return y(e.$descriptor.properties,(function(t){var n=t.name;if(t.isVirtual)return!1;if(!f(e,n))return!1;var r=e[n];return r!==t.default&&null!==r&&(!t.isMany||r.length)}))}(e),this.parseAttributes(y(n,(function(e){return e.isAttr}))),this.parseContainments(function(e){return y(e,(function(e){return!e.isAttr}))}(n))),this.parseGenericAttributes(e,t),this},p7.prototype.nsTagName=function(e){return function(e,t){return t.isGeneric?L({localName:t.ns.localName},e):L({localName:t7(t.ns.localName,t.$pkg)},e)}(this.logNamespaceUsed(e.ns),e)},p7.prototype.nsPropertyTagName=function(e){return function(e,t){return L({localName:t.ns.localName},e)}(this.logNamespaceUsed(e.ns),e)},p7.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},p7.prototype.nsAttributeName=function(e){var t;if(t=h(e)?u6(e):e.ns,e.inherited)return{localName:t.localName};var n=this.logNamespaceUsed(t);return this.getNamespaces().logUsed(n),this.isLocalNs(n)?{localName:t.localName}:L({localName:t.localName},n)},p7.prototype.parseGenericNsAttributes=function(e){return Object.entries(e).filter((([t,n])=>!t.startsWith("$")&&this.parseNsAttribute(e,t,n))).map((([e,t])=>({name:e,value:t})))},p7.prototype.parseGenericContainments=function(e){var t=e.$body;t&&this.body.push((new l7).build({type:"String"},t));var n=e.$children;n&&v(n,(e=>{this.body.push(new p7(this).build(e))}))},p7.prototype.parseNsAttribute=function(e,t,n){var r,i=e.$model,o=u6(t);if("xmlns"===o.prefix&&(r={prefix:o.localName,uri:n}),o.prefix||"xmlns"!==o.localName||(r={uri:n}),!r)return{name:t,value:n};if(i&&i.getPackage(n))this.logNamespace(r,!0,!0);else{var s=this.logNamespaceUsed(r,!0);this.getNamespaces().logUsed(s)}},p7.prototype.parseNsAttributes=function(e){var t=this,n=e.$attrs,r=[];return v(n,(function(n,i){var o=t.parseNsAttribute(e,i,n);o&&r.push(o)})),r},p7.prototype.parseGenericAttributes=function(e,t){var n=this;v(t,(function(t){try{n.addAttribute(n.nsAttributeName(t.name),t.value)}catch(n){"undefined"!=typeof console&&console.warn(`missing namespace information for <${t.name}=${t.value}> on`,e,n)}}))},p7.prototype.parseContainments=function(e){var t=this,n=this.body,r=this.element;v(e,(function(e){var i=r.get(e.name),o=e.isReference;if(e.isMany||(i=[i]),e.isBody)n.push((new l7).build(e,i[0]));else if(p6(e.type))v(i,(function(r){n.push(new c7(t.addTagName(t.nsPropertyTagName(e))).build(e,r))}));else if(o)v(i,(function(r){n.push(new a7(t.addTagName(t.nsPropertyTagName(e))).build(r))}));else{var s=L6(e);v(i,(function(r){var i;i=s?s===I6?new p7(t,e):new u7(t,e,s):new p7(t),n.push(i.build(r))}))}}))},p7.prototype.getNamespaces=function(e){var t,n=this.namespaces,r=this.parent;return n||(t=r&&r.getNamespaces(),e||!t?this.namespaces=n=new e7(t):n=t),n},p7.prototype.logNamespace=function(e,t,n){var r=this.getNamespaces(n),i=e.uri,o=e.prefix;return r.byUri(i)&&!n||r.add(e,t),r.mapPrefix(o,i),e},p7.prototype.logNamespaceUsed=function(e,t){var n,r,i,o=this.getNamespaces(t),s=e.prefix,a=e.uri;if(!s&&!a)return{localName:e.localName};if(i=o.defaultUriByPrefix(s),!(a=a||i||o.uriByPrefix(s)))throw new Error("no namespace uri given for prefix <"+s+">");if((e=o.byUri(a))||s||(e=this.logNamespace({uri:a},i===a,!0)),!e){for(n=s,r=1;o.uriByPrefix(n);)n=s+"_"+r++;e=this.logNamespace({prefix:n,uri:a},i===a)}return s&&o.mapPrefix(s,a),e},p7.prototype.parseAttributes=function(e){var t=this,n=this.element;v(e,(function(e){var r=n.get(e.name);if(e.isReference)if(e.isMany){var i=[];v(r,(function(e){i.push(e.id)})),r=i.join(" ")}else r=r.id;t.addAttribute(t.nsAttributeName(e),r)}))},p7.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),r7(e)},p7.prototype.addAttribute=function(e,t){var n=this.attrs;h(t)&&(t=s7(t,K6,i7));var r=g(n,(function(t){return t.name.localName===e.localName&&t.name.uri===e.uri&&t.name.prefix===e.prefix})),i={name:e,value:t};-1!==r?n.splice(r,1,i):n.push(i)},p7.prototype.serializeAttributes=function(e){var t=this.attrs,n=this.namespaces;n&&(t=function(e){return e.getUsed().filter((function(e){return"xml"!==e.prefix})).map((function(e){return{name:"xmlns"+(e.prefix?":"+e.prefix:""),value:e.uri}}))}(n).concat(t)),v(t,(function(t){e.append(" ").append(r7(t.name)).append('="').append(t.value).append('"')}))},p7.prototype.serializeTo=function(e){var t=this.body[0],n=t&&t.constructor!==l7;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(t?">":" />"),t&&(n&&e.appendNewLine().indent(),v(this.body,(function(t){t.serializeTo(e)})),n&&e.unindent().appendIndent(),e.append("</"+this.tagName+">")),e.appendNewLine()},n7(u7,p7),u7.prototype.parseNsAttributes=function(e){var t=p7.prototype.parseNsAttributes.call(this,e).filter((e=>e.name!==this.serialization)),n=e.$descriptor;if(n.name===this.propertyDescriptor.type)return t;var r=this.typeNs=this.nsTagName(n);this.getNamespaces().logUsed(this.typeNs);var i=e.$model.getPackage(r.uri),o=i.xml&&i.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(this.serialization),(r.prefix?r.prefix+":":"")+o+n.ns.localName),t},u7.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri},m7.prototype=Object.create(v6.prototype),m7.prototype.fromXML=function(e,t,n){h(t)||(n=t,t="bpmn:Definitions");var r=new Y6(L({model:this,lax:!0},n)),i=r.handler(t);return r.fromXML(e,i)},m7.prototype.toXML=function(e,t){var n=new f7(t);return new Promise((function(t,r){try{return t({xml:n.toXML(e)})}catch(e){return r(e)}}))};class g7{constructor(e){this._generate=e,this.value=null,this.valid=!1}invalidate(){this.valid=!1}get(){return this.valid||(this.value=this._generate(),this.valid=!0),this.value}}function y7(e){return!!function(e){return x7(e,"outputParameters")}(e).length}function v7(e,t){return function(e){return x7(e,"inputParameters")}(e).find((function(e){return e.target===t||e.name===t}))}function b7(e,t=void 0){const n=e.get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>Oi(e,t))):r:[]}function w7(e){return _7(e,"zeebe:IoMapping")[0]||_7(e,"camunda:InputOutput")[0]}function x7(e,t){var n=w7(e);return n&&n.get(t)||[]}function _7(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=y(i,(function(e){return Oi(e,t)})))}return n}function k7(e,t,n){var r=E7(e);if(y7(e))return e;var i=r.find((function(e){return Oi(e,"bpmn:SubProcess")&&v7(e,n)}));return i||t}function E7(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}class O7{constructor(e,t){this.providers=[],this._eventBus=e,this._bpmnjs=t,this.rawVariables=new g7(this._generateRawVariables.bind(this)),this.parsedVariables=new g7((async()=>{const t={variables:await this.getRawVariables()};return e.fire("variableResolver.parseVariables",t),t.variables})),e.on(["commandStack.changed","diagram.clear","import.done","variables.changed"],(()=>{this.invalidateCache()})),e.on("variableResolver.parseVariables",((e,t)=>{t.variables=this._parseVariables(t.variables)}))}_baseExtractor(){return[]}async getRawVariables(){return await this.rawVariables.get()}async getVariables(){return await this.parsedVariables.get()}invalidateCache(){this.rawVariables.invalidate(),this.parsedVariables.invalidate()}async _generateRawVariables(){const e=this._bpmnjs,t={},n=e.getDefinitions().get("rootElements").map((async e=>{const n=await this._baseExtractor(e,[this._extractor.bind(this)]);t[e.id]=n.map((e=>(e.provider||(e.provider=[this._baseExtractor]),e)))}));return await Promise.all(n),t}_parseVariables(e){const t={};for(const n in e){const r=e[n],i=[];r.forEach((e=>{const t=i.find((t=>t.name===e.name&&t.scope===e.scope));t?(P7("origin",t,e),P7("provider",t,e),S7(t,e)):i.push(e)})),T7(i),t[n]=i}return t}async _extractor(e){const{elements:t,containerElement:n,processVariables:r}=e,i=this,o=t.flatMap((e=>i.providers.map((async t=>{const i=await t.getVariables(e);i&&i.forEach((i=>{r.push({...M7(i),origin:[e],scope:i.scope||k7(e,n,i.name),provider:[t]})}))}))));await Promise.all(o)}registerProvider(e){this.providers.push(e),this.invalidateCache()}async getProcessVariables(e){const t=Si(e);return(await this.getVariables())[t.id]||[]}async getVariablesForElement(e){const t=Si(e),n=function(e){const t=Si(e);if(Oi(t,"bpmn:Participant"))return t.processRef;if(Oi(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!Oi(n,"bpmn:Process");)n=n.$parent;return n}(t),r=await this.getProcessVariables(n);var i=r.filter((function(e){return e.scope.id===t.id})),o=E7(t);return[...i,...r.filter((function(e){return o.find((function(t){return t.id===e.scope.id}))}))]}}function P7(e,t,n){n[e]||(n[e]=[]),t[e]||(t[e]=[]);const r=n[e].filter((n=>!t[e].includes(n)));t[e].push(...r)}function S7(e,t,n=[]){n.includes(t)||n.includes(e)||(n.push(t),n.push(e),e.type=C7(e.type,t.type,"|"),e.info=C7(e.info,t.info,"\n"),e.isList=!!e.isList==!!t.isList?e.isList:"optional",t.entries&&(e.entries||(e.entries=[]),t.entries.forEach((t=>{const r=e.entries.find((e=>e.name===t.name));r?S7(r,t,n):e.entries.push(t)}))))}O7.$inject=["eventBus","bpmnjs"];const C7=(e,t,n)=>{if(e&&e!==t){const r=e.split(n);return r.includes(t)||r.push(t),r.join(n)}return t};function T7(e){e&&e.forEach((e=>{e.detail=e.type,T7(e.entries)}))}function M7(e){const t={...e};return t.entries&&(t.entries=t.entries.map(M7)),t}class A7 extends YT{constructor(e={entries:{}}){super(e),this.value.entries=this.value.entries||{};const t=this.value;for(const e in t.entries){t.entries[e]instanceof A7||(t.entries[e]=this.constructor.of(t.entries[e]))}}getKeys(){return Object.keys(this.value.entries)}get(e){const t=this.value.entries[e];return t&&t.atomic?t.atomicValue:t}set(e,t){return this.constructor.of({...this.value,entries:{...this.value.entries,[e]:t}})}static of(...e){const t=e=>this.isAtomic(e)?e instanceof this?e.value:{atomic:!0,atomicValue:e}:{...e};return new this(e.reduce(((e,n)=>{const{entries:r={},...i}=t(n);return{...e,...i,entries:{...e.entries,...r}}}),{}))}}function D7(e){const t=[];return e.forEach((e=>{e.origin.forEach((n=>{const r=function(e,t){const n=b7(t,"zeebe:IoMapping")[0];if(!n)return;let r;r=t===e.scope?n.inputParameters:n.outputParameters;if(!r)return;const i=r.find((t=>t.target===e.name));if(!i||!i.source)return;const o=i.source.substring(1),s=N7(o),a=R7(s);return{expression:o,unresolved:a}}(e,n);if(!r)return;const{expression:i,unresolved:o}=r;t.push({variable:e,expression:i,unresolved:o})}))})),function(e,t){const n=[];e.forEach((e=>{const{variable:t,unresolved:r}=e,i=n.findIndex((({unresolved:e})=>e.includes(t.name)));if(i>-1)return void n.splice(i,0,e);const o=n.findLastIndex((({variable:e})=>r.includes(e.name)));o>-1?n.splice(o+1,0,e):n.push(e)}));const r=t.filter((t=>!e.find((({variable:e})=>{})))),i={name:"OuterContext",entries:j7(r)},o=[];n.forEach((({variable:e,expression:t})=>{const n=N7(t,function(e,t){const n={entries:{}},r=t.origin.flatMap((e=>[e,...E7(e)]));for(const t in e.entries){const i=e.entries[t];r.find((e=>e.id===i.scope.id))&&(n.entries[t]=i)}return n}(i,e));let r=n.computedValue();r instanceof A7||(r=A7.of(r)),r.scope=e.scope,i.entries[e.name]=r,o.push({newVariable:I7({[e.name]:r})[0],oldVariable:e})}));return o.map((({newVariable:e,oldVariable:t})=>t?{...e,...t}:e))}(t,e)}function N7(e,t={}){const n=tM(t,A7);let r=null;const i=new tE({start:n.start,reduce(...e){const t=n.reduce(...e);return r=t,t}});return sM.configure({contextTracker:i}).parse(e),r}function R7(e){const t=[];return t.push(...e.children.flatMap(R7)),"VariableName"!==e.name||e.value||t.push(e.raw),t}function j7(e){if(!e)return;const t={};return e.forEach((e=>{t[e.name]={...e},t[e.name].entries=j7(e.entries)})),t}function I7(e){if(!e)return;const t=[];for(const n in e){let r=e[n];r instanceof A7&&(r=r.value),r?t.push({...L7(r),entries:I7(r.entries),name:n,scope:r.scope}):t.push({name:n})}return t}function L7(e){return{...e,type:B7(e),info:z7(e)}}function B7(e){return e?e.type?e.type:e.entries&&Object.keys(e.entries).length?"Context":e.atomicValue?function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(typeof e.atomicValue):"":""}function z7(e){return e?e.info?e.info:e.atomicValue?""+e.atomicValue:"":""}class $7{constructor(e){this._variableResolver=e,this.register()}getVariables(e){}register(){this._variableResolver.registerProvider(this)}}$7.$inject=["variableResolver"];const q7={__init__:["variableResolver","connectorVariableProvider"],variableResolver:["type",class extends O7{constructor(e,t){super(e,t),this._baseExtractor=KG,e.on("variableResolver.parseVariables",2e3,this._resolveIoMappings)}async getVariablesForElement(e,t){const n=await super.getVariablesForElement(e),r=Si(e);if(!t)return n;const i=w7(r);if(!i)return n;const o=[];if(Oi(t,"zeebe:Input")){const e=i.inputParameters,n=e.slice(e.indexOf(t)).map((e=>e.target));o.push(...n)}const s=i.outputParameters;if(Oi(t,"zeebe:Output")){const e=s.slice(s.indexOf(t)).map((e=>e.target));o.push(...e)}else if(s){const e=s.map((e=>e.target));o.push(...e)}return n.filter((e=>e.origin.length>1||e.origin[0]!==r||(!(!Oi(t,"zeebe:Output")||!e.provider.find((e=>e!==this._baseExtractor)))||!o.includes(e.name))))}_resolveIoMappings(e,t){const n=t.variables,r={};for(const e in n){const t=n[e],i=D7(t);r[e]=[...t,...i]}t.variables=r}}],connectorVariableProvider:["type",class extends $7{getVariables(e){const t=[],n=b7(e,"zeebe:TaskHeaders")[0];if(!n||!n.values)return;const r=n.values,i=r.find((e=>"resultVariable"===e.key)),o=r.find((e=>"resultExpression"===e.key));if(i&&i.value&&t.push({name:i.value}),o&&o.value){const e=I7(N7(o.value.substring(1)).computedValue());e&&e.length>0&&t.push(...e[0].entries)}return t}}]},F7="camundaModeler:exampleOutputJson";function V7(e){const t=H7(e,F7);if(t)return t.get("value")}function H7(e,t){const n=function(e,t){const n=Si(e);let r=[];const i=n.get("extensionElements");if(void 0!==i){const e=i.get("values");void 0!==e&&(r=e.filter((e=>Oi(e,t))))}return r}(e,"zeebe:Properties");if(0===n.length)return;return n[0].get("properties").find((e=>e.get("name")===t))}function U7(e={}){if("object"==typeof e&&null!==e)return Object.keys(e).map((t=>{let n=e[t];const r={name:t,info:JSON.stringify(n,null,2)};return Array.isArray(n)?(r.isList=!0,r.type="List",n.length>0&&(r.entries=U7(n[0])),r):(r.type=function(e){if(null===e)return"";const t=typeof e;if("object"===t)return"Context";return function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(t)}(n),r.entries=U7(n),r)}))}var W7={__init__:["exampleProvider"],exampleProvider:["type",class extends $7{getVariables(e){const t=V7(e);if(!t)return;const n=function(e){try{const t=JSON.parse(e);return U7(t)}catch(e){return[]}}(t);return n}}]};const G7=e=>{const{element:t}=e,n=gQ("debounceInput"),r=gQ("translate"),i=gQ("commandStack"),o=gQ("moddle"),s=gQ("injector");return eG({element:t,label:r("Example output"),description:_l`
|
|
186
186
|
<a href="https://docs.camunda.io/docs/components/modeler/data-handling/" target="_blank" rel="noopener" title=${r("Example Data documentation")}>
|
|
187
187
|
${r("About example data")}
|
|
188
188
|
</a>`,id:"exampleJson",getValue:()=>V7(t),setValue:e=>{const n=[],{commands:r,zeebeProperties:a}=Q7(t,s);n.push(...r);const l=H7(t,F7);l?e?n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:l,properties:{value:e}}}):n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{properties:X7(a.get("properties"))}}}):n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{properties:[...a.get("properties"),Z7(e,o)]}}}),i.execute("properties-panel.multi-command-executor",n)},debounce:n,validate:e=>{if(e)try{if(!p(JSON.parse(e)))return r("Example data must be a JSON object literal.")}catch(e){return e.message}},monospace:!0})},Q7=(e,t)=>{const n=[],r=Si(e),i=t.get("bpmnFactory");let o=r.get("extensionElements");o||(o=i.create("bpmn:ExtensionElements",{values:[]}),o.$parent=r,n.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:r,properties:{extensionElements:o}}}));let s=o.get("values").find((e=>"zeebe:Properties"===e.$type));return s||(s=i.create("zeebe:Properties",{properties:[]}),s.$parent=o,n.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{values:[...o.get("values"),s]}}})),{zeebeProperties:s,commands:n}};function Z7(e,t){return t.create("zeebe:Property",{name:F7,value:e})}function X7(e){return e.filter((e=>e.get("name")!==F7))}class Y7{constructor(e,t){this._injector=t,e.registerProvider(100,this)}getGroups(e){const t=this._injector.get("translate"),n=this._injector.get("elementTemplates",!1);let r=null;n&&(r=n.get(e));const i=!!r;return e=>{if(i)return e;const n={id:"additionalDataGroup",label:t("Example data"),entries:[{id:"exampleJson",component:G7,isEdited:tG}],component:qU};return e.push(n),e}}}Y7.$inject=["propertiesPanel","injector"];var K7={__depends__:[W7,{__init__:["dataPropertiesProvider"],dataPropertiesProvider:["type",Y7]}]},J7=1e6,e8=1e6,t8="[big.js] ",n8=t8+"Invalid ",r8=n8+"decimal places",i8=n8+"rounding mode",o8=t8+"Division by zero",s8={},a8=void 0,l8=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function c8(e,t,n,r){var i=e.c;if(n===a8&&(n=e.constructor.RM),0!==n&&1!==n&&2!==n&&3!==n)throw Error(i8);if(t<1)r=3===n&&(r||!!i[0])||0===t&&(1===n&&i[0]>=5||2===n&&(i[0]>5||5===i[0]&&(r||i[1]!==a8))),i.length=1,r?(e.e=e.e-t+1,i[0]=1):i[0]=e.e=0;else if(t<i.length){if(r=1===n&&i[t]>=5||2===n&&(i[t]>5||5===i[t]&&(r||i[t+1]!==a8||1&i[t-1]))||3===n&&(r||!!i[0]),i.length=t,r)for(;++i[--t]>9;)if(i[t]=0,0===t){++e.e,i.unshift(1);break}for(t=i.length;!i[--t];)i.pop()}return e}function p8(e,t,n){var r=e.e,i=e.c.join(""),o=i.length;if(t)i=i.charAt(0)+(o>1?"."+i.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)i="0"+i;i="0."+i}else if(r>0)if(++r>o)for(r-=o;r--;)i+="0";else r<o&&(i=i.slice(0,r)+"."+i.slice(r));else o>1&&(i=i.charAt(0)+"."+i.slice(1));return e.s<0&&n?"-"+i:i}s8.abs=function(){var e=new this.constructor(this);return e.s=1,e},s8.cmp=function(e){var t,n=this,r=n.c,i=(e=new n.constructor(e)).c,o=n.s,s=e.s,a=n.e,l=e.e;if(!r[0]||!i[0])return r[0]?o:i[0]?-s:0;if(o!=s)return o;if(t=o<0,a!=l)return a>l^t?1:-1;for(s=(a=r.length)<(l=i.length)?a:l,o=-1;++o<s;)if(r[o]!=i[o])return r[o]>i[o]^t?1:-1;return a==l?0:a>l^t?1:-1},s8.div=function(e){var t=this,n=t.constructor,r=t.c,i=(e=new n(e)).c,o=t.s==e.s?1:-1,s=n.DP;if(s!==~~s||s<0||s>J7)throw Error(r8);if(!i[0])throw Error(o8);if(!r[0])return e.s=o,e.c=[e.e=0],e;var a,l,c,p,u,d=i.slice(),h=a=i.length,f=r.length,m=r.slice(0,a),g=m.length,y=e,v=y.c=[],b=0,w=s+(y.e=t.e-e.e)+1;for(y.s=o,o=w<0?0:w,d.unshift(0);g++<a;)m.push(0);do{for(c=0;c<10;c++){if(a!=(g=m.length))p=a>g?1:-1;else for(u=-1,p=0;++u<a;)if(i[u]!=m[u]){p=i[u]>m[u]?1:-1;break}if(!(p<0))break;for(l=g==a?i:d;g;){if(m[--g]<l[g]){for(u=g;u&&!m[--u];)m[u]=9;--m[u],m[g]+=10}m[g]-=l[g]}for(;!m[0];)m.shift()}v[b++]=p?c:++c,m[0]&&p?m[g]=r[h]||0:m=[r[h]]}while((h++<f||m[0]!==a8)&&o--);return v[0]||1==b||(v.shift(),y.e--,w--),b>w&&c8(y,w,n.RM,m[0]!==a8),y},s8.eq=function(e){return 0===this.cmp(e)},s8.gt=function(e){return this.cmp(e)>0},s8.gte=function(e){return this.cmp(e)>-1},s8.lt=function(e){return this.cmp(e)<0},s8.lte=function(e){return this.cmp(e)<1},s8.minus=s8.sub=function(e){var t,n,r,i,o=this,s=o.constructor,a=o.s,l=(e=new s(e)).s;if(a!=l)return e.s=-l,o.plus(e);var c=o.c.slice(),p=o.e,u=e.c,d=e.e;if(!c[0]||!u[0])return u[0]?e.s=-l:c[0]?e=new s(o):e.s=1,e;if(a=p-d){for((i=a<0)?(a=-a,r=c):(d=p,r=u),r.reverse(),l=a;l--;)r.push(0);r.reverse()}else for(n=((i=c.length<u.length)?c:u).length,a=l=0;l<n;l++)if(c[l]!=u[l]){i=c[l]<u[l];break}if(i&&(r=c,c=u,u=r,e.s=-e.s),(l=(n=u.length)-(t=c.length))>0)for(;l--;)c[t++]=0;for(l=t;n>a;){if(c[--n]<u[n]){for(t=n;t&&!c[--t];)c[t]=9;--c[t],c[n]+=10}c[n]-=u[n]}for(;0===c[--l];)c.pop();for(;0===c[0];)c.shift(),--d;return c[0]||(e.s=1,c=[d=0]),e.c=c,e.e=d,e},s8.mod=function(e){var t,n=this,r=n.constructor,i=n.s,o=(e=new r(e)).s;if(!e.c[0])throw Error(o8);return n.s=e.s=1,t=1==e.cmp(n),n.s=i,e.s=o,t?new r(n):(i=r.DP,o=r.RM,r.DP=r.RM=0,n=n.div(e),r.DP=i,r.RM=o,this.minus(n.times(e)))},s8.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},s8.plus=s8.add=function(e){var t,n,r,i=this,o=i.constructor;if(e=new o(e),i.s!=e.s)return e.s=-e.s,i.minus(e);var s=i.e,a=i.c,l=e.e,c=e.c;if(!a[0]||!c[0])return c[0]||(a[0]?e=new o(i):e.s=i.s),e;if(a=a.slice(),t=s-l){for(t>0?(l=s,r=c):(t=-t,r=a),r.reverse();t--;)r.push(0);r.reverse()}for(a.length-c.length<0&&(r=c,c=a,a=r),t=c.length,n=0;t;a[t]%=10)n=(a[--t]=a[t]+c[t]+n)/10|0;for(n&&(a.unshift(n),++l),t=a.length;0===a[--t];)a.pop();return e.c=a,e.e=l,e},s8.pow=function(e){var t=this,n=new t.constructor("1"),r=n,i=e<0;if(e!==~~e||e<-1e6||e>e8)throw Error(n8+"exponent");for(i&&(e=-e);1&e&&(r=r.times(t)),e>>=1;)t=t.times(t);return i?n.div(r):r},s8.prec=function(e,t){if(e!==~~e||e<1||e>J7)throw Error(n8+"precision");return c8(new this.constructor(this),e,t)},s8.round=function(e,t){if(e===a8)e=0;else if(e!==~~e||e<-J7||e>J7)throw Error(r8);return c8(new this.constructor(this),e+this.e+1,t)},s8.sqrt=function(){var e,t,n,r=this,i=r.constructor,o=r.s,s=r.e,a=new i("0.5");if(!r.c[0])return new i(r);if(o<0)throw Error(t8+"No square root");0===(o=Math.sqrt(r+""))||o===1/0?((t=r.c.join("")).length+s&1||(t+="0"),s=((s+1)/2|0)-(s<0||1&s),e=new i(((o=Math.sqrt(t))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+s)):e=new i(o+""),s=e.e+(i.DP+=4);do{n=e,e=a.times(n.plus(r.div(n)))}while(n.c.slice(0,s).join("")!==e.c.slice(0,s).join(""));return c8(e,(i.DP-=4)+e.e+1,i.RM)},s8.times=s8.mul=function(e){var t,n=this,r=n.constructor,i=n.c,o=(e=new r(e)).c,s=i.length,a=o.length,l=n.e,c=e.e;if(e.s=n.s==e.s?1:-1,!i[0]||!o[0])return e.c=[e.e=0],e;for(e.e=l+c,s<a&&(t=i,i=o,o=t,c=s,s=a,a=c),t=new Array(c=s+a);c--;)t[c]=0;for(l=a;l--;){for(a=0,c=s+l;c>l;)a=t[c]+o[l]*i[c-l-1]+a,t[c--]=a%10,a=a/10|0;t[c]=a}for(a?++e.e:t.shift(),l=t.length;!t[--l];)t.pop();return e.c=t,e},s8.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==a8){if(e!==~~e||e<0||e>J7)throw Error(r8);for(n=c8(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return p8(n,!0,!!r)},s8.toFixed=function(e,t){var n=this,r=n.c[0];if(e!==a8){if(e!==~~e||e<0||e>J7)throw Error(r8);for(e=e+(n=c8(new n.constructor(n),e+n.e+1,t)).e+1;n.c.length<e;)n.c.push(0)}return p8(n,!1,!!r)},s8[Symbol.for("nodejs.util.inspect.custom")]=s8.toJSON=s8.toString=function(){var e=this,t=e.constructor;return p8(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},s8.toNumber=function(){var e=Number(p8(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(t8+"Imprecise conversion");return e},s8.toPrecision=function(e,t){var n=this,r=n.constructor,i=n.c[0];if(e!==a8){if(e!==~~e||e<1||e>J7)throw Error(n8+"precision");for(n=c8(new r(n),e,t);n.c.length<e;)n.c.push(0)}return p8(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!i)},s8.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(t8+"valueOf disallowed");return p8(e,e.e<=t.NE||e.e>=t.PE,!0)};var u8=function e(){function t(n){var r=this;if(!(r instanceof t))return n===a8?e():new t(n);if(n instanceof t)r.s=n.s,r.e=n.e,r.c=n.c.slice();else{if("string"!=typeof n){if(!0===t.strict&&"bigint"!=typeof n)throw TypeError(n8+"value");n=0===n&&1/n<0?"-0":String(n)}!function(e,t){var n,r,i;if(!l8.test(t))throw Error(n8+"number");e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".",""));(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length);for(i=t.length,r=0;r<i&&"0"==t.charAt(r);)++r;if(r==i)e.c=[e.e=0];else{for(;i>0&&"0"==t.charAt(--i););for(e.e=n-r-1,e.c=[],n=0;r<=i;)e.c[n++]=+t.charAt(r++)}}(r,n)}r.constructor=t}return t.prototype=s8,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.strict=false,t.roundDown=0,t.roundHalfUp=1,t.roundHalfEven=2,t.roundUp=3,t}(),d8=0;function h8(e,t,n,r,i){var o,s,a={};for(s in t)"ref"==s?o=t[s]:a[s]=t[s];var l={type:e,props:a,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--d8,__source:i,__self:r};if("function"==typeof e&&(o=e.defaultProps))for(s in o)void 0===a[s]&&(a[s]=o[s]);return Ia.vnode&&Ia.vnode(l),l}var f8=function(){this.__data__=[],this.size=0};var m8=function(e,t){return e===t||e!=e&&t!=t},g8=m8;var y8=function(e,t){for(var n=e.length;n--;)if(g8(e[n][0],t))return n;return-1},v8=y8,b8=Array.prototype.splice;var w8=function(e){var t=this.__data__,n=v8(t,e);return!(n<0)&&(n==t.length-1?t.pop():b8.call(t,n,1),--this.size,!0)},x8=y8;var _8=function(e){var t=this.__data__,n=x8(t,e);return n<0?void 0:t[n][1]},k8=y8;var E8=y8;var O8=function(e,t){var n=this.__data__,r=E8(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},P8=f8,S8=w8,C8=_8,T8=function(e){return k8(this.__data__,e)>-1},M8=O8;function A8(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}A8.prototype.clear=P8,A8.prototype.delete=S8,A8.prototype.get=C8,A8.prototype.has=T8,A8.prototype.set=M8;var D8=A8,N8=D8;var R8=function(){this.__data__=new N8,this.size=0};var j8=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var I8=function(e){return this.__data__.get(e)};var L8=function(e){return this.__data__.has(e)},B8="object"==typeof z_&&z_&&z_.Object===Object&&z_,z8=B8,$8="object"==typeof self&&self&&self.Object===Object&&self,q8=z8||$8||Function("return this")(),F8=q8.Symbol,V8=F8,H8=Object.prototype,U8=H8.hasOwnProperty,W8=H8.toString,G8=V8?V8.toStringTag:void 0;var Q8=function(e){var t=U8.call(e,G8),n=e[G8];try{e[G8]=void 0;var r=!0}catch(e){}var i=W8.call(e);return r&&(t?e[G8]=n:delete e[G8]),i},Z8=Object.prototype.toString;var X8=Q8,Y8=function(e){return Z8.call(e)},K8=F8?F8.toStringTag:void 0;var J8=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":K8&&K8 in Object(e)?X8(e):Y8(e)};var e9=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},t9=J8,n9=e9;var r9,i9=function(e){if(!n9(e))return!1;var t=t9(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},o9=q8["__core-js_shared__"],s9=(r9=/[^.]+$/.exec(o9&&o9.keys&&o9.keys.IE_PROTO||""))?"Symbol(src)_1."+r9:"";var a9=function(e){return!!s9&&s9 in e},l9=Function.prototype.toString;var c9=function(e){if(null!=e){try{return l9.call(e)}catch(e){}try{return e+""}catch(e){}}return""},p9=i9,u9=a9,d9=e9,h9=c9,f9=/^\[object .+?Constructor\]$/,m9=Function.prototype,g9=Object.prototype,y9=m9.toString,v9=g9.hasOwnProperty,b9=RegExp("^"+y9.call(v9).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var w9=function(e){return!(!d9(e)||u9(e))&&(p9(e)?b9:f9).test(h9(e))},x9=function(e,t){return null==e?void 0:e[t]};var _9=function(e,t){var n=x9(e,t);return w9(n)?n:void 0},k9=_9(q8,"Map"),E9=_9(Object,"create"),O9=E9;var P9=function(){this.__data__=O9?O9(null):{},this.size=0};var S9=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},C9=E9,T9=Object.prototype.hasOwnProperty;var M9=function(e){var t=this.__data__;if(C9){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return T9.call(t,e)?t[e]:void 0},A9=E9,D9=Object.prototype.hasOwnProperty;var N9=E9;var R9=P9,j9=S9,I9=M9,L9=function(e){var t=this.__data__;return A9?void 0!==t[e]:D9.call(t,e)},B9=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=N9&&void 0===t?"__lodash_hash_undefined__":t,this};function z9(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}z9.prototype.clear=R9,z9.prototype.delete=j9,z9.prototype.get=I9,z9.prototype.has=L9,z9.prototype.set=B9;var $9=z9,q9=D8,F9=k9;var V9=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},H9=V9;var U9=function(e,t){var n=e.__data__;return H9(t)?n["string"==typeof t?"string":"hash"]:n.map},W9=U9;var G9=U9;var Q9=U9;var Z9=U9;var X9=function(e,t){var n=Z9(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Y9=function(){this.size=0,this.__data__={hash:new $9,map:new(F9||q9),string:new $9}},K9=function(e){var t=W9(this,e).delete(e);return this.size-=t?1:0,t},J9=function(e){return G9(this,e).get(e)},eee=function(e){return Q9(this,e).has(e)},tee=X9;function nee(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}nee.prototype.clear=Y9,nee.prototype.delete=K9,nee.prototype.get=J9,nee.prototype.has=eee,nee.prototype.set=tee;var ree=nee,iee=D8,oee=k9,see=ree;var aee=D8,lee=R8,cee=j8,pee=I8,uee=L8,dee=function(e,t){var n=this.__data__;if(n instanceof iee){var r=n.__data__;if(!oee||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new see(r)}return n.set(e,t),this.size=n.size,this};function hee(e){var t=this.__data__=new aee(e);this.size=t.size}hee.prototype.clear=lee,hee.prototype.delete=cee,hee.prototype.get=pee,hee.prototype.has=uee,hee.prototype.set=dee;var fee=hee;var mee=ree,gee=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},yee=function(e){return this.__data__.has(e)};function vee(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new mee;++t<n;)this.add(e[t])}vee.prototype.add=vee.prototype.push=gee,vee.prototype.has=yee;var bee=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var wee=vee,xee=bee,_ee=function(e,t){return e.has(t)};var kee=function(e,t,n,r,i,o){var s=1&n,a=e.length,l=t.length;if(a!=l&&!(s&&l>a))return!1;var c=o.get(e),p=o.get(t);if(c&&p)return c==t&&p==e;var u=-1,d=!0,h=2&n?new wee:void 0;for(o.set(e,t),o.set(t,e);++u<a;){var f=e[u],m=t[u];if(r)var g=s?r(m,f,u,t,e,o):r(f,m,u,e,t,o);if(void 0!==g){if(g)continue;d=!1;break}if(h){if(!xee(t,(function(e,t){if(!_ee(h,t)&&(f===e||i(f,e,n,r,o)))return h.push(t)}))){d=!1;break}}else if(f!==m&&!i(f,m,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d};var Eee=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var Oee=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Pee=q8.Uint8Array,See=m8,Cee=kee,Tee=Eee,Mee=Oee,Aee=F8?F8.prototype:void 0,Dee=Aee?Aee.valueOf:void 0;var Nee=function(e,t,n,r,i,o,s){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new Pee(e),new Pee(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return See(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var a=Tee;case"[object Set]":var l=1&r;if(a||(a=Mee),e.size!=t.size&&!l)return!1;var c=s.get(e);if(c)return c==t;r|=2,s.set(e,t);var p=Cee(a(e),a(t),r,i,o,s);return s.delete(e),p;case"[object Symbol]":if(Dee)return Dee.call(e)==Dee.call(t)}return!1};var Ree=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},jee=Array.isArray,Iee=Ree,Lee=jee;var Bee=function(e,t,n){var r=t(e);return Lee(e)?r:Iee(r,n(e))};var zee=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o};var $ee=zee,qee=function(){return[]},Fee=Object.prototype.propertyIsEnumerable,Vee=Object.getOwnPropertySymbols,Hee=Vee?function(e){return null==e?[]:(e=Object(e),$ee(Vee(e),(function(t){return Fee.call(e,t)})))}:qee;var Uee=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var Wee=function(e){return null!=e&&"object"==typeof e},Gee=J8,Qee=Wee;var Zee=function(e){return Qee(e)&&"[object Arguments]"==Gee(e)},Xee=Wee,Yee=Object.prototype,Kee=Yee.hasOwnProperty,Jee=Yee.propertyIsEnumerable,ete=Zee(function(){return arguments}())?Zee:function(e){return Xee(e)&&Kee.call(e,"callee")&&!Jee.call(e,"callee")},tte=ete,nte={exports:{}};var rte=function(){return!1};!function(e,t){var n=q8,r=rte,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?n.Buffer:void 0,a=(s?s.isBuffer:void 0)||r;e.exports=a}(nte,nte.exports);var ite=nte.exports,ote=/^(?:0|[1-9]\d*)$/;var ste=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ote.test(e))&&e>-1&&e%1==0&&e<t};var ate=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},lte=J8,cte=ate,pte=Wee,ute={};ute["[object Float32Array]"]=ute["[object Float64Array]"]=ute["[object Int8Array]"]=ute["[object Int16Array]"]=ute["[object Int32Array]"]=ute["[object Uint8Array]"]=ute["[object Uint8ClampedArray]"]=ute["[object Uint16Array]"]=ute["[object Uint32Array]"]=!0,ute["[object Arguments]"]=ute["[object Array]"]=ute["[object ArrayBuffer]"]=ute["[object Boolean]"]=ute["[object DataView]"]=ute["[object Date]"]=ute["[object Error]"]=ute["[object Function]"]=ute["[object Map]"]=ute["[object Number]"]=ute["[object Object]"]=ute["[object RegExp]"]=ute["[object Set]"]=ute["[object String]"]=ute["[object WeakMap]"]=!1;var dte=function(e){return pte(e)&&cte(e.length)&&!!ute[lte(e)]};var hte=function(e){return function(t){return e(t)}},fte={exports:{}};!function(e,t){var n=B8,r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=s}(fte,fte.exports);var mte=fte.exports,gte=dte,yte=hte,vte=mte&&mte.isTypedArray,bte=vte?yte(vte):gte,wte=Uee,xte=tte,_te=jee,kte=ite,Ete=ste,Ote=bte,Pte=Object.prototype.hasOwnProperty;var Ste=function(e,t){var n=_te(e),r=!n&&xte(e),i=!n&&!r&&kte(e),o=!n&&!r&&!i&&Ote(e),s=n||r||i||o,a=s?wte(e.length,String):[],l=a.length;for(var c in e)!t&&!Pte.call(e,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ete(c,l))||a.push(c);return a},Cte=Object.prototype;var Tte=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Cte)};var Mte=function(e,t){return function(n){return e(t(n))}},Ate=Mte(Object.keys,Object),Dte=Tte,Nte=Ate,Rte=Object.prototype.hasOwnProperty;var jte=i9,Ite=ate;var Lte=Ste,Bte=function(e){if(!Dte(e))return Nte(e);var t=[];for(var n in Object(e))Rte.call(e,n)&&"constructor"!=n&&t.push(n);return t},zte=function(e){return null!=e&&Ite(e.length)&&!jte(e)};var $te=Bee,qte=Hee,Fte=function(e){return zte(e)?Lte(e):Bte(e)};var Vte=function(e){return $te(e,Fte,qte)},Hte=Object.prototype.hasOwnProperty;var Ute=function(e,t,n,r,i,o){var s=1&n,a=Vte(e),l=a.length;if(l!=Vte(t).length&&!s)return!1;for(var c=l;c--;){var p=a[c];if(!(s?p in t:Hte.call(t,p)))return!1}var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var h=!0;o.set(e,t),o.set(t,e);for(var f=s;++c<l;){var m=e[p=a[c]],g=t[p];if(r)var y=s?r(g,m,p,t,e,o):r(m,g,p,e,t,o);if(!(void 0===y?m===g||i(m,g,n,r,o):y)){h=!1;break}f||(f="constructor"==p)}if(h&&!f){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(e),o.delete(t),h},Wte=_9(q8,"DataView"),Gte=k9,Qte=_9(q8,"Promise"),Zte=_9(q8,"Set"),Xte=_9(q8,"WeakMap"),Yte=J8,Kte=c9,Jte="[object Map]",ene="[object Promise]",tne="[object Set]",nne="[object WeakMap]",rne="[object DataView]",ine=Kte(Wte),one=Kte(Gte),sne=Kte(Qte),ane=Kte(Zte),lne=Kte(Xte),cne=Yte;(Wte&&cne(new Wte(new ArrayBuffer(1)))!=rne||Gte&&cne(new Gte)!=Jte||Qte&&cne(Qte.resolve())!=ene||Zte&&cne(new Zte)!=tne||Xte&&cne(new Xte)!=nne)&&(cne=function(e){var t=Yte(e),n="[object Object]"==t?e.constructor:void 0,r=n?Kte(n):"";if(r)switch(r){case ine:return rne;case one:return Jte;case sne:return ene;case ane:return tne;case lne:return nne}return t});var pne=fee,une=kee,dne=Nee,hne=Ute,fne=cne,mne=jee,gne=ite,yne=bte,vne="[object Arguments]",bne="[object Array]",wne="[object Object]",xne=Object.prototype.hasOwnProperty;var _ne=function(e,t,n,r,i,o){var s=mne(e),a=mne(t),l=s?bne:fne(e),c=a?bne:fne(t),p=(l=l==vne?wne:l)==wne,u=(c=c==vne?wne:c)==wne,d=l==c;if(d&&gne(e)){if(!gne(t))return!1;s=!0,p=!1}if(d&&!p)return o||(o=new pne),s||yne(e)?une(e,t,n,r,i,o):dne(e,t,l,n,r,i,o);if(!(1&n)){var h=p&&xne.call(e,"__wrapped__"),f=u&&xne.call(t,"__wrapped__");if(h||f){var m=h?e.value():e,g=f?t.value():t;return o||(o=new pne),i(m,g,n,r,o)}}return!!d&&(o||(o=new pne),hne(e,t,n,r,i,o))},kne=Wee;var Ene=function e(t,n,r,i,o){return t===n||(null==t||null==n||!kne(t)&&!kne(n)?t!=t&&n!=n:_ne(t,n,r,i,e,o))},One=Ene;var Pne=$_((function(e,t){return One(e,t)})),Sne=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Cne={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},Tne={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},Mne=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},Ane=function(e){return!0===e?1:0};function Dne(e,t){var n;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout((function(){return e.apply(r,i)}),t)}}var Nne=function(e){return e instanceof Array?e:[e]};function Rne(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function jne(e,t,n){var r=window.document.createElement(e);return t=t||"",n=n||"",r.className=t,void 0!==n&&(r.textContent=n),r}function Ine(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Lne(e,t){return t(e)?e:e.parentNode?Lne(e.parentNode,t):void 0}function Bne(e,t){var n=jne("div","numInputWrapper"),r=jne("input","numInput "+e),i=jne("span","arrowUp"),o=jne("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?r.type="number":(r.type="text",r.pattern="\\d*"),void 0!==t)for(var s in t)r.setAttribute(s,t[s]);return n.appendChild(r),n.appendChild(i),n.appendChild(o),n}function zne(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(t){return e.target}}var $ne=function(){},qne=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},Fne={D:$ne,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*Ane(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var r=parseInt(t),i=new Date(e.getFullYear(),0,2+7*(r-1),0,0,0,0);return i.setDate(i.getDate()-i.getDay()+n.firstDayOfWeek),i},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:$ne,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:$ne,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},Vne={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},Hne={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[Hne.w(e,t,n)]},F:function(e,t,n){return qne(Hne.n(e,t,n)-1,!1,t)},G:function(e,t,n){return Mne(Hne.h(e,t,n))},H:function(e){return Mne(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[Ane(e.getHours()>11)]},M:function(e,t){return qne(e.getMonth(),!0,t)},S:function(e){return Mne(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return Mne(e.getFullYear(),4)},d:function(e){return Mne(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return Mne(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return Mne(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},Une=function(e){var t=e.config,n=void 0===t?Cne:t,r=e.l10n,i=void 0===r?Tne:r,o=e.isMobile,s=void 0!==o&&o;return function(e,t,r){var o=r||i;return void 0===n.formatDate||s?t.split("").map((function(t,r,i){return Hne[t]&&"\\"!==i[r-1]?Hne[t](e,o,n):"\\"!==t?t:""})).join(""):n.formatDate(e,t,o)}},Wne=function(e){var t=e.config,n=void 0===t?Cne:t,r=e.l10n,i=void 0===r?Tne:r;return function(e,t,r,o){if(0===e||e){var s,a=o||i,l=e;if(e instanceof Date)s=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)s=new Date(e);else if("string"==typeof e){var c=t||(n||Cne).dateFormat,p=String(e).trim();if("today"===p)s=new Date,r=!0;else if(n&&n.parseDate)s=n.parseDate(e,c);else if(/Z$/.test(p)||/GMT$/.test(p))s=new Date(e);else{for(var u=void 0,d=[],h=0,f=0,m="";h<c.length;h++){var g=c[h],y="\\"===g,v="\\"===c[h-1]||y;if(Vne[g]&&!v){m+=Vne[g];var b=new RegExp(m).exec(e);b&&(u=!0)&&d["Y"!==g?"push":"unshift"]({fn:Fne[g],val:b[++f]})}else y||(m+=".")}s=n&&n.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),d.forEach((function(e){var t=e.fn,n=e.val;return s=t(s,n,a)||s})),s=u?s:void 0}}if(s instanceof Date&&!isNaN(s.getTime()))return!0===r&&s.setHours(0,0,0,0),s;n.errorHandler(new Error("Invalid date provided: "+l))}}};function Gne(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var Qne=function(e,t,n){return e>Math.min(t,n)&&e<Math.max(t,n)},Zne=function(e,t,n){return 3600*e+60*t+n},Xne=function(e){var t=Math.floor(e/3600),n=(e-3600*t)/60;return[t,n,e-3600*t-60*n]},Yne={DAY:864e5};function Kne(e){var t=e.defaultHour,n=e.defaultMinute,r=e.defaultSeconds;if(void 0!==e.minDate){var i=e.minDate.getHours(),o=e.minDate.getMinutes(),s=e.minDate.getSeconds();t<i&&(t=i),t===i&&n<o&&(n=o),t===i&&n===o&&r<s&&(r=e.minDate.getSeconds())}if(void 0!==e.maxDate){var a=e.maxDate.getHours(),l=e.maxDate.getMinutes();(t=Math.min(t,a))===a&&(n=Math.min(l,n)),t===a&&n===l&&(r=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:r}}"function"!=typeof Object.assign&&(Object.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var r=function(t){t&&Object.keys(t).forEach((function(n){return e[n]=t[n]}))},i=0,o=t;i<o.length;i++){r(o[i])}return e});var Jne=function(){return Jne=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Jne.apply(this,arguments)},ere=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r},tre=300;function nre(e,t){var n={config:Jne(Jne({},Cne),ire.defaultConfig),l10n:Tne};function r(){var e;return(null===(e=n.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function i(e){return e.bind(n)}function o(){var e=n.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==n.calendarContainer&&(n.calendarContainer.style.visibility="hidden",n.calendarContainer.style.display="block"),void 0!==n.daysContainer){var t=(n.days.offsetWidth+1)*e.showMonths;n.daysContainer.style.width=t+"px",n.calendarContainer.style.width=t+(void 0!==n.weekWrapper?n.weekWrapper.offsetWidth:0)+"px",n.calendarContainer.style.removeProperty("visibility"),n.calendarContainer.style.removeProperty("display")}}))}function s(e){if(0===n.selectedDates.length){var t=void 0===n.config.minDate||Gne(new Date,n.config.minDate)>=0?new Date:new Date(n.config.minDate.getTime()),r=Kne(n.config);t.setHours(r.hours,r.minutes,r.seconds,t.getMilliseconds()),n.selectedDates=[t],n.latestSelectedDateObj=t}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,r=zne(e),i=r;void 0!==n.amPM&&r===n.amPM&&(n.amPM.textContent=n.l10n.amPM[Ane(n.amPM.textContent===n.l10n.amPM[0])]);var o=parseFloat(i.getAttribute("min")),s=parseFloat(i.getAttribute("max")),a=parseFloat(i.getAttribute("step")),l=parseInt(i.value,10),c=e.delta||(t?38===e.which?1:-1:0),p=l+a*c;if(void 0!==i.value&&2===i.value.length){var u=i===n.hourElement,d=i===n.minuteElement;p<o?(p=s+p+Ane(!u)+(Ane(u)&&Ane(!n.amPM)),d&&m(void 0,-1,n.hourElement)):p>s&&(p=i===n.hourElement?p-s-Ane(!n.amPM):o,d&&m(void 0,1,n.hourElement)),n.amPM&&u&&(1===a?p+l===23:Math.abs(p-l)>a)&&(n.amPM.textContent=n.l10n.amPM[Ane(n.amPM.textContent===n.l10n.amPM[0])]),i.value=Mne(p)}}(e);var i=n._input.value;a(),J(),n._input.value!==i&&n._debouncedChange()}function a(){if(void 0!==n.hourElement&&void 0!==n.minuteElement){var e,t,r=(parseInt(n.hourElement.value.slice(-2),10)||0)%24,i=(parseInt(n.minuteElement.value,10)||0)%60,o=void 0!==n.secondElement?(parseInt(n.secondElement.value,10)||0)%60:0;void 0!==n.amPM&&(e=r,t=n.amPM.textContent,r=e%12+12*Ane(t===n.l10n.amPM[1]));var s=void 0!==n.config.minTime||n.config.minDate&&n.minDateHasTime&&n.latestSelectedDateObj&&0===Gne(n.latestSelectedDateObj,n.config.minDate,!0),a=void 0!==n.config.maxTime||n.config.maxDate&&n.maxDateHasTime&&n.latestSelectedDateObj&&0===Gne(n.latestSelectedDateObj,n.config.maxDate,!0);if(void 0!==n.config.maxTime&&void 0!==n.config.minTime&&n.config.minTime>n.config.maxTime){var l=Zne(n.config.minTime.getHours(),n.config.minTime.getMinutes(),n.config.minTime.getSeconds()),p=Zne(n.config.maxTime.getHours(),n.config.maxTime.getMinutes(),n.config.maxTime.getSeconds()),u=Zne(r,i,o);if(u>p&&u<l){var d=Xne(l);r=d[0],i=d[1],o=d[2]}}else{if(a){var h=void 0!==n.config.maxTime?n.config.maxTime:n.config.maxDate;(r=Math.min(r,h.getHours()))===h.getHours()&&(i=Math.min(i,h.getMinutes())),i===h.getMinutes()&&(o=Math.min(o,h.getSeconds()))}if(s){var f=void 0!==n.config.minTime?n.config.minTime:n.config.minDate;(r=Math.max(r,f.getHours()))===f.getHours()&&i<f.getMinutes()&&(i=f.getMinutes()),i===f.getMinutes()&&(o=Math.max(o,f.getSeconds()))}}c(r,i,o)}}function l(e){var t=e||n.latestSelectedDateObj;t&&t instanceof Date&&c(t.getHours(),t.getMinutes(),t.getSeconds())}function c(e,t,r){void 0!==n.latestSelectedDateObj&&n.latestSelectedDateObj.setHours(e%24,t,r||0,0),n.hourElement&&n.minuteElement&&!n.isMobile&&(n.hourElement.value=Mne(n.config.time_24hr?e:(12+e)%12+12*Ane(e%12==0)),n.minuteElement.value=Mne(t),void 0!==n.amPM&&(n.amPM.textContent=n.l10n.amPM[Ane(e>=12)]),void 0!==n.secondElement&&(n.secondElement.value=Mne(r)))}function p(e){var t=zne(e),n=parseInt(t.value)+(e.delta||0);(n/1e3>1||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&M(n)}function u(e,t,r,i){return t instanceof Array?t.forEach((function(t){return u(e,t,r,i)})):e instanceof Array?e.forEach((function(e){return u(e,t,r,i)})):(e.addEventListener(t,r,i),void n._handlers.push({remove:function(){return e.removeEventListener(t,r,i)}}))}function d(){Q("onChange")}function h(e,t){var r=void 0!==e?n.parseDate(e):n.latestSelectedDateObj||(n.config.minDate&&n.config.minDate>n.now?n.config.minDate:n.config.maxDate&&n.config.maxDate<n.now?n.config.maxDate:n.now),i=n.currentYear,o=n.currentMonth;try{void 0!==r&&(n.currentYear=r.getFullYear(),n.currentMonth=r.getMonth())}catch(e){e.message="Invalid date supplied: "+r,n.config.errorHandler(e)}t&&n.currentYear!==i&&(Q("onYearChange"),_()),!t||n.currentYear===i&&n.currentMonth===o||Q("onMonthChange"),n.redraw()}function f(e){var t=zne(e);~t.className.indexOf("arrow")&&m(e,t.classList.contains("arrowUp")?1:-1)}function m(e,t,n){var r=e&&zne(e),i=n||r&&r.parentNode&&r.parentNode.firstChild,o=Z("increment");o.delta=t,i&&i.dispatchEvent(o)}function g(e,t,r,i){var o=A(t,!0),s=jne("span",e,t.getDate().toString());return s.dateObj=t,s.$i=i,s.setAttribute("aria-label",n.formatDate(t,n.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===Gne(t,n.now)&&(n.todayDateElem=s,s.classList.add("today"),s.setAttribute("aria-current","date")),o?(s.tabIndex=-1,X(t)&&(s.classList.add("selected"),n.selectedDateElem=s,"range"===n.config.mode&&(Rne(s,"startRange",n.selectedDates[0]&&0===Gne(t,n.selectedDates[0],!0)),Rne(s,"endRange",n.selectedDates[1]&&0===Gne(t,n.selectedDates[1],!0)),"nextMonthDay"===e&&s.classList.add("inRange")))):s.classList.add("flatpickr-disabled"),"range"===n.config.mode&&function(e){return!("range"!==n.config.mode||n.selectedDates.length<2)&&(Gne(e,n.selectedDates[0])>=0&&Gne(e,n.selectedDates[1])<=0)}(t)&&!X(t)&&s.classList.add("inRange"),n.weekNumbers&&1===n.config.showMonths&&"prevMonthDay"!==e&&i%7==6&&n.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+n.config.getWeek(t)+"</span>"),Q("onDayCreate",s),s}function y(e){e.focus(),"range"===n.config.mode&&j(e)}function v(e){for(var t=e>0?0:n.config.showMonths-1,r=e>0?n.config.showMonths:-1,i=t;i!=r;i+=e)for(var o=n.daysContainer.children[i],s=e>0?0:o.children.length-1,a=e>0?o.children.length:-1,l=s;l!=a;l+=e){var c=o.children[l];if(-1===c.className.indexOf("hidden")&&A(c.dateObj))return c}}function b(e,t){var i=r(),o=D(i||document.body),s=void 0!==e?e:o?i:void 0!==n.selectedDateElem&&D(n.selectedDateElem)?n.selectedDateElem:void 0!==n.todayDateElem&&D(n.todayDateElem)?n.todayDateElem:v(t>0?1:-1);void 0===s?n._input.focus():o?function(e,t){for(var r=-1===e.className.indexOf("Month")?e.dateObj.getMonth():n.currentMonth,i=t>0?n.config.showMonths:-1,o=t>0?1:-1,s=r-n.currentMonth;s!=i;s+=o)for(var a=n.daysContainer.children[s],l=r-n.currentMonth===s?e.$i+t:t<0?a.children.length-1:0,c=a.children.length,p=l;p>=0&&p<c&&p!=(t>0?c:-1);p+=o){var u=a.children[p];if(-1===u.className.indexOf("hidden")&&A(u.dateObj)&&Math.abs(e.$i-p)>=Math.abs(t))return y(u)}n.changeMonth(o),b(v(o),0)}(s,t):y(s)}function w(e,t){for(var r=(new Date(e,t,1).getDay()-n.l10n.firstDayOfWeek+7)%7,i=n.utils.getDaysInMonth((t-1+12)%12,e),o=n.utils.getDaysInMonth(t,e),s=window.document.createDocumentFragment(),a=n.config.showMonths>1,l=a?"prevMonthDay hidden":"prevMonthDay",c=a?"nextMonthDay hidden":"nextMonthDay",p=i+1-r,u=0;p<=i;p++,u++)s.appendChild(g("flatpickr-day "+l,new Date(e,t-1,p),0,u));for(p=1;p<=o;p++,u++)s.appendChild(g("flatpickr-day",new Date(e,t,p),0,u));for(var d=o+1;d<=42-r&&(1===n.config.showMonths||u%7!=0);d++,u++)s.appendChild(g("flatpickr-day "+c,new Date(e,t+1,d%o),0,u));var h=jne("div","dayContainer");return h.appendChild(s),h}function x(){if(void 0!==n.daysContainer){Ine(n.daysContainer),n.weekNumbers&&Ine(n.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<n.config.showMonths;t++){var r=new Date(n.currentYear,n.currentMonth,1);r.setMonth(n.currentMonth+t),e.appendChild(w(r.getFullYear(),r.getMonth()))}n.daysContainer.appendChild(e),n.days=n.daysContainer.firstChild,"range"===n.config.mode&&1===n.selectedDates.length&&j()}}function _(){if(!(n.config.showMonths>1||"dropdown"!==n.config.monthSelectorType)){var e=function(e){return!(void 0!==n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&e<n.config.minDate.getMonth())&&!(void 0!==n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()&&e>n.config.maxDate.getMonth())};n.monthsDropdownContainer.tabIndex=-1,n.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e(t)){var r=jne("option","flatpickr-monthDropdown-month");r.value=new Date(n.currentYear,t).getMonth().toString(),r.textContent=qne(t,n.config.shorthandCurrentMonth,n.l10n),r.tabIndex=-1,n.currentMonth===t&&(r.selected=!0),n.monthsDropdownContainer.appendChild(r)}}}function k(){var e,t=jne("div","flatpickr-month"),r=window.document.createDocumentFragment();n.config.showMonths>1||"static"===n.config.monthSelectorType?e=jne("span","cur-month"):(n.monthsDropdownContainer=jne("select","flatpickr-monthDropdown-months"),n.monthsDropdownContainer.setAttribute("aria-label",n.l10n.monthAriaLabel),u(n.monthsDropdownContainer,"change",(function(e){var t=zne(e),r=parseInt(t.value,10);n.changeMonth(r-n.currentMonth),Q("onMonthChange")})),_(),e=n.monthsDropdownContainer);var i=Bne("cur-year",{tabindex:"-1"}),o=i.getElementsByTagName("input")[0];o.setAttribute("aria-label",n.l10n.yearAriaLabel),n.config.minDate&&o.setAttribute("min",n.config.minDate.getFullYear().toString()),n.config.maxDate&&(o.setAttribute("max",n.config.maxDate.getFullYear().toString()),o.disabled=!!n.config.minDate&&n.config.minDate.getFullYear()===n.config.maxDate.getFullYear());var s=jne("div","flatpickr-current-month");return s.appendChild(e),s.appendChild(i),r.appendChild(s),t.appendChild(r),{container:t,yearElement:o,monthElement:e}}function E(){Ine(n.monthNav),n.monthNav.appendChild(n.prevMonthNav),n.config.showMonths&&(n.yearElements=[],n.monthElements=[]);for(var e=n.config.showMonths;e--;){var t=k();n.yearElements.push(t.yearElement),n.monthElements.push(t.monthElement),n.monthNav.appendChild(t.container)}n.monthNav.appendChild(n.nextMonthNav)}function O(){n.weekdayContainer?Ine(n.weekdayContainer):n.weekdayContainer=jne("div","flatpickr-weekdays");for(var e=n.config.showMonths;e--;){var t=jne("div","flatpickr-weekdaycontainer");n.weekdayContainer.appendChild(t)}return P(),n.weekdayContainer}function P(){if(n.weekdayContainer){var e=n.l10n.firstDayOfWeek,t=ere(n.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=ere(t.splice(e,t.length),t.splice(0,e)));for(var r=n.config.showMonths;r--;)n.weekdayContainer.children[r].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function S(e,t){void 0===t&&(t=!0);var r=t?e:e-n.currentMonth;r<0&&!0===n._hidePrevMonthArrow||r>0&&!0===n._hideNextMonthArrow||(n.currentMonth+=r,(n.currentMonth<0||n.currentMonth>11)&&(n.currentYear+=n.currentMonth>11?1:-1,n.currentMonth=(n.currentMonth+12)%12,Q("onYearChange"),_()),x(),Q("onMonthChange"),Y())}function C(e){return n.calendarContainer.contains(e)}function T(e){if(n.isOpen&&!n.config.inline){var t=zne(e),r=C(t),i=!(t===n.input||t===n.altInput||n.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(n.input)||~e.path.indexOf(n.altInput)))&&!r&&!C(e.relatedTarget),o=!n.config.ignoredFocusElements.some((function(e){return e.contains(t)}));i&&o&&(n.config.allowInput&&n.setDate(n._input.value,!1,n.config.altInput?n.config.altFormat:n.config.dateFormat),void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement&&""!==n.input.value&&void 0!==n.input.value&&s(),n.close(),n.config&&"range"===n.config.mode&&1===n.selectedDates.length&&n.clear(!1))}}function M(e){if(!(!e||n.config.minDate&&e<n.config.minDate.getFullYear()||n.config.maxDate&&e>n.config.maxDate.getFullYear())){var t=e,r=n.currentYear!==t;n.currentYear=t||n.currentYear,n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth=Math.min(n.config.maxDate.getMonth(),n.currentMonth):n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&(n.currentMonth=Math.max(n.config.minDate.getMonth(),n.currentMonth)),r&&(n.redraw(),Q("onYearChange"),_())}}function A(e,t){var r;void 0===t&&(t=!0);var i=n.parseDate(e,void 0,t);if(n.config.minDate&&i&&Gne(i,n.config.minDate,void 0!==t?t:!n.minDateHasTime)<0||n.config.maxDate&&i&&Gne(i,n.config.maxDate,void 0!==t?t:!n.maxDateHasTime)>0)return!1;if(!n.config.enable&&0===n.config.disable.length)return!0;if(void 0===i)return!1;for(var o=!!n.config.enable,s=null!==(r=n.config.enable)&&void 0!==r?r:n.config.disable,a=0,l=void 0;a<s.length;a++){if("function"==typeof(l=s[a])&&l(i))return o;if(l instanceof Date&&void 0!==i&&l.getTime()===i.getTime())return o;if("string"==typeof l){var c=n.parseDate(l,void 0,!0);return c&&c.getTime()===i.getTime()?o:!o}if("object"==typeof l&&void 0!==i&&l.from&&l.to&&i.getTime()>=l.from.getTime()&&i.getTime()<=l.to.getTime())return o}return!o}function D(e){return void 0!==n.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&n.daysContainer.contains(e))}function N(e){var t=e.target===n._input,r=n._input.value.trimEnd()!==K();!t||!r||e.relatedTarget&&C(e.relatedTarget)||n.setDate(n._input.value,!0,e.target===n.altInput?n.config.altFormat:n.config.dateFormat)}function R(t){var i=zne(t),o=n.config.wrap?e.contains(i):i===n._input,l=n.config.allowInput,c=n.isOpen&&(!l||!o),p=n.config.inline&&o&&!l;if(13===t.keyCode&&o){if(l)return n.setDate(n._input.value,!0,i===n.altInput?n.config.altFormat:n.config.dateFormat),n.close(),i.blur();n.open()}else if(C(i)||c||p){var u=!!n.timeContainer&&n.timeContainer.contains(i);switch(t.keyCode){case 13:u?(t.preventDefault(),s(),F()):V(t);break;case 27:t.preventDefault(),F();break;case 8:case 46:o&&!n.config.allowInput&&(t.preventDefault(),n.clear());break;case 37:case 39:if(u||o)n.hourElement&&n.hourElement.focus();else{t.preventDefault();var d=r();if(void 0!==n.daysContainer&&(!1===l||d&&D(d))){var h=39===t.keyCode?1:-1;t.ctrlKey?(t.stopPropagation(),S(h),b(v(1),0)):b(void 0,h)}}break;case 38:case 40:t.preventDefault();var f=40===t.keyCode?1:-1;n.daysContainer&&void 0!==i.$i||i===n.input||i===n.altInput?t.ctrlKey?(t.stopPropagation(),M(n.currentYear-f),b(v(1),0)):u||b(void 0,7*f):i===n.currentYearElement?M(n.currentYear-f):n.config.enableTime&&(!u&&n.hourElement&&n.hourElement.focus(),s(t),n._debouncedChange());break;case 9:if(u){var m=[n.hourElement,n.minuteElement,n.secondElement,n.amPM].concat(n.pluginElements).filter((function(e){return e})),g=m.indexOf(i);if(-1!==g){var y=m[g+(t.shiftKey?-1:1)];t.preventDefault(),(y||n._input).focus()}}else!n.config.noCalendar&&n.daysContainer&&n.daysContainer.contains(i)&&t.shiftKey&&(t.preventDefault(),n._input.focus())}}if(void 0!==n.amPM&&i===n.amPM)switch(t.key){case n.l10n.amPM[0].charAt(0):case n.l10n.amPM[0].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[0],a(),J();break;case n.l10n.amPM[1].charAt(0):case n.l10n.amPM[1].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[1],a(),J()}(o||C(i))&&Q("onKeyDown",t)}function j(e,t){if(void 0===t&&(t="flatpickr-day"),1===n.selectedDates.length&&(!e||e.classList.contains(t)&&!e.classList.contains("flatpickr-disabled"))){for(var r=e?e.dateObj.getTime():n.days.firstElementChild.dateObj.getTime(),i=n.parseDate(n.selectedDates[0],void 0,!0).getTime(),o=Math.min(r,n.selectedDates[0].getTime()),s=Math.max(r,n.selectedDates[0].getTime()),a=!1,l=0,c=0,p=o;p<s;p+=Yne.DAY)A(new Date(p),!0)||(a=a||p>o&&p<s,p<i&&(!l||p>l)?l=p:p>i&&(!c||p<c)&&(c=p));Array.from(n.rContainer.querySelectorAll("*:nth-child(-n+"+n.config.showMonths+") > ."+t)).forEach((function(t){var o=t.dateObj.getTime(),s=l>0&&o<l||c>0&&o>c;if(s)return t.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach((function(e){t.classList.remove(e)}));a&&!s||(["startRange","inRange","endRange","notAllowed"].forEach((function(e){t.classList.remove(e)})),void 0!==e&&(e.classList.add(r<=n.selectedDates[0].getTime()?"startRange":"endRange"),i<r&&o===i?t.classList.add("startRange"):i>r&&o===i&&t.classList.add("endRange"),o>=l&&(0===c||o<=c)&&Qne(o,i,r)&&t.classList.add("inRange")))}))}}function I(){!n.isOpen||n.config.static||n.config.inline||$()}function L(e){return function(t){var r=n.config["_"+e+"Date"]=n.parseDate(t,n.config.dateFormat),i=n.config["_"+("min"===e?"max":"min")+"Date"];void 0!==r&&(n["min"===e?"minDateHasTime":"maxDateHasTime"]=r.getHours()>0||r.getMinutes()>0||r.getSeconds()>0),n.selectedDates&&(n.selectedDates=n.selectedDates.filter((function(e){return A(e)})),n.selectedDates.length||"min"!==e||l(r),J()),n.daysContainer&&(q(),void 0!==r?n.currentYearElement[e]=r.getFullYear().toString():n.currentYearElement.removeAttribute(e),n.currentYearElement.disabled=!!i&&void 0!==r&&i.getFullYear()===r.getFullYear())}}function B(){return n.config.wrap?e.querySelector("[data-input]"):e}function z(){"object"!=typeof n.config.locale&&void 0===ire.l10ns[n.config.locale]&&n.config.errorHandler(new Error("flatpickr: invalid locale "+n.config.locale)),n.l10n=Jne(Jne({},ire.l10ns.default),"object"==typeof n.config.locale?n.config.locale:"default"!==n.config.locale?ire.l10ns[n.config.locale]:void 0),Vne.D="("+n.l10n.weekdays.shorthand.join("|")+")",Vne.l="("+n.l10n.weekdays.longhand.join("|")+")",Vne.M="("+n.l10n.months.shorthand.join("|")+")",Vne.F="("+n.l10n.months.longhand.join("|")+")",Vne.K="("+n.l10n.amPM[0]+"|"+n.l10n.amPM[1]+"|"+n.l10n.amPM[0].toLowerCase()+"|"+n.l10n.amPM[1].toLowerCase()+")",void 0===Jne(Jne({},t),JSON.parse(JSON.stringify(e.dataset||{}))).time_24hr&&void 0===ire.defaultConfig.time_24hr&&(n.config.time_24hr=n.l10n.time_24hr),n.formatDate=Une(n),n.parseDate=Wne({config:n.config,l10n:n.l10n})}function $(e){if("function"!=typeof n.config.position){if(void 0!==n.calendarContainer){Q("onPreCalendarPosition");var t=e||n._positionElement,r=Array.prototype.reduce.call(n.calendarContainer.children,(function(e,t){return e+t.offsetHeight}),0),i=n.calendarContainer.offsetWidth,o=n.config.position.split(" "),s=o[0],a=o.length>1?o[1]:null,l=t.getBoundingClientRect(),c=window.innerHeight-l.bottom,p="above"===s||"below"!==s&&c<r&&l.top>r,u=window.pageYOffset+l.top+(p?-r-2:t.offsetHeight+2);if(Rne(n.calendarContainer,"arrowTop",!p),Rne(n.calendarContainer,"arrowBottom",p),!n.config.inline){var d=window.pageXOffset+l.left,h=!1,f=!1;"center"===a?(d-=(i-l.width)/2,h=!0):"right"===a&&(d-=i-l.width,f=!0),Rne(n.calendarContainer,"arrowLeft",!h&&!f),Rne(n.calendarContainer,"arrowCenter",h),Rne(n.calendarContainer,"arrowRight",f);var m=window.document.body.offsetWidth-(window.pageXOffset+l.right),g=d+i>window.document.body.offsetWidth,y=m+i>window.document.body.offsetWidth;if(Rne(n.calendarContainer,"rightMost",g),!n.config.static)if(n.calendarContainer.style.top=u+"px",g)if(y){var v=function(){for(var e=null,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.cssRules){try{n.cssRules}catch(e){continue}e=n;break}}return null!=e?e:(r=document.createElement("style"),document.head.appendChild(r),r.sheet);var r}();if(void 0===v)return;var b=window.document.body.offsetWidth,w=Math.max(0,b/2-i/2),x=v.cssRules.length,_="{left:"+l.left+"px;right:auto;}";Rne(n.calendarContainer,"rightMost",!1),Rne(n.calendarContainer,"centerMost",!0),v.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+_,x),n.calendarContainer.style.left=w+"px",n.calendarContainer.style.right="auto"}else n.calendarContainer.style.left="auto",n.calendarContainer.style.right=m+"px";else n.calendarContainer.style.left=d+"px",n.calendarContainer.style.right="auto"}}}else n.config.position(n,e)}function q(){n.config.noCalendar||n.isMobile||(_(),Y(),x())}function F(){n._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(n.close,0):n.close()}function V(e){e.preventDefault(),e.stopPropagation();var t=Lne(zne(e),(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(void 0!==t){var r=t,i=n.latestSelectedDateObj=new Date(r.dateObj.getTime()),o=(i.getMonth()<n.currentMonth||i.getMonth()>n.currentMonth+n.config.showMonths-1)&&"range"!==n.config.mode;if(n.selectedDateElem=r,"single"===n.config.mode)n.selectedDates=[i];else if("multiple"===n.config.mode){var s=X(i);s?n.selectedDates.splice(parseInt(s),1):n.selectedDates.push(i)}else"range"===n.config.mode&&(2===n.selectedDates.length&&n.clear(!1,!1),n.latestSelectedDateObj=i,n.selectedDates.push(i),0!==Gne(i,n.selectedDates[0],!0)&&n.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()})));if(a(),o){var l=n.currentYear!==i.getFullYear();n.currentYear=i.getFullYear(),n.currentMonth=i.getMonth(),l&&(Q("onYearChange"),_()),Q("onMonthChange")}if(Y(),x(),J(),o||"range"===n.config.mode||1!==n.config.showMonths?void 0!==n.selectedDateElem&&void 0===n.hourElement&&n.selectedDateElem&&n.selectedDateElem.focus():y(r),void 0!==n.hourElement&&void 0!==n.hourElement&&n.hourElement.focus(),n.config.closeOnSelect){var c="single"===n.config.mode&&!n.config.enableTime,p="range"===n.config.mode&&2===n.selectedDates.length&&!n.config.enableTime;(c||p)&&F()}d()}}n.parseDate=Wne({config:n.config,l10n:n.l10n}),n._handlers=[],n.pluginElements=[],n.loadedPlugins=[],n._bind=u,n._setHoursFromDate=l,n._positionCalendar=$,n.changeMonth=S,n.changeYear=M,n.clear=function(e,t){void 0===e&&(e=!0);void 0===t&&(t=!0);n.input.value="",void 0!==n.altInput&&(n.altInput.value="");void 0!==n.mobileInput&&(n.mobileInput.value="");n.selectedDates=[],n.latestSelectedDateObj=void 0,!0===t&&(n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth());if(!0===n.config.enableTime){var r=Kne(n.config);c(r.hours,r.minutes,r.seconds)}n.redraw(),e&&Q("onChange")},n.close=function(){n.isOpen=!1,n.isMobile||(void 0!==n.calendarContainer&&n.calendarContainer.classList.remove("open"),void 0!==n._input&&n._input.classList.remove("active"));Q("onClose")},n.onMouseOver=j,n._createElement=jne,n.createDay=g,n.destroy=function(){void 0!==n.config&&Q("onDestroy");for(var e=n._handlers.length;e--;)n._handlers[e].remove();if(n._handlers=[],n.mobileInput)n.mobileInput.parentNode&&n.mobileInput.parentNode.removeChild(n.mobileInput),n.mobileInput=void 0;else if(n.calendarContainer&&n.calendarContainer.parentNode)if(n.config.static&&n.calendarContainer.parentNode){var t=n.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else n.calendarContainer.parentNode.removeChild(n.calendarContainer);n.altInput&&(n.input.type="text",n.altInput.parentNode&&n.altInput.parentNode.removeChild(n.altInput),delete n.altInput);n.input&&(n.input.type=n.input._type,n.input.classList.remove("flatpickr-input"),n.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete n[e]}catch(e){}}))},n.isEnabled=A,n.jumpToDate=h,n.updateValue=J,n.open=function(e,t){void 0===t&&(t=n._positionElement);if(!0===n.isMobile){if(e){e.preventDefault();var r=zne(e);r&&r.blur()}return void 0!==n.mobileInput&&(n.mobileInput.focus(),n.mobileInput.click()),void Q("onOpen")}if(n._input.disabled||n.config.inline)return;var i=n.isOpen;n.isOpen=!0,i||(n.calendarContainer.classList.add("open"),n._input.classList.add("active"),Q("onOpen"),$(t));!0===n.config.enableTime&&!0===n.config.noCalendar&&(!1!==n.config.allowInput||void 0!==e&&n.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return n.hourElement.select()}),50))},n.redraw=q,n.set=function(e,t){if(null!==e&&"object"==typeof e)for(var r in Object.assign(n.config,e),e)void 0!==H[r]&&H[r].forEach((function(e){return e()}));else n.config[e]=t,void 0!==H[e]?H[e].forEach((function(e){return e()})):Sne.indexOf(e)>-1&&(n.config[e]=Nne(t));n.redraw(),J(!0)},n.setDate=function(e,t,r){void 0===t&&(t=!1);void 0===r&&(r=n.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return n.clear(t);U(e,r),n.latestSelectedDateObj=n.selectedDates[n.selectedDates.length-1],n.redraw(),h(void 0,t),l(),0===n.selectedDates.length&&n.clear(!1);J(t),t&&Q("onChange")},n.toggle=function(e){if(!0===n.isOpen)return n.close();n.open(e)};var H={locale:[z,P],showMonths:[E,o,O],minDate:[h],maxDate:[h],positionElement:[G],clickOpens:[function(){!0===n.config.clickOpens?(u(n._input,"focus",n.open),u(n._input,"click",n.open)):(n._input.removeEventListener("focus",n.open),n._input.removeEventListener("click",n.open))}]};function U(e,t){var r=[];if(e instanceof Array)r=e.map((function(e){return n.parseDate(e,t)}));else if(e instanceof Date||"number"==typeof e)r=[n.parseDate(e,t)];else if("string"==typeof e)switch(n.config.mode){case"single":case"time":r=[n.parseDate(e,t)];break;case"multiple":r=e.split(n.config.conjunction).map((function(e){return n.parseDate(e,t)}));break;case"range":r=e.split(n.l10n.rangeSeparator).map((function(e){return n.parseDate(e,t)}))}else n.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));n.selectedDates=n.config.allowInvalidPreload?r:r.filter((function(e){return e instanceof Date&&A(e,!1)})),"range"===n.config.mode&&n.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()}))}function W(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?n.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:n.parseDate(e.from,void 0),to:n.parseDate(e.to,void 0)}:e})).filter((function(e){return e}))}function G(){n._positionElement=n.config.positionElement||n._input}function Q(e,t){if(void 0!==n.config){var r=n.config[e];if(void 0!==r&&r.length>0)for(var i=0;r[i]&&i<r.length;i++)r[i](n.selectedDates,n.input.value,n,t);"onChange"===e&&(n.input.dispatchEvent(Z("change")),n.input.dispatchEvent(Z("input")))}}function Z(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function X(e){for(var t=0;t<n.selectedDates.length;t++){var r=n.selectedDates[t];if(r instanceof Date&&0===Gne(r,e))return""+t}return!1}function Y(){n.config.noCalendar||n.isMobile||!n.monthNav||(n.yearElements.forEach((function(e,t){var r=new Date(n.currentYear,n.currentMonth,1);r.setMonth(n.currentMonth+t),n.config.showMonths>1||"static"===n.config.monthSelectorType?n.monthElements[t].textContent=qne(r.getMonth(),n.config.shorthandCurrentMonth,n.l10n)+" ":n.monthsDropdownContainer.value=r.getMonth().toString(),e.value=r.getFullYear().toString()})),n._hidePrevMonthArrow=void 0!==n.config.minDate&&(n.currentYear===n.config.minDate.getFullYear()?n.currentMonth<=n.config.minDate.getMonth():n.currentYear<n.config.minDate.getFullYear()),n._hideNextMonthArrow=void 0!==n.config.maxDate&&(n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth+1>n.config.maxDate.getMonth():n.currentYear>n.config.maxDate.getFullYear()))}function K(e){var t=e||(n.config.altInput?n.config.altFormat:n.config.dateFormat);return n.selectedDates.map((function(e){return n.formatDate(e,t)})).filter((function(e,t,r){return"range"!==n.config.mode||n.config.enableTime||r.indexOf(e)===t})).join("range"!==n.config.mode?n.config.conjunction:n.l10n.rangeSeparator)}function J(e){void 0===e&&(e=!0),void 0!==n.mobileInput&&n.mobileFormatStr&&(n.mobileInput.value=void 0!==n.latestSelectedDateObj?n.formatDate(n.latestSelectedDateObj,n.mobileFormatStr):""),n.input.value=K(n.config.dateFormat),void 0!==n.altInput&&(n.altInput.value=K(n.config.altFormat)),!1!==e&&Q("onValueUpdate")}function ee(e){var t=zne(e),r=n.prevMonthNav.contains(t),i=n.nextMonthNav.contains(t);r||i?S(r?-1:1):n.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?n.changeYear(n.currentYear+1):t.classList.contains("arrowDown")&&n.changeYear(n.currentYear-1)}return function(){n.element=n.input=e,n.isOpen=!1,function(){var r=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],o=Jne(Jne({},JSON.parse(JSON.stringify(e.dataset||{}))),t),s={};n.config.parseDate=o.parseDate,n.config.formatDate=o.formatDate,Object.defineProperty(n.config,"enable",{get:function(){return n.config._enable},set:function(e){n.config._enable=W(e)}}),Object.defineProperty(n.config,"disable",{get:function(){return n.config._disable},set:function(e){n.config._disable=W(e)}});var a="time"===o.mode;if(!o.dateFormat&&(o.enableTime||a)){var l=ire.defaultConfig.dateFormat||Cne.dateFormat;s.dateFormat=o.noCalendar||a?"H:i"+(o.enableSeconds?":S":""):l+" H:i"+(o.enableSeconds?":S":"")}if(o.altInput&&(o.enableTime||a)&&!o.altFormat){var c=ire.defaultConfig.altFormat||Cne.altFormat;s.altFormat=o.noCalendar||a?"h:i"+(o.enableSeconds?":S K":" K"):c+" h:i"+(o.enableSeconds?":S":"")+" K"}Object.defineProperty(n.config,"minDate",{get:function(){return n.config._minDate},set:L("min")}),Object.defineProperty(n.config,"maxDate",{get:function(){return n.config._maxDate},set:L("max")});var p=function(e){return function(t){n.config["min"===e?"_minTime":"_maxTime"]=n.parseDate(t,"H:i:S")}};Object.defineProperty(n.config,"minTime",{get:function(){return n.config._minTime},set:p("min")}),Object.defineProperty(n.config,"maxTime",{get:function(){return n.config._maxTime},set:p("max")}),"time"===o.mode&&(n.config.noCalendar=!0,n.config.enableTime=!0);Object.assign(n.config,s,o);for(var u=0;u<r.length;u++)n.config[r[u]]=!0===n.config[r[u]]||"true"===n.config[r[u]];Sne.filter((function(e){return void 0!==n.config[e]})).forEach((function(e){n.config[e]=Nne(n.config[e]||[]).map(i)})),n.isMobile=!n.config.disableMobile&&!n.config.inline&&"single"===n.config.mode&&!n.config.disable.length&&!n.config.enable&&!n.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(u=0;u<n.config.plugins.length;u++){var d=n.config.plugins[u](n)||{};for(var h in d)Sne.indexOf(h)>-1?n.config[h]=Nne(d[h]).map(i).concat(n.config[h]):void 0===o[h]&&(n.config[h]=d[h])}o.altInputClass||(n.config.altInputClass=B().className+" "+n.config.altInputClass);Q("onParseConfig")}(),z(),function(){if(n.input=B(),!n.input)return void n.config.errorHandler(new Error("Invalid input element specified"));n.input._type=n.input.type,n.input.type="text",n.input.classList.add("flatpickr-input"),n._input=n.input,n.config.altInput&&(n.altInput=jne(n.input.nodeName,n.config.altInputClass),n._input=n.altInput,n.altInput.placeholder=n.input.placeholder,n.altInput.disabled=n.input.disabled,n.altInput.required=n.input.required,n.altInput.tabIndex=n.input.tabIndex,n.altInput.type="text",n.input.setAttribute("type","hidden"),!n.config.static&&n.input.parentNode&&n.input.parentNode.insertBefore(n.altInput,n.input.nextSibling));n.config.allowInput||n._input.setAttribute("readonly","readonly");G()}(),function(){n.selectedDates=[],n.now=n.parseDate(n.config.now)||new Date;var e=n.config.defaultDate||("INPUT"!==n.input.nodeName&&"TEXTAREA"!==n.input.nodeName||!n.input.placeholder||n.input.value!==n.input.placeholder?n.input.value:null);e&&U(e,n.config.dateFormat);n._initialDate=n.selectedDates.length>0?n.selectedDates[0]:n.config.minDate&&n.config.minDate.getTime()>n.now.getTime()?n.config.minDate:n.config.maxDate&&n.config.maxDate.getTime()<n.now.getTime()?n.config.maxDate:n.now,n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth(),n.selectedDates.length>0&&(n.latestSelectedDateObj=n.selectedDates[0]);void 0!==n.config.minTime&&(n.config.minTime=n.parseDate(n.config.minTime,"H:i"));void 0!==n.config.maxTime&&(n.config.maxTime=n.parseDate(n.config.maxTime,"H:i"));n.minDateHasTime=!!n.config.minDate&&(n.config.minDate.getHours()>0||n.config.minDate.getMinutes()>0||n.config.minDate.getSeconds()>0),n.maxDateHasTime=!!n.config.maxDate&&(n.config.maxDate.getHours()>0||n.config.maxDate.getMinutes()>0||n.config.maxDate.getSeconds()>0)}(),n.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=n.currentMonth),void 0===t&&(t=n.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:n.l10n.daysInMonth[e]}},n.isMobile||function(){var e=window.document.createDocumentFragment();if(n.calendarContainer=jne("div","flatpickr-calendar"),n.calendarContainer.tabIndex=-1,!n.config.noCalendar){if(e.appendChild((n.monthNav=jne("div","flatpickr-months"),n.yearElements=[],n.monthElements=[],n.prevMonthNav=jne("span","flatpickr-prev-month"),n.prevMonthNav.innerHTML=n.config.prevArrow,n.nextMonthNav=jne("span","flatpickr-next-month"),n.nextMonthNav.innerHTML=n.config.nextArrow,E(),Object.defineProperty(n,"_hidePrevMonthArrow",{get:function(){return n.__hidePrevMonthArrow},set:function(e){n.__hidePrevMonthArrow!==e&&(Rne(n.prevMonthNav,"flatpickr-disabled",e),n.__hidePrevMonthArrow=e)}}),Object.defineProperty(n,"_hideNextMonthArrow",{get:function(){return n.__hideNextMonthArrow},set:function(e){n.__hideNextMonthArrow!==e&&(Rne(n.nextMonthNav,"flatpickr-disabled",e),n.__hideNextMonthArrow=e)}}),n.currentYearElement=n.yearElements[0],Y(),n.monthNav)),n.innerContainer=jne("div","flatpickr-innerContainer"),n.config.weekNumbers){var t=function(){n.calendarContainer.classList.add("hasWeeks");var e=jne("div","flatpickr-weekwrapper");e.appendChild(jne("span","flatpickr-weekday",n.l10n.weekAbbreviation));var t=jne("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),r=t.weekWrapper,i=t.weekNumbers;n.innerContainer.appendChild(r),n.weekNumbers=i,n.weekWrapper=r}n.rContainer=jne("div","flatpickr-rContainer"),n.rContainer.appendChild(O()),n.daysContainer||(n.daysContainer=jne("div","flatpickr-days"),n.daysContainer.tabIndex=-1),x(),n.rContainer.appendChild(n.daysContainer),n.innerContainer.appendChild(n.rContainer),e.appendChild(n.innerContainer)}n.config.enableTime&&e.appendChild(function(){n.calendarContainer.classList.add("hasTime"),n.config.noCalendar&&n.calendarContainer.classList.add("noCalendar");var e=Kne(n.config);n.timeContainer=jne("div","flatpickr-time"),n.timeContainer.tabIndex=-1;var t=jne("span","flatpickr-time-separator",":"),r=Bne("flatpickr-hour",{"aria-label":n.l10n.hourAriaLabel});n.hourElement=r.getElementsByTagName("input")[0];var i=Bne("flatpickr-minute",{"aria-label":n.l10n.minuteAriaLabel});n.minuteElement=i.getElementsByTagName("input")[0],n.hourElement.tabIndex=n.minuteElement.tabIndex=-1,n.hourElement.value=Mne(n.latestSelectedDateObj?n.latestSelectedDateObj.getHours():n.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),n.minuteElement.value=Mne(n.latestSelectedDateObj?n.latestSelectedDateObj.getMinutes():e.minutes),n.hourElement.setAttribute("step",n.config.hourIncrement.toString()),n.minuteElement.setAttribute("step",n.config.minuteIncrement.toString()),n.hourElement.setAttribute("min",n.config.time_24hr?"0":"1"),n.hourElement.setAttribute("max",n.config.time_24hr?"23":"12"),n.hourElement.setAttribute("maxlength","2"),n.minuteElement.setAttribute("min","0"),n.minuteElement.setAttribute("max","59"),n.minuteElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(r),n.timeContainer.appendChild(t),n.timeContainer.appendChild(i),n.config.time_24hr&&n.timeContainer.classList.add("time24hr");if(n.config.enableSeconds){n.timeContainer.classList.add("hasSeconds");var o=Bne("flatpickr-second");n.secondElement=o.getElementsByTagName("input")[0],n.secondElement.value=Mne(n.latestSelectedDateObj?n.latestSelectedDateObj.getSeconds():e.seconds),n.secondElement.setAttribute("step",n.minuteElement.getAttribute("step")),n.secondElement.setAttribute("min","0"),n.secondElement.setAttribute("max","59"),n.secondElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(jne("span","flatpickr-time-separator",":")),n.timeContainer.appendChild(o)}n.config.time_24hr||(n.amPM=jne("span","flatpickr-am-pm",n.l10n.amPM[Ane((n.latestSelectedDateObj?n.hourElement.value:n.config.defaultHour)>11)]),n.amPM.title=n.l10n.toggleTitle,n.amPM.tabIndex=-1,n.timeContainer.appendChild(n.amPM));return n.timeContainer}());Rne(n.calendarContainer,"rangeMode","range"===n.config.mode),Rne(n.calendarContainer,"animate",!0===n.config.animate),Rne(n.calendarContainer,"multiMonth",n.config.showMonths>1),n.calendarContainer.appendChild(e);var o=void 0!==n.config.appendTo&&void 0!==n.config.appendTo.nodeType;if((n.config.inline||n.config.static)&&(n.calendarContainer.classList.add(n.config.inline?"inline":"static"),n.config.inline&&(!o&&n.element.parentNode?n.element.parentNode.insertBefore(n.calendarContainer,n._input.nextSibling):void 0!==n.config.appendTo&&n.config.appendTo.appendChild(n.calendarContainer)),n.config.static)){var s=jne("div","flatpickr-wrapper");n.element.parentNode&&n.element.parentNode.insertBefore(s,n.element),s.appendChild(n.element),n.altInput&&s.appendChild(n.altInput),s.appendChild(n.calendarContainer)}n.config.static||n.config.inline||(void 0!==n.config.appendTo?n.config.appendTo:window.document.body).appendChild(n.calendarContainer)}(),function(){n.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(n.element.querySelectorAll("[data-"+e+"]"),(function(t){return u(t,"click",n[e])}))}));if(n.isMobile)return void function(){var e=n.config.enableTime?n.config.noCalendar?"time":"datetime-local":"date";n.mobileInput=jne("input",n.input.className+" flatpickr-mobile"),n.mobileInput.tabIndex=1,n.mobileInput.type=e,n.mobileInput.disabled=n.input.disabled,n.mobileInput.required=n.input.required,n.mobileInput.placeholder=n.input.placeholder,n.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",n.selectedDates.length>0&&(n.mobileInput.defaultValue=n.mobileInput.value=n.formatDate(n.selectedDates[0],n.mobileFormatStr));n.config.minDate&&(n.mobileInput.min=n.formatDate(n.config.minDate,"Y-m-d"));n.config.maxDate&&(n.mobileInput.max=n.formatDate(n.config.maxDate,"Y-m-d"));n.input.getAttribute("step")&&(n.mobileInput.step=String(n.input.getAttribute("step")));n.input.type="hidden",void 0!==n.altInput&&(n.altInput.type="hidden");try{n.input.parentNode&&n.input.parentNode.insertBefore(n.mobileInput,n.input.nextSibling)}catch(e){}u(n.mobileInput,"change",(function(e){n.setDate(zne(e).value,!1,n.mobileFormatStr),Q("onChange"),Q("onClose")}))}();var e=Dne(I,50);n._debouncedChange=Dne(d,tre),n.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&u(n.daysContainer,"mouseover",(function(e){"range"===n.config.mode&&j(zne(e))}));u(n._input,"keydown",R),void 0!==n.calendarContainer&&u(n.calendarContainer,"keydown",R);n.config.inline||n.config.static||u(window,"resize",e);void 0!==window.ontouchstart?u(window.document,"touchstart",T):u(window.document,"mousedown",T);u(window.document,"focus",T,{capture:!0}),!0===n.config.clickOpens&&(u(n._input,"focus",n.open),u(n._input,"click",n.open));void 0!==n.daysContainer&&(u(n.monthNav,"click",ee),u(n.monthNav,["keyup","increment"],p),u(n.daysContainer,"click",V));if(void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement){var t=function(e){return zne(e).select()};u(n.timeContainer,["increment"],s),u(n.timeContainer,"blur",s,{capture:!0}),u(n.timeContainer,"click",f),u([n.hourElement,n.minuteElement],["focus","click"],t),void 0!==n.secondElement&&u(n.secondElement,"focus",(function(){return n.secondElement&&n.secondElement.select()})),void 0!==n.amPM&&u(n.amPM,"click",(function(e){s(e)}))}n.config.allowInput&&u(n._input,"blur",N)}(),(n.selectedDates.length||n.config.noCalendar)&&(n.config.enableTime&&l(n.config.noCalendar?n.latestSelectedDateObj:void 0),J(!1)),o();var r=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!n.isMobile&&r&&$(),Q("onReady")}(),n}function rre(e,t){for(var n=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),r=[],i=0;i<n.length;i++){var o=n[i];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=nre(o,t||{}),r.push(o._flatpickr)}catch(e){console.error(e)}}return 1===r.length?r[0]:r}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return rre(this,e)},HTMLElement.prototype.flatpickr=function(e){return rre([this],e)});var ire=function(e,t){return"string"==typeof e?rre(window.document.querySelectorAll(e),t):e instanceof Node?rre([e],t):rre(e,t)};function ore(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function sre(e){this.props=e}ire.defaultConfig={},ire.l10ns={en:Jne({},Tne),default:Jne({},Tne)},ire.localize=function(e){ire.l10ns.default=Jne(Jne({},ire.l10ns.default),e)},ire.setDefaults=function(e){ire.defaultConfig=Jne(Jne({},ire.defaultConfig),e)},ire.parseDate=Wne({}),ire.formatDate=Une({}),ire.compareDates=Gne,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return rre(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=ire),(sre.prototype=new Xa).isPureReactComponent=!0,sre.prototype.shouldComponentUpdate=function(e,t){return ore(this.props,e)||ore(this.state,t)};var are=Ia.__b;Ia.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),are&&are(e)};var lre=Ia.__e;Ia.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);lre(e,t,n,r)};var cre=Ia.unmount;function pre(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return pre(e,t,n)}))),e}function ure(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return ure(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function dre(){this.__u=0,this.t=null,this.__b=null}function hre(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function fre(){this.u=null,this.o=null}Ia.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),cre&&cre(e)},(dre.prototype=new Xa).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=hre(r.__v),o=!1,s=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=s;var a=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=ure(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},dre.prototype.componentWillUnmount=function(){this.t=[]},dre.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=pre(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&Ga(Za,null,e.fallback);return i&&(i.__h=null),[Ga(Za,null,t.__a?null:e.children),i]};var mre=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(fre.prototype=new Xa).__a=function(e){var t=this,n=hre(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),mre(t,e,r)):i()};n?n(o):o()}},fre.prototype.render=function(e){this.u=null,this.o=new Map;var t=rl(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},fre.prototype.componentDidUpdate=fre.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){mre(e,n,t)}))};var gre="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,yre=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,vre="undefined"!=typeof document,bre=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};Xa.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(Xa.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var wre=Ia.event;function xre(){}function _re(){return this.cancelBubble}function kre(){return this.defaultPrevented}Ia.event=function(e){return wre&&(e=wre(e)),e.persist=xre,e.isPropagationStopped=_re,e.isDefaultPrevented=kre,e.nativeEvent=e};var Ere={configurable:!0,get:function(){return this.class}},Ore=Ia.vnode;Ia.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var s=n[o];vre&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==s||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===s?s="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!bre(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():i&&yre.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===s&&(s=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=s)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=rl(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=rl(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Ere.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Ere))}e.$$typeof=gre,Ore&&Ore(e)};var Pre=Ia.__r;Ia.__r=function(e){Pre&&Pre(e),e.__c};var Sre={exports:{}};
|