camunda-bpmn-js 4.5.0 → 4.5.1
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.
|
@@ -177,5 +177,5 @@ var VV=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[hr
|
|
|
177
177
|
function uH(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 hH(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uH(Object(n),!0).forEach((function(t){dH(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dH(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 fH=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)},mH=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},gH=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},yH=function(e){return gH(e)&&!e.shiftKey},vH=function(e){return gH(e)&&e.shiftKey},bH=function(e){return setTimeout(e,0)},wH=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},xH=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},_H=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},kH=[],EH=function(e,t){var n,r=(null==t?void 0:t.document)||document,i=(null==t?void 0:t.trapStack)||kH,o=hH({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:yH,isKeyBackward:vH},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||!pH(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?ZV([e],t.includeContainer,{filter:oH.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:sH}):XV(e,t.includeContainer,oH.bind(null,t)),aH(n)}(e,o.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?ZV([e],t.includeContainer,{filter:iH.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):XV(e,t.includeContainer,iH.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 lH(e)})),a=n.slice().reverse().find((function(e){return lH(e)})),l=!!t.find((function(e){return KV(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 lH(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return lH(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.")},h=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()))},d=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||_H(n),u();var a=null;if(s.tabbableGroups.length>0){var p=l(t,n),h=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 d=wH(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(d<0&&(h.container===t||pH(t,o.tabbableOptions)&&!lH(t,o.tabbableOptions)&&!h.nextTabbableNode(t,!1))&&(d=p),d>=0){var f=0===d?s.tabbableGroups.length-1:d-1,m=s.tabbableGroups[f];a=KV(t)>=0?m.lastTabbableNode:m.lastDomTabbableNode}else gH(n)||(a=h.nextTabbableNode(t,!1))}else{var g=wH(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(g<0&&(h.container===t||pH(t,o.tabbableOptions)&&!lH(t,o.tabbableOptions)&&!h.nextTabbableNode(t))&&(g=p),g>=0){var y=g===s.tabbableGroups.length-1?0:g+1,v=s.tabbableGroups[y];a=KV(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else gH(n)||(a=h.nextTabbableNode(t))}}else a=c("fallbackFocus");return a},m=function(e){var t=_H(e);l(t,e)>=0||(xH(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):xH(o.allowOutsideClick,e)||e.preventDefault())},g=function(e){var t=_H(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(KV(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 KV(e)>0}))}))||(i=!1);else i=!1;i&&(r=f({target:s.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(s.recentNavEvent)})),h(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!==xH(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&&(gH(e)&&e.preventDefault(),h(n))}(e,o.isKeyBackward(e))},v=function(e){var t=_H(e);l(t,e)>=0||xH(o.clickOutsideDeactivates,e)||xH(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},b=function(){if(s.active)return fH(i,n),s.delayInitialFocusTimer=o.delayInitialFocus?bH((function(){h(p())})):h(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&&h(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=hH({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,w(),s.active=!1,s.paused=!1,_(),mH(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(){bH((function(){p&&h(d(s.nodeFocusedBeforeActivation)),null==l||l()}))};return p&&c?(c(d(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}},n.updateContainerElements(e),n},OH=function(e){return j_("svg",{...e,children:j_("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"})})};OH.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var PH=function(e){return j_("svg",{...e,children:j_("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"})})};PH.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var SH=function(e){return j_("svg",{...e,children:j_("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"})})};SH.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var CH=function(e){return j_("svg",{...e,children:[j_("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),j_("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),j_("path",{d:"M7 3H5v2h2V3zm4 0H9v2h2V3zM7 7H5v2h2V7zm4 0H9v2h2V7zm-4 4H5v2h2v-2zm4 0H9v2h2v-2z",fill:"#161616"})]})};CH.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var TH=function(e){return j_("svg",{...e,children:j_("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"})})};TH.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var MH=function(e){return j_("svg",{...e,children:j_("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"})})};MH.defaultProps={width:"14",height:"14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var AH=function(e){return j_("svg",{...e,children:[j_("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"}),j_("circle",{cx:"16",cy:"23.5",r:"1.5"}),j_("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"}),j_("path",{style:{fill:"none"},d:"M0 0h32v32H0z"})]})};AH.defaultProps={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"};var DH=function(e){return j_("svg",{...e,children:[j_("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"}),j_("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"})]})};function NH(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 j_("div",{class:"bio-properties-panel-header",children:[j_("div",{class:"bio-properties-panel-header-icon",children:p&&j_(p,{width:"32",height:"32",viewBox:"0 0 32 32"})}),j_("div",{class:"bio-properties-panel-header-labels",children:[j_("div",{title:l,class:"bio-properties-panel-header-type",children:l}),a?j_("div",{title:a,class:"bio-properties-panel-header-label",children:a}):null]}),j_("div",{class:"bio-properties-panel-header-actions",children:c?j_("a",{rel:"noopener",class:"bio-properties-panel-header-link",href:c,title:"Open documentation",target:"_blank",children:j_(TH,{})}):null})]})}DH.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 32 32"};const RH=Sx({description:{},getDescriptionForId:()=>{}}),jH=Sx({errors:{}}),IH=Sx({eventBus:null}),LH=Sx({layout:{},setLayout:()=>{},getLayoutForKey:()=>{},setLayoutForKey:()=>{}}),zH=Sx({tooltip:{},getTooltipForId:()=>{}});function BH(e){const{forId:t,element:n}=e,r=function(e,t){const{getTooltipForId:n}=Qx(zH);return n(e,t)}(t,n),i=e.value||r;return i?j_($H,{...e,value:i,forId:VH(t)}):e.children}function $H(e){const{forId:t,value:n,parent:r,direction:i="right",position:o}=e,[s,a]=qx(!1),[l,c]=qx(!1);let p=null;const u=Ux(null),h=Ux(null),d=async e=>{const t=()=>a(!0);s||p||(e instanceof MouseEvent?p=setTimeout(t,200):(t(),c(!0)))},f=()=>{a(!1),c(!1)};Vx((()=>{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=h.current,r=u.current;return n&&(qH(e,t,r.getBoundingClientRect())||qH(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=()=>j_("div",{class:`bio-properties-panel-tooltip ${i}`,role:"tooltip",id:"bio-properties-panel-tooltip","aria-labelledby":t,style:o||FH(u.current),ref:h,onClick:e=>e.stopPropagation(),children:[j_("div",{class:"bio-properties-panel-tooltip-content",children:n}),j_("div",{class:"bio-properties-panel-tooltip-arrow"})]});return j_("div",{class:"bio-properties-panel-tooltip-wrapper",tabIndex:"0",ref:u,onMouseEnter:d,onMouseLeave:()=>{clearTimeout(p),p=null},onFocus:d,onKeyDown:e=>{"Escape"===e.code&&f()},children:[e.children,s?r?v_(m(),r.current):m():null]})}function qH(e,t,n){const{top:r,right:i,bottom:o,left:s}=n;return e>=s&&e<=i&&t>=r&&t<=o}function FH(e){const t=e.getBoundingClientRect();return`right: ${`calc(100% - ${t.x}px)`}; top: ${t.top-10+"px"};`}function VH(e){return`bio-properties-panel-${e}`}function HH(e){const{errors:t}=Qx(jH);return t[e]}function UH(){const{errors:e}=Qx(jH);return e}function WH(e,t,n){const r=Qx(IH);n||({eventBus:n}=r);const i=Ux(!1);n&&!i.current&&n.on(e,t),Vx((()=>(n&&i.current&&n.on(e,t),i.current=!0,()=>{n&&n.off(e,t)})),[t,e,n])}function GH(e,t){const{getLayoutForKey:n,setLayoutForKey:r}=Qx(LH);return[n(e,t),Gx((t=>{r(e,t)}),[r])]}function QH(e){const t=Ux();return Vx((()=>{t.current=e})),t.current}function XH(e){const{onShow:t}=Qx(LH),n=Ux(),r=Ux(!1),i=Gx((n=>{n.id===e&&(t(),r.current||(r.current=!0))}),[e]);return Vx((()=>{r.current&&n.current&&(h(n.current.focus)&&n.current.focus(),h(n.current.select)&&n.current.select(),r.current=!1)})),WH("propertiesPanel.showEntry",i),n}function ZH(e,t,n){const[r,i]=qx(ve(t)),o=Gx((()=>{const e=ve(t);e!==r&&i(e)}),[t,r]);Vx((()=>{o()}),[o]),WH("propertiesPanel.attach",o),WH("propertiesPanel.detach",o),Vx((()=>{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 YH(e){const t=Ux(e);return t.current=e,Gx(((...e)=>t.current(...e)),[])}function KH(e){const{element:t,entries:n=[],id:r,label:i,shouldOpen:o=!1}=e,s=Ux(null),[a,l]=GH(["groups",r,"open"],o),c=Gx((()=>l(!0)),[l]),[p,u]=qx(!1),[d,f]=qx(!1);Vx((()=>{const e=requestAnimationFrame((()=>{const e=n.find((e=>{const{id:t,isEdited:n}=e,r=ve(`[data-entry-id="${t}"]`);if(!h(n)||!r)return!1;return n(ve(".bio-properties-panel-input",r))}));u(e)}));return()=>cancelAnimationFrame(e)}),[n,u]);const m=UH(),g=n.some((e=>m[e.id]));ZH(s,"div.bio-properties-panel-scroll-container",f);const y={...Qx(LH),onShow:c};return j_("div",{class:"bio-properties-panel-group","data-group-id":"group-"+r,ref:s,children:[j_("div",{class:L_("bio-properties-panel-group-header",p?"":"empty",a?"open":"",d&&a?"sticky":""),onClick:()=>l(!a),children:[j_("div",{title:e.tooltip?null:i,"data-title":i,class:"bio-properties-panel-group-header-title",children:j_(BH,{value:e.tooltip,forId:"group-"+r,element:t,parent:s,children:i})}),j_("div",{class:"bio-properties-panel-group-header-buttons",children:[j_(JH,{edited:p,hasErrors:g}),j_("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:j_(OH,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})]})]}),j_("div",{class:L_("bio-properties-panel-group-entries",a?"open":""),children:j_(LH.Provider,{value:y,children:n.map((e=>{const{component:n,id:r}=e;return ox(n,{...e,element:t,key:r})}))})})]})}function JH(e){const{edited:t,hasErrors:n}=e;return n?j_("div",{title:"Section contains an error",class:"bio-properties-panel-dot bio-properties-panel-dot--error"}):t?j_("div",{title:"Section contains data",class:"bio-properties-panel-dot"}):null}function eU(e){const{text:t,icon:n}=e;return j_("div",{class:"bio-properties-panel open",children:j_("section",{class:"bio-properties-panel-placeholder",children:[n&&j_(n,{class:"bio-properties-panel-placeholder-icon"}),j_("p",{class:"bio-properties-panel-placeholder-text",children:t})]})})}function tU(e){const{element:t,forId:n,value:r}=e,i=function(e,t){const{getDescriptionForId:n}=Qx(RH);return n(e,t)}(n,t),o=r||i;if(o)return j_("div",{class:"bio-properties-panel-description",children:o})}const nU=()=>{},rU=a_(((e,t)=>{const{onInput:n,disabled:r,tooltipContainer:i,enableGutters:o,value:s,onLint:a=nU,onPopupOpen:l=nU,popupOpen:c,contentAttributes:p={},hostLanguage:u=null,singleLine:h=!1}=e,d=Ux(),[f,m]=qx(),[g,y]=qx(s||"");!function(e,t){const[n,r]=qx(void 0);t.current=Wx((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),r(t))}})),[e]),Vx((()=>{void 0!==n&&e&&(e.focus(n),r(!1))}),[e,n])}(f,t);const v=YH((e=>{n(e),y(e)}));Vx((()=>{let e;return e=new xV({container:d.current,onChange:v,value:g,onLint:a,contentAttributes:p,tooltipContainer:i,enableGutters:o,hostLanguage:u,singleLine:h}),m(e),()=>{a([]),d.current.innerHTML="",m(null)}}),[]),Vx((()=>{f&&s!==g&&(f.setValue(s),y(s))}),[s]);return j_("div",{class:L_("bio-properties-panel-feelers-editor-container",c?"popupOpen":null),children:[j_("div",{class:"bio-properties-panel-feelers-editor__open-popup-placeholder",children:"Opened in editor"}),j_("div",{name:e.name,class:L_("bio-properties-panel-feelers-editor bio-properties-panel-input",g?"edited":null,r?"disabled":null),ref:d,onClick:()=>{t.current.focus()}}),j_("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l("feelers"),children:j_(TH,{})})]})})),iU=()=>{},oU=a_(((e,t)=>{const{contentAttributes:n,enableGutters:r,value:i,onInput:o,onFeelToggle:s=iU,onLint:a=iU,onPopupOpen:l=iU,popupOpen:c,disabled:p,tooltipContainer:u,variables:h}=e,d=Ux(),[f,m]=qx(),[g,y]=qx(i||"");!function(e,t){const[n,r]=qx(void 0);t.current=Wx((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),r(t))}})),[e]),Vx((()=>{void 0!==n&&e&&(e.focus(n),r(!1))}),[e,n])}(f,t);const v=YH((e=>{o(e),y(e)}));Vx((()=>{let e;return e=new FV({container:d.current,onChange:v,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,tooltipContainer:u,value:g,variables:h,extensions:[...r?[EL()]:[],PI.lineWrapping],contentAttributes:n}),m(e),()=>{a([]),d.current.innerHTML="",m(null)}}),[]),Vx((()=>{f&&i!==g&&(f.setValue(i),y(i))}),[i]),Vx((()=>{f&&f.setVariables(h)}),[h]);return j_("div",{class:L_("bio-properties-panel-feel-editor-container",p?"disabled":null,c?"popupOpen":null),children:[j_("div",{class:"bio-properties-panel-feel-editor__open-popup-placeholder",children:"Opened in editor"}),j_("div",{name:e.name,class:L_("bio-properties-panel-input",g?"edited":null),ref:d,onClick:()=>{t.current.focus()}}),j_("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l(),children:j_(DH,{})})]})}));function sU(e){const{active:t}=e;return t?j_("span",{class:"bio-properties-panel-feel-indicator",children:"="}):null}const aU=()=>{};function lU(e){const{feel:t=!1,active:n,disabled:r=!1,onClick:i=aU}=e,o=`Click to ${n?"remove":"set a"} dynamic value with FEEL expression`;return j_("button",{type:"button",class:L_("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:j_(MH,{})})}const cU=Sx({open:()=>{},close:()=>{},source:null});function pU(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",uU,!0),document.removeEventListener("dragend",s),document.removeEventListener("drop",uU)}return function(e){n=this,r=e.clientX,i=e.clientY,e.dataTransfer&&e.dataTransfer.setDragImage(t||ye('<canvas width="0" height="0" />'),0,0),document.addEventListener("dragover",o,!0),document.addEventListener("dragenter",uU,!0),document.addEventListener("dragend",s),document.addEventListener("drop",uU)}}function uU(e){e.preventDefault(),e.stopPropagation()}const hU=()=>{};const dU=a_((function(e,t){const{container:n,className:r,delayInitialFocus:i,position:o,width:s,height:a,onClose:l,onPostActivate:c=hU,onPostDeactivate:p=hU,returnFocus:u=!0,closeOnEscape:h=!0,title:d}=e,f=Ux(null),m=Ux(null),g=t||m,y=Wx((()=>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"),Vx((()=>(g.current&&g.current.addEventListener("focusin",v),()=>{g.current.removeEventListener("focusin",v)})),[g]),Vx((()=>(g.current&&(f.current=EH(g.current,{clickOutsideDeactivates:!0,delayInitialFocus:i,fallbackFocus:g.current,onPostActivate:c,onPostDeactivate:p,returnFocusOnDeactivate:u}),f.current.activate()),()=>f.current&&f.current.deactivate())),[g]),WH("propertiesPanel.detach",l),v_(j_("div",{"aria-label":d,tabIndex:-1,ref:g,onKeyDown:e=>{e.stopPropagation(),h&&"Escape"===e.key&&l()},role:"dialog",class:L_("bio-properties-panel-popup",r),style:b,children:e.children}),y||document.body)}));function fU(e){return e.closest(".bio-properties-panel-popup")}dU.Title=function(e){const{children:t,className:n,draggable:r,emit:i=(()=>{}),title:o,...s}=e,a=Ux({startPosition:null,newPosition:null}),l=Ux(),c=Ux(),p=(e,t)=>{!function(e){e.preventDefault(),e.stopPropagation()}(e);const{x:n,y:r}=t,o={x:a.current.startPosition.x+n,y:a.current.startPosition.y+r},s=fU(c.current);s.style.top=o.y+"px",s.style.left=o.x+"px",i("dragover",{newPosition:o,delta:t})};return j_("div",{class:L_("bio-properties-panel-popup__header",r&&"draggable",n),ref:c,draggable:r,onDragStart:e=>{pU(p,l.current)(e),e.stopPropagation();const t=fU(c.current).getBoundingClientRect();a.current.startPosition={x:t.left,y:t.top},i("dragstart")},onDragEnd:()=>{a.current.newPosition=null,i("dragend")},...s,children:[r&&j_(ax,{children:[j_("div",{ref:l,class:"bio-properties-panel-popup__drag-preview"}),j_("div",{class:"bio-properties-panel-popup__drag-handle",children:j_(CH,{})})]}),j_("div",{class:"bio-properties-panel-popup__title",children:o}),t]})},dU.Body=function(e){const{children:t,className:n,...r}=e;return j_("div",{class:L_("bio-properties-panel-popup__body",n),...r,children:t})},dU.Footer=function(e){const{children:t,className:n,...r}=e;return j_("div",{class:L_("bio-properties-panel-popup__footer",n),...r,children:e.children})};const mU=700,gU=250;function yU(e){const{element:t,eventBus:n={fire(){},on(){},off(){}},popupContainer:r}=e,i=QH(t),[o,s]=qx({}),[a,l]=qx(!1),[c,p]=qx(null),[u,h]=qx(null),d=(e,t)=>{n.fire("feelPopup."+e,t)},f=Gx((()=>!!a),[a]);!function(e,t){const n=Ux(!1);Vx((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{a||d("closed")}),[a]);const m=(e,t,n)=>{p(e),s(t),l(!0),h(n),d("open")},g=(e={})=>{const{id:t}=e;t&&t!==c||(l(!1),p(null))},y={open:m,close:g,source:c};return Vx((()=>{t&&i&&t!==i&&g()}),[t]),Vx((()=>{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]),j_(cU.Provider,{value:y,children:[a&&j_(vU,{onClose:g,container:r,sourceElement:u,emit:d,...o}),e.children]})}function vU(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:h,variables:d,emit:f}=e,m=Ux(),g=Ux(),y=Ux(!1);return Vx((()=>(f("opened",{domNode:g.current}),()=>f("close",{domNode:g.current}))),[]),Vx((()=>{m.current&&m.current.focus()}),[m]),j_(dU,{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:gU,width:mU,ref:g,children:[j_(dU.Title,{title:c,emit:f,draggable:!0,children:["feel"===u&&j_("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",j_(AH,{})]}),"feelers"===u&&j_("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",j_(AH,{})]})]}),j_(dU.Body,{children:j_("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&&j_(oU,{enableGutters:!0,id:bU(n),name:n,onInput:i,value:h,variables:d,ref:m,tooltipContainer:p}),"feelers"===u&&j_(rU,{id:bU(n),contentAttributes:{"aria-label":c},enableGutters:!0,hostLanguage:r,name:n,onInput:i,value:h,ref:m,singleLine:a,tooltipContainer:p})]})}),j_(dU.Footer,{children:j_("button",{type:"button",onClick:()=>o(),title:"Close pop-up editor",class:"bio-properties-panel-feel-popup__close-btn",children:"Close"})})]})}function bU(e){return`bio-properties-panel-${e}`}function wU(e){const{id:t,label:n,onInput:r,value:i,switcherLabel:o,inline:s,onFocus:a,onBlur:l,inputRef:c,tooltip:p}=e,[u,h]=qx(i);return Vx((()=>{i!==u&&h(i)}),[i]),j_("div",{class:L_("bio-properties-panel-toggle-switch",{inline:s}),children:[j_("label",{class:"bio-properties-panel-label",for:kU(t),children:j_(BH,{value:p,forId:t,element:e.element,children:n})}),j_("div",{class:"bio-properties-panel-field-wrapper",children:[j_("label",{class:"bio-properties-panel-toggle-switch__switcher",children:[j_("input",{ref:c,id:kU(t),class:"bio-properties-panel-input",type:"checkbox",onFocus:a,onBlur:l,name:t,onInput:e=>{(async()=>{r(!i)})(),h(e.target.value)},checked:!!u}),j_("span",{class:"bio-properties-panel-toggle-switch__slider"})]}),o&&j_("p",{class:"bio-properties-panel-toggle-switch__label",children:o})]})]})}function xU(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 j_("div",{class:"bio-properties-panel-entry bio-properties-panel-toggle-switch-entry","data-entry-id":n,children:[j_(wU,{id:n,label:i,value:a(t),onInput:l,onFocus:c,onBlur:p,switcherLabel:o,inline:s,tooltip:u,element:t}),j_(tU,{forId:n,element:t,value:r})]})}function _U(e){return e&&!!e.checked}function kU(e){return`bio-properties-panel-${e}`}function EU(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:h,onBlur:d}=e,[f,m]=qx(u),g=Wx((()=>t((e=>{e.validity.valid&&c(e.value?parseFloat(e.value):void 0)}))),[c,t]);return Vx((()=>{u!==f&&m(u)}),[u]),j_("div",{class:"bio-properties-panel-numberfield",children:[r&&j_("label",{for:SU(i),class:"bio-properties-panel-label",children:s}),j_("input",{id:SU(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:h,onBlur:d,step:p,value:f})]})}function OU(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:d,onBlur:f,validate:m}=e,g=HH(s),[y,v]=qx(null);let b=o(i);Vx((()=>{if(h(m)){const e=m(b)||null;v(e)}}),[b,m]);const w=g||y;return j_("div",{class:L_("bio-properties-panel-entry",w?"has-error":""),"data-entry-id":s,children:[j_(EU,{debounce:t,disabled:r,id:s,label:a,onFocus:d,onBlur:f,onInput:e=>{let t=null;h(m)&&(t=m(e)||null),p(e,t),v(t)},max:l,min:c,step:u,value:b},i),w&&j_("div",{class:"bio-properties-panel-error",children:w}),j_(tU,{forId:s,element:i,value:n})]})}function PU(e){return e&&!!e.value}function SU(e){return`bio-properties-panel-${e}`}const CU=()=>{};const TU=(MU=function(e){const{debounce:t,id:n,element:r,label:i,hostLanguage:o,onInput:s,onError:a,feel:l,value:c="",disabled:p=!1,variables:u,singleLine:h,tooltipContainer:f,OptionalComponent:m=AU,tooltip:g}=e,[y,v]=qx(c),b=XH(n),w=Ux(),x=d(y)&&y.startsWith("=")||"required"===l,_=d(y)&&y.startsWith("=")?y.substring(1):y,[k,E]=qx(void 0),{open:O,source:P}=Qx(cU),S=P===n,C=(e=0)=>{const t=w.current.contains(document.activeElement)?document.activeElement.selectionStart:1/0;E(t+e)},T=Wx((()=>t((e=>{s(e)}))),[s,t]),M=e=>{v(e),T(void 0===e||""===e||"="===e?void 0:e)},A=YH((()=>{"required"!==l&&M(x?_:"="+y)})),D=e=>{x&&(e="="+e),e!==y&&(M(e),!x&&d(e)&&e.startsWith("=")&&C(-1))},N=YH((e=>{e&&e.length?a("Unparsable FEEL expression."):a(void 0)})),R=(e="feel")=>{const t={id:n,hostLanguage:o,onInput:D,position:$U(w.current),singleLine:h,title:qU(r,i),tooltipContainer:f,type:e,value:_,variables:u};O(n,t,b.current)};return Vx((()=>{void 0!==k&&(b.current.focus(k),E(void 0))}),[k]),Vx((()=>{c!==y&&M(c||(x?"=":""))}),[c]),Vx((()=>{const e=e=>{x&&e.clipboardData.setData("application/FEEL",e.clipboardData.getData("text"))},t=e=>{x||S||e.clipboardData.getData("application/FEEL")&&setTimeout((()=>{A(),C()}))};return w.current.addEventListener("copy",e),w.current.addEventListener("cut",e),w.current.addEventListener("paste",t),()=>{w.current.removeEventListener("copy",e),w.current.removeEventListener("cut",e),w.current.removeEventListener("paste",t)}}),[w,x,A,C]),j_("div",{class:L_("bio-properties-panel-feel-entry",{"feel-active":x}),children:[j_("label",{for:BU(n),class:"bio-properties-panel-label",onClick:()=>C(),children:[j_(BH,{value:g,forId:n,element:e.element,children:i}),j_(lU,{label:i,feel:l,onClick:A,active:x})]}),j_("div",{class:"bio-properties-panel-feel-container",ref:w,children:[j_(sU,{active:x,disabled:"optional"!==l||p,onClick:A}),x?j_(oU,{name:n,onInput:D,contentAttributes:{id:BU(n),"aria-label":i},disabled:p,popupOpen:S,onFeelToggle:()=>{A(),C(!0)},onLint:N,onPopupOpen:R,value:_,variables:u,ref:b,tooltipContainer:f}):j_(m,{...e,popupOpen:S,onInput:D,contentAttributes:{id:BU(n),"aria-label":i},value:y,ref:b,onPopupOpen:R,containerRef:w})]})]})},function(e){const{id:t}=e,{close:n}=Qx(cU),r=YH(n);return Vx((()=>()=>{r({id:t})}),[]),j_(MU,{...e})});var MU;const AU=a_(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a}=e,l=Ux();return t.current={focus:e=>{const t=l.current;t&&(t.focus(),"number"==typeof e&&(e>o.length&&(e=o.length),t.setSelectionRange(e,e)))}},j_("input",{id:BU(n),type:"text",ref:l,name:n,spellCheck:"false",autoComplete:"off",disabled:r,class:"bio-properties-panel-input",onInput:e=>i(e.target.value),onFocus:s,onBlur:a,value:o||""})})),DU=a_(((e,t)=>{const{id:n,debounce:r,disabled:i,onInput:o,value:s,min:a,max:l,step:c,onFocus:p,onBlur:u}=e,h=Ux();return t.current={focus:e=>{const t=h.current;t&&(t.focus(),"number"==typeof e&&e!==1/0&&(e>s.length&&(e=s.length),t.setSelectionRange(e,e)))}},j_(EU,{id:n,debounce:r,disabled:i,displayLabel:!1,inputRef:h,max:l,min:a,onInput:o,step:c,value:s,onFocus:p,onBlur:u})})),NU=a_(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a}=e,l=Ux();return t.current={focus:()=>{const e=l.current;e&&(e.focus(),e.setSelectionRange(0,0))}},j_("textarea",{id:BU(n),type:"text",ref:l,name:n,spellCheck:"false",autoComplete:"off",disabled:r,class:"bio-properties-panel-input",onInput:e=>i(e.target.value),onFocus:s,onBlur:a,value:o||"","data-gramm":"false"})}));a_(((e,t)=>{const{id:n,onInput:r,value:i,onFocus:o,onBlur:s,switcherLabel:a}=e,l=Ux();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},j_(wU,{id:n,value:i,inputRef:l,onInput:r,onFocus:o,onBlur:s,switcherLabel:a})}));const RU=a_(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a}=e,l=Ux();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},j_("input",{ref:l,id:BU(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 jU(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:d,validate:f,show:m=CU,example:g,variables:y,onFocus:v,onBlur:b,tooltip:w}=e,[x,_]=qx(null),[k,E]=qx(null);let O=l(t);Vx((()=>{if(h(f)){const e=f(O)||null;_(e)}}),[O,f]);const P=YH((e=>{let t=null;h(f)&&(t=f(e)||null),e!==O&&c(e,t),_(t)})),S=Gx((e=>{E(e)}),[]),C=HH(n)||k||x;return j_("div",{class:L_(e.class,"bio-properties-panel-entry",C?"has-error":""),"data-entry-id":n,children:[ox(TU,{...e,debounce:i,disabled:o,feel:s,id:n,key:t,label:a,onInput:P,onError:S,onFocus:v,onBlur:b,example:g,hostLanguage:u,singleLine:d,show:m,value:O,variables:y,tooltipContainer:p,OptionalComponent:e.OptionalComponent,tooltip:w}),C&&j_("div",{class:"bio-properties-panel-error",children:C}),j_(tU,{forId:n,element:t,value:r})]})}function IU(e){return j_(jU,{class:"bio-properties-panel-feel-number",OptionalComponent:DU,...e})}function LU(e){return j_(jU,{class:"bio-properties-panel-feel-checkbox",OptionalComponent:RU,...e})}function zU(e){return!!e&&("checkbox"===e.type?!!e.checked||e.classList.contains("edited"):!!e.value||e.classList.contains("edited"))}function BU(e){return`bio-properties-panel-${e}`}function $U(e){const{top:t,left:n}=e.getBoundingClientRect();return{left:n-mU-20,top:t}}function qU(e,t){let n="";return e&&e.type&&(n=`${e.type} / `),`${n}${t}`}const FU={},VU={},HU={};function UU(e){const{element:t,headerProvider:n,placeholderProvider:r,groups:i,layoutConfig:o,layoutChanged:s,descriptionConfig:a,descriptionLoaded:l,tooltipConfig:p,tooltipLoaded:u,feelPopupContainer:h,eventBus:d}=e,[f,m]=qx(WU(o));!function(e,t){const n=Ux(!1);Hx((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{const e=WU(o);m(e)}),[o]),Vx((()=>{"function"==typeof s&&s(f)}),[f,s]);const g={layout:f,setLayout:m,getLayoutForKey:(e,t)=>B(f,e,t),setLayoutForKey:(e,t)=>{const n=L({},f);z(n,e,t),m(n)}},y=Wx((()=>function(e={}){return{...VU,...e}}(a)),[a]);Vx((()=>{"function"==typeof l&&l(y)}),[y,l]);const v={description:y,getDescriptionForId:(e,t)=>y[e]&&y[e](t)},b=Wx((()=>function(e={}){return{...HU,...e}}(p)),[p]);Vx((()=>{"function"==typeof u&&u(b)}),[b,u]);const w={tooltip:b,getTooltipForId:(e,t)=>b[e]&&b[e](t)},[x,_]=qx({});WH("propertiesPanel.setErrors",(({errors:e})=>_(e)),d);const k={errors:x},E={eventBus:d},O={element:t};return r&&!t?j_(eU,{...r.getEmpty()}):r&&c(t)?j_(eU,{...r.getMultiple()}):j_(LH.Provider,{value:O,children:j_(jH.Provider,{value:k,children:j_(RH.Provider,{value:v,children:j_(zH.Provider,{value:w,children:j_(LH.Provider,{value:g,children:j_(IH.Provider,{value:E,children:j_(yU,{element:t,eventBus:d,popupContainer:h,children:j_("div",{class:"bio-properties-panel",children:[j_(NH,{element:t,headerProvider:n}),j_("div",{class:"bio-properties-panel-scroll-container",children:i.map((e=>{const{component:n=KH,id:r}=e;return ox(n,{...e,key:r,element:t})}))})]})})})})})})})})}function WU(e={},t=FU){return{...t,...e}}function GU(e){const{class:t,children:n,menuItems:r=[]}=e,i=Ux(null),o=Ux(null),[s,a]=qx(!1),l=()=>a(!1);function c(e,t){e.stopPropagation(),l(),t()}var p,u;return p=[i.current],u=()=>l(),Vx((()=>{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]),j_("div",{class:L_("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,j_("div",{class:"bio-properties-panel-dropdown-button__menu",ref:o,children:r.map(((e,t)=>j_(QU,{onClick:c,item:e},t)))})]})}function QU({item:e,onClick:t}){return e.separator?j_("div",{class:"bio-properties-panel-dropdown-button__menu-item bio-properties-panel-dropdown-button__menu-item--separator"}):e.action?j_("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}):j_("div",{class:"bio-properties-panel-dropdown-button__menu-item",children:e.entry})}function XU(e){const{children:t=null,class:n,onClick:r=(()=>{}),...i}=e;return j_("button",{type:"button",...i,onClick:r,class:L_("bio-properties-panel-group-header-button",n),children:t})}function ZU(e){const{element:t,entries:n=[],id:r,label:i,open:o,remove:s}=e,[a,l]=qx(o),{onShow:c}=Qx(LH),p={...Qx(LH),onShow:Gx((()=>{l(!0),h(c)&&c()}),[c,l])},u="<empty>";return j_("div",{"data-entry-id":r,class:L_("bio-properties-panel-collapsible-entry",a?"open":""),children:[j_("div",{class:"bio-properties-panel-collapsible-entry-header",onClick:()=>l(!a),children:[j_("div",{title:i||u,class:L_("bio-properties-panel-collapsible-entry-header-title",!i&&"empty"),children:i||u}),j_("button",{type:"button",title:"Toggle list item",class:"bio-properties-panel-arrow bio-properties-panel-collapsible-entry-arrow",children:j_(OH,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}),s?j_("button",{type:"button",title:"Delete item",class:"bio-properties-panel-remove-entry",onClick:s,children:j_(SH,{})}):null]}),j_("div",{class:L_("bio-properties-panel-collapsible-entry-entries",a?"open":""),children:j_(LH.Provider,{value:p,children:n.map((e=>{const{component:n,id:r}=e;return ox(n,{...e,element:t,key:r})}))})})]})}function YU(e){const{autoFocusEntry:t,autoOpen:n}=e;return Vx((()=>{if(n&&t){const e=ve(`[data-entry-id="${t}"]`),n=ve(".bio-properties-panel-input",e);n&&(h(n.select)?n.select():h(n.focus)&&n.focus())}}),[n,t]),j_("div",{class:"bio-properties-panel-list-item",children:j_(ZU,{...e,open:n})})}const KU=()=>{};function JU(e){const{add:t,element:n,id:r,items:i,label:o,shouldOpen:s=!0,shouldSort:a=!0}=e,l=Ux(null),[c,p]=GH(["groups",r,"open"],!1),[u,h]=qx(!1),d=Gx((()=>p(!0)),[p]),[f,m]=qx([]),[g,y]=qx(!1),[v,b]=qx(!1),w=QH(i),x=QH(n),_=n!==x,k=!_&&(a||s);_&&m(nW(a?eW(i):i)),Vx((()=>{w&&a||m(nW(i))}),[i,n]),Vx((()=>{if(b(!1),k&&w&&i.length>w.length){let e=[];i.forEach((t=>{f.includes(t.id)||e.push(t.id)}));let t=f;v&&!c&&s&&E(),!c&&a&&(t=nW(eW(i))),t=t.filter((t=>!e.includes(t))),a?t.unshift(...e):t.push(...e),m(t),y(v)}else y(!1)}),[i,c,k,v]),Vx((()=>{a&&c&&!g&&m(nW(eW(i)))}),[c,a]),Vx((()=>{if(k&&w&&i.length<w.length){let e=[];f.forEach((t=>{tW(i,t)&&e.push(t)})),m(e)}}),[i,k]),ZH(l,"div.bio-properties-panel-scroll-container",h);const E=()=>p(!c),O=!!i.length,P={...Qx(LH),onShow:d},S=UH(),C=i.some((e=>!!S[e.id]||(e.entries?e.entries.some((e=>S[e.id])):void 0)));return j_("div",{class:"bio-properties-panel-group","data-group-id":"group-"+r,ref:l,children:[j_("div",{class:L_("bio-properties-panel-group-header",O?"":"empty",O&&c?"open":"",u&&c?"sticky":""),onClick:O?E:KU,children:[j_("div",{title:e.tooltip?null:o,"data-title":o,class:"bio-properties-panel-group-header-title",children:j_(BH,{value:e.tooltip,forId:"group-"+r,element:n,parent:l,children:o})}),j_("div",{class:"bio-properties-panel-group-header-buttons",children:[t?j_("button",{type:"button",title:"Create new list item",class:"bio-properties-panel-group-header-button bio-properties-panel-add-entry",onClick:e=>{b(!0),t(e)},children:[j_(PH,{}),O?null:j_("span",{class:"bio-properties-panel-add-entry-label",children:"Create"})]}):null,O?j_("div",{title:`List contains ${i.length} item${1!=i.length?"s":""}`,class:L_("bio-properties-panel-list-badge",C?"bio-properties-panel-list-badge--error":""),children:i.length}):null,O?j_("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:j_(OH,{class:c?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}):null]})]}),j_("div",{class:L_("bio-properties-panel-list",c&&O?"open":""),children:j_(LH.Provider,{value:P,children:f.map(((e,t)=>{const r=tW(i,e);if(!r)return;const{id:o}=r,s=g;return ox(YU,{...r,autoOpen:s,element:n,index:t,key:o})}))})})]})}function eW(e){return T(e,(e=>e.label.toLowerCase()))}function tW(e,t){return m(e,(e=>e.id===t))}function nW(e){return e.map((e=>e.id))}function rW(e){const{id:t,label:n,onChange:r,disabled:i,value:o=!1,onFocus:s,onBlur:a,tooltip:l}=e,[c,p]=qx(o);Vx((()=>{o!==c&&p(o)}),[o]);return j_("div",{class:"bio-properties-panel-checkbox",children:[j_("input",{ref:XH(t),id:sW(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}),j_("label",{for:sW(t),class:"bio-properties-panel-label",children:j_(BH,{value:l,forId:t,element:e.element,children:n})})]})}function iW(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),h=HH(n);return j_("div",{class:"bio-properties-panel-entry bio-properties-panel-checkbox-entry","data-entry-id":n,children:[j_(rW,{disabled:a,id:n,label:i,onChange:s,onFocus:l,onBlur:c,value:u,tooltip:p,element:t},t),h&&j_("div",{class:"bio-properties-panel-error",children:h}),j_(tU,{forId:n,element:t,value:r})]})}function oW(e){return e&&!!e.checked}function sW(e){return`bio-properties-panel-${e}`}function aW(e){const{id:t,label:n,onChange:r,options:i=[],value:o="",disabled:s,onFocus:a,onBlur:l,tooltip:c}=e,p=XH(t),[u,h]=qx(o);return Vx((()=>{o!==u&&h(o)}),[o]),j_("div",{class:"bio-properties-panel-select",children:[j_("label",{for:pW(t),class:"bio-properties-panel-label",children:j_(BH,{value:c,forId:t,element:e.element,children:n})}),j_("select",{ref:p,id:pW(t),name:t,class:"bio-properties-panel-input",onInput:e=>{(({target:e})=>{r(e.value)})(e),h(e.target.value)},onFocus:a,onBlur:l,value:u,disabled:s,children:i.map(((e,t)=>e.children?j_("optgroup",{label:e.label,children:e.children.map(((e,t)=>j_("option",{value:e.value,disabled:e.disabled,children:e.label},t)))},t):j_("option",{value:e.value,disabled:e.disabled,children:e.label},t)))})]})}function lW(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:d}=e,f=a(t),m=HH(n),[g,y]=qx(null);let v=o(t);Vx((()=>{if(h(u)){const e=u(v)||null;y(e)}}),[v,u]);const b=m||g;return j_("div",{class:L_("bio-properties-panel-entry",b?"has-error":""),"data-entry-id":n,children:[j_(aW,{id:n,label:i,value:v,onChange:e=>{let t=null;h(u)&&(t=u(e)||null),s(e,t),y(t)},onFocus:c,onBlur:p,options:f,disabled:l,tooltip:d,element:t},t),b&&j_("div",{class:"bio-properties-panel-error",children:b}),j_(tU,{forId:n,element:t,value:r})]})}function cW(e){return e&&!!e.value}function pW(e){return`bio-properties-panel-${e}`}function uW(e){e.style.height="auto",e.style.height=`${e.scrollHeight+2}px`}function hW(e){const{id:t,label:n,debounce:r,onInput:i,value:o="",disabled:s,monospace:a,onFocus:l,onBlur:c,autoResize:p,rows:u=(p?1:2),tooltip:h}=e,[d,f]=qx(o),m=XH(t),g=Wx((()=>r((e=>i(e.value.length?e.value:void 0)))),[i,r]);return Hx((()=>{p&&uW(m.current)}),[]),Vx((()=>{o!==d&&f(o)}),[o]),j_("div",{class:"bio-properties-panel-textarea",children:[j_("label",{for:mW(t),class:"bio-properties-panel-label",children:j_(BH,{value:h,forId:t,element:e.element,children:n})}),j_("textarea",{ref:m,id:mW(t),name:t,spellCheck:"false",class:L_("bio-properties-panel-input",a?"bio-properties-panel-input-monospace":"",p?"auto-resize":""),onInput:e=>{g(e.target),p&&uW(e.target),f(e.target.value)},onFocus:l,onBlur:c,rows:u,value:d,disabled:s,"data-gramm":"false"})]})}function dW(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:d,onBlur:f,autoResize:m,tooltip:g}=e,y=HH(n),[v,b]=qx(null);let w=s(t);Vx((()=>{if(h(u)){const e=u(w)||null;b(e)}}),[w,u]);const x=y||v;return j_("div",{class:L_("bio-properties-panel-entry",x?"has-error":""),"data-entry-id":n,children:[j_(hW,{id:n,label:o,value:w,onInput:e=>{let t=null;h(u)&&(t=u(e)||null),a(e,t),b(t)},onFocus:d,onBlur:f,rows:l,debounce:i,monospace:c,disabled:p,autoResize:m,tooltip:g,element:t},t),x&&j_("div",{class:"bio-properties-panel-error",children:x}),j_(tU,{forId:n,element:t,value:r})]})}function fW(e){return e&&!!e.value}function mW(e){return`bio-properties-panel-${e}`}function gW(e){const{debounce:t,disabled:n=!1,id:r,label:i,onInput:o,onFocus:s,onBlur:a,value:l="",tooltip:c}=e,[p,u]=qx(l||""),h=XH(r),d=Wx((()=>t((e=>o(e.value.length?e.value:void 0)))),[o,t]);return Vx((()=>{l!==p&&u(l)}),[l]),j_("div",{class:"bio-properties-panel-textfield",children:[j_("label",{for:bW(r),class:"bio-properties-panel-label",children:j_(BH,{value:c,forId:r,element:e.element,children:i})}),j_("input",{ref:h,id:bW(r),type:"text",name:r,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",onInput:e=>{d(e.target),u(e.target.value)},onFocus:s,onBlur:a,value:p})]})}function yW(e){const{element:t,id:n,description:r,debounce:i,disabled:o,label:s,getValue:a,setValue:l,validate:c,onFocus:p,onBlur:u,tooltip:d}=e,f=HH(n),[m,g]=qx(null);let y=a(t);Vx((()=>{if(h(c)){const e=c(y)||null;g(e)}}),[y,c]);const v=f||m;return j_("div",{class:L_("bio-properties-panel-entry",v?"has-error":""),"data-entry-id":n,children:[j_(gW,{debounce:i,disabled:o,id:n,label:s,onInput:e=>{let t=null;h(c)&&(t=c(e)||null),l(e,t),g(t)},onFocus:p,onBlur:u,value:y,tooltip:d,element:t},t),v&&j_("div",{class:"bio-properties-panel-error",children:v}),j_(tU,{forId:n,element:t,value:r})]})}function vW(e){return e&&!!e.value}function bW(e){return`bio-properties-panel-${e}`}function wW(e){return function(t){return!1!==e?j(t,u(e)?e:300):t}}wW.$inject=["config.debounceInput"];var xW={debounceInput:["factory",wW]};class _W{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")}}_W.$inject=["eventBus"];var kW={feelPopup:["type",_W]},EW={},OW={};const PW=Object.prototype.toString,SW=Object.prototype.hasOwnProperty;function CW(e){return void 0===e}function TW(e){return void 0!==e}function MW(e){return null==e}function AW(e){return"[object Array]"===PW.call(e)}function DW(e){return"[object Object]"===PW.call(e)}function NW(e){const t=PW.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function RW(e){if(!AW(e))throw new Error("must supply array")}function jW(e,t){return SW.call(e,t)}function IW(e,t){const n=WW(t);let r;return LW(e,(function(e,t){if(n(e,t))return r=e,!1})),r}function LW(e,t){let n,r;if(CW(e))return;const i=AW(e)?QW:GW;for(let o in e)if(jW(e,o)&&(n=e[o],r=t(n,i(o)),!1===r))return n}function zW(e,t,n){return LW(e,(function(e,r){n=t(n,e,r)})),n}function BW(e,t){return!!zW(e,(function(e,n,r){return e&&t(n,r)}),!0)}function $W(e,t){let n=[];return LW(e,(function(e,r){n.push(t(e,r))})),n}function qW(e){return e&&Object.keys(e)||[]}function FW(e,t,n={}){return t=UW(t),LW(e,(function(e){let r=t(e)||"_",i=n[r];i||(i=n[r]=[]),i.push(e)})),n}function VW(e,...t){e=UW(e);let n={};return LW(t,(t=>FW(t,e,n))),$W(n,(function(e,t){return e[0]}))}const HW=VW;function UW(e){return NW(e)?e:t=>t[e]}function WW(e){return NW(e)?e:t=>t===e}function GW(e){return e}function QW(e){return Number(e)}OW.assign=function(e,...t){return Object.assign(e,...t)},OW.bind=function(e,t){return e.bind(t)},OW.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},OW.ensureArray=RW,OW.every=BW,OW.filter=function(e,t){const n=WW(t);let r=[];return LW(e,(function(e,t){n(e,t)&&r.push(e)})),r},OW.find=IW,OW.findIndex=function(e,t){const n=WW(t);let r=AW(e)?-1:void 0;return LW(e,(function(e,t){if(n(e,t))return r=t,!1})),r},OW.flatten=function(e){return Array.prototype.concat.apply([],e)},OW.forEach=LW,OW.get=function(e,t,n){let r=e;return LW(t,(function(e){if(MW(r))return r=void 0,!1;r=r[e]})),CW(r)?n:r},OW.groupBy=FW,OW.has=jW,OW.isArray=AW,OW.isDefined=TW,OW.isFunction=NW,OW.isNil=MW,OW.isNumber=function(e){return"[object Number]"===PW.call(e)},OW.isObject=DW,OW.isString=function(e){return"[object String]"===PW.call(e)},OW.isUndefined=CW,OW.keys=qW,OW.map=$W,OW.matchPattern=function(e){return function(t){return BW(e,(function(e,n){return t[n]===e}))}},OW.merge=function e(t,...n){return n.length?(LW(n,(function(n){n&&DW(n)&&LW(n,(function(n,r){if("__proto__"===r)return;let i=t[r];DW(n)?(DW(i)||(i={}),t[r]=e(i,n)):t[r]=n}))})),t):t},OW.omit=function(e,t){let n={};return LW(Object(e),(function(e,r){-1===t.indexOf(r)&&(n[r]=e)})),n},OW.pick=function(e,t){let n={},r=Object(e);return LW(t,(function(t){t in r&&(n[t]=e[t])})),n},OW.reduce=zW,OW.set=function(e,t,n){let r=e;return LW(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];TW(o)&&MW(s)&&(s=r[e]=isNaN(+o)?{}:[]),CW(o)?CW(n)?delete r[e]:r[e]=n:r=s})),e},OW.size=function(e){return qW(e).length},OW.some=function(e,t){return!!IW(e,t)},OW.sortBy=function(e,t){t=UW(t);let n=[];return LW(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)})),$W(n,(e=>e.v))},OW.throttle=function(e,t){let n=!1;return function(...r){n||(e(...r),n=!0,setTimeout((()=>{n=!1}),t))}},OW.unionBy=HW,OW.uniqueBy=VW,OW.values=function(e){return $W(e,(e=>e))},OW.without=function(e,t){if(CW(e))return[];RW(e);const n=WW(t);return e.filter((function(e,t){return!n(e,t)}))},Object.defineProperty(EW,"__esModule",{value:!0});var XW=OW;function ZW(e){return(KW(e,"zeebe:IoMapping")||[])[0]}function YW(e){return function(e,t){var n=ZW(e);return n&&n.get(t)||[]}(e,"inputParameters")}function KW(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=XW.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 JW(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function eG(e,t,n){n=n||0,XW.isArray(e)||(e=[e]),XW.forEach(e,(function(e,r){var i=t(e,r,n);XW.isArray(i)&&i.length&&eG(i,t,n+1)}))}function tG(e,t,n){var r=!n||-1===e.indexOf(t);return r&&e.push(t),r}function nG(e,t,n){var r=[],i=[];return eG(e,(function(e,o,s){tG(r,e,t);var a=e.flowElements;if((-1===n||s<n)&&a&&tG(i,a,t))return a})),r}function rG(e,t){return nG(e,!t,-1)}function iG(e,t){var n=XW.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 oG(e,t,n){var r,i,o,s,a=(r=n,i=t,o=JW(e),s=XW.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return XW.find(YW(e),(function(e){return e.target===t}))}(e,i)})),s||r);return{name:t,origin:[e],scope:a}}var sG=[function(e){var t=e.elements,n=e.processVariables;return XW.isArray(t)||(t=[t]),XW.forEach(t,(function(e){var t=function(e){return(ZW(e)||{}).inputParameters}(e);XW.forEach(t,(function(t){var r=oG(e,t.target,e);iG(n,r)}))})),n},function(e){var t=e.elements,n=e.processVariables;return XW.isArray(t)||(t=[t]),XW.forEach(t,(function(e){var t=e.loopCharacteristics,r=t&&function(e){const t=KW(e,"zeebe:LoopCharacteristics")[0];return t&&t.inputElement}(t);if(r){var i=oG(e,r,e);iG(n,i)}})),n},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return XW.isArray(t)||(t=[t]),XW.forEach(t,(function(e){var t=function(e){return(ZW(e)||{}).outputParameters}(e);XW.forEach(t,(function(t){var i=oG(e,t.target,n);iG(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return XW.isArray(t)||(t=[t]),XW.forEach(t,(function(e){var t=e.loopCharacteristics,i=t&&function(e){const t=KW(e,"zeebe:LoopCharacteristics")[0];return t&&t.outputCollection}(t);if(i){var o=oG(e,i,n);iG(r,o)}})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return XW.isArray(t)||(t=[t]),XW.forEach(t,(function(e){var t=function(e){return(KW(e,"zeebe:CalledDecision")||[])[0]}(e)||function(e){return(KW(e,"zeebe:Script")||[])[0]}(e);if(t){var i=t.resultVariable;if(i){var o=oG(e,i,n);iG(r,o)}}})),r}];function aG(e,t=[]){var n=[],r=rG([e],!1);const i=[];return XW.forEach([...sG,...t],(function(t){i.push(t({elements:r,containerElement:e,processVariables:n}))})),Promise.all(i).then((()=>n))}async function lG(e,t,n=[]){var r=await aG(t,n),i=function(e,t){var n=rG(t);return XW.find(n,(function(t){return t.id===e}))}(e,t),o=XW.filter(r,(function(e){return e.scope.id===i.id})),s=JW(i);return function(e,t){return e.concat(t)}(o,XW.filter(r,(function(e){return XW.find(s,(function(t){return t.id===e.scope.id}))})))}function cG(e){return e&&e.businessObject||e}function pG(e,t){var n=cG(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}var uG=EW.getProcessVariables=aG,hG=EW.getVariablesForElement=function(e,t=[]){return lG(function(e){const t=cG(e);if(pG(e,"bpmn:Participant"))return t.processRef.id;return t.id}(e),function(e){const t=cG(e);if(pG(t,"bpmn:Participant"))return t.processRef;if(pG(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!pG(n,"bpmn:Process");)n=n.$parent;return n}(e),t)};EW.getVariablesForScope=lG;var dG={};Object.defineProperty(dG,"__esModule",{value:!0});var fG=OW;function mG(e){var t=function(e){return gG(e,"camunda:FormData")[0]}(e);return t&&t.get("fields")||[]}function gG(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=fG.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 yG(e,t){var n=function(e){return(gG(e,"camunda:InputOutput")||[])[0]}(e);return n&&n.get(t)||[]}function vG(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function bG(e,t,n){n=n||0,fG.isArray(e)||(e=[e]),fG.forEach(e,(function(e,r){var i=t(e,r,n);fG.isArray(i)&&i.length&&bG(i,t,n+1)}))}function wG(e,t,n){var r=!n||-1===e.indexOf(t);return r&&e.push(t),r}function xG(e,t,n){var r=[],i=[];return bG(e,(function(e,o,s){wG(r,e,t);var a=e.flowElements;if((-1===n||s<n)&&a&&wG(i,a,t))return a})),r}function _G(e,t){return xG(e,!t,-1)}function kG(e,t){var n=fG.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 EG(e,t,n){var r,i,o,s,a=(r=n,i=t,o=vG(e),s=fG.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return fG.find(function(e){return yG(e,"inputParameters")}(e),(function(e){return e.name===t}))}(e,i)})),s||r);return{name:t,origin:[e],scope:a}}function OG(e,t){var n=e.eventDefinitions;return n&&t?fG.filter(n,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})):n}var PG=[function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return fG.isArray(t)||(t=[t]),fG.forEach(t,(function(e){var t=function(e){return yG(e,"outputParameters")}(e);fG.forEach(t,(function(t){var i=EG(e,t.name,n);kG(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return fG.isArray(t)||(t=[t]),fG.forEach(t,(function(e){var t=function(e){return e.get("camunda:resultVariable")}(e);if(t){var i=EG(e,t,n);kG(r,i)}})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return fG.isArray(t)||(t=[t]),fG.forEach(t,(function(e){var t=mG(e);fG.forEach(t,(function(t){var i=EG(e,t.id,n);kG(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return fG.isArray(t)||(t=[t]),fG.forEach(t,(function(e){var t=function(e){return gG(e,"camunda:Out")}(e);fG.forEach(t,(function(t){if(!t.local){var i=EG(e,t.target,n);kG(r,i)}}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables,i=function(e,t){var i=EG(e,t,n);kG(r,i)};return fG.isArray(t)||(t=[t]),fG.forEach(t,(function(e){var t=function(e){return OG(e,"bpmn:ErrorEventDefinition")}(e);fG.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 OG(e,"bpmn:EscalationEventDefinition")}(e);fG.forEach(n,(function(t){var n=t.get("escalationCodeVariable");n&&i(e,n)}))})),r}];function SG(e,t=[]){const n=[];var r=[],i=_G([e],!1);return fG.forEach([...PG,...t],(function(t){n.push(t({elements:i,containerElement:e,processVariables:r}))})),Promise.all(n).then((()=>r))}dG.getProcessVariables=SG,dG.getVariablesForScope=async function(e,t,n=[]){var r=await SG(t,n),i=function(e,t){var n=_G(t);return fG.find(n,(function(t){return t.id===e}))}(e,t),o=fG.filter(r,(function(e){return e.scope.id===i.id})),s=vG(i);return function(e,t){return e.concat(t)}(o,fG.filter(r,(function(e){return fG.find(s,(function(t){return t.id===e.scope.id}))})))};const CG=Sx({selectedElement:null,injector:null,getService:()=>null});function TG(e,t){const{getService:n}=Qx(CG);return n(e,t)}function MG(){return MG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},MG.apply(this,arguments)}function AG(){return AG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AG.apply(this,arguments)}function DG(){return DG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DG.apply(this,arguments)}function NG(){return NG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NG.apply(this,arguments)}function RG(){return RG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RG.apply(this,arguments)}function jG(){return jG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jG.apply(this,arguments)}function IG(){return IG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IG.apply(this,arguments)}var LG=({styles:e={},...t})=>N_("svg",IG({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),N_("path",{stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"1.1,4.3",d:"M1.5 30.5L27 5"}),N_("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 zG(){return zG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zG.apply(this,arguments)}function BG(){return BG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BG.apply(this,arguments)}function $G(){return $G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$G.apply(this,arguments)}function qG(){return qG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qG.apply(this,arguments)}function FG(){return FG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FG.apply(this,arguments)}function VG(){return VG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VG.apply(this,arguments)}function HG(){return HG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HG.apply(this,arguments)}function UG(){return UG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UG.apply(this,arguments)}function WG(){return WG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WG.apply(this,arguments)}function GG(){return GG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GG.apply(this,arguments)}function QG(){return QG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QG.apply(this,arguments)}function XG(){return XG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XG.apply(this,arguments)}function ZG(){return ZG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZG.apply(this,arguments)}function YG(){return YG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YG.apply(this,arguments)}function KG(){return KG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KG.apply(this,arguments)}function JG(){return JG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JG.apply(this,arguments)}function eQ(){return eQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iQ.apply(this,arguments)}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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aQ.apply(this,arguments)}var lQ=({styles:e={},...t})=>N_("svg",aQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cQ.apply(this,arguments)}var pQ=({styles:e={},...t})=>N_("svg",cQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uQ.apply(this,arguments)}var hQ=({styles:e={},...t})=>N_("svg",uQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dQ.apply(this,arguments)}var fQ=({styles:e={},...t})=>N_("svg",dQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mQ.apply(this,arguments)}var gQ=({styles:e={},...t})=>N_("svg",mQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yQ.apply(this,arguments)}var vQ=({styles:e={},...t})=>N_("svg",yQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bQ.apply(this,arguments)}var wQ=({styles:e={},...t})=>N_("svg",bQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xQ.apply(this,arguments)}var _Q=({styles:e={},...t})=>N_("svg",xQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kQ.apply(this,arguments)}var EQ=({styles:e={},...t})=>N_("svg",kQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OQ.apply(this,arguments)}var PQ=({styles:e={},...t})=>N_("svg",OQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SQ.apply(this,arguments)}var CQ=({styles:e={},...t})=>N_("svg",SQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TQ.apply(this,arguments)}var MQ=({styles:e={},...t})=>N_("svg",TQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AQ.apply(this,arguments)}var DQ=({styles:e={},...t})=>N_("svg",AQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NQ.apply(this,arguments)}var RQ=({styles:e={},...t})=>N_("svg",NQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jQ.apply(this,arguments)}var IQ=({styles:e={},...t})=>N_("svg",jQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LQ.apply(this,arguments)}var zQ=({styles:e={},...t})=>N_("svg",LQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BQ.apply(this,arguments)}var $Q=({styles:e={},...t})=>N_("svg",BQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qQ.apply(this,arguments)}var FQ=({styles:e={},...t})=>N_("svg",qQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VQ.apply(this,arguments)}var HQ=({styles:e={},...t})=>N_("svg",VQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZQ.apply(this,arguments)}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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JQ.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pX.apply(this,arguments)}function uX(){return uX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uX.apply(this,arguments)}function hX(){return hX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hX.apply(this,arguments)}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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dX.apply(this,arguments)}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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yX.apply(this,arguments)}function vX(){return vX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vX.apply(this,arguments)}function bX(){return bX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bX.apply(this,arguments)}function wX(){return wX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wX.apply(this,arguments)}function xX(){return xX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xX.apply(this,arguments)}function _X(){return _X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_X.apply(this,arguments)}function kX(){return kX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kX.apply(this,arguments)}var EX=({styles:e={},...t})=>N_("svg",kX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OX.apply(this,arguments)}var PX=({styles:e={},...t})=>N_("svg",OX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TX.apply(this,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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},MX.apply(this,arguments)}var AX={Association:({styles:e={},...t})=>N_("svg",MG({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),N_("path",{stroke:"#000",strokeWidth:"2",fill:"none",strokeDasharray:"3.3,6",strokeLinecap:"square",d:"M1.5 30.5l29-29"})),BusinessRuleTask:({styles:e={},...t})=>N_("svg",AG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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"}),N_("path",{d:"M6.079 8.209v3.587H21.44V8.209z"})),CallActivity:({styles:e={},...t})=>N_("svg",DG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",NG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("g",{fillRule:"evenodd"},N_("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"}),N_("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})=>N_("svg",RG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",jG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",zG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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:LG,DataOutput:({styles:e={},...t})=>N_("svg",$G({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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:LG,DataObjectReference:({styles:e={},...t})=>N_("svg",BG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",qG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",FG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",VG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",HG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",UG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",WG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",GG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",QG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",XG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",ZG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",YG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",KG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",JG({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",eQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",tQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",oQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",nQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",rQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",iQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",sQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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:lQ,CompensateIntermediateCatchEvent:pQ,ConditionalIntermediateCatchEvent:hQ,ErrorIntermediateCatchEvent:fQ,EscalationIntermediateCatchEvent:gQ,LinkIntermediateCatchEvent:vQ,MessageIntermediateCatchEvent:wQ,MultipleIntermediateCatchEvent:_Q,ConditionalIntermediateCatchEventNonInterrupting:EQ,EscalationIntermediateCatchEventNonInterrupting:PQ,MessageIntermediateCatchEventNonInterrupting:CQ,MultipleIntermediateCatchEventNonInterrupting:MQ,ParallelIntermediateCatchEventNonInterrupting:DQ,SignalIntermediateCatchEventNonInterrupting:RQ,TimerIntermediateCatchEventNonInterrupting:IQ,ParallelMultipleIntermediateCatchEvent:zQ,SignalIntermediateCatchEvent:$Q,TimerIntermediateCatchEvent:FQ,IntermediateThrowEvent:HQ,CompensateIntermediateThrowEvent:({styles:e={},...t})=>N_("svg",UQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",WQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",GQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",QQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",XQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",ZQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",YQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("path",{d:"M0 7v18.62h32V7H0zm1.655 17.056V8.684h28.62v15.372H1.656z"})),ManualTask:({styles:e={},...t})=>N_("svg",KQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",JQ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",eX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("path",{d:"M0 5v22.069h32V5H0zm30.276 1.684v18.82H6.62V6.684h23.655zm-28.62 0h3.31v18.82h-3.31V6.684z"})),Process:({styles:e={},...t})=>N_("svg",tX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",nX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",rX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",iX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",oX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",sX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",aX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",lX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",cX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",pX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",uX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",hX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",dX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",fX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",mX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",gX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",yX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",vX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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:lQ,CompensateBoundaryEvent:pQ,ConditionalBoundaryEvent:hQ,ErrorBoundaryEvent:fQ,EscalationBoundaryEvent:gQ,LinkBoundaryEvent:vQ,MessageBoundaryEvent:wQ,MultipleBoundaryEvent:_Q,BoundaryEvent:HQ,ConditionalBoundaryEventNonInterrupting:EQ,EscalationBoundaryEventNonInterrupting:PQ,MessageBoundaryEventNonInterrupting:CQ,MultipleBoundaryEventNonInterrupting:MQ,ParallelBoundaryEventNonInterrupting:DQ,SignalBoundaryEventNonInterrupting:RQ,TimerBoundaryEventNonInterrupting:IQ,ParallelMultipleBoundaryEvent:zQ,SignalBoundaryEvent:$Q,TimerBoundaryEvent:FQ,StartEvent:({styles:e={},...t})=>N_("svg",bX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",wX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",xX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",_X({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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:EX,CollapsedAdHocSubProcess:EX,ExpandedSubProcess:PX,ExpandedAdHocSubProcess:PX,Task:({styles:e={},...t})=>N_("svg",SX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",CX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",TX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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})=>N_("svg",MX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),N_("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 DX(e){const{type:t}=e;let n=RX(t);const r=function(e){const t=Ti(e),n=t.eventDefinitions;return n&&n[0]}(e);if(r)return n=`${function(e){const t=RX(e.$type);return t.replace("EventDefinition","")}(r)}${n}`,(Si(e,"bpmn:StartEvent")&&!Xi(e)||Si(e,"bpmn:BoundaryEvent")&&!function(e){const t=Ti(e);return t&&!1!==t.cancelActivity}(e))&&(n=`${n}NonInterrupting`),n;if(Si(e,"bpmn:SubProcess")&&!Si(e,"bpmn:Transaction"))if(Zi(e))n=`Event${n}`;else{const t=Gi(e)&&!function(e){const t=e&&(e.di||Ti(e).di);return Si(t,"bpmndi:BPMNPlane")}(e);n=`${t?"Expanded":"Collapsed"}${n}`}return function(e){const t=Ti(e),n=Ti(e.source);if(!Si(e,"bpmn:SequenceFlow")||!n)return!1;return n.default&&n.default===t&&(Si(n,"bpmn:Gateway")||Si(n,"bpmn:Activity"))}(e)&&(n="DefaultFlow"),function(e){const t=Ti(e),n=Ti(e.source);if(!Si(e,"bpmn:SequenceFlow")||!n)return!1;return t.conditionExpression&&Si(n,"bpmn:Activity")}(e)&&(n="ConditionalFlow"),n}const NX={getDocumentationRef:e=>{const t=jX();if(t)return function(e,t){const n=IX(e,t);return n&&n.documentationRef}(e,t)},getElementLabel:e=>Si(e,"bpmn:Process")?Ti(e).name:oo(e),getElementIcon:e=>{const t=DX(e),n=TG("config.elementTemplateIconRenderer",!1),{iconProperty:r="zeebe:modelerTemplateIcon"}=n||{},i=Ti(e).get(r);return i?()=>j_("img",{class:"bio-properties-panel-header-template-icon",width:"32",height:"32",src:i}):AX[t]},getTypeLabel:e=>{const t=jX();if(t){const n=IX(e,t);if(n&&n.name)return n.name}return DX(e).replace(/(\B[A-Z])/g," $1").replace(/(\bNon Interrupting)/g,"($1)")}};function RX(e){return e.split(":")[1]}function jX(){return TG("elementTemplates",!1)}function IX(e,t){return t.get(e)}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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LX.apply(this,arguments)}var zX=({styles:e={},...t})=>N_("svg",LX({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"64",height:"64"},t),N_("defs",null,N_("rect",{id:"a",width:"57",height:"47",x:"3",y:"8",rx:"7"}),N_("mask",{id:"b",width:"57",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},N_("use",{xlinkHref:"#a"}))),N_("g",{fill:"none",fillRule:"evenodd"},N_("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"}),N_("path",{fill:"#D5D7DD",d:"M16 24h31v6H16zM21 33h21v6H21z"}),N_("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));function BX(){return BX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BX.apply(this,arguments)}var $X=({styles:e={},...t})=>N_("svg",BX({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"128",height:"64"},t),N_("defs",null,N_("path",{id:"a",d:"M9 9h110v47H9z"}),N_("mask",{id:"b",width:"110",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},N_("use",{xlinkHref:"#a"}))),N_("g",{fill:"none",fillRule:"evenodd"},N_("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"}),N_("path",{fill:"#D5D7DD",d:"M17 47h16v6H17z"}),N_("path",{fill:"#818798",d:"M35 32h27v2H35z"}),N_("path",{fill:"#818798",d:"M60 30v6l6-3z"}),N_("path",{fill:"#D5D7DD",d:"M80 34h21v6H80z"}),N_("g",null,N_("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"}),N_("path",{fill:"#D5D7DD",d:"M75 25h31v6H75z"})),N_("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));const qX=e=>(e||(e=e=>e),{getEmpty:()=>({text:e("Select an element to edit its properties."),icon:zX}),getMultiple:()=>({text:e("Multiple elements are selected. Select a single element to edit its properties."),icon:$X})});function FX(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"),h=n.get("translate"),[d,f]=qx({selectedElement:t}),g=d.selectedElement,y=e=>{if(!e)return;let t=e;t&&"label"===t.type&&(t=t.labelTarget),f({...d,selectedElement:t}),u.fire("propertiesPanel.updated",{element:t})};Vx((()=>{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)}}),[]),Vx((()=>{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]),Vx((()=>{const e=e=>{const t=e.element;y(t)};return u.on("root.added",e),()=>{u.off("root.added",e)}}),[g]),Vx((()=>{const e=()=>{y(g)};return u.on("propertiesPanel.providersChanged",e),()=>{u.off("propertiesPanel.providersChanged",e)}}),[g]),Vx((()=>{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=Wx((()=>w(b,(function(e,t){if(c(g))return[];return t.getGroups(g)(e)}),[])),[b,g]),[_,k]=qx(i||{}),E=Gx((e=>{u.fire("propertiesPanel.layoutChanged",{layout:e})}),[u]);Vx((()=>{const e=e=>{const{layout:t}=e;k(t)};return u.on("propertiesPanel.setLayout",e),()=>u.off("propertiesPanel.setLayout",e)}),[u,k]);return j_(CG.Provider,{value:v,children:j_(UU,{element:g,headerProvider:NX,placeholderProvider:qX(h),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 VX{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=ye('<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 Gs(e)?(n.undo(),r(e)):Qs(e)?(n.redo(),r(e)):void 0}t.on("keyboard.bind",(function(){pe.bind(e,"keydown",i)})),t.on("keyboard.unbind",(function(){pe.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)||(Px(j_(FX,{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&&(Px(null,this._container),this._eventBus.fire("propertiesPanel.destroyed"))}}VX.$inject=["config.propertiesPanel","injector","eventBus"];let HX=class{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;v(e,(function(e){t.execute(e.cmd,e.context)}))}};HX.$inject=["commandStack"];const UX={"properties-panel.multi-command-executor":HX};function WX(e,t){e.on("diagram.init",(function(){v(UX,(function(e,n){t.registerHandler(n,e)}))}))}WX.$inject=["eventBus","commandStack"];var GX={__depends__:[{__init__:[WX]},xW,kW],__init__:["propertiesPanel"],propertiesPanel:["type",VX]};function QX(e){const{autoFocusEntry:t,element:n,getOptions:r}=e,i=r(n),o=QH(i);return Vx((()=>{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]),j_(lW,{...e})}function XX(e){return YX(e,"bpmn:ErrorEventDefinition")}function ZX(e){const t=XX(e);return t&&t.get("errorRef")}function YX(e,t){return m(Ti(e).get("eventDefinitions")||[],(function(e){return Si(e,t)}))}function KX(e){return Si(e,"bpmn:ReceiveTask")?Ti(e):YX(e,"bpmn:MessageEventDefinition")}function JX(e){const t=KX(e);return t&&t.get("messageRef")}function eZ(e){return YX(e,"bpmn:LinkEventDefinition")}function tZ(e){return YX(e,"bpmn:SignalEventDefinition")}function nZ(e){const t=tZ(e);return t&&t.get("signalRef")}function rZ(e){return YX(e,"bpmn:EscalationEventDefinition")}function iZ(e){const t=rZ(e);return t&&t.get("escalationRef")}function oZ(e){return YX(e,"bpmn:CompensateEventDefinition")}function sZ(e){const{element:t}=e;return function(e){return Ci(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"])&&!!oZ(e)}(t)?[{id:"waitForCompletion",component:aZ,isEdited:oW},{id:"activityRef",component:lZ,isEdited:cW}]:[]}function aZ(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=oZ(t);return iW({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 lZ(e){const{element:t}=e,n=TG("commandStack"),r=TG("elementRegistry"),i=TG("translate"),o=oZ(t);return QX({element:t,id:"activityRef",label:i("Activity reference"),getValue:()=>{const e=function(e){const t=oZ(e);return t&&t.get("activityRef")}(t);return e&&e.get("id")},setValue:e=>{const i=e?Ti(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=Ti(e);let n=t.$parent,r=uZ(n);Si(n,"bpmn:SubProcess")&&n.triggeredByEvent&&(n=n.$parent,n&&(r=[...r,...uZ(n)]));return r}(t);var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((function(t){e.push({value:t.id,label:hZ(t)})})),e}})}function cZ(e,t){const{flowElements:n}=e;return n.filter((function(e){return Si(e,t)}))}function pZ(e,t){return Si(e,"bpmn:CallActivity")||Si(e,"bpmn:SubProcess")&&!e.triggeredByEvent&&!e.isForCompensation||function(e,t){const{id:n}=e;return!!m(t,(function(e){const{attachedToRef:t}=e,r=oZ(e);return t&&r&&t.id===n}))}(e,t)}function uZ(e){const t=function(e){return cZ(e,"bpmn:Activity")}(e),n=function(e){return cZ(e,"bpmn:BoundaryEvent")}(e);return t.filter((function(e){return pZ(e,n)}))}function hZ(e){const{id:t,name:n}=e;return`${n?n+" ":""}(id=${t})`}const dZ="text/plain";function fZ(e){const{element:t}=e,n=[{id:"documentation",component:mZ,isEdited:fW}];return function(e){return Si(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)&&n.push({id:"processDocumentation",component:gZ,isEdited:fW}),n}function mZ(e){const{element:t}=e,n=TG("bpmnFactory"),r=TG("commandStack"),i=TG("translate"),o=TG("debounceInput"),s=vZ(Ti(t)),a=bZ(t,Ti(t),n,r);return dW({element:t,id:"documentation",label:i("Element documentation"),getValue:s,setValue:a,debounce:o})}function gZ(e){const{element:t}=e,n=TG("bpmnFactory"),r=TG("commandStack"),i=TG("translate"),o=TG("debounceInput"),s=Ti(t).processRef,a=vZ(s),l=bZ(t,s,n,r);return dW({element:t,id:"processDocumentation",label:i("Process documentation"),getValue:a,setValue:l,debounce:o})}function yZ(e){return e.find((function(e){return(e.textFormat||dZ)===dZ}))}function vZ(e){return function(){const t=yZ(e&&e.get("documentation"));return t&&t.text}}function bZ(e,t,n,r){return function(i){let o=yZ(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 wZ(e,t,n,r){const i=r.create(e,t);return n&&(i.$parent=n),i}function xZ(e){return new n([32,32,1]).nextPrefixed(e)}function _Z(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function kZ(e,t){return function(e,t){return(e||[]).filter((e=>Si(e,t)))}(_Z(e).get("rootElements"),t)}function EZ(e,t,n){return kZ(e,t).find((e=>e.id===n))}const OZ="",PZ="create-new";function SZ(e){const{element:t}=e;if(!function(e){return Ci(e,["bpmn:StartEvent","bpmn:BoundaryEvent","bpmn:EndEvent"])&&!!XX(e)}(t))return[];let n=[{id:"errorRef",component:CZ,isEdited:cW}];return ZX(t)&&(n=[...n,{id:"errorName",component:TZ,isEdited:vW},{id:"errorCode",component:MZ,isEdited:vW}]),n}function CZ(e){const{element:t}=e,n=TG("bpmnFactory"),r=TG("commandStack"),i=TG("translate"),o=XX(t);return QX({element:t,id:"errorRef",label:i("Global error reference"),autoFocusEntry:"errorName",getValue:()=>{const e=ZX(t);return e?e.get("id"):OZ},setValue:e=>{const i=_Z(o),s=[];let a;return e===PZ&&(a=wZ("bpmn:Error",{name:xZ("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||EZ(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:OZ,label:i("<none>")},{value:PZ,label:i("Create new ...")}];const n=kZ(Ti(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 TZ(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=ZX(t);return yW({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 MZ(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=ZX(t);return yW({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 AZ="create-new";function DZ(e){const{element:t}=e;if(!function(e){return Si(e,"bpmn:Event")&&!!rZ(e)}(t))return[];let n=[{id:"escalationRef",component:NZ,isEdited:cW}];return iZ(t)&&(n=[...n,{id:"escalationName",component:RZ,isEdited:vW},{id:"escalationCode",component:jZ,isEdited:vW}]),n}function NZ(e){const{element:t}=e,n=TG("bpmnFactory"),r=TG("commandStack"),i=TG("translate"),o=rZ(t);return QX({element:t,id:"escalationRef",label:i("Global escalation reference"),autoFocusEntry:"escalationName",getValue:()=>{const e=iZ(t);return e&&e.get("id")},setValue:e=>{const i=_Z(o),s=[];let a;if(e===AZ){const r=xZ("Escalation_");a=wZ("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||EZ(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:AZ,label:i("Create new ...")}];const n=kZ(Ti(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 RZ(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=iZ(t);return yW({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 jZ(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=iZ(t);return yW({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 IZ(e){const{element:t}=e;return Si(t,"bpmn:Process")||function(e){return Si(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"isExecutable",component:LZ,isEdited:oW}]:[]}function LZ(e){const{element:t}=e,n=TG("modeling"),r=TG("commandStack"),i=TG("translate");let o,s;if(s=e=>{n.updateProperties(t,{isExecutable:e})},o=e=>e.businessObject.isExecutable,Si(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 iW({element:t,id:"isExecutable",label:i("Executable"),getValue:o,setValue:s})}const zZ=/\s/,BZ=/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i,$Z=/^[a-z_][\w-.]*$/i;function qZ(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,zZ.test(n))return t("ID must not contain spaces.");var n;if(!$Z.test(e))return BZ.test(e)?t("ID must not contain prefix."):t("ID must be a valid QName.")}(t,n):n("ID must not be empty.")}function FZ(e){const{element:t}=e,n=TG("modeling"),r=TG("debounceInput"),i=TG("translate"),o=Gx((e=>Ti(e).id),[t]),s=Gx((e=>qZ(Ti(t),e,i)),[t,i]);return yW({element:t,id:"id",label:i(Si(t,"bpmn:Participant")?"Participant ID":"ID"),getValue:o,setValue:(e,r)=>{r||n.updateProperties(t,{id:e})},debounce:r,validate:s})}function VZ(e){const{element:t}=e;return function(e){return Ci(e,["bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"])&&!!eZ(e)}(t)?[{id:"linkName",component:HZ,isEdited:vW}]:[]}function HZ(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=eZ(t);return yW({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 UZ="",WZ="create-new";function GZ(e){const{element:t}=e;if(!function(e){return Si(e,"bpmn:ReceiveTask")||Ci(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!KX(e)}(t))return[];let n=[{id:"messageRef",component:QZ,isEdited:cW}];return JX(t)&&(n=[...n,{id:"messageName",component:XZ,isEdited:vW}]),n}function QZ(e){const{element:t}=e,n=TG("bpmnFactory"),r=TG("commandStack"),i=TG("translate"),o=KX(t);return QX({element:t,id:"messageRef",label:i("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=JX(t);return e?e.get("id"):UZ},setValue:e=>{const i=_Z(o),s=[];let a;if(e===WZ){const r=xZ("Message_");a=wZ("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||EZ(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:UZ,label:i("<none>")},{value:WZ,label:i("Create new ...")}];const n=kZ(Ti(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 XZ(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=JX(t);return yW({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 ZZ(e){const{element:t}=e;if(!function(e){const t=tY(e);return!!t&&Si(t,"bpmn:MultiInstanceLoopCharacteristics")}(t))return[];return[{id:"loopCardinality",component:YZ,isEdited:vW},{id:"completionCondition",component:KZ,isEdited:vW}]}function YZ(e){const{element:t}=e,n=TG("bpmnFactory"),r=TG("debounceInput"),i=TG("commandStack"),o=TG("translate");return yW({element:t,id:"loopCardinality",label:o("Loop cardinality"),getValue:()=>function(e){const t=function(e){return eY(e,"loopCardinality")}(e);return JZ(t)}(t),setValue:e=>i.execute("element.updateModdleProperties",nY(t,"loopCardinality",e,n)),debounce:r})}function KZ(e){const{element:t}=e,n=TG("bpmnFactory"),r=TG("debounceInput"),i=TG("commandStack"),o=TG("translate");return yW({element:t,id:"completionCondition",label:o("Completion condition"),getValue:()=>function(e){const t=function(e){return eY(e,"completionCondition")}(e);return JZ(t)}(t),setValue:e=>i.execute("element.updateModdleProperties",nY(t,"completionCondition",e,n)),debounce:r})}function JZ(e){return e&&e.get("body")}function eY(e,t){const n=tY(e);return n&&n.get(t)}function tY(e){return Ti(e).loopCharacteristics}function nY(e,t,n,r){const i=tY(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 wZ("bpmn:FormalExpression",{body:t},e,n)}(i,n,r),{element:e,moddleElement:i,properties:o})}function rY(e){const{element:t}=e;return Ci(t,["bpmn:Collaboration","bpmn:DataAssociation","bpmn:Association"])?[]:[{id:"name",component:iY,isEdited:fW}]}function iY(e){const{element:t}=e,n=TG("modeling"),r=TG("debounceInput"),i=TG("canvas"),o=TG("bpmnFactory"),s=TG("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 Si(t,"bpmn:TextAnnotation")?a={...a,setValue:e=>{n.updateProperties(t,{text:e})},getValue:e=>e.businessObject.text}:Si(t,"bpmn:Group")?a={...a,setValue:e=>{const r=Ti(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 St(e.get("rootElements"),r),Ti(r).$parent=e,Ti(n).$parent=r,n}(Ti(t).$parent,n);e.categoryValueRef=r}(r,i.getRootElement(),o),n.updateLabel(t,e)},getValue:e=>{const t=Ti(e).categoryValueRef;return t&&t.value}}:Si(t,"bpmn:Participant")&&(a.label=s("Participant Name")),dW(a)}function oY(e){const{element:t}=e;return function(e){return Si(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"processId",component:aY,isEdited:vW},{id:"processName",component:sY,isEdited:vW}]:[]}function sY(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=t.businessObject.get("processRef");return yW({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 aY(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=t.businessObject.get("processRef"),s=Gx((e=>qZ(o,e,r)),[o,r]);return yW({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 lY="",cY="create-new";function pY(e){const{element:t}=e;if(!function(e){return Si(e,"bpmn:Event")&&!!tZ(e)}(t))return[];let n=[{id:"signalRef",component:uY,isEdited:cW}];return nZ(t)&&(n=[...n,{id:"signalName",component:hY,isEdited:vW}]),n}function uY(e){const{element:t}=e,n=TG("bpmnFactory"),r=TG("commandStack"),i=TG("translate"),o=tZ(t);return QX({element:t,id:"signalRef",label:i("Global signal reference"),autoFocusEntry:"signalName",getValue:()=>{const e=nZ(t);return e?e.get("id"):lY},setValue:e=>{const i=_Z(o),s=[];let a;if(e===cY){const r=xZ("Signal_");a=wZ("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||EZ(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:lY,label:i("<none>")},{value:cY,label:i("Create new ...")}];const n=kZ(Ti(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 hY(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=nZ(t);return yW({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 dY(e){return Ci(e,["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:BoundaryEvent"])&&!!mY(e)}function fY(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 mY(e){return gY(e,"bpmn:TimerEventDefinition")}function gY(e,t){return m(Ti(e).get("eventDefinitions")||[],(function(e){return Si(e,t)}))}function yY(e){return gY(e,"bpmn:SignalEventDefinition")}function vY(e){const t=yY(e);return t&&t.get("signalRef")}function bY(e){const{element:t,idPrefix:n}=e;let{timerEventDefinition:r}=e;if(!r){r=mY(Ti(t))}const i=fY(r);if(!dY(t))return[];const o=[];return o.push({id:kY(n,"timerEventDefinitionType"),component:wY,isEdited:cW,timerEventDefinition:r,timerEventDefinitionType:i}),i&&o.push({id:kY(n,"timerEventDefinitionValue"),component:xY,isEdited:vW,timerEventDefinition:r,timerEventDefinitionType:i}),o}function wY(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:r}=e,i=TG("commandStack"),o=TG("bpmnFactory"),s=TG("translate");return lW({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 xY(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:r}=e,i=TG("commandStack"),o=TG("translate"),s=TG("debounceInput"),a=n.get(r);return yW({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:_Y(r,o)})}function _Y(e,t){switch(e){case"timeDate":return j_("div",{children:[j_("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),j_("ul",{children:[j_("li",{children:[j_("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),j_("li",{children:[j_("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),j_("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 j_("div",{children:[j_("p",{children:t("A cycle defined as ISO 8601 repeating intervals format.")}),j_("ul",{children:[j_("li",{children:[j_("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),j_("li",{children:[j_("code",{children:"R/P1D"})," - ",t("every day, infinitely")]})]}),j_("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 j_("div",{children:[j_("p",{children:t("A time duration defined as ISO 8601 durations format.")}),j_("ul",{children:[j_("li",{children:[j_("code",{children:"PT15S"})," - ",t("15 seconds")]}),j_("li",{children:[j_("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),j_("li",{children:[j_("code",{children:"P14D"})," - ",t("14 days")]})]}),j_("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 kY(e,t){return e?e+t:t}function EY(e,t){const n=t.get("translate"),r=[...rY({element:e}),{id:"id",component:FZ,isEdited:vW},...oY({element:e}),...IZ({element:e})];return{id:"general",label:n("General"),entries:r,component:KH}}function OY(e,t){const n={label:t.get("translate")("Compensation"),id:"compensation",component:KH,entries:[...sZ({element:e})]};return n.entries.length?n:null}function PY(e,t){const n=t.get("translate"),r=[...fZ({element:e})];return{id:"documentation",label:n("Documentation"),entries:r,component:KH}}function SY(e,t){const n={id:"error",label:t.get("translate")("Error"),component:KH,entries:[...SZ({element:e})]};return n.entries.length?n:null}function CY(e,t){const n={id:"message",label:t.get("translate")("Message"),component:KH,entries:[...GZ({element:e})]};return n.entries.length?n:null}function TY(e,t){const n={id:"signal",label:t.get("translate")("Signal"),component:KH,entries:[...pY({element:e})]};return n.entries.length?n:null}function MY(e,t){const n={label:t.get("translate")("Link"),id:"link",component:KH,entries:[...VZ({element:e})]};return n.entries.length?n:null}function AY(e,t){const n={id:"escalation",label:t.get("translate")("Escalation"),component:KH,entries:[...DZ({element:e})]};return n.entries.length?n:null}function DY(e,t){const n={label:t.get("translate")("Timer"),id:"timer",component:KH,entries:[...bY({element:e})]};return n.entries.length?n:null}function NY(e,t){const n={label:t.get("translate")("Multi-instance"),id:"multiInstance",component:KH,entries:[...ZZ({element:e})]};return n.entries.length?n:null}class RY{constructor(e,t){e.registerProvider(this),this._injector=t}getGroups(e){return t=>(t=t.concat(function(e,t){return[EY(e,t),PY(e,t),OY(e,t),SY(e,t),MY(e,t),CY(e,t),NY(e,t),TY(e,t),AY(e,t),DY(e,t)].filter((e=>null!==e))}(e,this._injector)),t)}}RY.$inject=["propertiesPanel","injector"];var jY={__init__:["bpmnPropertiesProvider"],bpmnPropertiesProvider:["type",RY]};function IY(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=>Si(e,t))):r:[]}function LY(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 zY={getVariablesForElement:e=>hG(e)};const BY=function(e){return t=>{const n=Wx((()=>{const e=TG("config");return e&&e.propertiesPanel&&e.propertiesPanel.feelTooltipContainer}),[]);return j_(e,{...t,tooltipContainer:n})}}(jU),$Y=function(e){return t=>{const{bpmnElement:n,element:r}=t,i=(n||r).businessObject,[o,s]=qx([]),a=TG("eventBus"),l=function(e,t){const n=TG(e,!1);if(!n)return t;return n}("variableResolver",zY);return Vx((()=>{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]),j_(e,{...t,variables:o})}}(BY);function qY(e){const{element:t}=e;return Si(t,"bpmn:UserTask")?[{id:"assignmentDefinitionAssignee",component:FY,isEdited:zU},{id:"assignmentDefinitionCandidateGroups",component:VY,isEdited:zU},{id:"assignmentDefinitionCandidateUsers",component:HY,isEdited:zU}]:[]}function FY(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=TG("debounceInput");return $Y({element:t,id:"assignmentDefinitionAssignee",label:i("Assignee"),feel:"optional",getValue:()=>(UY(t)||{}).assignee,setValue:e=>{const i=[],o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=UY(t);a||(a=wZ("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 VY(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=TG("debounceInput");return $Y({element:t,id:"assignmentDefinitionCandidateGroups",label:i("Candidate groups"),feel:"optional",getValue:()=>(UY(t)||{}).candidateGroups,setValue:e=>{let i=[];const o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=UY(t);a||(a=wZ("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 HY(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=TG("debounceInput");return $Y({element:t,id:"assignmentDefinitionCandidateUsers",label:i("Candidate users"),feel:"optional",getValue:()=>(UY(t)||{}).candidateUsers,setValue:e=>{let i=[];const o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=UY(t);a||(a=wZ("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 UY(e){return IY(Ti(e),"zeebe:AssignmentDefinition")[0]}function WY(e){return!!Si(e,"zeebe:ZeebeServiceTask")&&(Si(e,"bpmn:EndEvent")||Si(e,"bpmn:IntermediateThrowEvent")?!!KX(e):!(Ci(e,["bpmn:BusinessRuleTask","bpmn:ScriptTask"])&&!function(e){const t=Ti(e);return IY(t,"zeebe:TaskDefinition")[0]}(e)))}function GY(e){return IY(Ti(e),"zeebe:TaskHeaders")[0]}const QY="dmn",XY="jobWorker",ZY="";function YY(e){const{element:t}=e;return Si(t,"bpmn:BusinessRuleTask")?[{id:"businessRuleImplementation",component:KY,isEdited:()=>function(e){return JY(e)}(t)}]:[]}function KY(e){const{element:t,id:n}=e,r=TG("commandStack"),i=TG("bpmnFactory"),o=TG("translate");return lW({element:t,id:n,label:o("Implementation"),getValue:()=>eK(t)?QY:JY(t)?XY:ZY,setValue:e=>{let n,o;e===QY?(n=eK(t),o="zeebe:CalledDecision"):e===XY?(n=JY(t),o="zeebe:TaskDefinition"):function(e,t){const n=Ti(e),r=[JY(e),GY(e),eK(e)].filter(Boolean);LY(e,n,r,t)}(t,r),!n&&o&&(n=wZ(o,{},null,i),function(e,t,n,r){const i=Ti(e),o=[];let s,a=i.get("extensionElements");a||(a=wZ("bpmn:ExtensionElements",{values:[]},i,n),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{extensionElements:a}}}));t.$parent=a,Si(t,"zeebe:TaskDefinition")?s=b(a.get("values"),eK(e)):Si(t,"zeebe:CalledDecision")&&(s=b(a.get("values"),JY(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:ZY,label:o("<none>")},{value:QY,label:o("DMN decision")},{value:XY,label:o("Job worker")}]})}function JY(e){return IY(Ti(e),"zeebe:TaskDefinition")[0]}function eK(e){return IY(Ti(e),"zeebe:CalledDecision")[0]}function tK(e){const{element:t}=e;return Si(t,"bpmn:BusinessRuleTask")&&iK(t)?[{id:"decisionId",component:nK,isEdited:zU},{id:"resultVariable",component:rK,isEdited:vW}]:[]}function nK(e){const{element:t,id:n}=e,r=TG("commandStack"),i=TG("bpmnFactory"),o=TG("translate"),s=TG("debounceInput");return $Y({element:t,id:n,label:o("Decision ID"),feel:"optional",getValue:()=>(iK(t)||{}).decisionId,setValue:e=>{const n=[],o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=iK(t);a||(a=wZ("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 rK(e){const{element:t,id:n}=e,r=TG("commandStack"),i=TG("bpmnFactory"),o=TG("translate"),s=TG("debounceInput");return yW({element:t,id:n,label:o("Result variable"),getValue:()=>(iK(t)||{}).resultVariable,setValue:e=>{const n=[],o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=iK(t);a||(a=wZ("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 iK(e){return IY(Ti(e),"zeebe:CalledDecision")[0]}function oK(e){const{element:t}=e;if(!Si(t,"bpmn:SequenceFlow"))return[];const n=[];return function(e){return Ci(e,aK)}(t.source)&&n.push({id:"conditionExpression",component:sK,isEdited:zU}),n}function sK(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=TG("debounceInput");return $Y({element:t,id:"conditionExpression",label:i("Condition expression"),feel:"required",getValue:()=>function(e){const t=Ti(e),n=t.conditionExpression;if(n)return n.get("body")}(t),setValue:e=>{const i=[],o=Ti(t),s=t.source;s.businessObject.default===o&&i.push({cmd:"element.updateProperties",context:{element:s,properties:{default:void 0}}});const a=e&&""!=e?wZ("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 aK=["bpmn:Activity","bpmn:ExclusiveGateway","bpmn:InclusiveGateway"];function lK(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=ZX(t);return $Y({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 cK(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=iZ(t);return $Y({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 pK="camunda-forms:bpmn:",uK="UserTaskForm_",hK={CAMUNDA_FORM_EMBEDDED:"camunda-form-embedded",CAMUNDA_FORM_LINKED:"camunda-form-linked",CUSTOM_FORM:"custom-form",EXTERNAL_REFERENCE:"external-reference"};function dK(e){return IY(Ti(e),"zeebe:FormDefinition")[0]}function fK(e,t){t=t||gK(e);const n=dK(e);if(!n)return;const r=n.get("formKey");return IY(t,"zeebe:UserTaskForm").find((e=>mK(e.get("id"))===r))}function mK(e){return`${pK}${e}`}function gK(e){let t=Ti(e);for(;t.$parent&&!Si(t,"bpmn:Process");)t=t.$parent;return t}function yK(e){const t=dK(e);if(!t)return;const n=t.get("formId"),r=t.get("formKey"),i=t.get("externalReference");return a(n)?hK.CAMUNDA_FORM_LINKED:a(i)?hK.EXTERNAL_REFERENCE:a(r)?fK(e)?hK.CAMUNDA_FORM_EMBEDDED:hK.CUSTOM_FORM:void 0}function vK(e){return IY(Ti(e),"zeebe:UserTask").length>0}const bK="none";function wK(e){const{element:t}=e;if(!Si(t,"bpmn:UserTask"))return[];const n=[{id:"formType",component:xK,isEdited:e=>e.value!==bK}],r=yK(t);return r===hK.CAMUNDA_FORM_EMBEDDED?n.push({id:"formConfiguration",component:_K,isEdited:fW}):r===hK.CAMUNDA_FORM_LINKED?n.push({id:"formId",component:kK,isEdited:vW}):r===hK.CUSTOM_FORM?n.push({id:"customFormKey",component:EK,isEdited:vW}):r===hK.EXTERNAL_REFERENCE&&n.push({id:"externalReference",component:OK,isEdited:zU}),n}function xK(e){const{element:t}=e,n=TG("injector"),r=TG("translate");return lW({element:t,id:"formType",label:r("Type"),getValue:()=>yK(t)||bK,setValue:e=>{!function(e,t,n){n===hK.CAMUNDA_FORM_EMBEDDED?DK(e,t,""):n===hK.CAMUNDA_FORM_LINKED?TK(e,t,""):n===hK.CUSTOM_FORM?MK(e,t,""):n===hK.EXTERNAL_REFERENCE?AK(e,t,""):function(e,t){const n=dK(t),r=e.get("modeling");if(n){const e=Ti(t).get("extensionElements");r.updateModdleProperties(t,e,{values:b(e.get("values"),n)})}}(e,t)}(n,t,e)},getOptions:()=>function(e,t){if(vK(t))return[{value:bK,label:e("<none>")},{value:hK.CAMUNDA_FORM_LINKED,label:e("Camunda Form")},{value:hK.EXTERNAL_REFERENCE,label:e("External form reference")}];return[{value:bK,label:e("<none>")},{value:hK.CAMUNDA_FORM_LINKED,label:e("Camunda Form (linked)")},{value:hK.CAMUNDA_FORM_EMBEDDED,label:e("Camunda Form (embedded)")},{value:hK.CUSTOM_FORM,label:e("Custom form key")}]}(r,t)})}function _K(e){const{element:t}=e,n=TG("debounceInput"),r=TG("injector"),i=TG("translate");return dW({element:t,id:"formConfiguration",label:i("Form JSON configuration"),rows:4,getValue:()=>fK(t).get("body"),setValue:e=>{DK(r,t,s(e)?"":e)},debounce:n})}function kK(e){const{element:t}=e,n=TG("debounceInput"),r=TG("injector"),i=TG("translate");return yW({element:t,id:"formId",label:i("Form ID"),getValue:()=>dK(t).get("formId"),setValue:e=>{TK(r,t,s(e)?"":e)},debounce:n})}function EK(e){const{element:t}=e,n=TG("debounceInput"),r=TG("injector"),i=TG("translate");return yW({element:t,id:"customFormKey",label:i("Custom form key"),getValue:()=>dK(t).get("formKey"),setValue:e=>{MK(r,t,s(e)?"":e)},debounce:n})}function OK(e){const{element:t}=e,n=TG("debounceInput"),r=TG("injector"),i=TG("translate");return $Y({element:t,id:"externalReference",label:i("External form reference"),feel:"optional",getValue:()=>dK(t).get("externalReference"),setValue:e=>{AK(r,t,s(e)?"":e)},debounce:n})}function PK(e,t,n){const r=n||Ti(t);let i=r.get("extensionElements");if(i)return{commands:[],extensionElements:i};return i=wZ("bpmn:ExtensionElements",{values:[]},r,e.get("bpmnFactory")),{commands:[NK(t,r,{extensionElements:i})],extensionElements:i}}function SK(e,t){let n=dK(t);if(n)return{commands:[],formDefinition:n};const{extensionElements:r,commands:i}=PK(e,t);return n=function(e,t,n){const r=e.get("bpmnFactory");return wZ("zeebe:FormDefinition",t,n,r)}(e,{},r),{commands:[...i,NK(t,r,{values:[...r.get("values"),n]})],formDefinition:n}}function CK(e,t){let n=fK(t);if(n)return{commands:[],formDefinition:dK(t),userTaskForm:n};const r=gK(t),{extensionElements:i,commands:o}=PK(e,t,r),{formDefinition:s,commands:a}=SK(e,t),l=xZ(uK);return n=function(e,t,n){const r=e.get("bpmnFactory");return wZ("zeebe:UserTaskForm",t,n,r)}(e,{id:l},i),{commands:[...o,...a,NK(t,i,{values:[...i.get("values"),n]}),NK(t,s,{formKey:mK(l)})],formDefinition:s,userTaskForm:n}}function TK(e,t,n){let{commands:r,formDefinition:i}=SK(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,NK(t,i,{formId:n})])}function MK(e,t,n){let{commands:r,formDefinition:i}=SK(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,NK(t,i,{formKey:n})])}function AK(e,t,n){let{commands:r,formDefinition:i}=SK(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,NK(t,i,{externalReference:n})])}function DK(e,t,n){let{commands:r,userTaskForm:i}=CK(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,NK(t,i,{body:n})])}function NK(e,t,n){return{cmd:"element.updateModdleProperties",context:{element:e,moddleElement:t,properties:n}}}function RK(e){const{idPrefix:t,header:n}=e;return[{id:t+"-key",component:jK,header:n,idPrefix:t},{id:t+"-value",component:IK,header:n,idPrefix:t}]}function jK(e){const{idPrefix:t,element:n,header:r}=e,i=TG("commandStack"),o=TG("translate"),s=TG("debounceInput");return yW({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 IK(e){const{idPrefix:t,element:n,header:r}=e,i=TG("commandStack"),o=TG("translate"),s=TG("debounceInput");return yW({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 LK({element:e,injector:t}){if(!function(e){return Si(e,"bpmn:UserTask")||WY(e)}(e))return null;const n=function(e){const t=GY(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:RK({idPrefix:r,element:e,header:t}),autoFocusEntry:r+"-key",remove:zK({commandStack:i,element:e,header:t})}}));return{items:o,add:BK({bpmnFactory:r,commandStack:i,element:e}),shouldSort:!1}}function zK({commandStack:e,element:t,header:n}){return function(r){r.stopPropagation();let i=[];const o=GY(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=Ti(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 BK({bpmnFactory:e,commandStack:t,element:n}){return function(r){r.stopPropagation();let i=[];const o=Ti(n);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,e),i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:o,properties:{extensionElements:s}}}));let a=GY(n);if(!a){a=wZ("zeebe:TaskHeaders",{values:[]},s,e),i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{values:[...s.get("values"),a]}}})}const l=wZ("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 $K(e){const t=function(e){const t=Ti(e);return IY(t,"zeebe:CalledElement")}(e);return t[0]}function qK(e){const{element:t}=e;return Si(t,"bpmn:CallActivity")?[{id:"propagateAllParentVariables",component:FK,isEdited:_U}]:[]}function FK(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=function(e){if(!Si(e,"bpmn:CallActivity"))return;const t=Ti(e),n=$K(t);return!n||!f(n,"propagateAllParentVariables")||n.get("propagateAllParentVariables")}(t);return xU({id:"propagateAllParentVariables",label:i("Propagate all parent process variables"),switcherLabel:i(o?"On":"Off"),tooltip:j_("div",{children:[j_("p",{children:i("If turned on, all variables from the parent process instance will be propagated to the child process instance.")}),j_("p",{children:i("Otherwise, only variables defined via input mappings will be propagated.")})]}),getValue:()=>o,setValue:e=>{const i=[],o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=$K(o);a||(a=wZ("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 VK(e){const{idPrefix:t,parameter:n}=e;return[{id:t+"-target",component:HK,idPrefix:t,parameter:n},{id:t+"-source",component:UK,idPrefix:t,parameter:n}]}function HK(e){const{idPrefix:t,element:n,parameter:r}=e,i=TG("commandStack"),o=TG("translate"),s=TG("debounceInput");return yW({element:r,id:t+"-target",label:o(Si(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 UK(e){const{idPrefix:t,element:n,parameter:r}=e,i=TG("commandStack"),o=TG("translate"),s=TG("debounceInput");return $Y({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 WK(e,t){const n=GK(e);return n&&n.get(t)||[]}function GK(e){return(function(e,t,n){const r=IY(e,t);return n?(r[0]||{})[n]||[]:r}(Ti(e),"zeebe:IoMapping")||[])[0]}function QK(e){return WK.apply(this,[e,"outputParameters"])}function XK(e){return Ci(e,["bpmn:UserTask","bpmn:SubProcess","bpmn:CallActivity","bpmn:BusinessRuleTask","bpmn:ScriptTask"])||WY(e)||function(e){if(!Ci(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"]))return!1;return!!YX(e,"bpmn:SignalEventDefinition")}(e)}function ZK(e){return(!Si(e,"bpmn:EndEvent")||!XX(e)&&!function(e){return YX(e,"bpmn:TerminateEventDefinition")}(e))&&Ci(e,["zeebe:ZeebeServiceTask","bpmn:UserTask","bpmn:SubProcess","bpmn:ReceiveTask","bpmn:CallActivity","bpmn:Event","bpmn:BusinessRuleTask"])}function YK(e,t,n){return wZ("zeebe:IoMapping",e,t,n)}function KK({element:e,injector:t}){if(!XK(e))return null;const n=function(e){return WK.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:VK({idPrefix:r,element:e,parameter:t}),autoFocusEntry:r+"-target",remove:JK({commandStack:i,element:e,parameter:t})}}));return{items:o,add:eJ({element:e,bpmnFactory:r,commandStack:i}),shouldSort:!1}}function JK({commandStack:e,element:t,parameter:n}){return function(r){r.stopPropagation();const i=[],o=GK(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=Ti(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 eJ({element:e,bpmnFactory:t,commandStack:n}){return function(r){r.stopPropagation();const i=[],o=Ti(e);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:s}}}));let a=GK(e);a||(a=YK({inputParameters:[],outputParameters:[]},s,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}}));const l=wZ("zeebe:Input",{target:xZ("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 tJ(e){const{element:t}=e,n=JX(t),r=[];return n&&r.push({id:"messageName",component:nJ,isEdited:zU}),n&&function(e){if(Si(e,"bpmn:ReceiveTask"))return!0;if(!Si(e,"bpmn:StartEvent"))return!0;if(Si(e,"bpmn:StartEvent")&&Zi(e.parent))return!0;return!1}(t)&&r.push({id:"messageSubscriptionCorrelationKey",component:rJ,isEdited:zU}),r}function nJ(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=JX(t);return $Y({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 rJ(e){const{element:t}=e,n=TG("bpmnFactory"),r=TG("commandStack"),i=TG("translate"),o=TG("debounceInput");return $Y({element:t,id:"messageSubscriptionCorrelationKey",label:i("Subscription correlation key"),feel:"required",getValue:()=>function(e){const t=iJ(e);return t?t.get("correlationKey"):""}(t),setValue:e=>{const i=[],o={correlationKey:e},s=JX(t);let a=s.get("extensionElements");a||(a=wZ("bpmn:ExtensionElements",{values:[]},s,n),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{extensionElements:a}}}));let l=iJ(t);l?i.push({cmd:"element.updateModdleProperties",context:{element:t,properties:o,moddleElement:l}}):(l=wZ("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 iJ(e){const t=function(e){const t=IY(e,"zeebe:Subscription");return t}(JX(e));return t[0]}function oJ(e){const{element:t}=e;return function(e){return!!uJ(e)}(t)?[{id:"multiInstance-inputCollection",component:sJ,isEdited:zU},{id:"multiInstance-inputElement",component:aJ,isEdited:vW},{id:"multiInstance-outputCollection",component:lJ,isEdited:vW},{id:"multiInstance-outputElement",component:cJ,isEdited:zU},{id:"multiInstance-completionCondition",component:pJ,isEdited:zU}]:[]}function sJ(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=TG("debounceInput");return $Y({element:t,id:"multiInstance-inputCollection",label:i("Input collection"),feel:"required",getValue:()=>fJ(t,"inputCollection"),setValue:e=>mJ(t,"inputCollection",e,n,r),debounce:o})}function aJ(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=TG("debounceInput");return yW({element:t,id:"multiInstance-inputElement",label:i("Input element"),getValue:()=>fJ(t,"inputElement"),setValue:e=>mJ(t,"inputElement",e,n,r),debounce:o})}function lJ(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=TG("debounceInput");return yW({element:t,id:"multiInstance-outputCollection",label:i("Output collection"),getValue:()=>fJ(t,"outputCollection"),setValue:e=>mJ(t,"outputCollection",e,n,r),debounce:o})}function cJ(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=TG("debounceInput");return $Y({element:t,id:"multiInstance-outputElement",label:i("Output element"),feel:"required",getValue:()=>fJ(t,"outputElement"),setValue:e=>mJ(t,"outputElement",e,n,r),debounce:o})}function pJ(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=TG("debounceInput");return $Y({element:t,id:"multiInstance-completionCondition",label:i("Completion condition"),feel:"required",getValue:()=>{const e=function(e){return uJ(e).get("completionCondition")}(t);return e&&e.get("body")},setValue:e=>{if(e&&""!==e){const i=wZ("bpmn:FormalExpression",{body:e},uJ(t),r);dJ(t,n,i)}else dJ(t,n,void 0)},debounce:o})}function uJ(e){return Ti(e).get("loopCharacteristics")}function hJ(e){const t=IY(e,"zeebe:LoopCharacteristics");return t&&t[0]}function dJ(e,t,n=void 0){t.execute("element.updateModdleProperties",{element:e,moddleElement:uJ(e),properties:{completionCondition:n}})}function fJ(e,t){const n=hJ(uJ(e));return n&&n.get(t)}function mJ(e,t,n,r,i){const o=uJ(e),s=[];let a=o.get("extensionElements");a||(a=wZ("bpmn:ExtensionElements",{values:[]},o,i),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:a}}}));let l=hJ(o);l||(l=wZ("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 gJ(e){const{element:t}=e;return Si(t,"bpmn:CallActivity")?[{id:"propagateAllChildVariables",component:yJ,isEdited:_U}]:[]}function yJ(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=function(e){if(!Si(e,"bpmn:CallActivity"))return;const t=Ti(e),n=$K(t);return n&&f(n,"propagateAllChildVariables")?n.get("propagateAllChildVariables"):function(e){const t=QK(e);if(t)return!(t.length>0)}(e)}(t);return xU({id:"propagateAllChildVariables",label:i("Propagate all child process variables"),switcherLabel:i(o?"On":"Off"),tooltip:j_("div",{children:[j_("p",{children:i("If turned on, all variables from the child process instance will be propagated to the parent process instance.")}),j_("p",{children:i("Otherwise, only variables defined via output mappings will be propagated.")})]}),getValue:()=>o,setValue:e=>{const i=[],o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=$K(o);a||(a=wZ("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 vJ({element:e,injector:t}){if(!ZK(e))return null;const n=QK(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:VK({idPrefix:r,element:e,parameter:t}),autoFocusEntry:r+"-target",remove:bJ({commandStack:i,element:e,parameter:t})}}));return{items:o,add:wJ({element:e,bpmnFactory:r,commandStack:i}),shouldSort:!1}}function bJ({commandStack:e,element:t,parameter:n}){return function(r){r.stopPropagation();let i=[];const o=GK(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=Ti(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 wJ({element:e,bpmnFactory:t,commandStack:n}){return function(r){r.stopPropagation();let i=[];const o=Ti(e);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:s}}}));let a=GK(e);if(!a){a=YK({inputParameters:[],outputParameters:[]},s,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}})}const l=wZ("zeebe:Output",{target:xZ("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 xJ="script",_J="jobWorker",kJ="";function EJ(e){const{element:t}=e;return Si(t,"bpmn:ScriptTask")?[{id:"scriptImplementation",component:OJ,isEdited:()=>function(e){return PJ(e)||SJ(e)}(t)}]:[]}function OJ(e){const{element:t,id:n}=e,r=TG("commandStack"),i=TG("bpmnFactory"),o=TG("translate");return lW({element:t,id:n,label:o("Implementation"),getValue:()=>SJ(t)?xJ:PJ(t)?_J:kJ,setValue:e=>{let n,o;e===xJ?(n=SJ(t),o="zeebe:Script"):e===_J?(n=PJ(t),o="zeebe:TaskDefinition"):function(e,t){const n=Ti(e),r=PJ(e),i=function(e){const t=Ti(e);return IY(t,"zeebe:TaskHeaders")}(e),o=SJ(e);if(r){return void LY(e,n,[r,i].filter(Boolean),t)}o&&LY(e,n,o,t)}(t,r),!n&&o&&(n=wZ(o,{},null,i),function(e,t,n,r){const i=Ti(e),o=[];let s,a=i.get("extensionElements");a||(a=wZ("bpmn:ExtensionElements",{values:[]},i,n),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{extensionElements:a}}}));if(t.$parent=a,Si(t,"zeebe:TaskDefinition"))s=b(a.get("values"),SJ(e));else if(Si(t,"zeebe:Script")){const e=e=>Ci(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:kJ,label:o("<none>")},{value:xJ,label:o("FEEL expression")},{value:_J,label:o("Job worker")}]})}function PJ(e){return IY(Ti(e),"zeebe:TaskDefinition")[0]}function SJ(e){return IY(Ti(e),"zeebe:Script")[0]}function CJ(e){const{element:t}=e;return Si(t,"bpmn:ScriptTask")&&AJ(t)?[{id:"resultVariable",component:MJ,isEdited:vW},{id:"scriptExpression",component:TJ,isEdited:zU}]:[]}function TJ(e){const{element:t,id:n}=e,r=TG("commandStack"),i=TG("bpmnFactory"),o=TG("translate"),s=TG("debounceInput");return $Y({element:t,id:n,label:o("FEEL expression"),feel:"required",getValue:()=>(AJ(t)||{}).get("expression"),setValue:e=>{const n=[],o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=AJ(t);a||(a=wZ("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 MJ(e){const{element:t,id:n}=e,r=TG("commandStack"),i=TG("bpmnFactory"),o=TG("translate"),s=TG("debounceInput");return yW({element:t,id:n,label:o("Result variable"),getValue:()=>(AJ(t)||{}).resultVariable,setValue:e=>{const n=[],o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=AJ(t);a||(a=wZ("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 AJ(e){return IY(Ti(e),"zeebe:Script")[0]}function DJ(e){const{element:t}=e;if(!function(e){return Si(e,"bpmn:Event")&&!!yY(e)}(t))return[];let n=[];return vY(t)&&(n=[...n,{id:"signalName",component:NJ,isEdited:zU}]),n}function NJ(e){const{element:t}=e,n=TG("commandStack"),r=TG("translate"),i=TG("debounceInput"),o=vY(t);return $Y({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 RJ(e){const{element:t}=e;return Si(t,"bpmn:CallActivity")?[{id:"targetProcessId",component:jJ,isEdited:zU}]:[]}function jJ(e){const{element:t,id:n}=e,r=TG("commandStack"),i=TG("bpmnFactory"),o=TG("translate"),s=TG("debounceInput");return $Y({element:t,id:n,label:o("Process ID"),feel:"optional",getValue:()=>function(e){const t=$K(e);return t?t.get("processId"):""}(t),setValue:e=>{const n=[],o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=$K(o);a||(a=wZ("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 IJ(e){const{element:t}=e;return WY(t)?[{id:"taskDefinitionType",component:LJ,isEdited:zU},{id:"taskDefinitionRetries",component:zJ,isEdited:zU}]:[]}function LJ(e){const{element:t,id:n}=e,r=TG("commandStack"),i=TG("bpmnFactory"),o=TG("translate"),s=TG("debounceInput");return $Y({element:t,id:n,label:o("Type"),feel:"optional",getValue:()=>(BJ(t)||{}).type,setValue:e=>{const n=[],o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=BJ(t);a||(a=wZ("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 zJ(e){const{element:t,id:n}=e,r=TG("commandStack"),i=TG("bpmnFactory"),o=TG("translate"),s=TG("debounceInput");return $Y({element:t,id:n,label:o("Retries"),feel:"optional",getValue:()=>(BJ(t)||{}).retries,setValue:e=>{let n=[];const o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=BJ(t);a||(a=wZ("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 BJ(e){return IY(Ti(e),"zeebe:TaskDefinition")[0]}function $J(e){const{element:t}=e;return Si(t,"bpmn:UserTask")?[{id:"taskScheduleDueDate",component:qJ,isEdited:zU},{id:"taskScheduleFollowUpDate",component:FJ,isEdited:zU}]:[]}function qJ(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=TG("debounceInput");return $Y({element:t,id:"taskScheduleDueDate",label:i("Due date"),feel:"optional",getValue:()=>{const e=VJ(t);if(e)return e.get("dueDate")},setValue:e=>{let i=[];const o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=VJ(t);a||(a=wZ("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 FJ(e){const{element:t}=e,n=TG("commandStack"),r=TG("bpmnFactory"),i=TG("translate"),o=TG("debounceInput");return $Y({element:t,id:"taskScheduleFollowUpDate",label:i("Follow up date"),feel:"optional",getValue:()=>{const e=VJ(t);if(e)return e.get("followUpDate")},setValue:e=>{let i=[];const o=Ti(t);let s=o.get("extensionElements");s||(s=wZ("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=VJ(t);a||(a=wZ("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 VJ(e){return IY(Ti(e),"zeebe:TaskSchedule")[0]}function HJ(e,t){const n=Ti(t);switch(e){case"timeDate":return Ci(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent","bpmn:StartEvent"]);case"timeCycle":return!((!Si(t,"bpmn:StartEvent")||WJ(n))&&UJ(n))||!(!Si(t,"bpmn:BoundaryEvent")||UJ(n));case"timeDuration":return!!Ci(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])||!(!Si(t,"bpmn:StartEvent")||!WJ(n));default:return!1}}function UJ(e){return Si(e,"bpmn:BoundaryEvent")?!1!==e.get("cancelActivity"):!1!==e.get("isInterrupting")}function WJ(e){const t=e.$parent;return t&&Si(t,"bpmn:SubProcess")&&t.get("triggeredByEvent")}function GJ(e){const{element:t,injector:n}=e,r=n.get("translate"),i=fY(mY(Ti(t)));if(!dY(t))return[];const o=function(e,t){const n=[];HJ("timeDate",e)&&n.push({value:"timeDate",label:t("Date")});HJ("timeDuration",e)&&n.push({value:"timeDuration",label:t("Duration")});HJ("timeCycle",e)&&n.push({value:"timeCycle",label:t("Cycle")});return n}(t,r),s=[];return s.push({id:"timerEventDefinitionType",component:QJ,isEdited:cW,options:o}),i&&s.push({id:"timerEventDefinitionValue",component:XJ,isEdited:zU,timerEventDefinitionType:i||o[0].value}),s}function QJ(e){const{element:t,options:n}=e,r=TG("commandStack"),i=TG("bpmnFactory"),o=TG("translate"),s=mY(Ti(t)),a=fY(s);return lW({element:t,id:"timerEventDefinitionType",label:o("Type"),getValue:()=>a||"",setValue:e=>{if(e===a)return;const n=ZJ(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 XJ(e){const{element:t,label:n,timerEventDefinitionType:r}=e,i=TG("commandStack"),o=TG("translate"),s=TG("debounceInput"),a=TG("bpmnFactory"),l=mY(Ti(t)),c=l.get(r);return $Y({element:t,id:"timerEventDefinitionValue",label:n||o("Value"),feel:"optional",getValue:()=>c&&c.get("body"),setValue:e=>{if(!c){const n=ZJ(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:YJ(r,o)})}function ZJ(e,t){const n=e.create("bpmn:FormalExpression",{body:void 0});return n.$parent=t,n}function YJ(e,t){switch(e){case"timeDate":return j_("div",{children:[j_("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),j_("ul",{children:[j_("li",{children:[j_("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),j_("li",{children:[j_("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),j_("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 j_("div",{children:[j_("p",{children:t("A cycle defined as ISO 8601 repeating intervals format, or a cron expression.")}),j_("ul",{children:[j_("li",{children:[j_("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),j_("li",{children:[j_("code",{children:"R/P1D"})," - ",t("every day, infinitely")]}),j_("li",{children:[j_("code",{children:"0 0 9-17 * * MON-FRI"})," - ",t("every hour on the hour from 9-5 p.m. UTC Monday-Friday")]})]}),j_("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 j_("div",{children:[j_("p",{children:t("A time duration defined as ISO 8601 durations format.")}),j_("ul",{children:[j_("li",{children:[j_("code",{children:"PT15S"})," - ",t("15 seconds")]}),j_("li",{children:[j_("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),j_("li",{children:[j_("code",{children:"P14D"})," - ",t("14 days")]})]}),j_("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 KJ="zeebeUserTask",JJ="jobWorker";function e0(e){const{element:t}=e;return Si(t,"bpmn:UserTask")?[{id:"userTaskImplementation",component:t0,isEdited:()=>function(e){return n0(e)}(t)}]:[]}function t0(e){const{element:t,id:n}=e,r=TG("commandStack"),i=TG("bpmnFactory"),o=TG("translate");return lW({element:t,id:n,label:o("Type"),getValue:()=>n0(t)?KJ:JJ,setValue:e=>{e===KJ?function(e,t,n){const r=Ti(e),i=wZ("zeebe:UserTask",{},r,t);!function(e,t,n,r,i){const o=[];let s=t.get("extensionElements");s||(s=wZ("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===JJ&&function(e,t){const n=n0(e);LY(e,Ti(e),n,t)}(t,r)},getOptions:()=>[{value:KJ,label:o("Zeebe user task")},{value:JJ,label:o("Job worker")}]})}function n0(e){return IY(Ti(e),"zeebe:UserTask")[0]}function r0(e){const{idPrefix:t,property:n}=e;return[{id:t+"-name",component:i0,idPrefix:t,property:n},{id:t+"-value",component:o0,idPrefix:t,property:n}]}function i0(e){const{idPrefix:t,element:n,property:r}=e,i=TG("commandStack"),o=TG("translate"),s=TG("debounceInput");return yW({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 o0(e){const{idPrefix:t,element:n,property:r}=e,i=TG("commandStack"),o=TG("translate"),s=TG("debounceInput");return yW({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 s0({element:e,injector:t,namespace:n="camunda"}){let r=c0(e);if(!r)return;const i=function(e,t="camunda"){const n=c0(e),r=u0(n,t);return r&&r.get(p0(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:r0({idPrefix:i,element:e,property:t}),autoFocusEntry:i+"-name",remove:a0({commandStack:s,element:e,property:t,namespace:n})}}));return{items:a,add:l0({bpmnFactory:o,commandStack:s,element:e,namespace:n}),shouldSort:!1}}function a0({commandStack:e,element:t,property:n,namespace:r}){return function(i){i.stopPropagation();const o=[],s=c0(t),a=s.get("extensionElements"),l=u0(s,r);if(!l)return;const c=p0(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 l0({bpmnFactory:e,commandStack:t,element:n,namespace:r}){return function(i){i.stopPropagation();let o=[];const s=c0(n);let a=s.get("extensionElements");a||(a=wZ("bpmn:ExtensionElements",{values:[]},s,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{extensionElements:a}}}));const l=p0(r);let c=u0(s,r);if(!c){c=wZ(`${r}:Properties`,{[l]:[]},a,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{values:[...a.get("values"),c]}}})}const p=wZ(`${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 c0(e){let t=Ti(e);return Si(e,"bpmn:Participant")?t.get("processRef"):t}function p0(e="camunda"){return"zeebe"===e?"properties":"values"}function u0(e,t="camunda"){return IY(c0(e),`${t}:Properties`)[0]}const h0=[function(e){const t={id:"businessRuleImplementation",label:"Implementation",entries:[...YY({element:e})],component:KH};return t.entries.length?t:null},function(e){const t={id:"calledDecision",label:"Called decision",entries:[...tK({element:e})],component:KH};return t.entries.length?t:null},function(e){const t={id:"scriptImplementation",label:"Implementation",entries:[...EJ({element:e})],component:KH};return t.entries.length?t:null},function(e){const t={id:"script",label:"Script",entries:[...CJ({element:e})],component:KH};return t.entries.length?t:null},function(e){const t={id:"userTaskImplementation",label:"Implementation",entries:[...e0({element:e})],component:KH};return t.entries.length?t:null},function(e){const t={id:"taskDefinition",label:"Task definition",entries:[...IJ({element:e})],component:KH};return t.entries.length?t:null},function(e){const t={id:"assignmentDefinition",label:"Assignment",entries:[...qY({element:e}),...$J({element:e})],component:KH};return t.entries.length?t:null},function(e,t){const n={id:"form",label:"Form",entries:[...wK({element:e,injector:t})],component:KH};return n.entries.length?n:null},function(e){const t={id:"condition",label:"Condition",entries:[...oK({element:e})],component:KH};return t.entries.length?t:null},function(e){const t={id:"calledElement",label:"Called element",entries:[...RJ({element:e})],component:KH};return t.entries.length?t:null},function(e){const t={id:"inputPropagation",label:"Input propagation",entries:[...qK({element:e})],component:KH};return t.entries.length?t:null},function(e,t){const n={id:"inputs",label:"Inputs",component:JU,...KK({element:e,injector:t})};return n.items?n:null},function(e){const t={id:"outputPropagation",label:"Output propagation",entries:[...gJ({element:e})],component:KH};return t.entries.length?t:null},function(e,t){const n={id:"outputs",label:"Outputs",component:JU,...vJ({element:e,injector:t})};return n.items?n:null},function(e,t){const n={id:"headers",label:"Headers",component:JU,...LK({element:e,injector:t})};return n.items?n:null},function(e,t){const n={label:"Extension properties",id:"Zeebe__ExtensionProperties",component:JU,...s0({element:e,injector:t,namespace:"zeebe"})};if(n.items)return n;return null}];let d0=class{constructor(e,t){e.registerProvider(500,this),this._injector=t}getGroups(e){return t=>(function(e,t){const n=f0(e,"error");if(!n)return;n.entries=m0(n.entries,function(e){const{element:t}=e,n=[];return ZX(t)&&Si(t,"bpmn:ThrowEvent")&&n.push({id:"errorCode",component:lK,isEdited:zU}),n}({element:t}))}(t=t.concat(this._getGroups(e)),e),function(e,t){const n=f0(e,"escalation");if(!n)return;n.entries=m0(n.entries,function(e){const{element:t}=e;if(!Si(t,"bpmn:ThrowEvent"))return[];const n=[];return iZ(t)&&n.push({id:"escalationCode",component:cK,isEdited:zU}),n}({element:t}))}(t,e),function(e,t){const n=f0(e,"message");if(!n)return;n.entries=m0(n.entries,tJ({element:t}))}(t,e),function(e,t){const n=f0(e,"signal");if(!n)return;n.entries=m0(n.entries,DJ({element:t}))}(t,e),function(e,t,n){const r=f0(e,"timer");if(!r)return;r.entries=[...GJ({element:t,injector:n})]}(t,e,this._injector),function(e,t){const n=f0(e,"multiInstance");if(!n)return;n.entries=[...oJ({element:t})]}(t,e),t=function(e,t){const n=f0(e,"message");(function(e){return Si(e,"bpmn:EndEvent")&&!!KX(e)}(t)||function(e){return Si(e,"bpmn:IntermediateThrowEvent")&&!!KX(e)}(t))&&(e=e.filter((e=>e!=n)));return e}(t,e),t)}_getGroups(e){const t=h0.map((t=>t(e,this._injector)));return t.filter((e=>null!==e))}};function f0(e,t){return e.find((e=>e.id===t))}function m0(e,t){return[...e.filter((e=>!t.find((t=>t.id===e.id)))),...t]}d0.$inject=["propertiesPanel","injector"];var g0={__init__:["zeebePropertiesProvider"],zeebePropertiesProvider:["type",d0]};const y0={"group-assignmentDefinition":e=>{const t=TG("translate");return j_("div",{children:[t("Define who the task is assigned to. One or all of the following attributes can be specified simultaneously. "),j_("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=TG("translate");return j_("div",{children:[t("Define a boolean condition expression that defines when this flow is taken. "),j_("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=TG("translate");return j_("div",{children:[t("Evaluate a business rule, for example a DMN. To add a custom implementation, use a job worker. "),j_("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=TG("translate");return j_("div",{children:[t("Implement a script task using an inline FEEL expression. To add a custom implementation, use a job worker. "),j_("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=TG("translate");return j_("div",{children:[t("Implement a user task managed by Zeebe. To add a custom implementation, use a job worker. "),j_("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=TG("translate");return vK(e)?j_("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. "),j_("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.")})]}):j_("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. "),j_("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-message":e=>{const t=TG("translate");return Si(e,"bpmn:ReceiveTask")?j_("div",{children:[t("Define the name of the message (e.g. "),j_("code",{children:"Money collected"}),t(") and the "),j_("code",{children:"correlationKey"}),t(" expression (e.g. "),j_("code",{children:"= orderId"}),t(")"),t(" to subscribe to. "),t("Learn more how to "),j_("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 "),j_("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. ")})]}):j_("div",{children:[t("Define the name of the message (e.g. "),j_("code",{children:"Money collected"}),t(") and the "),j_("code",{children:"correlationKey"}),t(" expression (e.g. "),j_("code",{children:"= orderId"}),t(")"),t(" to subscribe to. "),j_("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=TG("translate");return j_("div",{children:[t("Define the ID of the process to call (e.g. ")," ",j_("code",{children:"shipping-process"}),t(" or "),j_("code",{children:'= "shipping-" + tenantId'})," ",t("). "),j_("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=TG("translate");return Si(e,"bpmn:ServiceTask")?j_("div",{children:[t("Specify which job workers handle the task work to execute a service (e.g. "),j_("code",{children:"order-items"}),t("). "),j_("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.")})]}):Si(e,"bpmn:BusinessRuleTask")?j_("div",{children:[t("Specify which job workers handle the task work to evaluate business rules. "),j_("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.")})]}):Si(e,"bpmn:ScriptTask")?j_("div",{children:[t("Specify which job workers handle the task work to execute a script. "),j_("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.")})]}):Si(e,"bpmn:SendTask")?j_("div",{children:[t("Specify which job workers handle the task work to send a message (e.g. "),j_("code",{children:"kafka"}),t(" or "),j_("code",{children:"mail"}),t("). "),j_("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.")})]}):Si(e,"bpmn:ThrowEvent")?j_("div",{children:[t("Specify which job workers handle the event work. "),j_("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=TG("translate");return j_("div",{children:[t("Execute this task for each element of a given collection. "),j_("br",{}),t("Define an input collection expression that defines the collection to iterate over (e.g. "),j_("code",{children:"= items"}),t("). "),t("To collect the output define the output collection and the output element expressions. "),j_("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=TG("translate");return j_("div",{children:[t("Define an error code (e.g. "),j_("code",{children:"order-not-found"}),t("). "),j_("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=TG("translate");return j_("div",{children:[t("Create a new local variable in the scope of this task. "),j_("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=TG("translate");return j_("div",{children:[t("Customize how result variables are merged into the global scope of the process instance. "),j_("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=TG("translate");return j_("div",{children:j_("p",{children:[t("The number of times the engine tries executing this activity if a worker signals a failure. The default is three.")," "," ",j_("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 v0(e={}){dw.call(this,e)}function b0(e,t=void 0){const n=Ti(e).get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>Si(e,t))):r:[]}function w0(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(v0,dw),v0.prototype.getModules=function(e={}){return[...dw.prototype.getModules.call(this,e),e.disableAdjustOrigin?Bw:Fw,e.disableGrid?{}:Rw]},v0.prototype._extensionModules=[Mw,Kw,GX,jY],v0.prototype._modules=[].concat(dw.prototype._modules,v0.prototype._extensionModules);class x0 extends gs{constructor(e,t){super(t),this.preExecute("element.updateModdleProperties",5e3,(function(e){const{element:t,moddleElement:n,properties:r}=e;if(!Si(t,"bpmn:BusinessRuleTask")||!Si(n,"bpmn:ExtensionElements")||!r.values)return;const i=_0(t),o=k0(t);i&&!o&&r.values.find((e=>Si(e,"zeebe:CalledDecision")))&&r.values.find((e=>Si(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(!Si(t,"bpmn:BusinessRuleTask")||!Si(n,"bpmn:ExtensionElements")||!r.values)return;const i=_0(t),o=k0(t),s=function(e){const t=Ti(e);return b0(t,"zeebe:TaskHeaders")[0]}(t);!i&&(o||s)&&r.values.find((e=>Si(e,"zeebe:CalledDecision")))&&r.values.find((e=>Si(e,"zeebe:TaskDefinition")||Si(e,"zeebe:TaskHeaders")))&&(r.values=b(r.values,(e=>e===o||e===s)))}),!0)}}function _0(e){return b0(Ti(e),"zeebe:CalledDecision")[0]}function k0(e){return b0(Ti(e),"zeebe:TaskDefinition")[0]}x0.$inject=["commandStack","eventBus"];class E0 extends gs{constructor(e,t){super(e),this.postExecuted("shape.replace",(function(e){const{context:n}=e,{newShape:r}=n;if(!Si(r,"bpmn:EndEvent")||!function(e){const t=Ti(e),n=t.get("eventDefinitions")||[];return m(n,(function(e){return Si(e,"bpmn:ErrorEventDefinition")}))}(r))return;const i=function(e){const t=Ti(e).get("extensionElements");if(!t)return null;const n=t.get("values");if(!n)return null;return m(n,(e=>Si(e,"zeebe:IoMapping")))}(r);if(!i)return;const o=Ti(r).get("extensionElements"),s=b(o.get("values"),i);t.updateModdleProperties(r,o,{values:s})}))}}E0.$inject=["eventBus","modeling"];class O0 extends gs{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(!Si(n,"bpmn:Event"))return;const r=function(e){const t=Ti(e);return t.get("eventDefinitions").find((e=>Si(e,"bpmn:MessageEventDefinition")))}(n);if(!r)return;const i=r.get("messageRef");if(!i)return;const o=function(e){return b0(e,"zeebe:Subscription")[0]}(i);o&&function(e){const t=e.$descriptor;return t.properties.every((t=>void 0===e.get(t.name)))}(o)&&w0(n,i,o,t)}),!0)}}function P0(e,t){const n=Ti(t);switch(e){case"timeDate":return Ci(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent","bpmn:StartEvent"]);case"timeCycle":return!((!Si(t,"bpmn:StartEvent")||C0(n))&&S0(n))||!(!Si(t,"bpmn:BoundaryEvent")||S0(n));case"timeDuration":return!!Ci(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])||!(!Si(t,"bpmn:StartEvent")||!C0(n));default:return!1}}function S0(e){return Si(e,"bpmn:BoundaryEvent")?!1!==e.get("cancelActivity"):!1!==e.get("isInterrupting")}function C0(e){const t=e.$parent;return t&&Si(t,"bpmn:SubProcess")&&t.get("triggeredByEvent")}O0.$inject=["eventBus","commandStack"];class T0 extends gs{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(!Si(n,"bpmn:Event"))return;const r=function(e){return Ti(e).get("eventDefinitions").find((e=>Si(e,"bpmn:TimerEventDefinition")))}(n);if(!r)return;const i={};["timeCycle","timeDate","timeDuration"].forEach((e=>{r.get(e)&&!P0(e,n)&&(i[e]=void 0)})),Object.keys(i).length&&t.updateModdleProperties(n,r,i)}),!0)}}T0.$inject=["eventBus","modeling"];const M0="*",A0=["timeCycle","timeDate","timeDuration"],D0=["zeebe:Input","zeebe:LoopCharacteristics","zeebe:TaskDefinition","zeebe:TaskHeaders","zeebe:Subscription"];class N0{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(M0)}(r))return!0;return _(r,(function(e){return R0(t,e)}))}(e,t))&&(!!this.canHostServiceTaskLikeProperties(e,t)&&(!!this.canHostTimerExpression(e,t,n)&&void 0))}canHostServiceTaskLikeProperties(e,t){if(function(e){return D0.some((t=>Si(e,t)))}(e)){const e=R0(t,"bpmn:IntermediateThrowEvent")||R0(t,"bpmn:EndEvent");if(e)return function(e){const t=e.get("eventDefinitions");return t.some((e=>Si(e,"bpmn:MessageEventDefinition")))}(e)}return!0}canHostTimerExpression(e,t,n){return!Si(t,"bpmn:TimerEventDefinition")||!A0.includes(n)||P0(n,t.$parent)}}function R0(e,t){return t?Si(e,t)?e:e.$parent?R0(e.$parent,t):void 0:e.$parent}function j0(e,t,n,r){var i=r.create(e,t);return i.$parent=n,i}function I0(e){const t=function(e){const t=Ti(e);return b0(t,"zeebe:CalledElement")}(e);return t[0]}N0.$inject=["eventBus"];class L0 extends gs{constructor(e,t,n){super(t),this.postExecuted("shape.create",5e3,(function(t){const{shape:r}=t;if(!Si(r,"bpmn:CallActivity"))return;const i=Ti(r);let o=I0(i);if(o)f(o,"propagateAllChildVariables")||n.updateModdleProperties(r,o,{propagateAllChildVariables:!1});else{let t=i.get("extensionElements");t||(t=j0("bpmn:ExtensionElements",{values:[]},i,e),n.updateProperties(r,{extensionElements:t})),o=j0("zeebe:CalledElement",{propagateAllChildVariables:!1},t,e),n.updateModdleProperties(r,t,{values:[...t.values||[],o]})}}),!0)}}L0.$inject=["bpmnFactory","eventBus","modeling"];class z0 extends gs{constructor(e,t,n){super(e),this.postExecuted("shape.delete",250,(function(e){const{collaborationRoot:r,shape:i}=e,o=t.getRootElement();if(Si(i,"bpmn:Participant")&&r&&!r.businessObject.get("participants").length&&Si(o,"bpmn:Process")){const e=i.businessObject.get("processRef");if(!e)return;n.updateProperties(o,{isExecutable:e.get("isExecutable")})}}),!0)}}z0.$inject=["eventBus","canvas","modeling"];const B0=new n([32,32,1]);const $0="camunda-forms:bpmn:";function q0(e){return b0(Ti(e),"zeebe:FormDefinition")[0]}function F0(e,t={}){let{formKey:n,rootElement:r}=t;if(r=r||W0(e),!n){const t=q0(e);if(!t)return;n=t.get("formKey")}return b0(r,"zeebe:UserTaskForm").find((e=>V0(e.get("id"))===n))}function V0(e){return`${$0}${e}`}function H0(e){return e&&e.startsWith($0)}function U0(){return function(e){return B0.nextPrefixed(e)}("UserTaskForm_")}function W0(e){let t=Ti(e);for(;t.$parent&&!Si(t,"bpmn:Process");)t=t.$parent;return t}class G0 extends gs{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=W0(t),o=F0(n,{rootElement:i});Si(n,"bpmn:UserTask")&&o&&r(n,i,o)}),!0),this.postExecute("shape.create",(function(t){const{shape:r}=t,i=q0(r);if(!Si(r,"bpmn:UserTask")||!i)return;const o=F0(r),s=W0(r),a=Ti(r).get("extensionElements");let l=s.get("extensionElements");l||(l=j0("bpmn:ExtensionElements",{values:[]},s,e),n.updateModdleProperties(r,s,{extensionElements:l}));let c=a.get("values").filter((e=>e!==i));const p=U0(),u=j0("zeebe:FormDefinition",{formKey:V0(p)},a,e);c=[...c,u],n.updateModdleProperties(r,a,{values:c});const h=j0("zeebe:UserTaskForm",{id:p,body:o?o.get("body"):""},l,e);n.updateModdleProperties(r,l,{values:[...l.get("values")||[],h]})}),!0),this.preExecute("element.updateModdleProperties",(function(e){const{moddleElement:t,properties:n}=e;Si(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(Si(i,"zeebe:FormDefinition")){const e=i.get("formKey");if(!e||!H0(e)){const e=F0(t,{formKey:o.formKey});e&&r(t,W0(t),e)}}else if(function(e,t){const{moddleElement:n,oldProperties:r,properties:i}=e;return Si(n,"bpmn:ExtensionElements")&&"values"in r&&"values"in i&&r.values.find((e=>Si(e,t)))&&!i.values.find((e=>Si(e,t)))}(e,"zeebe:FormDefinition")){const e=F0(t,{formKey:o.values.find((e=>Si(e,"zeebe:FormDefinition"))).get("formKey")});e&&r(t,W0(t),e),i.get("values").length||n.updateProperties(t,{extensionElements:void 0})}}),!0),this._registerZeebeUserTaskSupport()}_registerZeebeUserTaskSupport(){this.postExecute("element.updateModdleProperties",(({element:e})=>{if(!Si(e,"bpmn:UserTask")||!Q0(e))return;const t=q0(e);if(!t)return;const n=t.get("formKey");s(n)||(H0(n)?this._modeling.updateModdleProperties(e,t,{formKey:void 0}):this._modeling.updateModdleProperties(e,t,{externalReference:n}))}),!0),this.postExecute("element.updateModdleProperties",(({element:e})=>{if(!Si(e,"bpmn:UserTask")||Q0(e))return;const t=q0(e);if(!t)return;const n=t.get("externalReference");s(n)||this._modeling.updateModdleProperties(e,t,{externalReference:void 0,formKey:n})}),!0)}}function Q0(e){return b0(e,"zeebe:UserTask").length}G0.$inject=["bpmnFactory","eventBus","modeling"];class X0 extends gs{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",5e3,(function(t){const{element:n,moddleElement:r}=t;if(!Si(r,"zeebe:AssignmentDefinition"))return;const i=r;if(Si(n,"bpmn:UserTask")&&s(i.get("zeebe:assignee"))&&s(i.get("zeebe:candidateGroups"))&&s(i.get("zeebe:candidateUsers"))){w0(n,Ti(n),i,e)}}),!0)}}X0.$inject=["commandStack","eventBus"];class Z0 extends gs{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",5e3,(function(t){const{element:n,moddleElement:r}=t;if(!Si(r,"zeebe:TaskSchedule"))return;const i=r;if(Si(n,"bpmn:UserTask")&&s(i.get("zeebe:dueDate"))&&s(i.get("zeebe:followUpDate"))){w0(n,Ti(n),i,e)}}),!0)}}Z0.$inject=["commandStack","eventBus"];var Y0={__init__:["cleanUpBusinessRuleTaskBehavior","cleanUpEndEventBehavior","cleanUpSubscriptionBehavior","cleanUpTimerExpressionBehavior","copyPasteBehavior","createZeebeCallActivityBehavior","deleteParticipantBehaviour","formsBehavior","removeAssignmentDefinitionBehavior","removeTaskScheduleBehavior"],cleanUpBusinessRuleTaskBehavior:["type",x0],cleanUpEndEventBehavior:["type",E0],cleanUpSubscriptionBehavior:["type",O0],cleanUpTimerExpressionBehavior:["type",T0],copyPasteBehavior:["type",N0],createZeebeCallActivityBehavior:["type",L0],deleteParticipantBehaviour:["type",z0],formsBehavior:["type",G0],removeAssignmentDefinitionBehavior:["type",X0],removeTaskScheduleBehavior:["type",Z0]};let K0;const J0=new Uint8Array(16);function e1(){if(!K0&&(K0="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!K0))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return K0(J0)}const t1=[];for(let e=0;e<256;++e)t1.push((e+256).toString(16).slice(1));var n1={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function r1(e,t,n){if(n1.randomUUID&&!t&&!e)return n1.randomUUID();const r=(e=e||{}).random||(e.rng||e1)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return t1[e[t+0]]+t1[e[t+1]]+t1[e[t+2]]+t1[e[t+3]]+"-"+t1[e[t+4]]+t1[e[t+5]]+"-"+t1[e[t+6]]+t1[e[t+7]]+"-"+t1[e[t+8]]+t1[e[t+9]]+"-"+t1[e[t+10]]+t1[e[t+11]]+t1[e[t+12]]+t1[e[t+13]]+t1[e[t+14]]+t1[e[t+15]]}(r)}var i1=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},o1=mw(i1);function s1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a1={exports:{}},l1={};Object.defineProperty(l1,"__esModule",{value:!0});const c1=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};c1.code='require("ajv/dist/runtime/equal").default',l1.default=c1,a1.exports=E1,a1.exports.default=E1;const p1={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=[]"}}}}}},u1={$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#}"'}}},h1=new RegExp("^(https|http)://.*","u"),d1=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),f1={required:"missingProperty",dependencies:"property",dependentRequired:"property"},m1={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"]}}}}],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#}"'}}}]},g1={required:["property"],properties:{property:{const:{$data:"2/id"}}}},y1={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"}}},v1=l1.default;function b1(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 h=!1,d=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:y1.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=f===s)&&(h=!0,d=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:y1.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)&&h)h=!1,d=[d,1];else{g&&(h=!0,d=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)&&h?(h=!1,d=[d,2]):g&&(h=!0,d=2)}if(h)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:d},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=f1[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():y1.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:y1.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:y1.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=f1[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():y1.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 b1.errors=o,0===s}function w1(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 f=s;let m=!0;const g=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=g===s;if(s=f,null!==o&&(f?o.length=f: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}m=a=e===s}if(!m){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 y=s;let v=!0;const b=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&&!v1(e.property,g1.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=b===s;if(s=y,null!==o&&(y?o.length=y: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}v=l=e===s}if(!v){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 h=s,d=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:y1.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:y1.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=d,null!==o&&(d?o.length=d: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=f1[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():y1.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=h===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:y1.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 h=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:y1.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=h===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=f1[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():y1.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 w=s;let x=!0;const _=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 h=_===s;if(s=w,null!==o&&(w?o.length=w:o=null),h){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:m1.allOf[0].items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}x=h=e===s}if(!x){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++}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:m1.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&&(b1(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?b1.errors:o.concat(b1.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]():m1.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++}(d=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 d;if((d=p===s)&&a?(a=!1,l=[l,1]):d&&(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 f=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),f){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:m1.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=f=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 m=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),m){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:m1.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);(g=c===s)&&(a=!0,l=0);const h=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((g=h===s)&&a)a=!1,l=[l,1];else{g&&(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 g;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);(g=n===s)&&a?(a=!1,l=[l,2]):g&&(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:m1.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=m=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 h=s;let d=!0;const T=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 y=T===s;if(s=h,null!==o&&(h?o.length=h: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&&"Hidden"!==e&&"Dropdown"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/enum",keyword:"enum",params:{allowedValues:m1.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}}d=y=e===s}if(!d){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 v=D===s;if(s=M,null!==o&&(M?o.length=M:o=null),v){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:m1.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=v=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 b=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),b){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=b=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 w=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),w){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=w=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 h=s;let d=!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 x=f===s;if(s=h,null!==o&&(h?o.length=h:o=null),x){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 _=l===s;if(a=a||_,!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++}_=n===s;a=a||_}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}d=x=n===s}if(!d){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 k=y===s;if(s=m,null!==o&&(m?o.length=m:o=null),k){const n=s,i=s;let a=!1,l=null;const c=s,p=s,u=s,h=s;let d=!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 E=f===s;if(d=d||E,!d){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++}E=t===s;d=d||E}if(d)s=h,null!==o&&(h?o.length=h: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++}(S=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 O=x===s;if(w=w||O,!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++}O=t===s;w=w||O}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((S=m===s)&&a)a=!1,l=[l,1];else{S&&(a=!0,l=1);const n=s,i=s,c=s,p=s;let u=!1;const h=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={};null===o?o=[e]:o.push(e),s++}var P=h===s;if(u=u||P,!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++}P=t===s;u=u||P}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((S=n===s)&&a)a=!1,l=[l,2];else{S&&(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((S=n===s)&&a)a=!1,l=[l,3];else{S&&(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 S;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++}}(S=n===s)&&a?(a=!1,l=[l,4]):S&&(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=k=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 T=!0;const M=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 C=M===s;if(s=v,null!==o&&(v?o.length=v:o=null),C){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}T=C=n===s}if(!T){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:m1.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:m1.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]():m1.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 w1.errors=o,0===s}const x1={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"]}}}}],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 _1(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 f=s;let m=!0;const g=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=g===s;if(s=f,null!==o&&(f?o.length=f: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}m=a=e===s}if(!m){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 y=s;let v=!0;const b=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&&!v1(e.property,g1.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=b===s;if(s=y,null!==o&&(y?o.length=y: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}v=l=e===s}if(!v){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 h=s,d=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:y1.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:y1.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=d,null!==o&&(d?o.length=d: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=f1[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():y1.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=h===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:y1.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 h=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:y1.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=h===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=f1[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():y1.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 w=s;let x=!0;const _=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 h=_===s;if(s=w,null!==o&&(w?o.length=w:o=null),h){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:x1.items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}x=h=e===s}if(!x){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++}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:x1.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&&(b1(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?b1.errors:o.concat(b1.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]():x1.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++}(d=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 d;if((d=p===s)&&a?(a=!1,l=[l,1]):d&&(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 _1.errors=o,0===s}function k1(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:p1.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(!h1.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(!d1.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]():p1.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(!d1.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]():p1.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=f1[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():p1.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=f1[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():p1.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(!h1.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]():p1.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=f1[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():p1.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&&(w1(e.properties,{instancePath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?w1.errors:o.concat(w1.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:p1.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(_1(n,{instancePath:t+"/scopes/"+r+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?_1.errors:o.concat(_1.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:u1.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:u1.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,h=s,d=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(d===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=h,null!==o&&(h?o.length=h: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 h=s,d=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(d===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=h,null!==o&&(h?o.length=h: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:u1.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:u1.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 h=N===s;if(s=A,null!==o&&(A?o.length=A:o=null),h){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:u1.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=h=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 d=c===s;if(s=a,null!==o&&(a?o.length=a:o=null),d){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=d=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 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&&"camunda:outputParameter"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var f=h===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,h=s,d=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=d,null!==o&&(d?o.length=d:o=null);else{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/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 h=!1;const d=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=d===s;if(h=h||w,!h){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;h=h||w}if(h)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:u1.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:u1.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]():u1.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=f1[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():p1.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 k1.errors=o,0===s}function E1(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;k1(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(o=null===o?k1.errors:o.concat(k1.errors),s=o.length),(h=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++)k1(e[r],{instancePath:t+"/"+r,parentData:e,parentDataProperty:r,rootData:i})||(o=null===o?k1.errors:o.concat(k1.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 h;if((h=u===s)&&l?(l=!1,c=[c,1]):h&&(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 E1.errors=o,0===s}var O1=s1(a1.exports),P1={},S1={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",'"':'"',"/":"/","\\":"\\"},C1="a".charCodeAt();P1.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=h();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("]"==h())return t;d();for(;;){var r=e+"/"+n;t.push(l(r)),c();var i=h();if("]"==i)break;","!=i&&w(),c(),n++}return t}(t);break;case"{":r=function(e){c();var t={};if("}"==h())return t;d();for(;;){var n=v();'"'!=h()&&w();var r=p(),i=e+"/"+$1(r);y(i,"key",n),g(i,"keyEnd"),c(),":"!=h()&&w(),c(),t[r]=l(i),c();var o=h();if("}"==o)break;","!=o&&w(),c()}return t}(t);break;default:d(),"-0123456789".indexOf(i)>=0?r=function(){var t="",n=!0;"-"==e[s]&&(t+=h());t+="0"==e[s]?h():m(),"."==e[s]&&(t+=h()+m(),n=!1);"e"!=e[s]&&"E"!=e[s]||(t+=h(),"+"!=e[s]&&"-"!=e[s]||(t+=h()),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=h());)"\\"==e?(e=h())in S1?t+=S1[e]:"u"==e?t+=f():w():t+=e;return t}function u(e){for(var t=0;t<e.length;t++)h()!==e[t]&&w()}function h(){x();var t=e[s];return s++,o++,t}function d(){s--,o--}function f(){for(var e=4,t=0;e--;){t<<=4;var n=h().toLowerCase();n>="a"&&n<="f"?t+=n.charCodeAt()-C1+10:n>="0"&&n<="9"?t+=+n:w()}return String.fromCharCode(t)}function m(){for(var t="";e[s]>="0"&&e[s]<="9";)t+=h();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(){d(),b()}function x(){if(s>=e.length)throw new SyntaxError("Unexpected end of JSON input")}},P1.stringify=function(e,t,n){if(M1(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,h=0,d=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(L1(t));break;case"object":null===t?m("null"):"function"==typeof t.toJSON?m(L1(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=M1(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(M1(c)){a&&m(",");var p=r+"/"+$1(l);g(o),y(p,"key"),m(L1(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],h=!!i||p[1];if(M1(h)){a||m(","),a=!1;var d=r+"/"+$1(u);g(o),y(d,"key"),m(L1(u)),y(d,"keyEnd"),m(":"),s&&m(" "),e(h,o,d)}c=l.next()}g(n),m("}")}else m("{}")}y(r,"valueEnd")}(e,0,""),{json:c,pointers:p}}function m(e){h+=e.length,d+=e.length,c+=e}function g(e){if(s){for(c+="\n"+v(e,s),u++,h=0;e--;)o?(u+=o,h=i):h+=i,d+=r;d+=1}}function y(e,t){p[e]=p[e]||{},p[e][t]={line:u,column:h,pos:d}}function v(e,t){return Array(e+1).join(t)}};var T1=["number","bigint","boolean","string","object"];function M1(e){return T1.indexOf(typeof e)>=0}var A1=/"|\\/g,D1=/[\b]/g,N1=/\f/g,R1=/\n/g,j1=/\r/g,I1=/\t/g;function L1(e){return'"'+(e=e.replace(A1,"\\$&").replace(N1,"\\f").replace(D1,"\\b").replace(R1,"\\n").replace(j1,"\\r").replace(I1,"\\t"))+'"'}var z1=/~/g,B1=/\//g;function $1(e){return e.replace(z1,"~0").replace(B1,"~1")}function q1(e,t){const n=function(e){return P1.stringify(e,null,2).pointers}(e),r=t(e);let i=t.errors;return i&&i.length&&(v(i,F1),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 F1(e){const t=e.params;t&&t.errors&&(t.rawErrors=t.errors,delete t.errors)}var V1={exports:{}};V1.exports=n2,V1.exports.default=n2;const H1={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}}}}}},U1=new RegExp("^(https|http)://.*","u"),W1=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),G1=new RegExp("^(https?|data):.*","u"),Q1={required:"missingProperty",dependencies:"property",dependentRequired:"property"},X1=l1.default,Z1={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"]}}}}],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#}"'}}}}]},Y1={required:["property"],properties:{property:{const:{$data:"2/id"}}}},K1={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 J1(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 h=!1,d=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:K1.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=f===s)&&(h=!0,d=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:K1.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)&&h)h=!1,d=[d,1];else{g&&(h=!0,d=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)&&h?(h=!1,d=[d,2]):g&&(h=!0,d=2)}if(h)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:d},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=Q1[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():K1.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:K1.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:K1.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=Q1[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():K1.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 J1.errors=o,0===s}function e2(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 f=s;let m=!0;const g=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=g===s;if(s=f,null!==o&&(f?o.length=f: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}m=a=e===s}if(!m){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 y=s;let v=!0;const b=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&&!X1(e.property,Y1.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=b===s;if(s=y,null!==o&&(y?o.length=y: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}v=l=e===s}if(!v){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 h=s,d=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:K1.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:K1.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=d,null!==o&&(d?o.length=d: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=Q1[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():K1.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=h===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:K1.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 h=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:K1.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=h===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=Q1[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():K1.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 w=s;let x=!0;const _=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 h=_===s;if(s=w,null!==o&&(w?o.length=w:o=null),h){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:Z1.allOf[0].items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}x=h=e===s}if(!x){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++}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:Z1.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&&(J1(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?J1.errors:o.concat(J1.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]():Z1.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++}(d=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 d;if((d=p===s)&&a?(a=!1,l=[l,1]):d&&(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 f=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),f){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:Z1.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=f=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 m=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),m){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:Z1.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=m=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 h=s;let d=!0;const T=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 g=T===s;if(s=h,null!==o&&(h?o.length=h:o=null),g){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:Z1.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}}}}d=g=e===s}if(!d){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 y=D===s;if(s=M,null!==o&&(M?o.length=M:o=null),y){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=y=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 v=j===s;if(s=N,null!==o&&(N?o.length=N:o=null),v){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:Z1.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=v=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 z=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 b=z===s;if(s=I,null!==o&&(I?o.length=I:o=null),b){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:Z1.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=b=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 B=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 w=q===s;if(s=B,null!==o&&(B?o.length=B:o=null),w){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);$=w=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 x=H===s;if(s=F,null!==o&&(F?o.length=F:o=null),x){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=x=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 _=G===s;if(s=U,null!==o&&(U?o.length=U:o=null),_){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:Z1.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===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 X=!0;const Z=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 k=Z===s;if(s=Q,null!==o&&(Q?o.length=Q:o=null),k){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++}X=k=e===s}if(!X){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 E=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),E){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=E=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 O=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),O){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=O=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 h=s;let d=!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 P=f===s;if(s=h,null!==o&&(h?o.length=h:o=null),P){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}d=P=n===s}if(!d){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 S=y===s;if(s=m,null!==o&&(m?o.length=m:o=null),S){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:Z1.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=S=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 C=w===s;if(s=v,null!==o&&(v?o.length=v:o=null),C){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=C=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:Z1.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:Z1.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=Q1[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():Z1.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 e2.errors=o,0===s}function t2(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:H1.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(!U1.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(!W1.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]():H1.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(!W1.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]():H1.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=Q1[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():H1.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=Q1[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():H1.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(!U1.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]():H1.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=Q1[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():H1.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 h=a===s;if(s=r,null!==o&&(r?o.length=r:o=null),h){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=h=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:H1.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 d=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=d,null!==o&&(d?o.length=d: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:H1.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&&!X1(e.appliesTo,H1.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:H1.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&&(e2(e.properties,{instancePath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?e2.errors:o.concat(e2.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(!G1.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]():H1.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=Q1[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():H1.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:H1.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:H1.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 t2.errors=o,0===s}function n2(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;t2(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(o=null===o?t2.errors:o.concat(t2.errors),s=o.length),(h=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++)t2(e[r],{instancePath:t+"/"+r,parentData:e,parentDataProperty:r,rootData:i})||(o=null===o?t2.errors:o.concat(t2.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 h;if((h=u===s)&&l?(l=!1,c=[c,1]):h&&(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 n2.errors=o,0===s}var r2=s1(V1.exports);function i2(e){this.cache=e}i2.prototype.resolveRule=function(e,t){return this.resolve("rule",e,t)},i2.prototype.resolveConfig=function(e,t){return this.resolve("config",e,t)},i2.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 o2="zeebe:modelerTemplate";function s2(e){const t=Ti(e);if(t)return t.get(o2)}function a2(e,t){const n=Ti(e);let r;if(r=Si(n,"bpmn:ExtensionElements")?n:n.get("extensionElements"),r)return r.get("values").find((e=>Si(e,t)))}function l2(e,t){return e.get("properties").find((e=>e.name===t.name))}function c2(e,t){return e.get("inputParameters").find((e=>e.target===t.name))}function p2(e,t){return e.get("outputParameters").find((e=>e.source===t.source))}function u2(e,t){return e.get("values").find((e=>e.key===t.key))}function h2(e){if(Si(e,"bpmn:Event")){const t=e.get("eventDefinitions");if(!t||!t.length)return;e=t[0]}if(e)return e.get("messageRef")}function d2(e){if(void 0!==e.value)return e.value;if(e.generatedValue){const{type:t}=e.generatedValue;if("uuid"===t)return r1()}}const f2="camunda:modelerTemplate";function m2(e){const t=Ti(e);if(t)return t.get(f2)}let g2=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:d(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 Ci(n,e.appliesTo)}))||[]}if(d(e))return o[e]&&s(o[e]);throw new Error("argument must be of type {string|djs.model.Base|undefined}")}_getTemplateId(e){return m2(e)}_getTemplateVersion(e){return function(e){const t=Ti(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)}};g2.$inject=["commandStack","eventBus","modeling","injector"];class y2 extends g2{constructor(e,t,n,r,i){super(t,n,r,i),this._templateElementFactory=e}_getTemplateId(e){return s2(e)}_getTemplateVersion(e){return function(e){const t=Ti(e);if(t)return t.get("zeebe:modelerTemplateVersion")}(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}}y2.$inject=["templateElementFactory","commandStack","eventBus","modeling","injector"];const v2="0.17.2",b2=["bpmn:Activity","bpmn:Event","bpmn:Gateway"];let w2=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&&x2(e.$schema);if(i&&o1(v2,i)<0)return this._logError(`unsupported element template schema version <${i}>. Your installation only supports up to version <${v2}>. 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=q1(e,O1);const{errors:a,valid:l}=s;return l||(t=new Error("invalid template"),_2(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=b2.find((t=>this._isType(e,t)));return!!n&&this._isType(t,n)}_logError(e,t){if(d(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 x2(e){const t=e.match(/\d+\.\d+\.\d+/g);return null===t?void 0:t[0]}function _2(e){return y(e,(e=>{const{instancePath:t,keyword:n}=e;return"errorMessage"===n||!("type"!==n||!t||t.startsWith("/scopes/"))}))}const k2="0.19.2";class E2 extends w2{constructor(e){super(e)}_validateTemplate(e){let t;const n=e.id,r=e.version||"_",i=e.$schema,o=i&&x2(i);if(!i)return this._logError("missing $schema attribute.",e);if(!this.isSchemaValid(i))return this._logError(`unsupported $schema attribute <${i}>.`,e);if(o&&o1(k2,o)<0)return this._logError(`unsupported element template schema version <${o}>. Your installation only supports up to version <${k2}>. 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=q1(e,r2);const{errors:l,valid:c}=a;return c||(t=new Error("invalid template"),_2(l).forEach((t=>{this._logError(t.message,e)}))),t}isSchemaValid(e){return e&&e.includes("@camunda/zeebe-element-templates-json-schema")}}let O2=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 h(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 w2(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})}};O2.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];class P2 extends O2{constructor(e,t,n,r){super(e,t,n,r),this._elementTemplates=n}setTemplates(e){const t=this._elementTemplates,n=this._moddle,r=new E2(n).addAll(e),i=r.getErrors(),o=r.getValidTemplates();t.set(o),i.length&&this.templateErrors(i),this.templatesChanged()}}function S2(e,t,n,r){const i=r.create(e,t);return n&&(i.$parent=n),i}function C2(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function T2(e,t){return function(e,t){return(e||[]).filter((e=>Si(e,t)))}(C2(e).get("rootElements"),t)}function M2(e,t,n){const{name:r}=e;return n.create("zeebe:Input",{source:t,target:r})}function A2(e,t,n){const{source:r}=e;return n.create("zeebe:Output",{source:r,target:t})}function D2(e,t,n){const{key:r}=e;return n.create("zeebe:Header",{key:r,value:t})}function N2(e={},t){return t.create("zeebe:TaskDefinition",e)}function R2(e,t="",n){const{name:r}=e;return n.create("zeebe:Property",{name:r,value:t})}function j2(e,t){const{optional:n}=t;return e||!n}function I2(e,t,n){const r=Ti(e);let i=r.get("extensionElements");i||(i=S2("bpmn:ExtensionElements",{},r,n),r.set("extensionElements",i));let o=a2(i,t);return o||(o=n.create(t),o.$parent=i,i.get("values").push(o)),o}P2.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];const L2="property",z2="zeebe:input",B2="zeebe:output",$2="zeebe:property",q2="zeebe:taskDefinition:type",F2="zeebe:taskDefinition",V2="zeebe:taskHeader",H2="bpmn:Message#property",U2="bpmn:Message#zeebe:subscription#property",W2="zeebe:calledElement",G2=[U2,z2,B2,$2,q2,F2,V2,W2],Q2=[q2,F2],X2=[z2,B2],Z2=[H2,U2],Y2=[L2,H2];function K2(e){return e.type===q2?"type":e.property}function J2(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 e3(e){const t=Ti(e);return Si(t,"bpmn:Event")?t.get("eventDefinitions")[0]:t}let t3=class{constructor(e,t,n,r){this._bpmnFactory=e,this._bpmnReplace=t,this._commandStackWrapper={execute:(e,t,...r)=>{n.execute(e,{hints:{skipConditionUpdate:!0},...t},...r)}},this._modelingWrapper={updateModdleProperties:(e,t,n)=>this._commandStackWrapper.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:n}),updateProperties:(e,t)=>this._commandStackWrapper.execute("element.updateProperties",{element:e,properties:t})},this._injector=r}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=Ti(e)){const n=this._bpmnFactory,r=this._modelingWrapper;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){this._modelingWrapper.updateProperties(e,{"zeebe:modelerTemplate":t&&t.id,"zeebe:modelerTemplateVersion":t&&t.version})}_updateZeebeModelerTemplateIcon(e,t){const n=this._modelingWrapper,r=t&&t.icon;n.updateProperties(e,{"zeebe:modelerTemplateIcon":r&&r.contents})}_updateProperties(e,t,n){const r=this._commandStackWrapper,i=Ti(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=r3(t,n),s=n.binding.name,a=d2(n);let l={};i3(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._commandStackWrapper,o=n.properties.filter((e=>{const t=e.binding.type;return Q2.includes(t)})),s=this._getOrCreateExtensionElements(e);let a=a2(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=r3(t,n),l=d2(n),c=K2(n.binding);if(a){if(!i3(a,o,n)){const t={[c]:l};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:t})}}else{a=N2({[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 Q2.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._commandStackWrapper,o=n.properties.filter((e=>{const t=e.binding.type;return"zeebe:input"===t||"zeebe:output"===t})),s=this._getOrCreateExtensionElements(e);let a=a2(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=r3(t,n),u=n3(s,n),h=d2(n),d=n.binding,f=d.type;let m,g;u?((j2(h,n)||i3(u,o,n))&&(Si(u,"zeebe:Input")?s3(l,u):s3(c,u)),i3(u,o,n)||(g=Si(u,"zeebe:Input")?{source:h}:{target:h},i.execute("element.updateModdleProperties",{element:e,moddleElement:u,properties:g}))):j2(h,n)&&("zeebe:input"===f?(p="inputParameters",m=M2(d,h,r)):(p="outputParameters",m=A2(d,h,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._commandStackWrapper,o=n.properties.filter((e=>"zeebe:taskHeader"===e.binding.type)),s=this._getOrCreateExtensionElements(e);let a=a2(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=r3(t,n),c=n3(s,n),p=d2(n),u=n.binding;if(c){if(!i3(c,o,n)){const t={value:p};i.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:t})}s3(l,c)}else if(p){const t=D2(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._commandStackWrapper,o=n.properties.filter((e=>"zeebe:property"===e.binding.type)),s=this._getOrCreateExtensionElements(e);let a=a2(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=r3(t,n),c=n3(s,n),p=d2(n),u=n.binding;if(c)(j2(p,n)||i3(c,o,n))&&s3(l,c),i3(c,o,n)||i.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:{value:p}});else if(j2(p,n)){const t=R2(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=>Z2.includes(e.binding.type)))||function(e,t){const n=t.get("modeling"),r=e3(e);if(!r)return;const i=h2(r);i&&(n.updateModdleProperties(e,r,{messageRef:void 0}),J2(i,t))}(e,this._injector)}_updateMessageProperties(e,t,n){const r=n.properties.filter((e=>e.binding.type===H2)),i=t&&t.properties.filter((e=>e.binding.type===H2&&!r.find((t=>t.binding.name===e.binding.name))))||[];let o=this._getMessage(e);o&&i.forEach((t=>{this._modelingWrapper.updateModdleProperties(e,o,{[t.binding.name]:void 0})})),r.length&&(o=this._getOrCreateMessage(e,n),r.forEach((n=>{const r=r3(t,n),i=n.binding.name,s=d2(n),a=o;let l={};i3(a,r,n)||(l[i]=s,this._modelingWrapper.updateModdleProperties(e,a,l))})))}_updateMessageZeebeSubscriptionProperties(e,t,n){const r=n.properties.filter((e=>e.binding.type===U2)),i=t&&t.properties.filter((e=>e.binding.type===U2&&!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=r3(t,n),i=n.binding.name,o=d2(n);return i3(a,r,n)||(e[i]=o),e}),{});if(a)this._modelingWrapper.updateModdleProperties(e,a,l);else{const t=S2("zeebe:Subscription",l,o,this._bpmnFactory);this._modelingWrapper.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._modelingWrapper.updateModdleProperties(e,a,c)}_updateZeebeModelerTemplateOnReferencedElement(e,t,n){const r=h2(Ti(e));r&&s2(r)!==n.id&&this._modelingWrapper.updateModdleProperties(e,r,{"zeebe:modelerTemplate":n.id})}_getSubscription(e,t){const n=a2(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=Ti(e);Si(n,"bpmn:Event")&&(n=n.get("eventDefinitions")[0]);const r=this._bpmnFactory.create("bpmn:Message",{"zeebe:modelerTemplate":t.id});return r.$parent=C2(n),this._modelingWrapper.updateModdleProperties(e,n,{messageRef:r}),r}_getMessage(e){let t=Ti(e);return Si(t,"bpmn:Event")&&(t=t.get("eventDefinitions")[0]),t&&t.get("messageRef")}_updateCalledElement(e,t,n){const r=this._bpmnFactory,i=this._commandStackWrapper,o=n.properties.filter((e=>e.binding.type===W2)),s=this._getOrCreateExtensionElements(e);let a=a2(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=r3(t,n),l=d2(n),c=n.binding.property;if(a){if(!i3(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===W2&&!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;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 n3(e,t){const n=Ti(e),r=t.binding,i=r.type;if(Q2.includes(i))return a2(n,"zeebe:TaskDefinition");if("zeebe:input"===i||"zeebe:output"===i){const e=a2(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=a2(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=a2(n,"zeebe:Properties");if(!e)return;return e.get("properties").find((e=>e.get("name")===r.name))}}function r3(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})):Q2.includes(o)?m(n,(function(e){return K2(e.binding)===K2(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===H2?n.find((e=>{const t=e.binding;if(t.type===H2)return t.name===r.name})):o===U2?n.find((e=>{const t=e.binding;if(t.type===U2)return t.name===r.name})):void 0}function i3(e,t,n){if("Hidden"===n.type)return!1;if("Dropdown"===n.type){const t=o3(e,n);return n.choices&&n.choices.some((e=>e.value===t))}return t?function(e,t){const n=t.value;return o3(e,t)!==n}(e,t):!!o3(e,n)}function o3(e,t){const n=Ti(e);if(!n)return;const r=t.binding,i=r.name,o=r.type;return"property"===o?n.get(i):Q2.includes(o)?n.get(K2(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===H2||o===U2?n.get(i):void 0}function s3(e,t){const n=e.indexOf(t);return s(n)||e.splice(n,1),e}t3.$inject=["bpmnFactory","bpmnReplace","commandStack","injector"];class a3{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=Ti(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(Ss(e)){const t=Es(e),n=r.get(t);if(n&&n!==e)return i.setRootElement(i.findRoot(n)),this._removeTemplate(n)}const o=Ti(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=Ti(e),r=t.create(n.$type),i=oo(e);return i?(Si(e,"bpmn:Group")&&(r.categoryValueRef=t.create("bpmn:CategoryValue")),so({businessObject:r},i),r):r}}a3.$inject=["modeling","elementFactory","elementRegistry","canvas","bpmnFactory","replace","commandStack"];class l3{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;v(e,(function(e){t.execute(e.cmd,e.context)}))}}function c3(e,t,n){e.registerHandler("element-templates.multi-command-executor",l3),e.registerHandler("propertiesPanel.zeebe.changeTemplate",t3),e.registerHandler("propertiesPanel.removeTemplate",a3),n.on(["commandStack.shape.create.postExecuted"],(function(n){const{context:{hints:r={},shape:i}}=n;!1!==r.createElementsBehavior&&u3(i,t,e)})),n.on(["commandStack.connection.create.postExecuted"],(function(n){const{context:{hints:r={},connection:i}}=n;!1!==r.createElementsBehavior&&u3(i,t,e)}))}l3.$inject=["commandStack"],c3.$inject=["commandStack","elementTemplates","eventBus"];var p3={__init__:[c3]};function u3(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)}}class h3{static create(e,t){const{property:n}=t,{binding:r}=n,{name:i}=r,o=d2(n);Ti(e)[i]=o}}class d3{static create(e,t){const{property:n,bpmnFactory:r}=t,i=d2(n),o=K2(n.binding);I2(e,"zeebe:TaskDefinition",r).set(o,i)}}class f3{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=d2(n),s=I2(e,"zeebe:IoMapping",r);if(!j2(o,n))return;const a=M2(i,o,r);a.$parent=s,s.get("inputParameters").push(a)}}class m3{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=d2(n),s=I2(e,"zeebe:IoMapping",r);if(!j2(o,n))return;const a=A2(i,o,r);a.$parent=s,s.get("outputParameters").push(a)}}class g3{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=d2(n),s=I2(e,"zeebe:TaskHeaders",r),a=D2(i,o,r);a.$parent=s,s.get("values").push(a)}}class y3{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=d2(n),s=I2(e,"zeebe:Properties",r);if(!j2(o,n))return;const a=R2(i,o,r);a.$parent=s,s.get("properties").push(a)}}class v3{static create(e,t){const{bpmnFactory:n,property:r}=t,{binding:i}=r,{name:o}=i,s=d2(r);let a=Ti(e);Si(a,"bpmn:Event")&&(a=a.get("eventDefinitions")[0]);let l=a.get("messageRef");l||(l=n.create("bpmn:Message",{"zeebe:modelerTemplate":s2(e)}),a.set("messageRef",l)),l.set(o,s)}}class b3{static create(e,t){const{bpmnFactory:n,property:r}=t,{binding:i}=r,{name:o}=i,s=d2(r);let a=Ti(e);Si(a,"bpmn:Event")&&(a=a.get("eventDefinitions")[0]);let l=a.get("messageRef");l||(l=n.create("bpmn:Message",{"zeebe:modelerTemplate":s2(e)}),a.set("messageRef",l));const c=I2(l,"zeebe:Subscription",n);j2(s,r)&&c.set(o,s)}}class w3{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,{property:o}=i,s=d2(n),a=I2(e,"zeebe:CalledElement",r);!function(e){e.set("propagateAllChildVariables",!1),e.set("propagateAllParentVariables",!1)}(a),a.set(o,s)}}const x3=["Boolean","Integer","String"];function _3(e,t,n){let r=Ti(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(Q2.includes(c)){const e=a2(r,"zeebe:TaskDefinition");if(e){if(c===q2)return e.get("type");if(c===F2)return e.get(l)}return i}if(X2.includes(c)){const e=a2(r,"zeebe:IoMapping");if(!e)return i;if(c===z2){const t=c2(e,o);return t?t.get("source"):i}if(c===B2){const t=p2(e,o);return t?t.get("target"):i}}if(c===V2){const e=a2(r,"zeebe:TaskHeaders");if(!e)return i;const t=u2(e,o);return t?t.get("value"):i}if(c===$2){const e=a2(r,"zeebe:Properties");if(e){const t=l2(e,o);if(t)return t.get("value")}return i}if(c===H2){const e=h2(r),t=e?e.get(a):void 0;return s(t)?i:t}if(c===U2){const e=h2(r);if(e){const t=a2(e,"zeebe:Subscription");if(!s(t?t.get(a):void 0))return t.get(a)}return i}if(c===W2){const e=a2(r,"zeebe:CalledElement");return e?e.get(l):i}throw P3(e,t)}const k3=null;function E3(e,t,n,r,i){let o=Ti(n);const{binding:a}=r,{name:l,type:c}=a;let p,u;const h=[],d={element:n,property:r};if(Z2.includes(c)){Si(o,"bpmn:Event")&&(o=o.get("eventDefinitions")[0]);let t=h2(o);t||(t=e.create("bpmn:Message",{"zeebe:modelerTemplate":s2(n)}),h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:o,properties:{messageRef:t}}})),o=t}if(G2.includes(c)&&(p=o.get("extensionElements"),p?h.push(k3):(p=S2("bpmn:ExtensionElements",null,o,e),h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:o,properties:{extensionElements:p}}}))),Y2.includes(c)){const e=o.$descriptor.propertiesByName[l];if(e){const{type:t}=e;if(!x3.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)?h.push(k3):h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:o,properties:{[l]:u}}})}if(Q2.includes(c)){const t=a2(p,"zeebe:TaskDefinition"),n={[K2(a)]:i||""};if(t)h.push({cmd:"element.updateModdleProperties",context:{...d,properties:n,moddleElement:t}});else{const t=N2(n,e);t.$parent=o;const r=p.get("values");h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:p,properties:{values:[...r,t]}}})}}if(X2.includes(c)){let t=a2(p,"zeebe:IoMapping");if(t||(t=S2("zeebe:IoMapping",null,o,e),h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:p,properties:{values:[...p.get("values"),t]}}})),c===z2){const n=c2(t,a),o=t.get("inputParameters").filter((e=>e!==n));if(j2(i,r)){const t=M2(a,i,e);o.push(t)}h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:t,properties:{inputParameters:[...o]}}})}if(c===B2){const n=p2(t,a),o=t.get("outputParameters").filter((e=>e!==n));if(j2(i,r)){const t=A2(a,i,e);o.push(t)}h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:t,properties:{outputParameters:[...o]}}})}}if(c===V2){let t=a2(p,"zeebe:TaskHeaders");t||(t=S2("zeebe:TaskHeaders",null,o,e),h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const n=u2(t,a),r=t.get("values").filter((e=>e!==n));if(i){const n=D2(a,i,e);h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:t,properties:{values:[...r,n]}}})}else h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:t,properties:{values:r}}})}if(c===$2){let t=a2(p,"zeebe:Properties");t||(t=S2("zeebe:Properties",null,o,e),h.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const s=l2(t,a),l=t.get("properties").filter((e=>e!==s));if(j2(i,r)){const t=R2(a,i,e);l.push(t)}h.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{properties:l}}})}if(c===U2){let t=a2(p,"zeebe:Subscription");const r={[l]:i||""};t?h.push({cmd:"element.updateModdleProperties",context:{element:n,properties:r,moddleElement:t}}):(t=S2("zeebe:Subscription",r,p,e),h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(c===W2){let t=a2(n,"zeebe:CalledElement");const r={[a.property]:i||""};t?h.push({cmd:"element.updateModdleProperties",context:{element:n,properties:r,moddleElement:t}}):(t=S2("zeebe:CalledElement",r,p,e),h.push({cmd:"element.updateModdleProperties",context:{...d,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(!h.length)throw P3(n,r);{const e=h.filter((e=>e!==k3));e.length&&t.execute("element-templates.multi-command-executor",e)}}function O3(e,t,n=S3){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(d(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 P3(e,t){const n=Ti(e).get("id"),{binding:r}=t,{type:i}=r;return new Error(`unknown binding <${i}> for element <${n}>, this should never happen`)}function S3(e,t){return t=t||{},e.replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}function C3(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&&Si(e,"bpmn:StartEvent")&&!Zi(e.parent))return!1;return!0}(e,t)&&T3(e,n,t)));return{...t,properties:r}}function T3(e,t,n){const{condition:r}=n;if(!r)return!0;if(r.allMatch){return r.allMatch.every((n=>M3(e,t,n)))}return M3(e,t,r)}function M3(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?T3(e,t,n):!T3(e,t,n):!s}const a=function(e,t,n){const r=t.find((e=>e.id===n));if(!r)return;return _3(e,r)}(e,t,r);return i?a===i:!!o&&o.includes(a)}class A3{constructor(e,t){this._bpmnFactory=e,this._elementFactory=t,this._providers={[L2]:h3,[q2]:d3,[F2]:d3,"zeebe:property":y3,[z2]:f3,[B2]:m3,[V2]:g3,[H2]:v3,[U2]:b3,[W2]:w3}}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=Ti(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=Ti(e);i.set("zeebe:modelerTemplate",n),i.set("zeebe:modelerTemplateVersion",r)}_setModelerTemplateIcon(e,t){const{icon:n}=t,{contents:r}=n;Ti(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))),T3(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})}}A3.$inject=["bpmnFactory","elementFactory"];var D3={__init__:["templateElementFactory"],templateElementFactory:["type",A3]};class N3 extends gs{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"],this._saveConditionalState,!0,this),this.postExecute(["element.updateProperties","element.updateModdleProperties","propertiesPanel.zeebe.changeTemplate","element.move"],this._applyConditions,!0,this),this.preExecute(["propertiesPanel.zeebe.changeTemplate"],2500,this._handleTemplateUpgrade,!0,this)}_handleTemplateUpgrade(e){const{element:t,newTemplate:n}=e;t&&n&&(e.newTemplate=C3(e.element,e.newTemplate))}_saveConditionalState(e){const{element:t}=e,n=this._elementTemplates.get(t);n&&(e.oldTemplateWithConditions=C3(t,n))}_applyConditions(e){const{element:t}=e,n=this._elementTemplates.get(t),r=e.oldTemplateWithConditions||e.newTemplate;if(!n||!r||n.id!==r.id)return;const i=C3(t,n);if(!function(e,t){let n=t.properties;return n.some((t=>!e.properties.find((e=>R3(e,t)))))}(o=i,s=r)&&!function(e,t){const n=function(e,t){let n=t.properties;return n.filter((t=>!e.properties.find((e=>R3(e,t)))))}(t,e);return n.some((e=>!function(e,t){return e.properties.some((e=>I3(t.binding,e.binding)))}(t,e)))}(o,s))return;var o,s;const a={element:t,newTemplate:i,oldTemplate:r};this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",a)}}function R3(e,t){return I3(e.binding,t.binding)&&z3(e.condition,t.condition)}function j3(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function I3(e,t){return z3(e=L3(e),t=L3(t))}function L3(e){return e.type===q2?{...e,type:F2,property:"type"}:e}function z3(e,t){return JSON.stringify(e,j3)===JSON.stringify(t,j3)}N3.$inject=["eventBus","elementTemplates","commandStack","bpmnFactory","injector"];let B3=class extends gs{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(t){var n=t.context,r=Ti(n.oldShape),i=n.newShape,o=Ti(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(Si(i,p.value)&&!function(e,t){if(!Si(e,"bpmn:Event"))return!1;const{eventDefinition:n}=t,r=Ti(e),i=r.get("eventDefinitions");if(!n)return 0!==i.length;return!Si(i[0],n)}(i,p)||e.unlinkTemplate(i));const u=c.reduce(((e,t)=>e||Si(o,t)),!1);u||e.unlinkTemplate(i)}))}};B3.$inject=["elementTemplates","injector"];class $3 extends gs{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=C3(t,n).properties,s=a2(r,"zeebe:Properties");s&&this._updateZeebePropertiesOrder(s,o,i,e);const a=a2(r,"zeebe:IoMapping");a&&(this._updateInputOrder(a,o,i,e),this._updateOutputOrder(a,o,i,e));const l=a2(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];V3(o,((e,t)=>e.findIndex((e=>"zeebe:property"==e.binding.type&&e.binding.name===t.get("name")))),t),F3(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];V3(o,((e,t)=>e.findIndex((e=>"zeebe:input"==e.binding.type&&e.binding.name===t.get("target")))),t),F3(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];V3(o,((e,t)=>e.findIndex((e=>"zeebe:output"==e.binding.type&&e.binding.source===t.get("source")))),t),F3(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];V3(o,((e,t)=>e.findIndex((e=>"zeebe:taskHeader"==e.binding.type&&e.binding.key===t.get("key")))),t),F3(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{values:o}}})}}function q3(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function F3(e,t){return e.every(((e,n)=>function(e,t){return JSON.stringify(e,q3)===JSON.stringify(t,q3)}(e,t[n])))}function V3(e,t,n){return e.sort(((e,r)=>t(n,e)-t(n,r)))}$3.$inject=["eventBus","elementTemplates","commandStack","bpmnFactory"];class H3 extends gs{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&&s2(t)&&(e.descriptor.referencedRootElement=i.copyElement(t,o.create(t.$type)))}))}_handlePropertiesUpdate(e){const{element:t,properties:n}=e;if(!U3(t))return;if(!(o2 in n)||d(n[o2]))return;const r=h2(Ti(t));r&&s2(r)&&this._modeling.updateModdleProperties(t,r,{[o2]:null})}_handleReplacement(e){const{oldShape:t,newShape:n}=e,r=s2(t),i=s2(n);if(!U3(t)||!r)return;const o=h2(Ti(t));o&&s2(o)&&(U3(n)&&i?this._addMessage(n,o):J2(o,this._injector))}_handleRemoval(e){const{shape:t}=e;if("label"===t.type)return;if(!U3(t))return;if(!s2(t))return;const n=h2(Ti(t));n&&s2(n)&&J2(n,this._injector)}_addMessage(e,t){const n=e3(e);this._modeling.updateModdleProperties(e,n,{messageRef:t})}}function U3(e){return Ci(e,["bpmn:ReceiveTask","bpmn:SendTask","bpmn:Event"])}H3.$inject=["eventBus","elementTemplates","modeling","injector","moddleCopy","bpmnFactory"];class W3 extends gs{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(!_3(n,e))return;const t=d2(e);E3(i,r,n,e,t)}))}),!0)}}W3.$inject=["eventBus","elementTemplates","modeling","commandStack","bpmnFactory"];class G3 extends gs{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(!Si(t,"bpmn:CallActivity"))return;const n=a2(t,"zeebe:CalledElement");if(n)for(const e of["propagateAllChildVariables","propagateAllParentVariables"])!1!==n.get(e)&&this._modeling.updateModdleProperties(t,n,{[e]:!1})}}G3.$inject=["eventBus","modeling","elementTemplates"];var Q3={__depends__:[p3,{__init__:["elementTemplatesReplaceBehavior","elementTemplatesConditionalBehavior","elementTemplatesGeneratedValueBehavior","elementTemplatesReferencedElementBehavior","elementTemplatesUpdatePropertiesOrderBehavior","elementTemplatesCalledElementBehavior"],elementTemplatesReplaceBehavior:["type",B3],elementTemplatesConditionalBehavior:["type",N3],elementTemplatesGeneratedValueBehavior:["type",W3],elementTemplatesReferencedElementBehavior:["type",H3],elementTemplatesUpdatePropertiesOrderBehavior:["type",$3],elementTemplatesCalledElementBehavior:["type",G3]},D3],__init__:["elementTemplatesLoader"],elementTemplates:["type",y2],elementTemplatesLoader:["type",P2]};function X3(e){const t=e.metadata,n=e.version;if(t){if(!s(t.created))return Z3(t.created);if(!s(t.updated))return Z3(t.updated)}return s(n)?null:n}function Z3(e){const t=new Date(e),n=t.getFullYear(),r=Y3(String(t.getMonth()+1));return Y3(String(t.getDate()))+"."+r+"."+n+" "+Y3(String(t.getHours()))+":"+Y3(String(t.getMinutes()))}function Y3(e){return function(e,t,n){for(;e.length<t;)e=n+e;return e}(e,2,"0")}function K3(e={}){const{getTemplateId:t=m2}=e;return function(e){const{id:n,label:r,element:i,entries:o=[]}=e,[s,a]=GH(["groups",n,"open"],!1),l=!o.length;return j_("div",{class:"bio-properties-panel-group bio-properties-panel-templates-group","data-group-id":"group-"+n,children:[j_("div",{class:L_("bio-properties-panel-group-header",{empty:l,open:s&&!l}),onClick:()=>!l&&a(!s),children:[j_("div",{title:r,class:"bio-properties-panel-group-header-title",children:r}),j_("div",{class:"bio-properties-panel-group-header-buttons",children:[j_(e5,{element:i,getTemplateId:t}),!l&&j_(J3,{open:s})]})]}),j_("div",{class:L_("bio-properties-panel-group-entries",{open:s&&!l}),children:o.map((e=>{const{component:t,id:n}=e;return ox(t,{...e,key:n,element:i})}))})]})}}function J3({open:e}){return j_(XU,{title:"Toggle section",class:"bio-properties-panel-arrow",children:j_(OH,{class:e?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})}function e5({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}}(TG("elementTemplates"),e,t);return"NO_TEMPLATE"===n.type?j_(t5,{element:e}):"KNOWN_TEMPLATE"===n.type?j_(n5,{element:e}):"UNKNOWN_TEMPLATE"===n.type?j_(i5,{element:e}):"DEPRECATED_TEMPLATE"===n.type?j_(l5,{element:e,templateState:n}):"OUTDATED_TEMPLATE"===n.type?j_(s5,{element:e,templateState:n}):void 0}function t5({element:e}){const t=TG("translate"),n=TG("eventBus");return j_(XU,{title:"Select a template",class:"bio-properties-panel-select-template-button",onClick:()=>n.fire("elementTemplates.select",{element:e}),children:[j_(PH,{}),j_("span",{children:t("Select")})]})}function n5({element:e}){const t=TG("translate"),n=TG("elementTemplates"),r=[{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:j_(r5,{}),action:()=>n.removeTemplate(e)}];return j_(GU,{menuItems:r,class:"bio-properties-panel-applied-template-button",children:j_(XU,{children:[j_("span",{children:t("Applied")}),j_(OH,{class:"bio-properties-panel-arrow-down"})]})})}function r5(){return j_("span",{class:"bio-properties-panel-remove-template",children:TG("translate")("Remove")})}function i5({element:e}){const t=TG("translate"),n=TG("elementTemplates"),r=[{entry:j_(o5,{})},{separator:!0},{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:j_(r5,{}),action:()=>n.removeTemplate(e)}];return j_(GU,{menuItems:r,class:"bio-properties-panel-template-not-found",children:j_(XU,{children:[j_("span",{children:t("Not found")}),j_(OH,{class:"bio-properties-panel-arrow-down"})]})})}function o5(){return j_("div",{class:"bio-properties-panel-template-not-found-text",children:TG("translate")("The template applied was not found. Therefore, its properties cannot be shown. Unlink to access the data.")})}function s5({element:e,templateState:t}){const{newerTemplate:n}=t,r=TG("translate"),i=TG("elementTemplates"),o=[{entry:j_(a5,{newerTemplate:n})},{separator:!0},{entry:r("Update"),action:()=>i.applyTemplate(e,n)},{entry:r("Unlink"),action:()=>i.unlinkTemplate(e)},{entry:j_(r5,{}),action:()=>i.removeTemplate(e)}];return j_(GU,{menuItems:o,class:"bio-properties-panel-template-update-available",children:j_(XU,{children:[j_("span",{children:r("Update available")}),j_(OH,{class:"bio-properties-panel-arrow-down"})]})})}function a5({newerTemplate:e}){return j_("div",{class:"bio-properties-panel-template-update-available-text",children:TG("translate")("A new version of the template is available: {templateVersion}",{templateVersion:X3(e)})})}function l5({element:e,templateState:t}){const{template:n}=t,r=TG("translate"),i=TG("elementTemplates"),o=[{entry:j_(c5,{template:n})},{separator:!0},{entry:r("Unlink"),action:()=>i.unlinkTemplate(e)},{entry:j_(r5,{}),action:()=>i.removeTemplate(e)}];return j_(GU,{menuItems:o,class:"bio-properties-panel-deprecated-template-button",children:j_(XU,{children:[j_("span",{children:r("Deprecated")}),j_(OH,{class:"bio-properties-panel-arrow-down"})]})})}function c5({template:e}){const t=TG("translate"),{message:n=t("This template is deprecated."),documentationRef:r}=e.deprecated;return j_("div",{class:"bio-properties-panel-deprecated-template-text",children:[n,r&&j_(ax,{children:[" ",j_("a",{href:r,children:j_(p5,{})})]})]})}function p5(){return j_("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:j_("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 u5({element:e,elementTemplates:t}){const n=t.get(e);return n?[{id:"template-name",component:h5,template:n},{id:"template-version",component:d5,template:n},{id:"template-description",component:f5,template:n}].filter((e=>!!e.component)):[]}function h5({id:e,template:t}){return j_(m5,{id:e,label:TG("translate")("Name"),content:t.name})}function d5({id:e,template:t}){const n=TG("translate"),r=X3(t);return r?j_(m5,{id:e,label:n("Version"),content:r}):null}function f5({id:e,template:t}){const n=TG("translate"),{description:r}=t;return r?j_(m5,{id:e,label:n("Description"),content:t.description}):null}function m5({id:e,label:t,content:n}){return j_("div",{"data-entry-id":e,class:"bio-properties-panel-entry bio-properties-panel-text-entry",children:[j_("span",{class:"bio-properties-panel-label",children:t}),j_("span",{class:"bio-properties-panel-text-entry__content",children:n})]})}var g5,y5={};function v5(e,t,n){if(3===e.nodeType){var r="textContent"in e?e.textContent:e.nodeValue||"";if(!1!==v5.options.trim){var i=0===t||t===n.length-1;if((!(r=r.match(/^[\s\n]+$/g)&&"all"!==v5.options.trim?" ":r.replace(/(^[\s\n]+|[\s\n]+$)/g,"all"===v5.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&&!v5.options.allowScripts)return null;var s,a,l=v5.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)&&v5.options.allowEvents&&(s=new Function(s)),n[o]=s}return n}(e.attributes),(a=(s=e.childNodes)&&Array.prototype.map.call(s,v5).filter(w5))&&a.length?a:null);return v5.visitor&&v5.visitor(l),l}var b5,w5=function(e){return e},x5={};function _5(e){var t=(e.type||"").toLowerCase(),n=_5.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 k5=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){b5=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"]),h=s||this.reviver||this.constructor.prototype.reviver||b5||ox;this.setComponents(o);var d={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=g5||(g5=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;_5.map=r||x5;var a=s&&function(e,t,n,r){return v5.visitor=t,v5.h=n,v5.options=r||y5,v5(e)}(s,_5,n,i);return _5.map=null,a&&a.props&&a.props.children||null}(i,r,h,this.map,d)}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",h("div",u,n||null)},t}(lx);const E5=3,O5=1,P5=["h1","h2","h3","h4","h5","span","em","a","p","div","ul","ol","li","hr","blockquote","img","pre","code","br","strong"],S5=["align","alt","class","href","id","name","rel","target","src"],C5=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,T5=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g,M5=document.createElement("form");function A5(e){const t=(new DOMParser).parseFromString(`<!DOCTYPE html>\n<html><body><div>${e}`,"text/html");t.normalize();const n=t.body.firstChild;return n?(D5(n),(new XMLSerializer).serializeToString(n)):""}function D5(e){if(e.nodeType===E5)return;if(e.nodeType!==O5)return e.remove();const t=e.tagName.toLowerCase();if(!P5.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);N5(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--;)D5(e.childNodes[t])}function N5(e,t,n){return!!S5.includes(t)&&(("id"!==t&&"name"!==t||!(n in document)&&!(n in M5))&&(("target"!==t||"_blank"===n)&&!("href"===t&&!C5.test(n.replace(T5,"")))))}function R5(e){const{tooltip:t}=e;return t&&j_(k5,{markup:A5(t),trim:!1})}function j5(e,t,n,r){const i=Gx(q5(e,t,n,r),[e,t,n,r]),o=Gx($5(n,r),[n,r]),[s,a]=qx(B5(r,o())),l=Gx((e=>{!s&&"string"==typeof e&&e.startsWith("=")&&a(!0),!s||"string"==typeof e&&e.startsWith("=")||a(!1)}),[s]),c=Gx(((e,t)=>{l(e),i(L5(e,r.type))}),[i,r,l]),p=Gx((()=>s?o():z5(o(),r.type)),[o,r,s]);return I5(r)?[p,c]:[o,i]}const I5=e=>["optional","static"].includes(e.feel)&&["Boolean","Number"].includes(e.type),L5=(e,t)=>"string"==typeof e&&e.startsWith("=")?e:"Boolean"===t?"="+!!(e="false"!==e&&e):void 0===e?e:"="+e.toString(),z5=(e,t)=>void 0===e?e:("string"==typeof e&&e.startsWith("=")&&(e=e.slice(1)),"Number"===t?Number(e):"Boolean"===t?"false"!==e:e),B5=(e,t)=>!I5(e)||("Boolean"===e.type?!("=true"===t||"=false"===t):"Number"!==e.type||isNaN(z5(t,e.type)));function $5(e,t){return function(){return _3(e,t)}}function q5(e,t,n,r){return function(i){return E3(e,t,n,r,i)}}function F5(e,t){return n=>O3(n,t,e)}function V5(e){return["zeebe:property","zeebe:taskHeader"].includes(e.binding.type)}function H5(e){const{description:t}=e;return t&&j_(k5,{markup:A5(t),trim:!1})}function U5(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,language:l,tooltip:c}=r,p=TG("bpmnFactory"),u=TG("commandStack"),h=TG("debounceInput"),d=TG("translate");return dW({debounce:h,element:t,id:n,label:s,feel:a,monospace:!!l,autoResize:!0,description:H5({description:i}),getValue:$5(t,r),setValue:q5(p,u,t,r),validate:F5(d,r),disabled:!1===o,tooltip:R5({tooltip:c})})}function W5(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c=TG("bpmnFactory"),p=TG("commandStack"),u=TG("debounceInput"),h=TG("translate");return yW({debounce:u,element:t,getValue:$5(t,r),id:n,label:s,feel:a,description:H5({description:i}),setValue:q5(c,p,t,r),validate:F5(h,r),disabled:!1===o,tooltip:R5({tooltip:l})})}function G5(e){return t=>{const{bpmnElement:n,element:r}=t,i=(n||r).businessObject,[o,s]=qx([]),a=TG("eventBus"),l=(c={getVariablesForElement:hG},TG("variableResolver",!1)||c);var c;return Vx((()=>{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]),j_(e,{...t,variables:o})}}function Q5(e){return t=>{const n=Wx((()=>{const e=TG("config");return e&&e.propertiesPanel&&e.propertiesPanel.feelTooltipContainer}),[]);return j_(e,{...t,tooltipContainer:n})}}const X5=Q5(jU),Z5=Q5((function(e){return j_(jU,{class:"bio-properties-panel-feel-textarea",OptionalComponent:NU,...e})})),Y5=G5(X5),K5=G5(Z5);function J5(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c=TG("bpmnFactory"),p=TG("commandStack"),u=TG("debounceInput"),h=TG("translate");return(V5(r)?X5:Y5)({debounce:u,element:t,getValue:$5(t,r),id:n,label:s,feel:a,description:H5({description:i}),setValue:q5(c,p,t,r),validate:F5(h,r),disabled:!1===o,tooltip:R5({tooltip:l})})}function e4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c=TG("bpmnFactory"),p=TG("commandStack"),u=TG("debounceInput"),h=TG("translate");return(V5(r)?Z5:K5)({debounce:u,element:t,getValue:$5(t,r),id:n,label:s,feel:a,description:H5({description:i}),setValue:q5(c,p,t,r),validate:F5(h,r),disabled:!1===o,tooltip:R5({tooltip:l})})}function t4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,tooltip:a}=r,l=TG("bpmnFactory"),c=TG("commandStack"),p=TG("translate");return lW({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:H5({description:i}),getValue:$5(t,r),setValue:q5(l,c,t,r),validate:F5(p,r),disabled:!1===o,tooltip:R5({tooltip:a})})}function n4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,tooltip:a,feel:l}=r,c=TG("bpmnFactory"),p=TG("commandStack"),u=TG("debounceInput"),h=TG("translate"),d="optional"===l?LU:iW,[f,m]=j5(c,p,t,r);return d({element:t,debounce:u,translate:h,getValue:f,id:n,label:s,description:H5({description:i}),setValue:m,disabled:!1===o,tooltip:R5({tooltip:a})})}function r4(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c="optional"===a?IU:OU,p=TG("bpmnFactory"),h=TG("commandStack"),d=TG("debounceInput"),f=TG("translate"),[m,g]=j5(p,h,t,r),y=Gx((e=>{if(I5(r)&&u(e)&&e.toString().includes("e"))return f("Scientific notation is disallowed in FEEL.");return F5(f,r)(e)}),[f,r]);return c({debounce:d,element:t,getValue:m,id:n,label:s,description:H5({description:i}),setValue:g,validate:y,disabled:!1===o,tooltip:R5({tooltip:l})})}const i4={id:"ElementTemplates__CustomProperties",label:"Custom properties"};function o4(e){const{element:t,elementTemplate:n}=e,r=[],{id:i,properties:o,groups:s}=n,a=function(e){return P(e,"group")}(o),l=[];return v(a,((e,n)=>{const o=function(e,t){return m(e,(e=>e.id===t))}(s,n);if(!o)return l.push(...e);s4(r,{element:t,id:`ElementTemplates__CustomProperties-${n}`,label:o.label,openByDefault:o.openByDefault,properties:e,templateId:`${i}-${n}`,tooltip:R5({tooltip:o.tooltip})})})),l.length&&s4(r,{...i4,element:t,properties:l,templateId:i}),r}function s4(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:KH,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([L2,q2,F2,z2,B2,$2,V2].includes(n))return"String"}(n));if("required"===i)return{id:e,component:J5,isEdited:zU,property:n};if("Number"===r)return{id:e,component:r4,isEdited:PU,property:n};if("Boolean"===r)return{id:e,component:n4,isEdited:oW,property:n};if("Dropdown"===r)return{id:e,component:t4,isEdited:cW,property:n};if("String"===r)return i?{id:e,component:J5,isEdited:zU,property:n}:{id:e,component:W5,isEdited:vW,property:n};if("Text"===r)return i?{id:e,component:e4,isEdited:zU,property:n}:{id:e,component:U5,isEdited:fW,property:n}}(`custom-entry-${a}-${t}`,0,e);n&&c.entries.push(n)})),c.entries.length&&e.push(c)}function a4(e){return Si(e,"bpmn:ReceiveTask")?Ti(e):function(e,t){return m(Ti(e).get("eventDefinitions")||[],(function(e){return Si(e,t)}))}(e,"bpmn:MessageEventDefinition")}const l4="",c4="create-new";function p4(e){const{element:t}=e;return function(e){return Si(e,"bpmn:ReceiveTask")||Ci(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!a4(e)}(t)?[{id:"messageRef",component:u4,isEdited:cW}]:[]}function u4(e){const{element:t}=e,r=TG("bpmnFactory"),i=TG("modeling"),o=TG("translate"),s=a4(t);return function(e){const{autoFocusEntry:t,element:n,getOptions:r}=e,i=r(n),o=QH(i);return Vx((()=>{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]),j_(lW,{...e})}({element:t,id:"messageRef",label:o("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=function(e){const t=a4(e);return t&&t.get("messageRef")}(t);return e?e.get("id"):l4},setValue:e=>{const o=C2(s);let a;if(e===c4){const t=function(e){return new n([32,32,1]).nextPrefixed(e)}("Message_");a=S2("bpmn:Message",{id:t,name:t},o,r),e=a.get("id")}return a=function(e,t,n){return T2(e,t).find((e=>e.id===n))}(s,"bpmn:Message",e)||a,i.updateModdleProperties(t,s,{messageRef:a})},getOptions:()=>{let e=[{value:l4,label:o("<none>")},{value:c4,label:o("Create new ...")}];const n=function(e){return e.filter((e=>!e.get("zeebe:modelerTemplate")))}(T2(Ti(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 h4=["general","documentation","multiInstance"];let d4=class{constructor(e,t,n){t.registerProvider(300,this),this._elementTemplates=e,this._injector=n}getGroups(e){return t=>{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=p4({element:t}),r.map((e=>i.find((t=>t.id===e.id))||e)));var r,i}(t,e),!this._shouldShowTemplateProperties(e))return t;t=t.slice();const n={element:e,id:"ElementTemplates__Template",label:"Template",component:K3({getTemplateId:s2}),entries:u5({element:e,elementTemplates:this._elementTemplates})};f4(h4,t,[n]);let r=this._elementTemplates.get(e);if(r){r=C3(e,r);f4("ElementTemplates__Template",t,[].concat(o4({element:e,elementTemplate:r})))}return s2(e)&&(t=function(e,t){if(!e.entriesVisible)return t.filter((e=>h4.includes(e.id)||e.id.startsWith("ElementTemplates__")));return t}(r||{},t)),t}}_shouldShowTemplateProperties(e){return s2(e)||this._elementTemplates.getAll(e).length}};function f4(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)}d4.$inject=["elementTemplates","propertiesPanel","injector"];var m4={__depends__:[Q3,{__depends__:[No],__init__:["elementTemplatesPropertiesProvider"],elementTemplatesPropertiesProvider:["type",d4]}]};function g4(){}function y4(e,t){this.model=e,this.properties=t}(class extends gs{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(n){var r=n.context,i=Ti(r.oldShape),o=r.newShape,s=Ti(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(Si(o,u.value)||e.unlinkTemplate(o,t));const h=p.reduce(((e,t)=>e||Si(s,t)),!1);h||e.unlinkTemplate(o,t)}))}}).$inject=["elementTemplates","injector"],g4.prototype.get=function(e){return this.$model.properties.get(this,e)},g4.prototype.set=function(e,t){this.$model.properties.set(this,e,t)},y4.prototype.createType=function(e){var t=this.model,n=this.properties,r=Object.create(g4.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 v4={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},b4={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 w4(e,t){var n=b4[e];return n?n(t):t}function x4(e){return!!v4[e]}function _4(e){return!!b4[e]}function k4(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 E4(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}function O4(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,v(e,I(this.registerPackage,this))}function P4(e,t,n){var r=t[n];if(r in e)throw new Error("package with "+n+" <"+r+"> already defined")}function S4(e){this.model=e}function C4(e,t,n){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:n,configurable:!0})}function T4(e){return e.replace(/^:/,"")}function M4(e,t={}){this.properties=new S4(this),this.factory=new y4(this,this.properties),this.registry=new O4(e,this.properties),this.typeCache={},this.config=t}E4.prototype.build=function(){return $(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},E4.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)},E4.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},E4.prototype.redefineProperty=function(e,t,n){var r=e.ns.prefix,i=t.split("#"),o=k4(i[0],r),s=k4(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},E4.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},E4.prototype.removeNamedProperty=function(e){var t=e.ns,n=this.propertiesByName;delete n[t.name],delete n[t.localName]},E4.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},E4.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},E4.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},E4.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")},E4.prototype.hasProperty=function(e){return this.propertiesByName[e]},E4.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)},O4.prototype.getPackage=function(e){return this.packageMap[e]},O4.prototype.getPackages=function(){return this.packages},O4.prototype.registerPackage=function(e){e=L({},e);var t=this.packageMap;P4(t,e,"prefix"),P4(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)},O4.prototype.registerType=function(e,t){var n=k4((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=k4(e.name,n.prefix),r=t.name;x4(e.type)||(e.type=k4(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=k4(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},O4.prototype.mapTypes=function(e,t,n){var r=x4(e.name)?{name:e.name}:this.typeMap[e.name],i=this;function o(n,r){var o=k4(n,x4(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)},O4.prototype.getEffectiveDescriptor=function(e){var t=k4(e),n=new E4(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},O4.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})},S4.prototype.set=function(e,t,n){if(!d(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[T4(t)]:r?i in e?e[i]=n:C4(e,r,n):e.$attrs[T4(t)]=n},S4.prototype.get=function(e,t){var n=this.getProperty(e,t);if(!n)return e.$attrs[T4(t)];var r=n.name;return!e[r]&&n.isMany&&C4(e,n,[]),e[r]},S4.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)},S4.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},S4.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},S4.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},M4.prototype.create=function(e,t){var n=this.getType(e);if(!n)throw new Error("unknown type <"+e+">");return new n(t)},M4.prototype.getType=function(e){var t=this.typeCache,n=d(e)?e:e.ns.name,r=t[n];return r||(e=this.registry.getEffectiveDescriptor(n),r=t[n]=this.factory.createType(e)),r},M4.prototype.createAny=function(e,t,n){var r=k4(e),i={$type:e,$instanceOf:function(e){return e===this.$type},get:function(e){return this[e]},set:function(e,t){z(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},M4.prototype.getPackage=function(e){return this.registry.getPackage(e)},M4.prototype.getPackages=function(){return this.registry.getPackages()},M4.prototype.getElementDescriptor=function(e){return e.$descriptor},M4.prototype.hasType=function(e,t){return void 0===t&&(t=e,e=this),t in e.$model.getElementDescriptor(e).allTypesByName},M4.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},M4.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var A4=String.fromCharCode,D4=Object.prototype.hasOwnProperty,N4=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,R4={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};function j4(e,t,n,r){return r?D4.call(R4,r)?R4[r]:"&"+r+";":A4(t||parseInt(n,16))}function I4(e){return e.length>3&&-1!==e.indexOf("&")?e.replace(N4,j4):e}Object.keys(R4).forEach((function(e){R4[e.toUpperCase()]=R4[e]}));var L4="xsi:type",z4="non-whitespace outside of root node";function B4(e){return new Error(e)}function $4(e){return"missing namespace for prefix <"+e+">"}function q4(e){return{get:e,enumerable:!0}}function F4(e){var t,n={};for(t in e)n[t]=e[t];return n}function V4(e){return e+"$uri"}function H4(){return{line:0,column:0}}function U4(e){throw e}function W4(e){if(!this)return new W4(e);var t,n,r,i,o,s,a,l,c,p=e&&e.proxy,u=U4,h=H4,d=!1,f=!1,m=null,g=!1;function y(e){e instanceof Error||(e=B4(e)),m=e,u(e,h)}function v(e){o&&(e instanceof Error||(e=B4(e)),o(e,h))}this.on=function(e,c){if("function"!=typeof c)throw B4("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 B4("unsupported event: "+e)}return this},this.ns=function(e){if(void 0===e&&(e={}),"object"!=typeof e)throw B4("required args <nsMap={}>");var t,n={};for(t in e)n[t]=e[t];return n["http://www.w3.org/2001/XMLSchema-instance"]="xsi",f=!0,c=n,this},this.parse=function(e){if("string"!=typeof e)throw B4("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[V4(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,h=f&&C.xmlns,m=f&&d?[]: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(d){if(null!==(i="xmlns"===a?"xmlns":120===a.charCodeAt(0)&&"xmlns:"===a.substr(0,6)?a.substr(6):null)){if(e=I4(o),t=V4(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=F4(C),r=!0),C[i]=s,"xmlns"===i&&(C[V4(s)]=e,h=s),C[t]=e),w[a]=o;continue}m.push(a,o)}else-1!==(p=a.indexOf(":"))?(n=C[a.substring(0,p)])?((a=h===n?a.substr(p+1):n+a.substr(p))===L4&&(-1!==(p=o.indexOf(":"))?(n=o.substring(0,p),o=(n=C[n]||n)+o.substring(p)):o=h+":"+o),w[a]=o):v($4(a.substring(0,p))):w[a]=o;else w[a]=o}if(d)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($4(a.substring(0,p)));continue}(a=h===n?a.substr(p+1):n+a.substr(p))===L4&&(-1!==(p=o.indexOf(":"))?(n=o.substring(0,p),o=(n=C[n]||n)+o.substring(p)):o=h+":"+o)}w[a]=o}return P=w}function z(){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}}h=z,p&&(O=Object.create({},{name:q4((function(){return k})),originalName:q4((function(){return E})),attrs:q4(L),ns:q4((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(z4));if(R!==N)if(T.length){if(t&&(t(e.substring(R,N),I4,h),g))return}else if(e.substring(R,N).trim()&&(v(z4),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),h),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),I4,h),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&&(d=-1!==u.indexOf("xmlns",b))&&(I=b,j=u,L(),d=!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,I4,D,h):n(k,L,I4,D,h),g)))return;if(D){if(r&&(r(p?O:k,I4,A,h),g))return;f&&(C=A?o:S.pop())}R+=1}else{if(l&&(l(e.substring(N,R+1),I4,h),g))return;R+=1}}else{if(-1===(R=e.indexOf("?>",N)))return y("unclosed question");if(a&&(a(e.substring(N,R+2),h),g))return;R+=2}}}(e),h=H4,g=!1,m},this.stop=function(){g=!0}}function G4(e){return e.xml&&"lowerCase"===e.xml.tagAlias}var Q4={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},X4="xsi:type";function Z4(e){return e.xml&&e.xml.serialize}function Y4(e){return Z4(e)===X4}function K4(e,t){return G4(t)?e.prefix+":"+((n=e.localName).charAt(0).toUpperCase()+n.slice(1)):e.name;var n}function J4(e){return new Error(e)}function e6(e){return e.$descriptor}function t6(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 J4("expected element");var t,n=this.elementsById,r=e6(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 J4("duplicate ID <"+t+">");n[t]=e}},this.addWarning=function(e){this.warnings.push(e)}}function n6(){}function r6(){}function i6(){}function o6(e,t){this.property=e,this.context=t}function s6(e,t){this.element=t,this.propertyDesc=e}function a6(){}function l6(e,t,n){this.model=e,this.type=e.getType(t),this.context=n}function c6(e,t,n){l6.call(this,e,t,n)}function p6(e,t,n){this.model=e,this.context=n}function u6(e){e instanceof M4&&(e={model:e}),L(this,{lax:!1},e)}n6.prototype.handleEnd=function(){},n6.prototype.handleText=function(){},n6.prototype.handleNode=function(){},r6.prototype=Object.create(n6.prototype),r6.prototype.handleNode=function(){return this},i6.prototype=Object.create(n6.prototype),i6.prototype.handleText=function(e){this.body=(this.body||"")+e},o6.prototype=Object.create(i6.prototype),o6.prototype.handleNode=function(e){if(this.element)throw J4("expected no sub nodes");return this.element=this.createReference(e),this},o6.prototype.handleEnd=function(){this.element.id=this.body},o6.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}},s6.prototype=Object.create(i6.prototype),s6.prototype.handleEnd=function(){var e=this.body||"",t=this.element,n=this.propertyDesc;e=w4(n.type,e),n.isMany?t.get(n.name).push(e):t.set(n.name,e)},a6.prototype=Object.create(i6.prototype),a6.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},l6.prototype=Object.create(a6.prototype),l6.prototype.addReference=function(e){this.context.addReference(e)},l6.prototype.handleText=function(e){if(!e6(this.element).bodyProperty)throw J4("unexpected body text <"+e+">");i6.prototype.handleText.call(this,e)},l6.prototype.handleEnd=function(){var e=this.body,t=this.element,n=e6(t).bodyProperty;n&&void 0!==e&&(e=w4(n.type,e),t.set(n.name,e))},l6.prototype.createElement=function(e){var t,n=e.attributes,r=this.type,i=e6(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=w4(r.type,e):"xmlns"!==n&&(t=k4(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},l6.prototype.getPropertyForNode=function(e){var t,n,r=k4(e.name),i=this.type,o=this.model,s=e6(i),a=r.name,l=s.propertiesByName[a];if(l&&!l.isAttr)return Y4(l)&&(t=e.attributes[X4])?(t=function(e,t){var n=k4(e);return function(e,t){var n=e.name,r=e.localName,i=t.xml&&t.xml.typePrefix;return i&&0===r.indexOf(i)?e.prefix+":"+r.slice(i.length):n}(n,t.getPackage(n.prefix))}(t,o),L({},l,{effectiveType:e6(n=o.getType(t)).name})):l;var c=o.getPackage(r.prefix);if(c){if(t=K4(r,c),n=o.getType(t),l=m(s.properties,(function(e){return!e.isVirtual&&!e.isReference&&!e.isAttribute&&n.hasType(e.type)})),l)return L({},l,{effectiveType:e6(n).name})}else if(l=m(s.properties,(function(e){return!e.isReference&&!e.isAttribute&&"Element"===e.type})),l)return l;throw J4("unrecognized element <"+r.name+">")},l6.prototype.toString=function(){return"ElementDescriptor["+e6(this.type).name+"]"},l6.prototype.valueHandler=function(e,t){return new s6(e,t)},l6.prototype.referenceHandler=function(e){return new o6(e,this.context)},l6.prototype.handler=function(e){return"Element"===e?new p6(this.model,e,this.context):new l6(this.model,e,this.context)},l6.prototype.handleChild=function(e){var t,n,r,i;if(t=this.getPropertyForNode(e),r=this.element,_4(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},c6.prototype=Object.create(l6.prototype),c6.prototype.createElement=function(e){var t=e.name,n=k4(t),r=this.model,i=this.type,o=r.getPackage(n.prefix),s=o&&K4(n,o)||t;if(!i.hasType(s))throw J4("unexpected element <"+e.originalName+">");return l6.prototype.createElement.call(this,e)},p6.prototype=Object.create(a6.prototype),p6.prototype.createElement=function(e){var t=e.name,n=k4(t).prefix,r=e.ns[n+"$uri"],i=e.attributes;return this.model.createAny(t,r,i)},p6.prototype.handleChild=function(e){var t=new p6(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},p6.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)},u6.prototype.fromXML=function(e,t,n){var r=t.rootHandler;t instanceof l6?(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 t6(L({},t,{rootHandler:r})),a=new W4({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 J4(l)}function p(e,t){return c(e,t,!0)}r.context=s,l.push(r);var u=/^<\?xml /i,h=/ encoding="([^"]+)"/i,d=/^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}),{"http://www.w3.org/XML/1998/namespace":"xml"});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 r6)}}({name:e.name,originalName:e.originalName,attributes:s,ns:e.ns},r)})).on("question",(function(e){if(u.test(e)){var t=h.exec(e),n=t&&t[1];n&&!d.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=e6(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=J4("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})}))},u6.prototype.handler=function(e){return new c6(this.model,e)};var h6=/<|>|'|"|&|\n\r|\n/g,d6=/<|>|&/g;function f6(e){var t={},n={},r={},i=[],o=[];this.byUri=function(t){return n[t]||e&&e.byUri(t)},this.add=function(e,t){n[e.uri]=e,t?i.push(e):o.push(e),this.mapPrefix(e.prefix,e.uri)},this.uriByPrefix=function(e){return t[e||"xmlns"]},this.mapPrefix=function(e,n){t[e||"xmlns"]=n},this.getNSKey=function(e){return void 0!==e.prefix?e.uri+"|"+e.prefix:e.uri},this.logUsed=function(t){var n=t.uri,i=this.getNSKey(t);r[i]=this.byUri(n),e&&e.logUsed(t)},this.getUsed=function(e){var t=this;return[].concat(i,o).filter((function(e){var n=t.getNSKey(e);return r[n]}))}}function m6(e,t){return G4(t)?function(e){return e.charAt(0).toLowerCase()+e.slice(1)}(e):e}function g6(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function y6(e){return d(e)?e:(e.prefix?e.prefix+":":"")+e.localName}var v6={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},b6={"<":"lt",">":"gt","&":"amp"};function w6(e,t,n){return(e=d(e)?e:""+e).replace(t,(function(e){return"&"+n[e]+";"}))}function x6(e){this.tagName=e}function _6(){}function k6(e){this.tagName=e}function E6(e,t){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=t}function O6(e,t){E6.call(this,e,t)}function P6(){this.value="",this.write=function(e){this.value+=e}}function S6(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 C6(e){return e=L({format:!1,preamble:!0},e||{}),{toXML:function(t,n){var r=n||new P6,i=new S6(r,e.format);if(e.preamble&&i.append('<?xml version="1.0" encoding="UTF-8"?>\n'),(new E6).build(t).serializeTo(i),!n)return r.value}}}function T6(e,t){M4.call(this,e,t)}x6.prototype.build=function(e){return this.element=e,this},x6.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()},_6.prototype.serializeValue=_6.prototype.serializeTo=function(e){e.append(this.escape?w6(this.value,d6,b6):this.value)},_6.prototype.build=function(e,t){return this.value=t,"String"===e.type&&-1!==t.search(d6)&&(this.escape=!0),this},g6(k6,_6),k6.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("</"+this.tagName+">").appendNewLine()},E6.prototype.build=function(e){this.element=e;var t,n,r=e.$descriptor,i=this.propertyDescriptor,o=r.isGeneric;return t=o?this.parseGeneric(e):this.parseNsAttributes(e),this.ns=i?this.nsPropertyTagName(i):this.nsTagName(r),this.tagName=this.addTagName(this.ns),o||(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},E6.prototype.nsTagName=function(e){return function(e,t){return t.isGeneric?L({localName:t.ns.localName},e):L({localName:m6(t.ns.localName,t.$pkg)},e)}(this.logNamespaceUsed(e.ns),e)},E6.prototype.nsPropertyTagName=function(e){return function(e,t){return L({localName:t.ns.localName},e)}(this.logNamespaceUsed(e.ns),e)},E6.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},E6.prototype.nsAttributeName=function(e){var t;if(t=d(e)?k4(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)},E6.prototype.parseGeneric=function(e){var t=this,n=this.body,r=[];return v(e,(function(i,o){"$body"===o?n.push((new _6).build({type:"String"},i)):"$children"===o?v(i,(function(e){n.push(new E6(t).build(e))})):0!==o.indexOf("$")&&t.parseNsAttribute(e,o,i)&&r.push({name:o,value:i})})),r},E6.prototype.parseNsAttribute=function(e,t,n){var r,i=e.$model,o=k4(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)}},E6.prototype.parseNsAttributes=function(e,t){var n=this,r=e.$attrs,i=[];return v(r,(function(t,r){var o=n.parseNsAttribute(e,r,t);o&&i.push(o)})),i},E6.prototype.parseGenericAttributes=function(e,t){var n=this;v(t,(function(t){if(t.name!==X4)try{n.addAttribute(n.nsAttributeName(t.name),t.value)}catch(n){console.warn("missing namespace information for ",t.name,"=",t.value,"on",e,n)}}))},E6.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 _6).build(e,i[0]));else if(_4(e.type))v(i,(function(r){n.push(new k6(t.addTagName(t.nsPropertyTagName(e))).build(e,r))}));else if(o)v(i,(function(r){n.push(new x6(t.addTagName(t.nsPropertyTagName(e))).build(r))}));else{var s=Y4(e),a=function(e){return"property"===Z4(e)}(e);v(i,(function(r){var i;i=s?new O6(t,e):a?new E6(t,e):new E6(t),n.push(i.build(r))}))}}))},E6.prototype.getNamespaces=function(e){var t,n=this.namespaces,r=this.parent;return n||(t=r&&r.getNamespaces(),e||!t?this.namespaces=n=new f6(t):n=t),n},E6.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},E6.prototype.logNamespaceUsed=function(e,t){var n,r,i,o=this.element.$model,s=this.getNamespaces(t),a=e.prefix,l=e.uri;if(!a&&!l)return{localName:e.localName};if(i=Q4[a]||o&&(o.getPackage(a)||{}).uri,!(l=l||i||s.uriByPrefix(a)))throw new Error("no namespace uri given for prefix <"+a+">");if(!(e=s.byUri(l))){for(n=a,r=1;s.uriByPrefix(n);)n=a+"_"+r++;e=this.logNamespace({prefix:n,uri:l},i===l)}return a&&s.mapPrefix(a,l),e},E6.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)}))},E6.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),y6(e)},E6.prototype.addAttribute=function(e,t){var n=this.attrs;d(t)&&(t=w6(t,h6,v6));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)},E6.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(y6(t.name)).append('="').append(t.value).append('"')}))},E6.prototype.serializeTo=function(e){var t=this.body[0],n=t&&t.constructor!==_6;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()},g6(O6,E6),O6.prototype.parseNsAttributes=function(e){var t=E6.prototype.parseNsAttributes.call(this,e),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(X4),(r.prefix?r.prefix+":":"")+o+n.ns.localName),t},O6.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri},T6.prototype=Object.create(M4.prototype),T6.prototype.fromXML=function(e,t,n){d(t)||(n=t,t="bpmn:Definitions");var r=new u6(L({model:this,lax:!0},n)),i=r.handler(t);return r.fromXML(e,i)},T6.prototype.toXML=function(e,t){var n=new C6(t);return new Promise((function(t,r){try{return t({xml:n.toXML(e)})}catch(e){return r(e)}}))};class M6{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 A6(e){return!!function(e){return j6(e,"outputParameters")}(e).length}function D6(e,t){return function(e){return j6(e,"inputParameters")}(e).find((function(e){return e.target===t||e.name===t}))}function N6(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=>Si(e,t))):r:[]}function R6(e){return I6(e,"zeebe:IoMapping")[0]||I6(e,"camunda:InputOutput")[0]}function j6(e,t){var n=R6(e);return n&&n.get(t)||[]}function I6(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 Si(e,t)})))}return n}function L6(e,t,n){var r=z6(e);if(A6(e))return e;var i=r.find((function(e){return Si(e,"bpmn:SubProcess")&&D6(e,n)}));return i||t}function z6(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}class B6{constructor(e,t){this.providers=[],this._eventBus=e,this._bpmnjs=t,this.rawVariables=new M6(this._generateRawVariables.bind(this)),this.parsedVariables=new M6((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?($6("origin",t,e),$6("provider",t,e),q6(t,e)):i.push(e)})),V6(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({...H6(i),origin:[e],scope:i.scope||L6(e,n,i.name),provider:[t]})}))}))));await Promise.all(o)}registerProvider(e){this.providers.push(e),this.invalidateCache()}async getProcessVariables(e){const t=Ti(e);return(await this.getVariables())[t.id]||[]}async getVariablesForElement(e){const t=Ti(e),n=function(e){const t=Ti(e);if(Si(t,"bpmn:Participant"))return t.processRef;if(Si(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!Si(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=z6(t);return[...i,...r.filter((function(e){return o.find((function(t){return t.id===e.scope.id}))}))]}}function $6(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 q6(e,t,n=[]){n.includes(t)||n.includes(e)||(n.push(t),n.push(e),e.type=F6(e.type,t.type,"|"),e.info=F6(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?q6(r,t,n):e.entries.push(t)}))))}B6.$inject=["eventBus","bpmnjs"];const F6=(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 V6(e){e&&e.forEach((e=>{e.detail=e.type,V6(e.entries)}))}function H6(e){const t={...e};return t.entries&&(t.entries=t.entries.map(H6)),t}class U6 extends AT{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 U6||(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 W6(e){const t=[];return e.forEach((e=>{e.origin.forEach((n=>{const r=function(e,t){const n=N6(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=G6(o),a=Q6(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:X6(r)},o=[];n.forEach((({variable:e,expression:t})=>{const n=G6(t,function(e,t){const n={entries:{}},r=t.origin.flatMap((e=>[e,...z6(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 U6||(r=U6.of(r)),r.scope=e.scope,i.entries[e.name]=r,o.push({newVariable:Z6({[e.name]:r})[0],oldVariable:e})}));return o.map((({newVariable:e,oldVariable:t})=>t?{...e,...t}:e))}(t,e)}function G6(e,t={}){const n=jT(t,U6);let r=null;const i=new Zk({start:n.start,reduce(...e){const t=n.reduce(...e);return r=t,t}});return $T.configure({contextTracker:i}).parse(e),r}function Q6(e){const t=[];return t.push(...e.children.flatMap(Q6)),"VariableName"!==e.name||e.value||t.push(e.raw),t}function X6(e){if(!e)return;const t={};return e.forEach((e=>{t[e.name]={...e},t[e.name].entries=X6(e.entries)})),t}function Z6(e){if(!e)return;const t=[];for(const n in e){let r=e[n];r instanceof U6&&(r=r.value),r?t.push({...Y6(r),entries:Z6(r.entries),name:n,scope:r.scope}):t.push({name:n})}return t}function Y6(e){return{...e,type:K6(e),info:J6(e)}}function K6(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 J6(e){return e?e.info?e.info:e.atomicValue?""+e.atomicValue:"":""}class e7{constructor(e){this._variableResolver=e,this.register()}getVariables(e){}register(){this._variableResolver.registerProvider(this)}}e7.$inject=["variableResolver"];const t7={__init__:["variableResolver","connectorVariableProvider"],variableResolver:["type",class extends B6{constructor(e,t){super(e,t),this._baseExtractor=uG,e.on("variableResolver.parseVariables",2e3,this._resolveIoMappings)}async getVariablesForElement(e,t){const n=await super.getVariablesForElement(e),r=Ti(e);if(!t)return n;const i=R6(r);if(!i)return n;const o=[];if(Si(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(Si(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||(!(!Si(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=W6(t);r[e]=[...t,...i]}t.variables=r}}],connectorVariableProvider:["type",class extends e7{getVariables(e){const t=[],n=N6(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=Z6(G6(o.value.substring(1)).computedValue());e&&e.length>0&&t.push(...e[0].entries)}return t}}]},n7="camundaModeler:exampleOutputJson";function r7(e){const t=i7(e,n7);if(t)return t.get("value")}function i7(e,t){const n=function(e,t){const n=Ti(e);let r=[];const i=n.get("extensionElements");if(void 0!==i){const e=i.get("values");void 0!==e&&(r=e.filter((e=>Si(e,t))))}return r}(e,"zeebe:Properties");if(0===n.length)return;return n[0].get("properties").find((e=>e.get("name")===t))}function o7(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=o7(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=o7(n),r)}))}var s7={__init__:["exampleProvider"],exampleProvider:["type",class extends e7{getVariables(e){const t=r7(e);if(!t)return;const n=function(e){try{const t=JSON.parse(e);return o7(t)}catch(e){return[]}}(t);return n}}]};const a7=e=>{const{element:t}=e,n=TG("debounceInput"),r=TG("translate"),i=TG("commandStack"),o=TG("moddle"),s=TG("injector");return dW({element:t,label:r("Example output"),description:gl`
|
|
178
178
|
<a href="https://docs.camunda.io/docs/components/modeler/data-handling/" target="_blank" rel="noopener" title=${r("Example Data documentation")}>
|
|
179
179
|
${r("About example data")}
|
|
180
|
-
</a>`,id:"exampleJson",getValue:()=>r7(t),setValue:e=>{const n=[],{commands:r,zeebeProperties:a}=l7(t,s);n.push(...r);const l=i7(t,n7);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:p7(a.get("properties"))}}}):n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{properties:[...a.get("properties"),c7(e,o)]}}}),i.execute("properties-panel.multi-command-executor",n)},debounce:n,validate:e=>{if(e)try{JSON.parse(e)}catch(e){return e.message}},monospace:!0})},l7=(e,t)=>{const n=[],r=Ti(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 c7(e,t){return t.create("zeebe:Property",{name:n7,value:e})}function p7(e){return e.filter((e=>e.get("name")!==n7))}class u7{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:a7,isEdited:fW}],component:KH};return e.push(n),e}}}u7.$inject=["propertiesPanel","injector"];var h7={__depends__:[s7,{__init__:["dataPropertiesProvider"],dataPropertiesProvider:["type",u7]}]},d7=1e6,f7=1e6,m7="[big.js] ",g7=m7+"Invalid ",y7=g7+"decimal places",v7=g7+"rounding mode",b7=m7+"Division by zero",w7={},x7=void 0,_7=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function k7(e,t,n,r){var i=e.c;if(n===x7&&(n=e.constructor.RM),0!==n&&1!==n&&2!==n&&3!==n)throw Error(v7);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]!==x7))),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]!==x7||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 E7(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}w7.abs=function(){var e=new this.constructor(this);return e.s=1,e},w7.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},w7.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>d7)throw Error(y7);if(!i[0])throw Error(b7);if(!r[0])return e.s=o,e.c=[e.e=0],e;var a,l,c,p,u,h=i.slice(),d=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,h.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:h;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[d]||0:m=[r[d]]}while((d++<f||m[0]!==x7)&&o--);return v[0]||1==b||(v.shift(),y.e--,w--),b>w&&k7(y,w,n.RM,m[0]!==x7),y},w7.eq=function(e){return 0===this.cmp(e)},w7.gt=function(e){return this.cmp(e)>0},w7.gte=function(e){return this.cmp(e)>-1},w7.lt=function(e){return this.cmp(e)<0},w7.lte=function(e){return this.cmp(e)<1},w7.minus=w7.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,h=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-h){for((i=a<0)?(a=-a,r=c):(h=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(),--h;return c[0]||(e.s=1,c=[h=0]),e.c=c,e.e=h,e},w7.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(b7);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)))},w7.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},w7.plus=w7.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},w7.pow=function(e){var t=this,n=new t.constructor("1"),r=n,i=e<0;if(e!==~~e||e<-1e6||e>f7)throw Error(g7+"exponent");for(i&&(e=-e);1&e&&(r=r.times(t)),e>>=1;)t=t.times(t);return i?n.div(r):r},w7.prec=function(e,t){if(e!==~~e||e<1||e>d7)throw Error(g7+"precision");return k7(new this.constructor(this),e,t)},w7.round=function(e,t){if(e===x7)e=0;else if(e!==~~e||e<-d7||e>d7)throw Error(y7);return k7(new this.constructor(this),e+this.e+1,t)},w7.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(m7+"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 k7(e,(i.DP-=4)+e.e+1,i.RM)},w7.times=w7.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},w7.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==x7){if(e!==~~e||e<0||e>d7)throw Error(y7);for(n=k7(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return E7(n,!0,!!r)},w7.toFixed=function(e,t){var n=this,r=n.c[0];if(e!==x7){if(e!==~~e||e<0||e>d7)throw Error(y7);for(e=e+(n=k7(new n.constructor(n),e+n.e+1,t)).e+1;n.c.length<e;)n.c.push(0)}return E7(n,!1,!!r)},w7[Symbol.for("nodejs.util.inspect.custom")]=w7.toJSON=w7.toString=function(){var e=this,t=e.constructor;return E7(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},w7.toNumber=function(){var e=Number(E7(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(m7+"Imprecise conversion");return e},w7.toPrecision=function(e,t){var n=this,r=n.constructor,i=n.c[0];if(e!==x7){if(e!==~~e||e<1||e>d7)throw Error(g7+"precision");for(n=k7(new r(n),e,t);n.c.length<e;)n.c.push(0)}return E7(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!i)},w7.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(m7+"valueOf disallowed");return E7(e,e.e<=t.NE||e.e>=t.PE,!0)};var O7=function e(){function t(n){var r=this;if(!(r instanceof t))return n===x7?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(g7+"value");n=0===n&&1/n<0?"-0":String(n)}!function(e,t){var n,r,i;if(!_7.test(t))throw Error(g7+"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=w7,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}(),P7=0;function S7(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:--P7,__source:i,__self:r};if("function"==typeof e&&(o=e.defaultProps))for(s in o)void 0===a[s]&&(a[s]=o[s]);return Ma.vnode&&Ma.vnode(l),l}var C7=function(){this.__data__=[],this.size=0};var T7=function(e,t){return e===t||e!=e&&t!=t},M7=T7;var A7=function(e,t){for(var n=e.length;n--;)if(M7(e[n][0],t))return n;return-1},D7=A7,N7=Array.prototype.splice;var R7=function(e){var t=this.__data__,n=D7(t,e);return!(n<0)&&(n==t.length-1?t.pop():N7.call(t,n,1),--this.size,!0)},j7=A7;var I7=function(e){var t=this.__data__,n=j7(t,e);return n<0?void 0:t[n][1]},L7=A7;var z7=A7;var B7=function(e,t){var n=this.__data__,r=z7(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},$7=C7,q7=R7,F7=I7,V7=function(e){return L7(this.__data__,e)>-1},H7=B7;function U7(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])}}U7.prototype.clear=$7,U7.prototype.delete=q7,U7.prototype.get=F7,U7.prototype.has=V7,U7.prototype.set=H7;var W7=U7,G7=W7;var Q7=function(){this.__data__=new G7,this.size=0};var X7=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var Z7=function(e){return this.__data__.get(e)};var Y7=function(e){return this.__data__.has(e)},K7="object"==typeof fw&&fw&&fw.Object===Object&&fw,J7=K7,e8="object"==typeof self&&self&&self.Object===Object&&self,t8=J7||e8||Function("return this")(),n8=t8.Symbol,r8=n8,i8=Object.prototype,o8=i8.hasOwnProperty,s8=i8.toString,a8=r8?r8.toStringTag:void 0;var l8=function(e){var t=o8.call(e,a8),n=e[a8];try{e[a8]=void 0;var r=!0}catch(e){}var i=s8.call(e);return r&&(t?e[a8]=n:delete e[a8]),i},c8=Object.prototype.toString;var p8=l8,u8=function(e){return c8.call(e)},h8=n8?n8.toStringTag:void 0;var d8=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":h8&&h8 in Object(e)?p8(e):u8(e)};var f8=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},m8=d8,g8=f8;var y8,v8=function(e){if(!g8(e))return!1;var t=m8(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},b8=t8["__core-js_shared__"],w8=(y8=/[^.]+$/.exec(b8&&b8.keys&&b8.keys.IE_PROTO||""))?"Symbol(src)_1."+y8:"";var x8=function(e){return!!w8&&w8 in e},_8=Function.prototype.toString;var k8=function(e){if(null!=e){try{return _8.call(e)}catch(e){}try{return e+""}catch(e){}}return""},E8=v8,O8=x8,P8=f8,S8=k8,C8=/^\[object .+?Constructor\]$/,T8=Function.prototype,M8=Object.prototype,A8=T8.toString,D8=M8.hasOwnProperty,N8=RegExp("^"+A8.call(D8).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var R8=function(e){return!(!P8(e)||O8(e))&&(E8(e)?N8:C8).test(S8(e))},j8=function(e,t){return null==e?void 0:e[t]};var I8=function(e,t){var n=j8(e,t);return R8(n)?n:void 0},L8=I8(t8,"Map"),z8=I8(Object,"create"),B8=z8;var $8=function(){this.__data__=B8?B8(null):{},this.size=0};var q8=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},F8=z8,V8=Object.prototype.hasOwnProperty;var H8=function(e){var t=this.__data__;if(F8){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return V8.call(t,e)?t[e]:void 0},U8=z8,W8=Object.prototype.hasOwnProperty;var G8=z8;var Q8=$8,X8=q8,Z8=H8,Y8=function(e){var t=this.__data__;return U8?void 0!==t[e]:W8.call(t,e)},K8=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=G8&&void 0===t?"__lodash_hash_undefined__":t,this};function J8(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])}}J8.prototype.clear=Q8,J8.prototype.delete=X8,J8.prototype.get=Z8,J8.prototype.has=Y8,J8.prototype.set=K8;var e9=J8,t9=W7,n9=L8;var r9=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},i9=r9;var o9=function(e,t){var n=e.__data__;return i9(t)?n["string"==typeof t?"string":"hash"]:n.map},s9=o9;var a9=o9;var l9=o9;var c9=o9;var p9=function(e,t){var n=c9(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},u9=function(){this.size=0,this.__data__={hash:new e9,map:new(n9||t9),string:new e9}},h9=function(e){var t=s9(this,e).delete(e);return this.size-=t?1:0,t},d9=function(e){return a9(this,e).get(e)},f9=function(e){return l9(this,e).has(e)},m9=p9;function g9(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])}}g9.prototype.clear=u9,g9.prototype.delete=h9,g9.prototype.get=d9,g9.prototype.has=f9,g9.prototype.set=m9;var y9=g9,v9=W7,b9=L8,w9=y9;var x9=W7,_9=Q7,k9=X7,E9=Z7,O9=Y7,P9=function(e,t){var n=this.__data__;if(n instanceof v9){var r=n.__data__;if(!b9||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new w9(r)}return n.set(e,t),this.size=n.size,this};function S9(e){var t=this.__data__=new x9(e);this.size=t.size}S9.prototype.clear=_9,S9.prototype.delete=k9,S9.prototype.get=E9,S9.prototype.has=O9,S9.prototype.set=P9;var C9=S9;var T9=y9,M9=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},A9=function(e){return this.__data__.has(e)};function D9(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new T9;++t<n;)this.add(e[t])}D9.prototype.add=D9.prototype.push=M9,D9.prototype.has=A9;var N9=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 R9=D9,j9=N9,I9=function(e,t){return e.has(t)};var L9=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,h=!0,d=2&n?new R9: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;h=!1;break}if(d){if(!j9(t,(function(e,t){if(!I9(d,t)&&(f===e||i(f,e,n,r,o)))return d.push(t)}))){h=!1;break}}else if(f!==m&&!i(f,m,n,r,o)){h=!1;break}}return o.delete(e),o.delete(t),h};var z9=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var B9=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},$9=t8.Uint8Array,q9=T7,F9=L9,V9=z9,H9=B9,U9=n8?n8.prototype:void 0,W9=U9?U9.valueOf:void 0;var G9=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 $9(e),new $9(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return q9(+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=V9;case"[object Set]":var l=1&r;if(a||(a=H9),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=F9(a(e),a(t),r,i,o,s);return s.delete(e),p;case"[object Symbol]":if(W9)return W9.call(e)==W9.call(t)}return!1};var Q9=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},X9=Array.isArray,Z9=Q9,Y9=X9;var K9=function(e,t,n){var r=t(e);return Y9(e)?r:Z9(r,n(e))};var J9=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 eee=J9,tee=function(){return[]},nee=Object.prototype.propertyIsEnumerable,ree=Object.getOwnPropertySymbols,iee=ree?function(e){return null==e?[]:(e=Object(e),eee(ree(e),(function(t){return nee.call(e,t)})))}:tee;var oee=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var see=function(e){return null!=e&&"object"==typeof e},aee=d8,lee=see;var cee=function(e){return lee(e)&&"[object Arguments]"==aee(e)},pee=see,uee=Object.prototype,hee=uee.hasOwnProperty,dee=uee.propertyIsEnumerable,fee=cee(function(){return arguments}())?cee:function(e){return pee(e)&&hee.call(e,"callee")&&!dee.call(e,"callee")},mee=fee,gee={exports:{}};var yee=function(){return!1};!function(e,t){var n=t8,r=yee,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}(gee,gee.exports);var vee=gee.exports,bee=/^(?:0|[1-9]\d*)$/;var wee=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&bee.test(e))&&e>-1&&e%1==0&&e<t};var xee=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},_ee=d8,kee=xee,Eee=see,Oee={};Oee["[object Float32Array]"]=Oee["[object Float64Array]"]=Oee["[object Int8Array]"]=Oee["[object Int16Array]"]=Oee["[object Int32Array]"]=Oee["[object Uint8Array]"]=Oee["[object Uint8ClampedArray]"]=Oee["[object Uint16Array]"]=Oee["[object Uint32Array]"]=!0,Oee["[object Arguments]"]=Oee["[object Array]"]=Oee["[object ArrayBuffer]"]=Oee["[object Boolean]"]=Oee["[object DataView]"]=Oee["[object Date]"]=Oee["[object Error]"]=Oee["[object Function]"]=Oee["[object Map]"]=Oee["[object Number]"]=Oee["[object Object]"]=Oee["[object RegExp]"]=Oee["[object Set]"]=Oee["[object String]"]=Oee["[object WeakMap]"]=!1;var Pee=function(e){return Eee(e)&&kee(e.length)&&!!Oee[_ee(e)]};var See=function(e){return function(t){return e(t)}},Cee={exports:{}};!function(e,t){var n=K7,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}(Cee,Cee.exports);var Tee=Cee.exports,Mee=Pee,Aee=See,Dee=Tee&&Tee.isTypedArray,Nee=Dee?Aee(Dee):Mee,Ree=oee,jee=mee,Iee=X9,Lee=vee,zee=wee,Bee=Nee,$ee=Object.prototype.hasOwnProperty;var qee=function(e,t){var n=Iee(e),r=!n&&jee(e),i=!n&&!r&&Lee(e),o=!n&&!r&&!i&&Bee(e),s=n||r||i||o,a=s?Ree(e.length,String):[],l=a.length;for(var c in e)!t&&!$ee.call(e,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||zee(c,l))||a.push(c);return a},Fee=Object.prototype;var Vee=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Fee)};var Hee=function(e,t){return function(n){return e(t(n))}},Uee=Hee(Object.keys,Object),Wee=Vee,Gee=Uee,Qee=Object.prototype.hasOwnProperty;var Xee=v8,Zee=xee;var Yee=qee,Kee=function(e){if(!Wee(e))return Gee(e);var t=[];for(var n in Object(e))Qee.call(e,n)&&"constructor"!=n&&t.push(n);return t},Jee=function(e){return null!=e&&Zee(e.length)&&!Xee(e)};var ete=K9,tte=iee,nte=function(e){return Jee(e)?Yee(e):Kee(e)};var rte=function(e){return ete(e,nte,tte)},ite=Object.prototype.hasOwnProperty;var ote=function(e,t,n,r,i,o){var s=1&n,a=rte(e),l=a.length;if(l!=rte(t).length&&!s)return!1;for(var c=l;c--;){var p=a[c];if(!(s?p in t:ite.call(t,p)))return!1}var u=o.get(e),h=o.get(t);if(u&&h)return u==t&&h==e;var d=!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)){d=!1;break}f||(f="constructor"==p)}if(d&&!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||(d=!1)}return o.delete(e),o.delete(t),d},ste=I8(t8,"DataView"),ate=L8,lte=I8(t8,"Promise"),cte=I8(t8,"Set"),pte=I8(t8,"WeakMap"),ute=d8,hte=k8,dte="[object Map]",fte="[object Promise]",mte="[object Set]",gte="[object WeakMap]",yte="[object DataView]",vte=hte(ste),bte=hte(ate),wte=hte(lte),xte=hte(cte),_te=hte(pte),kte=ute;(ste&&kte(new ste(new ArrayBuffer(1)))!=yte||ate&&kte(new ate)!=dte||lte&&kte(lte.resolve())!=fte||cte&&kte(new cte)!=mte||pte&&kte(new pte)!=gte)&&(kte=function(e){var t=ute(e),n="[object Object]"==t?e.constructor:void 0,r=n?hte(n):"";if(r)switch(r){case vte:return yte;case bte:return dte;case wte:return fte;case xte:return mte;case _te:return gte}return t});var Ete=C9,Ote=L9,Pte=G9,Ste=ote,Cte=kte,Tte=X9,Mte=vee,Ate=Nee,Dte="[object Arguments]",Nte="[object Array]",Rte="[object Object]",jte=Object.prototype.hasOwnProperty;var Ite=function(e,t,n,r,i,o){var s=Tte(e),a=Tte(t),l=s?Nte:Cte(e),c=a?Nte:Cte(t),p=(l=l==Dte?Rte:l)==Rte,u=(c=c==Dte?Rte:c)==Rte,h=l==c;if(h&&Mte(e)){if(!Mte(t))return!1;s=!0,p=!1}if(h&&!p)return o||(o=new Ete),s||Ate(e)?Ote(e,t,n,r,i,o):Pte(e,t,l,n,r,i,o);if(!(1&n)){var d=p&&jte.call(e,"__wrapped__"),f=u&&jte.call(t,"__wrapped__");if(d||f){var m=d?e.value():e,g=f?t.value():t;return o||(o=new Ete),i(m,g,n,r,o)}}return!!h&&(o||(o=new Ete),Ste(e,t,n,r,i,o))},Lte=see;var zte=function e(t,n,r,i,o){return t===n||(null==t||null==n||!Lte(t)&&!Lte(n)?t!=t&&n!=n:Ite(t,n,r,i,e,o))},Bte=zte;var $te=mw((function(e,t){return Bte(e,t)})),qte=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Fte={_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},Vte={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},Hte=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},Ute=function(e){return!0===e?1:0};function Wte(e,t){var n;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout((function(){return e.apply(r,i)}),t)}}var Gte=function(e){return e instanceof Array?e:[e]};function Qte(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function Xte(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 Zte(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Yte(e,t){return t(e)?e:e.parentNode?Yte(e.parentNode,t):void 0}function Kte(e,t){var n=Xte("div","numInputWrapper"),r=Xte("input","numInput "+e),i=Xte("span","arrowUp"),o=Xte("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 Jte(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(t){return e.target}}var ene=function(){},tne=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},nne={D:ene,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*Ute(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:ene,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:ene,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},rne={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})"},ine={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[ine.w(e,t,n)]},F:function(e,t,n){return tne(ine.n(e,t,n)-1,!1,t)},G:function(e,t,n){return Hte(ine.h(e,t,n))},H:function(e){return Hte(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[Ute(e.getHours()>11)]},M:function(e,t){return tne(e.getMonth(),!0,t)},S:function(e){return Hte(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return Hte(e.getFullYear(),4)},d:function(e){return Hte(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return Hte(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return Hte(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)}},one=function(e){var t=e.config,n=void 0===t?Fte:t,r=e.l10n,i=void 0===r?Vte: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 ine[t]&&"\\"!==i[r-1]?ine[t](e,o,n):"\\"!==t?t:""})).join(""):n.formatDate(e,t,o)}},sne=function(e){var t=e.config,n=void 0===t?Fte:t,r=e.l10n,i=void 0===r?Vte: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||Fte).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,h=[],d=0,f=0,m="";d<c.length;d++){var g=c[d],y="\\"===g,v="\\"===c[d-1]||y;if(rne[g]&&!v){m+=rne[g];var b=new RegExp(m).exec(e);b&&(u=!0)&&h["Y"!==g?"push":"unshift"]({fn:nne[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),h.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 ane(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 lne=function(e,t,n){return e>Math.min(t,n)&&e<Math.max(t,n)},cne=function(e,t,n){return 3600*e+60*t+n},pne=function(e){var t=Math.floor(e/3600),n=(e-3600*t)/60;return[t,n,e-3600*t-60*n]},une={DAY:864e5};function hne(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 dne=function(){return dne=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},dne.apply(this,arguments)},fne=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},mne=300;function gne(e,t){var n={config:dne(dne({},Fte),vne.defaultConfig),l10n:Vte};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||ane(new Date,n.config.minDate)>=0?new Date:new Date(n.config.minDate.getTime()),r=hne(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=Jte(e),i=r;void 0!==n.amPM&&r===n.amPM&&(n.amPM.textContent=n.l10n.amPM[Ute(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,h=i===n.minuteElement;p<o?(p=s+p+Ute(!u)+(Ute(u)&&Ute(!n.amPM)),h&&m(void 0,-1,n.hourElement)):p>s&&(p=i===n.hourElement?p-s-Ute(!n.amPM):o,h&&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[Ute(n.amPM.textContent===n.l10n.amPM[0])]),i.value=Hte(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*Ute(t===n.l10n.amPM[1]));var s=void 0!==n.config.minTime||n.config.minDate&&n.minDateHasTime&&n.latestSelectedDateObj&&0===ane(n.latestSelectedDateObj,n.config.minDate,!0),a=void 0!==n.config.maxTime||n.config.maxDate&&n.maxDateHasTime&&n.latestSelectedDateObj&&0===ane(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=cne(n.config.minTime.getHours(),n.config.minTime.getMinutes(),n.config.minTime.getSeconds()),p=cne(n.config.maxTime.getHours(),n.config.maxTime.getMinutes(),n.config.maxTime.getSeconds()),u=cne(r,i,o);if(u>p&&u<l){var h=pne(l);r=h[0],i=h[1],o=h[2]}}else{if(a){var d=void 0!==n.config.maxTime?n.config.maxTime:n.config.maxDate;(r=Math.min(r,d.getHours()))===d.getHours()&&(i=Math.min(i,d.getMinutes())),i===d.getMinutes()&&(o=Math.min(o,d.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=Hte(n.config.time_24hr?e:(12+e)%12+12*Ute(e%12==0)),n.minuteElement.value=Hte(t),void 0!==n.amPM&&(n.amPM.textContent=n.l10n.amPM[Ute(e>=12)]),void 0!==n.secondElement&&(n.secondElement.value=Hte(r)))}function p(e){var t=Jte(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 h(){Q("onChange")}function d(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=Jte(e);~t.className.indexOf("arrow")&&m(e,t.classList.contains("arrowUp")?1:-1)}function m(e,t,n){var r=e&&Jte(e),i=n||r&&r.parentNode&&r.parentNode.firstChild,o=X("increment");o.delta=t,i&&i.dispatchEvent(o)}function g(e,t,r,i){var o=A(t,!0),s=Xte("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===ane(t,n.now)&&(n.todayDateElem=s,s.classList.add("today"),s.setAttribute("aria-current","date")),o?(s.tabIndex=-1,Z(t)&&(s.classList.add("selected"),n.selectedDateElem=s,"range"===n.config.mode&&(Qte(s,"startRange",n.selectedDates[0]&&0===ane(t,n.selectedDates[0],!0)),Qte(s,"endRange",n.selectedDates[1]&&0===ane(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)&&(ane(e,n.selectedDates[0])>=0&&ane(e,n.selectedDates[1])<=0)}(t)&&!Z(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 h=o+1;h<=42-r&&(1===n.config.showMonths||u%7!=0);h++,u++)s.appendChild(g("flatpickr-day "+c,new Date(e,t+1,h%o),0,u));var d=Xte("div","dayContainer");return d.appendChild(s),d}function x(){if(void 0!==n.daysContainer){Zte(n.daysContainer),n.weekNumbers&&Zte(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=Xte("option","flatpickr-monthDropdown-month");r.value=new Date(n.currentYear,t).getMonth().toString(),r.textContent=tne(t,n.config.shorthandCurrentMonth,n.l10n),r.tabIndex=-1,n.currentMonth===t&&(r.selected=!0),n.monthsDropdownContainer.appendChild(r)}}}function k(){var e,t=Xte("div","flatpickr-month"),r=window.document.createDocumentFragment();n.config.showMonths>1||"static"===n.config.monthSelectorType?e=Xte("span","cur-month"):(n.monthsDropdownContainer=Xte("select","flatpickr-monthDropdown-months"),n.monthsDropdownContainer.setAttribute("aria-label",n.l10n.monthAriaLabel),u(n.monthsDropdownContainer,"change",(function(e){var t=Jte(e),r=parseInt(t.value,10);n.changeMonth(r-n.currentMonth),Q("onMonthChange")})),_(),e=n.monthsDropdownContainer);var i=Kte("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=Xte("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(){Zte(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?Zte(n.weekdayContainer):n.weekdayContainer=Xte("div","flatpickr-weekdays");for(var e=n.config.showMonths;e--;){var t=Xte("div","flatpickr-weekdaycontainer");n.weekdayContainer.appendChild(t)}return P(),n.weekdayContainer}function P(){if(n.weekdayContainer){var e=n.l10n.firstDayOfWeek,t=fne(n.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=fne(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=Jte(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&&ane(i,n.config.minDate,void 0!==t?t:!n.minDateHasTime)<0||n.config.maxDate&&i&&ane(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=Jte(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 h=r();if(void 0!==n.daysContainer&&(!1===l||h&&D(h))){var d=39===t.keyCode?1:-1;t.ctrlKey?(t.stopPropagation(),S(d),b(v(1),0)):b(void 0,d)}}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+=une.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)&&lne(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 z(){return n.config.wrap?e.querySelector("[data-input]"):e}function B(){"object"!=typeof n.config.locale&&void 0===vne.l10ns[n.config.locale]&&n.config.errorHandler(new Error("flatpickr: invalid locale "+n.config.locale)),n.l10n=dne(dne({},vne.l10ns.default),"object"==typeof n.config.locale?n.config.locale:"default"!==n.config.locale?vne.l10ns[n.config.locale]:void 0),rne.D="("+n.l10n.weekdays.shorthand.join("|")+")",rne.l="("+n.l10n.weekdays.longhand.join("|")+")",rne.M="("+n.l10n.months.shorthand.join("|")+")",rne.F="("+n.l10n.months.longhand.join("|")+")",rne.K="("+n.l10n.amPM[0]+"|"+n.l10n.amPM[1]+"|"+n.l10n.amPM[0].toLowerCase()+"|"+n.l10n.amPM[1].toLowerCase()+")",void 0===dne(dne({},t),JSON.parse(JSON.stringify(e.dataset||{}))).time_24hr&&void 0===vne.defaultConfig.time_24hr&&(n.config.time_24hr=n.l10n.time_24hr),n.formatDate=one(n),n.parseDate=sne({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(Qte(n.calendarContainer,"arrowTop",!p),Qte(n.calendarContainer,"arrowBottom",p),!n.config.inline){var h=window.pageXOffset+l.left,d=!1,f=!1;"center"===a?(h-=(i-l.width)/2,d=!0):"right"===a&&(h-=i-l.width,f=!0),Qte(n.calendarContainer,"arrowLeft",!d&&!f),Qte(n.calendarContainer,"arrowCenter",d),Qte(n.calendarContainer,"arrowRight",f);var m=window.document.body.offsetWidth-(window.pageXOffset+l.right),g=h+i>window.document.body.offsetWidth,y=m+i>window.document.body.offsetWidth;if(Qte(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;}";Qte(n.calendarContainer,"rightMost",!1),Qte(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=h+"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=Yte(Jte(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=Z(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!==ane(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()}h()}}n.parseDate=sne({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=hne(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=Xte,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=d,n.updateValue=J,n.open=function(e,t){void 0===t&&(t=n._positionElement);if(!0===n.isMobile){if(e){e.preventDefault();var r=Jte(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()})):qte.indexOf(e)>-1&&(n.config[e]=Gte(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(),d(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:[B,P],showMonths:[E,o,O],minDate:[d],maxDate:[d],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(X("change")),n.input.dispatchEvent(X("input")))}}function X(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function Z(e){for(var t=0;t<n.selectedDates.length;t++){var r=n.selectedDates[t];if(r instanceof Date&&0===ane(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=tne(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=Jte(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=dne(dne({},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=vne.defaultConfig.dateFormat||Fte.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=vne.defaultConfig.altFormat||Fte.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]];qte.filter((function(e){return void 0!==n.config[e]})).forEach((function(e){n.config[e]=Gte(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 h=n.config.plugins[u](n)||{};for(var d in h)qte.indexOf(d)>-1?n.config[d]=Gte(h[d]).map(i).concat(n.config[d]):void 0===o[d]&&(n.config[d]=h[d])}o.altInputClass||(n.config.altInputClass=z().className+" "+n.config.altInputClass);Q("onParseConfig")}(),B(),function(){if(n.input=z(),!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=Xte(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=Xte("div","flatpickr-calendar"),n.calendarContainer.tabIndex=-1,!n.config.noCalendar){if(e.appendChild((n.monthNav=Xte("div","flatpickr-months"),n.yearElements=[],n.monthElements=[],n.prevMonthNav=Xte("span","flatpickr-prev-month"),n.prevMonthNav.innerHTML=n.config.prevArrow,n.nextMonthNav=Xte("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&&(Qte(n.prevMonthNav,"flatpickr-disabled",e),n.__hidePrevMonthArrow=e)}}),Object.defineProperty(n,"_hideNextMonthArrow",{get:function(){return n.__hideNextMonthArrow},set:function(e){n.__hideNextMonthArrow!==e&&(Qte(n.nextMonthNav,"flatpickr-disabled",e),n.__hideNextMonthArrow=e)}}),n.currentYearElement=n.yearElements[0],Y(),n.monthNav)),n.innerContainer=Xte("div","flatpickr-innerContainer"),n.config.weekNumbers){var t=function(){n.calendarContainer.classList.add("hasWeeks");var e=Xte("div","flatpickr-weekwrapper");e.appendChild(Xte("span","flatpickr-weekday",n.l10n.weekAbbreviation));var t=Xte("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=Xte("div","flatpickr-rContainer"),n.rContainer.appendChild(O()),n.daysContainer||(n.daysContainer=Xte("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=hne(n.config);n.timeContainer=Xte("div","flatpickr-time"),n.timeContainer.tabIndex=-1;var t=Xte("span","flatpickr-time-separator",":"),r=Kte("flatpickr-hour",{"aria-label":n.l10n.hourAriaLabel});n.hourElement=r.getElementsByTagName("input")[0];var i=Kte("flatpickr-minute",{"aria-label":n.l10n.minuteAriaLabel});n.minuteElement=i.getElementsByTagName("input")[0],n.hourElement.tabIndex=n.minuteElement.tabIndex=-1,n.hourElement.value=Hte(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=Hte(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=Kte("flatpickr-second");n.secondElement=o.getElementsByTagName("input")[0],n.secondElement.value=Hte(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(Xte("span","flatpickr-time-separator",":")),n.timeContainer.appendChild(o)}n.config.time_24hr||(n.amPM=Xte("span","flatpickr-am-pm",n.l10n.amPM[Ute((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}());Qte(n.calendarContainer,"rangeMode","range"===n.config.mode),Qte(n.calendarContainer,"animate",!0===n.config.animate),Qte(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=Xte("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=Xte("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(Jte(e).value,!1,n.mobileFormatStr),Q("onChange"),Q("onClose")}))}();var e=Wte(I,50);n._debouncedChange=Wte(h,mne),n.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&u(n.daysContainer,"mouseover",(function(e){"range"===n.config.mode&&j(Jte(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 Jte(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 yne(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=gne(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 yne(this,e)},HTMLElement.prototype.flatpickr=function(e){return yne([this],e)});var vne=function(e,t){return"string"==typeof e?yne(window.document.querySelectorAll(e),t):e instanceof Node?yne([e],t):yne(e,t)};function bne(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 wne(e){this.props=e}vne.defaultConfig={},vne.l10ns={en:dne({},Vte),default:dne({},Vte)},vne.localize=function(e){vne.l10ns.default=dne(dne({},vne.l10ns.default),e)},vne.setDefaults=function(e){vne.defaultConfig=dne(dne({},vne.defaultConfig),e)},vne.parseDate=sne({}),vne.formatDate=one({}),vne.compareDates=ane,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return yne(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=vne),(wne.prototype=new Ha).isPureReactComponent=!0,wne.prototype.shouldComponentUpdate=function(e,t){return bne(this.props,e)||bne(this.state,t)};var xne=Ma.__b;Ma.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),xne&&xne(e)};var _ne=Ma.__e;Ma.__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);_ne(e,t,n,r)};var kne=Ma.unmount;function Ene(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 Ene(e,t,n)}))),e}function One(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return One(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 Pne(){this.__u=0,this.t=null,this.__b=null}function Sne(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Cne(){this.u=null,this.o=null}Ma.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),kne&&kne(e)},(Pne.prototype=new Ha).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=Sne(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]=One(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)},Pne.prototype.componentWillUnmount=function(){this.t=[]},Pne.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]=Ene(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&qa(Va,null,e.fallback);return i&&(i.__h=null),[qa(Va,null,t.__a?null:e.children),i]};var Tne=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]}};(Cne.prototype=new Ha).__a=function(e){var t=this,n=Sne(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Tne(t,e,r)):i()};n?n(o):o()}},Cne.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ya(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},Cne.prototype.componentDidUpdate=Cne.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Tne(e,n,t)}))};var Mne="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ane=/^(?: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]/,Dne="undefined"!=typeof document,Nne=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};Ha.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(Ha.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Rne=Ma.event;function jne(){}function Ine(){return this.cancelBubble}function Lne(){return this.defaultPrevented}Ma.event=function(e){return Rne&&(e=Rne(e)),e.persist=jne,e.isPropagationStopped=Ine,e.isDefaultPrevented=Lne,e.nativeEvent=e};var zne={configurable:!0,get:function(){return this.class}},Bne=Ma.vnode;Ma.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];Dne&&"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)&&!Nne(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&&Ane.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=Ya(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=Ya(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&&(zne.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",zne))}e.$$typeof=Mne,Bne&&Bne(e)};var $ne=Ma.__r;Ma.__r=function(e){$ne&&$ne(e),e.__c};var qne={exports:{}};
|
|
180
|
+
</a>`,id:"exampleJson",getValue:()=>r7(t),setValue:e=>{const n=[],{commands:r,zeebeProperties:a}=l7(t,s);n.push(...r);const l=i7(t,n7);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:p7(a.get("properties"))}}}):n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{properties:[...a.get("properties"),c7(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})},l7=(e,t)=>{const n=[],r=Ti(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 c7(e,t){return t.create("zeebe:Property",{name:n7,value:e})}function p7(e){return e.filter((e=>e.get("name")!==n7))}class u7{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:a7,isEdited:fW}],component:KH};return e.push(n),e}}}u7.$inject=["propertiesPanel","injector"];var h7={__depends__:[s7,{__init__:["dataPropertiesProvider"],dataPropertiesProvider:["type",u7]}]},d7=1e6,f7=1e6,m7="[big.js] ",g7=m7+"Invalid ",y7=g7+"decimal places",v7=g7+"rounding mode",b7=m7+"Division by zero",w7={},x7=void 0,_7=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function k7(e,t,n,r){var i=e.c;if(n===x7&&(n=e.constructor.RM),0!==n&&1!==n&&2!==n&&3!==n)throw Error(v7);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]!==x7))),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]!==x7||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 E7(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}w7.abs=function(){var e=new this.constructor(this);return e.s=1,e},w7.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},w7.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>d7)throw Error(y7);if(!i[0])throw Error(b7);if(!r[0])return e.s=o,e.c=[e.e=0],e;var a,l,c,p,u,h=i.slice(),d=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,h.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:h;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[d]||0:m=[r[d]]}while((d++<f||m[0]!==x7)&&o--);return v[0]||1==b||(v.shift(),y.e--,w--),b>w&&k7(y,w,n.RM,m[0]!==x7),y},w7.eq=function(e){return 0===this.cmp(e)},w7.gt=function(e){return this.cmp(e)>0},w7.gte=function(e){return this.cmp(e)>-1},w7.lt=function(e){return this.cmp(e)<0},w7.lte=function(e){return this.cmp(e)<1},w7.minus=w7.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,h=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-h){for((i=a<0)?(a=-a,r=c):(h=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(),--h;return c[0]||(e.s=1,c=[h=0]),e.c=c,e.e=h,e},w7.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(b7);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)))},w7.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},w7.plus=w7.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},w7.pow=function(e){var t=this,n=new t.constructor("1"),r=n,i=e<0;if(e!==~~e||e<-1e6||e>f7)throw Error(g7+"exponent");for(i&&(e=-e);1&e&&(r=r.times(t)),e>>=1;)t=t.times(t);return i?n.div(r):r},w7.prec=function(e,t){if(e!==~~e||e<1||e>d7)throw Error(g7+"precision");return k7(new this.constructor(this),e,t)},w7.round=function(e,t){if(e===x7)e=0;else if(e!==~~e||e<-d7||e>d7)throw Error(y7);return k7(new this.constructor(this),e+this.e+1,t)},w7.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(m7+"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 k7(e,(i.DP-=4)+e.e+1,i.RM)},w7.times=w7.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},w7.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==x7){if(e!==~~e||e<0||e>d7)throw Error(y7);for(n=k7(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return E7(n,!0,!!r)},w7.toFixed=function(e,t){var n=this,r=n.c[0];if(e!==x7){if(e!==~~e||e<0||e>d7)throw Error(y7);for(e=e+(n=k7(new n.constructor(n),e+n.e+1,t)).e+1;n.c.length<e;)n.c.push(0)}return E7(n,!1,!!r)},w7[Symbol.for("nodejs.util.inspect.custom")]=w7.toJSON=w7.toString=function(){var e=this,t=e.constructor;return E7(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},w7.toNumber=function(){var e=Number(E7(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(m7+"Imprecise conversion");return e},w7.toPrecision=function(e,t){var n=this,r=n.constructor,i=n.c[0];if(e!==x7){if(e!==~~e||e<1||e>d7)throw Error(g7+"precision");for(n=k7(new r(n),e,t);n.c.length<e;)n.c.push(0)}return E7(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!i)},w7.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(m7+"valueOf disallowed");return E7(e,e.e<=t.NE||e.e>=t.PE,!0)};var O7=function e(){function t(n){var r=this;if(!(r instanceof t))return n===x7?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(g7+"value");n=0===n&&1/n<0?"-0":String(n)}!function(e,t){var n,r,i;if(!_7.test(t))throw Error(g7+"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=w7,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}(),P7=0;function S7(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:--P7,__source:i,__self:r};if("function"==typeof e&&(o=e.defaultProps))for(s in o)void 0===a[s]&&(a[s]=o[s]);return Ma.vnode&&Ma.vnode(l),l}var C7=function(){this.__data__=[],this.size=0};var T7=function(e,t){return e===t||e!=e&&t!=t},M7=T7;var A7=function(e,t){for(var n=e.length;n--;)if(M7(e[n][0],t))return n;return-1},D7=A7,N7=Array.prototype.splice;var R7=function(e){var t=this.__data__,n=D7(t,e);return!(n<0)&&(n==t.length-1?t.pop():N7.call(t,n,1),--this.size,!0)},j7=A7;var I7=function(e){var t=this.__data__,n=j7(t,e);return n<0?void 0:t[n][1]},L7=A7;var z7=A7;var B7=function(e,t){var n=this.__data__,r=z7(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},$7=C7,q7=R7,F7=I7,V7=function(e){return L7(this.__data__,e)>-1},H7=B7;function U7(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])}}U7.prototype.clear=$7,U7.prototype.delete=q7,U7.prototype.get=F7,U7.prototype.has=V7,U7.prototype.set=H7;var W7=U7,G7=W7;var Q7=function(){this.__data__=new G7,this.size=0};var X7=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var Z7=function(e){return this.__data__.get(e)};var Y7=function(e){return this.__data__.has(e)},K7="object"==typeof fw&&fw&&fw.Object===Object&&fw,J7=K7,e8="object"==typeof self&&self&&self.Object===Object&&self,t8=J7||e8||Function("return this")(),n8=t8.Symbol,r8=n8,i8=Object.prototype,o8=i8.hasOwnProperty,s8=i8.toString,a8=r8?r8.toStringTag:void 0;var l8=function(e){var t=o8.call(e,a8),n=e[a8];try{e[a8]=void 0;var r=!0}catch(e){}var i=s8.call(e);return r&&(t?e[a8]=n:delete e[a8]),i},c8=Object.prototype.toString;var p8=l8,u8=function(e){return c8.call(e)},h8=n8?n8.toStringTag:void 0;var d8=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":h8&&h8 in Object(e)?p8(e):u8(e)};var f8=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},m8=d8,g8=f8;var y8,v8=function(e){if(!g8(e))return!1;var t=m8(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},b8=t8["__core-js_shared__"],w8=(y8=/[^.]+$/.exec(b8&&b8.keys&&b8.keys.IE_PROTO||""))?"Symbol(src)_1."+y8:"";var x8=function(e){return!!w8&&w8 in e},_8=Function.prototype.toString;var k8=function(e){if(null!=e){try{return _8.call(e)}catch(e){}try{return e+""}catch(e){}}return""},E8=v8,O8=x8,P8=f8,S8=k8,C8=/^\[object .+?Constructor\]$/,T8=Function.prototype,M8=Object.prototype,A8=T8.toString,D8=M8.hasOwnProperty,N8=RegExp("^"+A8.call(D8).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var R8=function(e){return!(!P8(e)||O8(e))&&(E8(e)?N8:C8).test(S8(e))},j8=function(e,t){return null==e?void 0:e[t]};var I8=function(e,t){var n=j8(e,t);return R8(n)?n:void 0},L8=I8(t8,"Map"),z8=I8(Object,"create"),B8=z8;var $8=function(){this.__data__=B8?B8(null):{},this.size=0};var q8=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},F8=z8,V8=Object.prototype.hasOwnProperty;var H8=function(e){var t=this.__data__;if(F8){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return V8.call(t,e)?t[e]:void 0},U8=z8,W8=Object.prototype.hasOwnProperty;var G8=z8;var Q8=$8,X8=q8,Z8=H8,Y8=function(e){var t=this.__data__;return U8?void 0!==t[e]:W8.call(t,e)},K8=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=G8&&void 0===t?"__lodash_hash_undefined__":t,this};function J8(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])}}J8.prototype.clear=Q8,J8.prototype.delete=X8,J8.prototype.get=Z8,J8.prototype.has=Y8,J8.prototype.set=K8;var e9=J8,t9=W7,n9=L8;var r9=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},i9=r9;var o9=function(e,t){var n=e.__data__;return i9(t)?n["string"==typeof t?"string":"hash"]:n.map},s9=o9;var a9=o9;var l9=o9;var c9=o9;var p9=function(e,t){var n=c9(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},u9=function(){this.size=0,this.__data__={hash:new e9,map:new(n9||t9),string:new e9}},h9=function(e){var t=s9(this,e).delete(e);return this.size-=t?1:0,t},d9=function(e){return a9(this,e).get(e)},f9=function(e){return l9(this,e).has(e)},m9=p9;function g9(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])}}g9.prototype.clear=u9,g9.prototype.delete=h9,g9.prototype.get=d9,g9.prototype.has=f9,g9.prototype.set=m9;var y9=g9,v9=W7,b9=L8,w9=y9;var x9=W7,_9=Q7,k9=X7,E9=Z7,O9=Y7,P9=function(e,t){var n=this.__data__;if(n instanceof v9){var r=n.__data__;if(!b9||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new w9(r)}return n.set(e,t),this.size=n.size,this};function S9(e){var t=this.__data__=new x9(e);this.size=t.size}S9.prototype.clear=_9,S9.prototype.delete=k9,S9.prototype.get=E9,S9.prototype.has=O9,S9.prototype.set=P9;var C9=S9;var T9=y9,M9=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},A9=function(e){return this.__data__.has(e)};function D9(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new T9;++t<n;)this.add(e[t])}D9.prototype.add=D9.prototype.push=M9,D9.prototype.has=A9;var N9=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 R9=D9,j9=N9,I9=function(e,t){return e.has(t)};var L9=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,h=!0,d=2&n?new R9: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;h=!1;break}if(d){if(!j9(t,(function(e,t){if(!I9(d,t)&&(f===e||i(f,e,n,r,o)))return d.push(t)}))){h=!1;break}}else if(f!==m&&!i(f,m,n,r,o)){h=!1;break}}return o.delete(e),o.delete(t),h};var z9=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var B9=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},$9=t8.Uint8Array,q9=T7,F9=L9,V9=z9,H9=B9,U9=n8?n8.prototype:void 0,W9=U9?U9.valueOf:void 0;var G9=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 $9(e),new $9(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return q9(+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=V9;case"[object Set]":var l=1&r;if(a||(a=H9),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=F9(a(e),a(t),r,i,o,s);return s.delete(e),p;case"[object Symbol]":if(W9)return W9.call(e)==W9.call(t)}return!1};var Q9=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},X9=Array.isArray,Z9=Q9,Y9=X9;var K9=function(e,t,n){var r=t(e);return Y9(e)?r:Z9(r,n(e))};var J9=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 eee=J9,tee=function(){return[]},nee=Object.prototype.propertyIsEnumerable,ree=Object.getOwnPropertySymbols,iee=ree?function(e){return null==e?[]:(e=Object(e),eee(ree(e),(function(t){return nee.call(e,t)})))}:tee;var oee=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var see=function(e){return null!=e&&"object"==typeof e},aee=d8,lee=see;var cee=function(e){return lee(e)&&"[object Arguments]"==aee(e)},pee=see,uee=Object.prototype,hee=uee.hasOwnProperty,dee=uee.propertyIsEnumerable,fee=cee(function(){return arguments}())?cee:function(e){return pee(e)&&hee.call(e,"callee")&&!dee.call(e,"callee")},mee=fee,gee={exports:{}};var yee=function(){return!1};!function(e,t){var n=t8,r=yee,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}(gee,gee.exports);var vee=gee.exports,bee=/^(?:0|[1-9]\d*)$/;var wee=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&bee.test(e))&&e>-1&&e%1==0&&e<t};var xee=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},_ee=d8,kee=xee,Eee=see,Oee={};Oee["[object Float32Array]"]=Oee["[object Float64Array]"]=Oee["[object Int8Array]"]=Oee["[object Int16Array]"]=Oee["[object Int32Array]"]=Oee["[object Uint8Array]"]=Oee["[object Uint8ClampedArray]"]=Oee["[object Uint16Array]"]=Oee["[object Uint32Array]"]=!0,Oee["[object Arguments]"]=Oee["[object Array]"]=Oee["[object ArrayBuffer]"]=Oee["[object Boolean]"]=Oee["[object DataView]"]=Oee["[object Date]"]=Oee["[object Error]"]=Oee["[object Function]"]=Oee["[object Map]"]=Oee["[object Number]"]=Oee["[object Object]"]=Oee["[object RegExp]"]=Oee["[object Set]"]=Oee["[object String]"]=Oee["[object WeakMap]"]=!1;var Pee=function(e){return Eee(e)&&kee(e.length)&&!!Oee[_ee(e)]};var See=function(e){return function(t){return e(t)}},Cee={exports:{}};!function(e,t){var n=K7,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}(Cee,Cee.exports);var Tee=Cee.exports,Mee=Pee,Aee=See,Dee=Tee&&Tee.isTypedArray,Nee=Dee?Aee(Dee):Mee,Ree=oee,jee=mee,Iee=X9,Lee=vee,zee=wee,Bee=Nee,$ee=Object.prototype.hasOwnProperty;var qee=function(e,t){var n=Iee(e),r=!n&&jee(e),i=!n&&!r&&Lee(e),o=!n&&!r&&!i&&Bee(e),s=n||r||i||o,a=s?Ree(e.length,String):[],l=a.length;for(var c in e)!t&&!$ee.call(e,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||zee(c,l))||a.push(c);return a},Fee=Object.prototype;var Vee=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Fee)};var Hee=function(e,t){return function(n){return e(t(n))}},Uee=Hee(Object.keys,Object),Wee=Vee,Gee=Uee,Qee=Object.prototype.hasOwnProperty;var Xee=v8,Zee=xee;var Yee=qee,Kee=function(e){if(!Wee(e))return Gee(e);var t=[];for(var n in Object(e))Qee.call(e,n)&&"constructor"!=n&&t.push(n);return t},Jee=function(e){return null!=e&&Zee(e.length)&&!Xee(e)};var ete=K9,tte=iee,nte=function(e){return Jee(e)?Yee(e):Kee(e)};var rte=function(e){return ete(e,nte,tte)},ite=Object.prototype.hasOwnProperty;var ote=function(e,t,n,r,i,o){var s=1&n,a=rte(e),l=a.length;if(l!=rte(t).length&&!s)return!1;for(var c=l;c--;){var p=a[c];if(!(s?p in t:ite.call(t,p)))return!1}var u=o.get(e),h=o.get(t);if(u&&h)return u==t&&h==e;var d=!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)){d=!1;break}f||(f="constructor"==p)}if(d&&!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||(d=!1)}return o.delete(e),o.delete(t),d},ste=I8(t8,"DataView"),ate=L8,lte=I8(t8,"Promise"),cte=I8(t8,"Set"),pte=I8(t8,"WeakMap"),ute=d8,hte=k8,dte="[object Map]",fte="[object Promise]",mte="[object Set]",gte="[object WeakMap]",yte="[object DataView]",vte=hte(ste),bte=hte(ate),wte=hte(lte),xte=hte(cte),_te=hte(pte),kte=ute;(ste&&kte(new ste(new ArrayBuffer(1)))!=yte||ate&&kte(new ate)!=dte||lte&&kte(lte.resolve())!=fte||cte&&kte(new cte)!=mte||pte&&kte(new pte)!=gte)&&(kte=function(e){var t=ute(e),n="[object Object]"==t?e.constructor:void 0,r=n?hte(n):"";if(r)switch(r){case vte:return yte;case bte:return dte;case wte:return fte;case xte:return mte;case _te:return gte}return t});var Ete=C9,Ote=L9,Pte=G9,Ste=ote,Cte=kte,Tte=X9,Mte=vee,Ate=Nee,Dte="[object Arguments]",Nte="[object Array]",Rte="[object Object]",jte=Object.prototype.hasOwnProperty;var Ite=function(e,t,n,r,i,o){var s=Tte(e),a=Tte(t),l=s?Nte:Cte(e),c=a?Nte:Cte(t),p=(l=l==Dte?Rte:l)==Rte,u=(c=c==Dte?Rte:c)==Rte,h=l==c;if(h&&Mte(e)){if(!Mte(t))return!1;s=!0,p=!1}if(h&&!p)return o||(o=new Ete),s||Ate(e)?Ote(e,t,n,r,i,o):Pte(e,t,l,n,r,i,o);if(!(1&n)){var d=p&&jte.call(e,"__wrapped__"),f=u&&jte.call(t,"__wrapped__");if(d||f){var m=d?e.value():e,g=f?t.value():t;return o||(o=new Ete),i(m,g,n,r,o)}}return!!h&&(o||(o=new Ete),Ste(e,t,n,r,i,o))},Lte=see;var zte=function e(t,n,r,i,o){return t===n||(null==t||null==n||!Lte(t)&&!Lte(n)?t!=t&&n!=n:Ite(t,n,r,i,e,o))},Bte=zte;var $te=mw((function(e,t){return Bte(e,t)})),qte=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Fte={_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},Vte={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},Hte=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},Ute=function(e){return!0===e?1:0};function Wte(e,t){var n;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout((function(){return e.apply(r,i)}),t)}}var Gte=function(e){return e instanceof Array?e:[e]};function Qte(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function Xte(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 Zte(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Yte(e,t){return t(e)?e:e.parentNode?Yte(e.parentNode,t):void 0}function Kte(e,t){var n=Xte("div","numInputWrapper"),r=Xte("input","numInput "+e),i=Xte("span","arrowUp"),o=Xte("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 Jte(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(t){return e.target}}var ene=function(){},tne=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},nne={D:ene,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*Ute(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:ene,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:ene,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},rne={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})"},ine={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[ine.w(e,t,n)]},F:function(e,t,n){return tne(ine.n(e,t,n)-1,!1,t)},G:function(e,t,n){return Hte(ine.h(e,t,n))},H:function(e){return Hte(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[Ute(e.getHours()>11)]},M:function(e,t){return tne(e.getMonth(),!0,t)},S:function(e){return Hte(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return Hte(e.getFullYear(),4)},d:function(e){return Hte(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return Hte(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return Hte(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)}},one=function(e){var t=e.config,n=void 0===t?Fte:t,r=e.l10n,i=void 0===r?Vte: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 ine[t]&&"\\"!==i[r-1]?ine[t](e,o,n):"\\"!==t?t:""})).join(""):n.formatDate(e,t,o)}},sne=function(e){var t=e.config,n=void 0===t?Fte:t,r=e.l10n,i=void 0===r?Vte: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||Fte).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,h=[],d=0,f=0,m="";d<c.length;d++){var g=c[d],y="\\"===g,v="\\"===c[d-1]||y;if(rne[g]&&!v){m+=rne[g];var b=new RegExp(m).exec(e);b&&(u=!0)&&h["Y"!==g?"push":"unshift"]({fn:nne[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),h.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 ane(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 lne=function(e,t,n){return e>Math.min(t,n)&&e<Math.max(t,n)},cne=function(e,t,n){return 3600*e+60*t+n},pne=function(e){var t=Math.floor(e/3600),n=(e-3600*t)/60;return[t,n,e-3600*t-60*n]},une={DAY:864e5};function hne(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 dne=function(){return dne=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},dne.apply(this,arguments)},fne=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},mne=300;function gne(e,t){var n={config:dne(dne({},Fte),vne.defaultConfig),l10n:Vte};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||ane(new Date,n.config.minDate)>=0?new Date:new Date(n.config.minDate.getTime()),r=hne(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=Jte(e),i=r;void 0!==n.amPM&&r===n.amPM&&(n.amPM.textContent=n.l10n.amPM[Ute(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,h=i===n.minuteElement;p<o?(p=s+p+Ute(!u)+(Ute(u)&&Ute(!n.amPM)),h&&m(void 0,-1,n.hourElement)):p>s&&(p=i===n.hourElement?p-s-Ute(!n.amPM):o,h&&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[Ute(n.amPM.textContent===n.l10n.amPM[0])]),i.value=Hte(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*Ute(t===n.l10n.amPM[1]));var s=void 0!==n.config.minTime||n.config.minDate&&n.minDateHasTime&&n.latestSelectedDateObj&&0===ane(n.latestSelectedDateObj,n.config.minDate,!0),a=void 0!==n.config.maxTime||n.config.maxDate&&n.maxDateHasTime&&n.latestSelectedDateObj&&0===ane(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=cne(n.config.minTime.getHours(),n.config.minTime.getMinutes(),n.config.minTime.getSeconds()),p=cne(n.config.maxTime.getHours(),n.config.maxTime.getMinutes(),n.config.maxTime.getSeconds()),u=cne(r,i,o);if(u>p&&u<l){var h=pne(l);r=h[0],i=h[1],o=h[2]}}else{if(a){var d=void 0!==n.config.maxTime?n.config.maxTime:n.config.maxDate;(r=Math.min(r,d.getHours()))===d.getHours()&&(i=Math.min(i,d.getMinutes())),i===d.getMinutes()&&(o=Math.min(o,d.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=Hte(n.config.time_24hr?e:(12+e)%12+12*Ute(e%12==0)),n.minuteElement.value=Hte(t),void 0!==n.amPM&&(n.amPM.textContent=n.l10n.amPM[Ute(e>=12)]),void 0!==n.secondElement&&(n.secondElement.value=Hte(r)))}function p(e){var t=Jte(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 h(){Q("onChange")}function d(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=Jte(e);~t.className.indexOf("arrow")&&m(e,t.classList.contains("arrowUp")?1:-1)}function m(e,t,n){var r=e&&Jte(e),i=n||r&&r.parentNode&&r.parentNode.firstChild,o=X("increment");o.delta=t,i&&i.dispatchEvent(o)}function g(e,t,r,i){var o=A(t,!0),s=Xte("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===ane(t,n.now)&&(n.todayDateElem=s,s.classList.add("today"),s.setAttribute("aria-current","date")),o?(s.tabIndex=-1,Z(t)&&(s.classList.add("selected"),n.selectedDateElem=s,"range"===n.config.mode&&(Qte(s,"startRange",n.selectedDates[0]&&0===ane(t,n.selectedDates[0],!0)),Qte(s,"endRange",n.selectedDates[1]&&0===ane(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)&&(ane(e,n.selectedDates[0])>=0&&ane(e,n.selectedDates[1])<=0)}(t)&&!Z(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 h=o+1;h<=42-r&&(1===n.config.showMonths||u%7!=0);h++,u++)s.appendChild(g("flatpickr-day "+c,new Date(e,t+1,h%o),0,u));var d=Xte("div","dayContainer");return d.appendChild(s),d}function x(){if(void 0!==n.daysContainer){Zte(n.daysContainer),n.weekNumbers&&Zte(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=Xte("option","flatpickr-monthDropdown-month");r.value=new Date(n.currentYear,t).getMonth().toString(),r.textContent=tne(t,n.config.shorthandCurrentMonth,n.l10n),r.tabIndex=-1,n.currentMonth===t&&(r.selected=!0),n.monthsDropdownContainer.appendChild(r)}}}function k(){var e,t=Xte("div","flatpickr-month"),r=window.document.createDocumentFragment();n.config.showMonths>1||"static"===n.config.monthSelectorType?e=Xte("span","cur-month"):(n.monthsDropdownContainer=Xte("select","flatpickr-monthDropdown-months"),n.monthsDropdownContainer.setAttribute("aria-label",n.l10n.monthAriaLabel),u(n.monthsDropdownContainer,"change",(function(e){var t=Jte(e),r=parseInt(t.value,10);n.changeMonth(r-n.currentMonth),Q("onMonthChange")})),_(),e=n.monthsDropdownContainer);var i=Kte("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=Xte("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(){Zte(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?Zte(n.weekdayContainer):n.weekdayContainer=Xte("div","flatpickr-weekdays");for(var e=n.config.showMonths;e--;){var t=Xte("div","flatpickr-weekdaycontainer");n.weekdayContainer.appendChild(t)}return P(),n.weekdayContainer}function P(){if(n.weekdayContainer){var e=n.l10n.firstDayOfWeek,t=fne(n.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=fne(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=Jte(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&&ane(i,n.config.minDate,void 0!==t?t:!n.minDateHasTime)<0||n.config.maxDate&&i&&ane(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=Jte(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 h=r();if(void 0!==n.daysContainer&&(!1===l||h&&D(h))){var d=39===t.keyCode?1:-1;t.ctrlKey?(t.stopPropagation(),S(d),b(v(1),0)):b(void 0,d)}}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+=une.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)&&lne(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 z(){return n.config.wrap?e.querySelector("[data-input]"):e}function B(){"object"!=typeof n.config.locale&&void 0===vne.l10ns[n.config.locale]&&n.config.errorHandler(new Error("flatpickr: invalid locale "+n.config.locale)),n.l10n=dne(dne({},vne.l10ns.default),"object"==typeof n.config.locale?n.config.locale:"default"!==n.config.locale?vne.l10ns[n.config.locale]:void 0),rne.D="("+n.l10n.weekdays.shorthand.join("|")+")",rne.l="("+n.l10n.weekdays.longhand.join("|")+")",rne.M="("+n.l10n.months.shorthand.join("|")+")",rne.F="("+n.l10n.months.longhand.join("|")+")",rne.K="("+n.l10n.amPM[0]+"|"+n.l10n.amPM[1]+"|"+n.l10n.amPM[0].toLowerCase()+"|"+n.l10n.amPM[1].toLowerCase()+")",void 0===dne(dne({},t),JSON.parse(JSON.stringify(e.dataset||{}))).time_24hr&&void 0===vne.defaultConfig.time_24hr&&(n.config.time_24hr=n.l10n.time_24hr),n.formatDate=one(n),n.parseDate=sne({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(Qte(n.calendarContainer,"arrowTop",!p),Qte(n.calendarContainer,"arrowBottom",p),!n.config.inline){var h=window.pageXOffset+l.left,d=!1,f=!1;"center"===a?(h-=(i-l.width)/2,d=!0):"right"===a&&(h-=i-l.width,f=!0),Qte(n.calendarContainer,"arrowLeft",!d&&!f),Qte(n.calendarContainer,"arrowCenter",d),Qte(n.calendarContainer,"arrowRight",f);var m=window.document.body.offsetWidth-(window.pageXOffset+l.right),g=h+i>window.document.body.offsetWidth,y=m+i>window.document.body.offsetWidth;if(Qte(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;}";Qte(n.calendarContainer,"rightMost",!1),Qte(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=h+"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=Yte(Jte(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=Z(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!==ane(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()}h()}}n.parseDate=sne({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=hne(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=Xte,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=d,n.updateValue=J,n.open=function(e,t){void 0===t&&(t=n._positionElement);if(!0===n.isMobile){if(e){e.preventDefault();var r=Jte(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()})):qte.indexOf(e)>-1&&(n.config[e]=Gte(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(),d(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:[B,P],showMonths:[E,o,O],minDate:[d],maxDate:[d],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(X("change")),n.input.dispatchEvent(X("input")))}}function X(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function Z(e){for(var t=0;t<n.selectedDates.length;t++){var r=n.selectedDates[t];if(r instanceof Date&&0===ane(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=tne(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=Jte(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=dne(dne({},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=vne.defaultConfig.dateFormat||Fte.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=vne.defaultConfig.altFormat||Fte.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]];qte.filter((function(e){return void 0!==n.config[e]})).forEach((function(e){n.config[e]=Gte(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 h=n.config.plugins[u](n)||{};for(var d in h)qte.indexOf(d)>-1?n.config[d]=Gte(h[d]).map(i).concat(n.config[d]):void 0===o[d]&&(n.config[d]=h[d])}o.altInputClass||(n.config.altInputClass=z().className+" "+n.config.altInputClass);Q("onParseConfig")}(),B(),function(){if(n.input=z(),!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=Xte(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=Xte("div","flatpickr-calendar"),n.calendarContainer.tabIndex=-1,!n.config.noCalendar){if(e.appendChild((n.monthNav=Xte("div","flatpickr-months"),n.yearElements=[],n.monthElements=[],n.prevMonthNav=Xte("span","flatpickr-prev-month"),n.prevMonthNav.innerHTML=n.config.prevArrow,n.nextMonthNav=Xte("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&&(Qte(n.prevMonthNav,"flatpickr-disabled",e),n.__hidePrevMonthArrow=e)}}),Object.defineProperty(n,"_hideNextMonthArrow",{get:function(){return n.__hideNextMonthArrow},set:function(e){n.__hideNextMonthArrow!==e&&(Qte(n.nextMonthNav,"flatpickr-disabled",e),n.__hideNextMonthArrow=e)}}),n.currentYearElement=n.yearElements[0],Y(),n.monthNav)),n.innerContainer=Xte("div","flatpickr-innerContainer"),n.config.weekNumbers){var t=function(){n.calendarContainer.classList.add("hasWeeks");var e=Xte("div","flatpickr-weekwrapper");e.appendChild(Xte("span","flatpickr-weekday",n.l10n.weekAbbreviation));var t=Xte("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=Xte("div","flatpickr-rContainer"),n.rContainer.appendChild(O()),n.daysContainer||(n.daysContainer=Xte("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=hne(n.config);n.timeContainer=Xte("div","flatpickr-time"),n.timeContainer.tabIndex=-1;var t=Xte("span","flatpickr-time-separator",":"),r=Kte("flatpickr-hour",{"aria-label":n.l10n.hourAriaLabel});n.hourElement=r.getElementsByTagName("input")[0];var i=Kte("flatpickr-minute",{"aria-label":n.l10n.minuteAriaLabel});n.minuteElement=i.getElementsByTagName("input")[0],n.hourElement.tabIndex=n.minuteElement.tabIndex=-1,n.hourElement.value=Hte(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=Hte(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=Kte("flatpickr-second");n.secondElement=o.getElementsByTagName("input")[0],n.secondElement.value=Hte(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(Xte("span","flatpickr-time-separator",":")),n.timeContainer.appendChild(o)}n.config.time_24hr||(n.amPM=Xte("span","flatpickr-am-pm",n.l10n.amPM[Ute((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}());Qte(n.calendarContainer,"rangeMode","range"===n.config.mode),Qte(n.calendarContainer,"animate",!0===n.config.animate),Qte(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=Xte("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=Xte("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(Jte(e).value,!1,n.mobileFormatStr),Q("onChange"),Q("onClose")}))}();var e=Wte(I,50);n._debouncedChange=Wte(h,mne),n.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&u(n.daysContainer,"mouseover",(function(e){"range"===n.config.mode&&j(Jte(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 Jte(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 yne(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=gne(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 yne(this,e)},HTMLElement.prototype.flatpickr=function(e){return yne([this],e)});var vne=function(e,t){return"string"==typeof e?yne(window.document.querySelectorAll(e),t):e instanceof Node?yne([e],t):yne(e,t)};function bne(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 wne(e){this.props=e}vne.defaultConfig={},vne.l10ns={en:dne({},Vte),default:dne({},Vte)},vne.localize=function(e){vne.l10ns.default=dne(dne({},vne.l10ns.default),e)},vne.setDefaults=function(e){vne.defaultConfig=dne(dne({},vne.defaultConfig),e)},vne.parseDate=sne({}),vne.formatDate=one({}),vne.compareDates=ane,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return yne(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=vne),(wne.prototype=new Ha).isPureReactComponent=!0,wne.prototype.shouldComponentUpdate=function(e,t){return bne(this.props,e)||bne(this.state,t)};var xne=Ma.__b;Ma.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),xne&&xne(e)};var _ne=Ma.__e;Ma.__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);_ne(e,t,n,r)};var kne=Ma.unmount;function Ene(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 Ene(e,t,n)}))),e}function One(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return One(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 Pne(){this.__u=0,this.t=null,this.__b=null}function Sne(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Cne(){this.u=null,this.o=null}Ma.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),kne&&kne(e)},(Pne.prototype=new Ha).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=Sne(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]=One(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)},Pne.prototype.componentWillUnmount=function(){this.t=[]},Pne.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]=Ene(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&qa(Va,null,e.fallback);return i&&(i.__h=null),[qa(Va,null,t.__a?null:e.children),i]};var Tne=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]}};(Cne.prototype=new Ha).__a=function(e){var t=this,n=Sne(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Tne(t,e,r)):i()};n?n(o):o()}},Cne.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ya(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},Cne.prototype.componentDidUpdate=Cne.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Tne(e,n,t)}))};var Mne="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ane=/^(?: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]/,Dne="undefined"!=typeof document,Nne=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};Ha.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(Ha.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Rne=Ma.event;function jne(){}function Ine(){return this.cancelBubble}function Lne(){return this.defaultPrevented}Ma.event=function(e){return Rne&&(e=Rne(e)),e.persist=jne,e.isPropagationStopped=Ine,e.isDefaultPrevented=Lne,e.nativeEvent=e};var zne={configurable:!0,get:function(){return this.class}},Bne=Ma.vnode;Ma.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];Dne&&"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)&&!Nne(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&&Ane.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=Ya(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=Ya(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&&(zne.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",zne))}e.$$typeof=Mne,Bne&&Bne(e)};var $ne=Ma.__r;Ma.__r=function(e){$ne&&$ne(e),e.__c};var qne={exports:{}};
|
|
181
181
|
/*! @license DOMPurify 3.0.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.8/LICENSE */!function(e,t){e.exports=function(){const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object;let{freeze:o,seal:s,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),s||(s=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const p=x(Array.prototype.forEach),u=x(Array.prototype.pop),h=x(Array.prototype.push),d=x(String.prototype.toLowerCase),f=x(String.prototype.toString),m=x(String.prototype.match),g=x(String.prototype.replace),y=x(String.prototype.indexOf),v=x(String.prototype.trim),b=x(RegExp.prototype.test),w=_(TypeError);function x(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return l(e,t,r)}}function _(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function k(e,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d;t&&t(e,null);let o=r.length;for(;o--;){let t=r[o];if("string"==typeof t){const e=i(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function E(e){for(let t=0;t<e.length;t++)void 0===i(e,t)&&(e[t]=null);return e}function O(t){const n=a(null);for(const[r,o]of e(t))void 0!==i(t,r)&&(Array.isArray(o)?n[r]=E(o):o&&"object"==typeof o&&o.constructor===Object?n[r]=O(o):n[r]=o);return n}function P(e,t){for(;null!==e;){const n=i(e,t);if(n){if(n.get)return x(n.get);if("function"==typeof n.value)return x(n.value)}e=r(e)}function n(e){return console.warn("fallback value for",e),null}return n}const S=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),T=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),A=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),D=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),N=o(["#text"]),R=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),j=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),I=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),B=s(/<%[\w\W]*|[\w\W]*%>/gm),$=s(/\${[\w\W]*}/gm),q=s(/^data-[\-\w.\u00B7-\uFFFF]/),F=s(/^aria-[\-\w]+$/),V=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=s(/^(?:\w+script|data):/i),U=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=s(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:z,ERB_EXPR:B,TMPLIT_EXPR:$,DATA_ATTR:q,ARIA_ATTR:F,IS_ALLOWED_URI:V,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:U,DOCTYPE_NAME:W});const Q=function(){return"undefined"==typeof window?null:window},X=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function Z(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q();const n=e=>Z(e);if(n.version="3.0.8",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;let{document:r}=t;const i=r,s=i.currentScript,{DocumentFragment:l,HTMLTemplateElement:c,Node:x,Element:_,NodeFilter:E,NamedNodeMap:z=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:B,DOMParser:$,trustedTypes:q}=t,F=_.prototype,H=P(F,"cloneNode"),U=P(F,"nextSibling"),Y=P(F,"childNodes"),K=P(F,"parentNode");if("function"==typeof c){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let J,ee="";const{implementation:te,createNodeIterator:ne,createDocumentFragment:re,getElementsByTagName:ie}=r,{importNode:oe}=i;let se={};n.isSupported="function"==typeof e&&"function"==typeof K&&te&&void 0!==te.createHTMLDocument;const{MUSTACHE_EXPR:ae,ERB_EXPR:le,TMPLIT_EXPR:ce,DATA_ATTR:pe,ARIA_ATTR:ue,IS_SCRIPT_OR_DATA:he,ATTR_WHITESPACE:de}=G;let{IS_ALLOWED_URI:fe}=G,me=null;const ge=k({},[...S,...C,...T,...A,...N]);let ye=null;const ve=k({},[...R,...j,...I,...L]);let be=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),we=null,xe=null,_e=!0,ke=!0,Ee=!1,Oe=!0,Pe=!1,Se=!1,Ce=!1,Te=!1,Me=!1,Ae=!1,De=!1,Ne=!0,Re=!1;const je="user-content-";let Ie=!0,Le=!1,ze={},Be=null;const $e=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let qe=null;const Fe=k({},["audio","video","img","source","image","track"]);let Ve=null;const He=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ue="http://www.w3.org/1998/Math/MathML",We="http://www.w3.org/2000/svg",Ge="http://www.w3.org/1999/xhtml";let Qe=Ge,Xe=!1,Ze=null;const Ye=k({},[Ue,We,Ge],f);let Ke=null;const Je=["application/xhtml+xml","text/html"],et="text/html";let tt=null,nt=null;const rt=r.createElement("form"),it=function(e){return e instanceof RegExp||e instanceof Function},ot=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!nt||nt!==e){if(e&&"object"==typeof e||(e={}),e=O(e),Ke=-1===Je.indexOf(e.PARSER_MEDIA_TYPE)?et:e.PARSER_MEDIA_TYPE,tt="application/xhtml+xml"===Ke?f:d,me="ALLOWED_TAGS"in e?k({},e.ALLOWED_TAGS,tt):ge,ye="ALLOWED_ATTR"in e?k({},e.ALLOWED_ATTR,tt):ve,Ze="ALLOWED_NAMESPACES"in e?k({},e.ALLOWED_NAMESPACES,f):Ye,Ve="ADD_URI_SAFE_ATTR"in e?k(O(He),e.ADD_URI_SAFE_ATTR,tt):He,qe="ADD_DATA_URI_TAGS"in e?k(O(Fe),e.ADD_DATA_URI_TAGS,tt):Fe,Be="FORBID_CONTENTS"in e?k({},e.FORBID_CONTENTS,tt):$e,we="FORBID_TAGS"in e?k({},e.FORBID_TAGS,tt):{},xe="FORBID_ATTR"in e?k({},e.FORBID_ATTR,tt):{},ze="USE_PROFILES"in e&&e.USE_PROFILES,_e=!1!==e.ALLOW_ARIA_ATTR,ke=!1!==e.ALLOW_DATA_ATTR,Ee=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Oe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Pe=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Me=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,De=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Ne=!1!==e.SANITIZE_DOM,Re=e.SANITIZE_NAMED_PROPS||!1,Ie=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,fe=e.ALLOWED_URI_REGEXP||V,Qe=e.NAMESPACE||Ge,be=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(be.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(be.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(be.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pe&&(ke=!1),Ae&&(Me=!0),ze&&(me=k({},N),ye=[],!0===ze.html&&(k(me,S),k(ye,R)),!0===ze.svg&&(k(me,C),k(ye,j),k(ye,L)),!0===ze.svgFilters&&(k(me,T),k(ye,j),k(ye,L)),!0===ze.mathMl&&(k(me,A),k(ye,I),k(ye,L))),e.ADD_TAGS&&(me===ge&&(me=O(me)),k(me,e.ADD_TAGS,tt)),e.ADD_ATTR&&(ye===ve&&(ye=O(ye)),k(ye,e.ADD_ATTR,tt)),e.ADD_URI_SAFE_ATTR&&k(Ve,e.ADD_URI_SAFE_ATTR,tt),e.FORBID_CONTENTS&&(Be===$e&&(Be=O(Be)),k(Be,e.FORBID_CONTENTS,tt)),Ie&&(me["#text"]=!0),Se&&k(me,["html","head","body"]),me.table&&(k(me,["tbody"]),delete we.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=e.TRUSTED_TYPES_POLICY,ee=J.createHTML("")}else void 0===J&&(J=X(q,s)),null!==J&&"string"==typeof ee&&(ee=J.createHTML(""));o&&o(e),nt=e}},st=k({},["mi","mo","mn","ms","mtext"]),at=k({},["foreignobject","desc","title","annotation-xml"]),lt=k({},["title","style","font","a","script"]),ct=k({},[...C,...T,...M]),pt=k({},[...A,...D]),ut=function(e){let t=K(e);t&&t.tagName||(t={namespaceURI:Qe,tagName:"template"});const n=d(e.tagName),r=d(t.tagName);return!!Ze[e.namespaceURI]&&(e.namespaceURI===We?t.namespaceURI===Ge?"svg"===n:t.namespaceURI===Ue?"svg"===n&&("annotation-xml"===r||st[r]):Boolean(ct[n]):e.namespaceURI===Ue?t.namespaceURI===Ge?"math"===n:t.namespaceURI===We?"math"===n&&at[r]:Boolean(pt[n]):e.namespaceURI===Ge?!(t.namespaceURI===We&&!at[r])&&!(t.namespaceURI===Ue&&!st[r])&&!pt[n]&&(lt[n]||!ct[n]):!("application/xhtml+xml"!==Ke||!Ze[e.namespaceURI]))},ht=function(e){h(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},dt=function(e,t){try{h(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){h(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ye[e])if(Me||Ae)try{ht(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ft=function(e){let t=null,n=null;if(Te)e="<remove></remove>"+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ke&&Qe===Ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=J?J.createHTML(e):e;if(Qe===Ge)try{t=(new $).parseFromString(i,Ke)}catch(e){}if(!t||!t.documentElement){t=te.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=Xe?ee:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),Qe===Ge?ie.call(t,Se?"html":"body")[0]:Se?t.documentElement:o},mt=function(e){return ne.call(e.ownerDocument||e,e,E.SHOW_ELEMENT|E.SHOW_COMMENT|E.SHOW_TEXT,null)},gt=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},yt=function(e){return"function"==typeof x&&e instanceof x},vt=function(e,t,r){se[e]&&p(se[e],(e=>{e.call(n,t,r,nt)}))},bt=function(e){let t=null;if(vt("beforeSanitizeElements",e,null),gt(e))return ht(e),!0;const r=tt(e.nodeName);if(vt("uponSanitizeElement",e,{tagName:r,allowedTags:me}),e.hasChildNodes()&&!yt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return ht(e),!0;if(!me[r]||we[r]){if(!we[r]&&xt(r)){if(be.tagNameCheck instanceof RegExp&&b(be.tagNameCheck,r))return!1;if(be.tagNameCheck instanceof Function&&be.tagNameCheck(r))return!1}if(Ie&&!Be[r]){const t=K(e)||e.parentNode,n=Y(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore(H(n[r],!0),U(e))}return ht(e),!0}return e instanceof _&&!ut(e)?(ht(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(Pe&&3===e.nodeType&&(t=e.textContent,p([ae,le,ce],(e=>{t=g(t,e," ")})),e.textContent!==t&&(h(n.removed,{element:e.cloneNode()}),e.textContent=t)),vt("afterSanitizeElements",e,null),!1):(ht(e),!0)},wt=function(e,t,n){if(Ne&&("id"===t||"name"===t)&&(n in r||n in rt))return!1;if(ke&&!xe[t]&&b(pe,t));else if(_e&&b(ue,t));else if(!ye[t]||xe[t]){if(!(xt(e)&&(be.tagNameCheck instanceof RegExp&&b(be.tagNameCheck,e)||be.tagNameCheck instanceof Function&&be.tagNameCheck(e))&&(be.attributeNameCheck instanceof RegExp&&b(be.attributeNameCheck,t)||be.attributeNameCheck instanceof Function&&be.attributeNameCheck(t))||"is"===t&&be.allowCustomizedBuiltInElements&&(be.tagNameCheck instanceof RegExp&&b(be.tagNameCheck,n)||be.tagNameCheck instanceof Function&&be.tagNameCheck(n))))return!1}else if(Ve[t]);else if(b(fe,g(n,de,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!qe[e])if(Ee&&!b(he,g(n,de,"")));else if(n)return!1;return!0},xt=function(e){return e.indexOf("-")>0},_t=function(e){vt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ye};let i=t.length;for(;i--;){const o=t[i],{name:s,namespaceURI:a,value:l}=o,c=tt(s);let h="value"===s?l:v(l);if(r.attrName=c,r.attrValue=h,r.keepAttr=!0,r.forceKeepAttr=void 0,vt("uponSanitizeAttribute",e,r),h=r.attrValue,r.forceKeepAttr)continue;if(dt(s,e),!r.keepAttr)continue;if(!Oe&&b(/\/>/i,h)){dt(s,e);continue}Pe&&p([ae,le,ce],(e=>{h=g(h,e," ")}));const d=tt(e.nodeName);if(wt(d,c,h)){if(!Re||"id"!==c&&"name"!==c||(dt(s,e),h=je+h),J&&"object"==typeof q&&"function"==typeof q.getAttributeType)if(a);else switch(q.getAttributeType(d,c)){case"TrustedHTML":h=J.createHTML(h);break;case"TrustedScriptURL":h=J.createScriptURL(h)}try{a?e.setAttributeNS(a,s,h):e.setAttribute(s,h),u(n.removed)}catch(e){}}}vt("afterSanitizeAttributes",e,null)},kt=function e(t){let n=null;const r=mt(t);for(vt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)vt("uponSanitizeShadowNode",n,null),bt(n)||(n.content instanceof l&&e(n.content),_t(n));vt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,a=null;if(Xe=!e,Xe&&(e="\x3c!--\x3e"),"string"!=typeof e&&!yt(e)){if("function"!=typeof e.toString)throw w("toString is not a function");if("string"!=typeof(e=e.toString()))throw w("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Ce||ot(t),n.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=tt(e.nodeName);if(!me[t]||we[t])throw w("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof x)r=ft("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Me&&!Pe&&!Se&&-1===e.indexOf("<"))return J&&De?J.createHTML(e):e;if(r=ft(e),!r)return Me?null:De?ee:""}r&&Te&&ht(r.firstChild);const c=mt(Le?e:r);for(;s=c.nextNode();)bt(s)||(s.content instanceof l&&kt(s.content),_t(s));if(Le)return e;if(Me){if(Ae)for(a=re.call(r.ownerDocument);r.firstChild;)a.appendChild(r.firstChild);else a=r;return(ye.shadowroot||ye.shadowrootmode)&&(a=oe.call(i,a,!0)),a}let u=Se?r.outerHTML:r.innerHTML;return Se&&me["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&b(W,r.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+u),Pe&&p([ae,le,ce],(e=>{u=g(u,e," ")})),J&&De?J.createHTML(u):u},n.setConfig=function(){ot(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ce=!0},n.clearConfig=function(){nt=null,Ce=!1},n.isValidAttribute=function(e,t,n){nt||ot({});const r=tt(e),i=tt(t);return wt(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&(se[e]=se[e]||[],h(se[e],t))},n.removeHook=function(e){if(se[e])return u(se[e])},n.removeHooks=function(e){se[e]&&(se[e]=[])},n.removeAllHooks=function(){se={}},n}var Y=Z();return Y}()}(qne);var Fne=mw(qne.exports),Vne={exports:{}};!function(e){(function(){function t(e){var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,describe:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,describe:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,describe:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}var n={},r={},i={},o=t(!0),s="vanilla",a={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:t(!0),allOn:function(){var e=t(!0),n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}()};function l(e,t){var r=t?"Error in "+t+" extension->":"Error in unnamed extension",i={valid:!0,error:""};n.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var s=r+" sub-extension "+o+": ",a=e[o];if("object"!=typeof a)return i.valid=!1,i.error=s+"must be an object, but "+typeof a+" given",i;if(!n.helper.isString(a.type))return i.valid=!1,i.error=s+'property "type" must be a string, but '+typeof a.type+" given",i;var l=a.type=a.type.toLowerCase();if("language"===l&&(l=a.type="lang"),"html"===l&&(l=a.type="output"),"lang"!==l&&"output"!==l&&"listener"!==l)return i.valid=!1,i.error=s+"type "+l+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',i;if("listener"===l){if(n.helper.isUndefined(a.listeners))return i.valid=!1,i.error=s+'. Extensions of type "listener" must have a property called "listeners"',i}else if(n.helper.isUndefined(a.filter)&&n.helper.isUndefined(a.regex))return i.valid=!1,i.error=s+l+' extensions must define either a "regex" property or a "filter" method',i;if(a.listeners){if("object"!=typeof a.listeners)return i.valid=!1,i.error=s+'"listeners" property must be an object but '+typeof a.listeners+" given",i;for(var c in a.listeners)if(a.listeners.hasOwnProperty(c)&&"function"!=typeof a.listeners[c])return i.valid=!1,i.error=s+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+c+" must be a function but "+typeof a.listeners[c]+" given",i}if(a.filter){if("function"!=typeof a.filter)return i.valid=!1,i.error=s+'"filter" must be a function, but '+typeof a.filter+" given",i}else if(a.regex){if(n.helper.isString(a.regex)&&(a.regex=new RegExp(a.regex,"g")),!(a.regex instanceof RegExp))return i.valid=!1,i.error=s+'"regex" property must either be a string or a RegExp object, but '+typeof a.regex+" given",i;if(n.helper.isUndefined(a.replace))return i.valid=!1,i.error=s+'"regex" extensions must implement a replace string or function',i}}return i}function c(e,t){return"¨E"+t.charCodeAt(0)+"E"}n.helper={},n.extensions={},n.setOption=function(e,t){return o[e]=t,this},n.getOption=function(e){return o[e]},n.getOptions=function(){return o},n.resetOptions=function(){o=t(!0)},n.setFlavor=function(e){if(!a.hasOwnProperty(e))throw Error(e+" flavor was not found");n.resetOptions();var t=a[e];for(var r in s=e,t)t.hasOwnProperty(r)&&(o[r]=t[r])},n.getFlavor=function(){return s},n.getFlavorOptions=function(e){if(a.hasOwnProperty(e))return a[e]},n.getDefaultOptions=function(e){return t(e)},n.subParser=function(e,t){if(n.helper.isString(e)){if(void 0===t){if(r.hasOwnProperty(e))return r[e];throw Error("SubParser named "+e+" not registered!")}r[e]=t}},n.extension=function(e,t){if(!n.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=n.helper.stdExtName(e),n.helper.isUndefined(t)){if(!i.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return i[e]}"function"==typeof t&&(t=t()),n.helper.isArray(t)||(t=[t]);var r=l(t,e);if(!r.valid)throw Error(r.error);i[e]=t},n.getAllExtensions=function(){return i},n.removeExtension=function(e){delete i[e]},n.resetExtensions=function(){i={}},n.validateExtension=function(e){var t=l(e,null);return!!t.valid||(console.warn(t.error),!1)},n.hasOwnProperty("helper")||(n.helper={}),n.helper.isString=function(e){return"string"==typeof e||e instanceof String},n.helper.isFunction=function(e){return e&&"[object Function]"==={}.toString.call(e)},n.helper.isArray=function(e){return Array.isArray(e)},n.helper.isUndefined=function(e){return void 0===e},n.helper.forEach=function(e,t){if(n.helper.isUndefined(e))throw new Error("obj param is required");if(n.helper.isUndefined(t))throw new Error("callback param is required");if(!n.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(n.helper.isArray(e))for(var r=0;r<e.length;r++)t(e[r],r,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var i in e)e.hasOwnProperty(i)&&t(e[i],i,e)}},n.helper.stdExtName=function(e){return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},n.helper.escapeCharactersCallback=c,n.helper.escapeCharacters=function(e,t,n){var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var i=new RegExp(r,"g");return e=e.replace(i,c)},n.helper.unescapeHTMLEntities=function(e){return e.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")};var p=function(e,t,n,r){var i,o,s,a,l,c=r||"",p=c.indexOf("g")>-1,u=new RegExp(t+"|"+n,"g"+c.replace(/g/g,"")),h=new RegExp(t,c.replace(/g/g,"")),d=[];do{for(i=0;s=u.exec(e);)if(h.test(s[0]))i++||(a=(o=u.lastIndex)-s[0].length);else if(i&&! --i){l=s.index+s[0].length;var f={left:{start:a,end:o},match:{start:o,end:s.index},right:{start:s.index,end:l},wholeMatch:{start:a,end:l}};if(d.push(f),!p)return d}}while(i&&(u.lastIndex=o));return d};n.helper.matchRecursiveRegExp=function(e,t,n,r){for(var i=p(e,t,n,r),o=[],s=0;s<i.length;++s)o.push([e.slice(i[s].wholeMatch.start,i[s].wholeMatch.end),e.slice(i[s].match.start,i[s].match.end),e.slice(i[s].left.start,i[s].left.end),e.slice(i[s].right.start,i[s].right.end)]);return o},n.helper.replaceRecursiveRegExp=function(e,t,r,i,o){if(!n.helper.isFunction(t)){var s=t;t=function(){return s}}var a=p(e,r,i,o),l=e,c=a.length;if(c>0){var u=[];0!==a[0].wholeMatch.start&&u.push(e.slice(0,a[0].wholeMatch.start));for(var h=0;h<c;++h)u.push(t(e.slice(a[h].wholeMatch.start,a[h].wholeMatch.end),e.slice(a[h].match.start,a[h].match.end),e.slice(a[h].left.start,a[h].left.end),e.slice(a[h].right.start,a[h].right.end))),h<c-1&&u.push(e.slice(a[h].wholeMatch.end,a[h+1].wholeMatch.start));a[c-1].wholeMatch.end<e.length&&u.push(e.slice(a[c-1].wholeMatch.end)),l=u.join("")}return l},n.helper.regexIndexOf=function(e,t,r){if(!n.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var i=e.substring(r||0).search(t);return i>=0?i+(r||0):i},n.helper.splitAtIndex=function(e,t){if(!n.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},n.helper.encodeEmailAddress=function(e){var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e})),e},n.helper.padEnd=function(e,t,n){return t>>=0,n=String(n||" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){alert(e)},log:function(e){alert(e)},error:function(e){throw e}}),n.helper.regexes={asteriskDashAndColon:/([*_:~])/g},n.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},n.Converter=function(e){var t={},r=[],c=[],p={},u=s,h={parsed:{},raw:"",format:""};function d(e,t){if(t=t||null,n.helper.isString(e)){if(t=e=n.helper.stdExtName(e),n.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new n.Converter));n.helper.isArray(e)||(e=[e]);var i=l(e,t);if(!i.valid)throw Error(i.error);for(var o=0;o<e.length;++o)switch(e[o].type){case"lang":r.push(e[o]);break;case"output":c.push(e[o]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(n.extensions[e],e);if(n.helper.isUndefined(i[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=i[e]}"function"==typeof e&&(e=e()),n.helper.isArray(e)||(e=[e]);var o=l(e,t);if(!o.valid)throw Error(o.error);for(var s=0;s<e.length;++s){switch(e[s].type){case"lang":r.push(e[s]);break;case"output":c.push(e[s])}if(e[s].hasOwnProperty("listeners"))for(var a in e[s].listeners)e[s].listeners.hasOwnProperty(a)&&f(a,e[s].listeners[a])}}function f(e,t){if(!n.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");p.hasOwnProperty(e)||(p[e]=[]),p[e].push(t)}!function(){for(var r in e=e||{},o)o.hasOwnProperty(r)&&(t[r]=o[r]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.extensions&&n.helper.forEach(t.extensions,d)}(),this._dispatch=function(e,t,n,r){if(p.hasOwnProperty(e))for(var i=0;i<p[e].length;++i){var o=p[e][i](e,t,this,n,r);o&&void 0!==o&&(t=o)}return t},this.listen=function(e,t){return f(e,t),this},this.makeHtml=function(e){if(!e)return e;var i={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:r,outputModifiers:c,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g," "),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=n.subParser("detab")(e,t,i)).replace(/^[ \t]+$/gm,""),n.helper.forEach(r,(function(r){e=n.subParser("runExtension")(r,e,t,i)})),e=n.subParser("metadata")(e,t,i),e=n.subParser("hashPreCodeTags")(e,t,i),e=n.subParser("githubCodeBlocks")(e,t,i),e=n.subParser("hashHTMLBlocks")(e,t,i),e=n.subParser("hashCodeTags")(e,t,i),e=n.subParser("stripLinkDefinitions")(e,t,i),e=n.subParser("blockGamut")(e,t,i),e=n.subParser("unhashHTMLSpans")(e,t,i),e=(e=(e=n.subParser("unescapeSpecialChars")(e,t,i)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=n.subParser("completeHTMLDocument")(e,t,i),n.helper.forEach(c,(function(r){e=n.subParser("runExtension")(r,e,t,i)})),h=i.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var i={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],i=0;i<t.length;++i)if(1===t[i].childElementCount&&"code"===t[i].firstChild.tagName.toLowerCase()){var o=t[i].firstChild.innerHTML.trim(),s=t[i].firstChild.getAttribute("data-language")||"";if(""===s)for(var a=t[i].firstChild.className.split(" "),l=0;l<a.length;++l){var c=a[l].match(/^language-(.+)$/);if(null!==c){s=c[1];break}}o=n.helper.unescapeHTMLEntities(o),r.push(o),t[i].outerHTML='<precode language="'+s+'" precodenum="'+i.toString()+'"></precode>'}else r.push(t[i].innerHTML),t[i].innerHTML="",t[i].setAttribute("prenum",i.toString());return r}(r)};!function e(t){for(var n=0;n<t.childNodes.length;++n){var r=t.childNodes[n];3===r.nodeType?/\S/.test(r.nodeValue)||/^[ ]+$/.test(r.nodeValue)?(r.nodeValue=r.nodeValue.split("\n").join(" "),r.nodeValue=r.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(r),--n):1===r.nodeType&&e(r)}}(r);for(var o=r.childNodes,s="",a=0;a<o.length;a++)s+=n.subParser("makeMarkdown.node")(o[a],i);return s},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){d(e,t=t||null)},this.useExtension=function(e){d(e)},this.setFlavor=function(e){if(!a.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=a[e];for(var r in u=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return u},this.removeExtension=function(e){n.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var i=e[t],o=0;o<r.length;++o)r[o]===i&&r.splice(o,1);for(var s=0;s<c.length;++s)c[s]===i&&c.splice(s,1)}},this.getAllExtensions=function(){return{language:r,output:c}},this.getMetadata=function(e){return e?h.raw:h.parsed},this.getMetadataFormat=function(){return h.format},this._setMetadataPair=function(e,t){h.parsed[e]=t},this._setMetadataFormat=function(e){h.format=e},this._setMetadataRaw=function(e){h.raw=e}},n.subParser("anchors",(function(e,t,r){var i=function(e,i,o,s,a,l,c){if(n.helper.isUndefined(c)&&(c=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)s="";else if(!s){if(o||(o=i.toLowerCase().replace(/ ?\n/g," ")),s="#"+o,n.helper.isUndefined(r.gUrls[o]))return e;s=r.gUrls[o],n.helper.isUndefined(r.gTitles[o])||(c=r.gTitles[o])}var p='<a href="'+(s=s.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"';return""!==c&&null!==c&&(p+=' title="'+(c=(c=c.replace(/"/g,""")).replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(s)&&(p+=' rel="noopener noreferrer" target="¨E95Eblank"'),p+=">"+i+"</a>"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,i)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,i)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,i)).replace(/\[([^\[\]]+)]()()()()()/g,i),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,r,i,o,s){if("\\"===i)return r+o;if(!n.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var a=t.ghMentionsLink.replace(/\{u}/g,s),l="";return t.openLinksInNewWindow&&(l=' rel="noopener noreferrer" target="¨E95Eblank"'),r+'<a href="'+a+'"'+l+">"+o+"</a>"}))),e=r.converter._dispatch("anchors.after",e,t,r)}));var u=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,d=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,f=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,m=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,g=function(e){return function(t,r,i,o,s,a,l){var c=i=i.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),p="",u="",h=r||"",d=l||"";return/^www\./i.test(i)&&(i=i.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&a&&(p=a),e.openLinksInNewWindow&&(u=' rel="noopener noreferrer" target="¨E95Eblank"'),h+'<a href="'+i+'"'+u+">"+c+"</a>"+p+d}},y=function(e,t){return function(r,i,o){var s="mailto:";return i=i||"",o=n.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(s=n.helper.encodeEmailAddress(s+o),o=n.helper.encodeEmailAddress(o)):s+=o,i+'<a href="'+s+'">'+o+"</a>"}};n.subParser("autoLinks",(function(e,t,n){return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(d,g(t))).replace(m,y(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)})),n.subParser("simplifiedAutoLinks",(function(e,t,n){return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(h,g(t)):e.replace(u,g(t))).replace(f,y(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e})),n.subParser("blockGamut",(function(e,t,r){return e=r.converter._dispatch("blockGamut.before",e,t,r),e=n.subParser("blockQuotes")(e,t,r),e=n.subParser("headers")(e,t,r),e=n.subParser("horizontalRule")(e,t,r),e=n.subParser("lists")(e,t,r),e=n.subParser("codeBlocks")(e,t,r),e=n.subParser("tables")(e,t,r),e=n.subParser("hashHTMLBlocks")(e,t,r),e=n.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)})),n.subParser("blockQuotes",(function(e,t,r){e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var i=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(i=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(i,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=n.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=n.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")})),n.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,r)})),e=r.converter._dispatch("blockQuotes.after",e,t,r)})),n.subParser("codeBlocks",(function(e,t,r){e=r.converter._dispatch("codeBlocks.before",e,t,r);return e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,i,o){var s=i,a=o,l="\n";return s=n.subParser("outdent")(s,t,r),s=n.subParser("encodeCode")(s,t,r),s=(s=(s=n.subParser("detab")(s,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(l=""),s="<pre><code>"+s+l+"</code></pre>",n.subParser("hashBlock")(s,t,r)+a})),e=e.replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)})),n.subParser("codeSpans",(function(e,t,r){return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,i,o,s){var a=s;return a=(a=a.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),a=i+"<code>"+(a=n.subParser("encodeCode")(a,t,r))+"</code>",a=n.subParser("hashHTMLSpans")(a,t,r)})),e=r.converter._dispatch("codeSpans.after",e,t,r)})),n.subParser("completeHTMLDocument",(function(e,t,n){if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",i="<!DOCTYPE HTML>\n",o="",s='<meta charset="utf-8">\n',a="",l="";for(var c in void 0!==n.metadata.parsed.doctype&&(i="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(r=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==r||(s='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(c))switch(c.toLowerCase()){case"doctype":break;case"title":o="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":s="html"===r||"html5"===r?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":a=' lang="'+n.metadata.parsed[c]+'"',l+='<meta name="'+c+'" content="'+n.metadata.parsed[c]+'">\n';break;default:l+='<meta name="'+c+'" content="'+n.metadata.parsed[c]+'">\n'}return e=i+"<html"+a+">\n<head>\n"+o+s+l+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)})),n.subParser("detab",(function(e,t,n){return e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var n=t,r=4-n.length%4,i=0;i<r;i++)n+=" ";return n})),e=(e=e.replace(/¨A/g," ")).replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)})),n.subParser("ellipsis",(function(e,t,n){return t.ellipsis?(e=(e=n.converter._dispatch("ellipsis.before",e,t,n)).replace(/\.\.\./g,"…"),e=n.converter._dispatch("ellipsis.after",e,t,n)):e})),n.subParser("emoji",(function(e,t,r){if(!t.emoji)return e;return e=(e=r.converter._dispatch("emoji.before",e,t,r)).replace(/:([\S]+?):/g,(function(e,t){return n.helper.emojis.hasOwnProperty(t)?n.helper.emojis[t]:e})),e=r.converter._dispatch("emoji.after",e,t,r)})),n.subParser("encodeAmpsAndAngles",(function(e,t,n){return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&")).replace(/<(?![a-z\/?$!])/gi,"<")).replace(/</g,"<")).replace(/>/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)})),n.subParser("encodeBackslashEscapes",(function(e,t,r){return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,n.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,n.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)})),n.subParser("encodeCode",(function(e,t,r){return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,n.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)})),n.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,r){return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)})),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)})),n.subParser("githubCodeBlocks",(function(e,t,r){return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,i,o,s){var a=t.omitExtraWLInCodeBlocks?"":"\n";return s=n.subParser("encodeCode")(s,t,r),s="<pre><code"+(o?' class="'+o+" language-"+o+'"':"")+">"+(s=(s=(s=n.subParser("detab")(s,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+a+"</code></pre>",s=n.subParser("hashBlock")(s,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"})),e=e.replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e})),n.subParser("hashBlock",(function(e,t,n){return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)})),n.subParser("hashCodeTags",(function(e,t,r){e=r.converter._dispatch("hashCodeTags.before",e,t,r);return e=n.helper.replaceRecursiveRegExp(e,(function(e,i,o,s){var a=o+n.subParser("encodeCode")(i,t,r)+s;return"¨C"+(r.gHtmlSpans.push(a)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)})),n.subParser("hashElement",(function(e,t,n){return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}})),n.subParser("hashHTMLBlocks",(function(e,t,r){e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var i=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,n,i){var o=e;return-1!==n.search(/\bmarkdown\b/)&&(o=n+r.converter.makeHtml(t)+i),"\n\n¨K"+(r.gHtmlBlocks.push(o)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"<"+t+">"})));for(var s=0;s<i.length;++s)for(var a,l=new RegExp("^ {0,3}(<"+i[s]+"\\b[^>]*>)","im"),c="<"+i[s]+"\\b[^>]*>",p="</"+i[s]+">";-1!==(a=n.helper.regexIndexOf(e,l));){var u=n.helper.splitAtIndex(e,a),h=n.helper.replaceRecursiveRegExp(u[1],o,c,p,"im");if(h===u[1])break;e=u[0].concat(h)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(e,t,r)),e=(e=n.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)})),n.subParser("hashHTMLSpans",(function(e,t,n){function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,(function(e){return r(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<[^>]+?>/gi,(function(e){return r(e)})),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)})),n.subParser("unhashHTMLSpans",(function(e,t,n){e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var i=n.gHtmlSpans[r],o=0;/¨C(\d+)C/.test(i);){var s=RegExp.$1;if(i=i.replace("¨C"+s+"C",n.gHtmlSpans[s]),10===o){console.error("maximum nesting of 10 spans reached!!!");break}++o}e=e.replace("¨C"+r+"C",i)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)})),n.subParser("hashPreCodeTags",(function(e,t,r){e=r.converter._dispatch("hashPreCodeTags.before",e,t,r);return e=n.helper.replaceRecursiveRegExp(e,(function(e,i,o,s){var a=o+n.subParser("encodeCode")(i,t,r)+s;return"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)})),n.subParser("headers",(function(e,t,r){e=r.converter._dispatch("headers.before",e,t,r);var i=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,s=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(o,(function(e,o){var s=n.subParser("spanGamut")(o,t,r),a=t.noHeaderId?"":' id="'+l(o)+'"',c="<h"+i+a+">"+s+"</h"+i+">";return n.subParser("hashBlock")(c,t,r)}))).replace(s,(function(e,o){var s=n.subParser("spanGamut")(o,t,r),a=t.noHeaderId?"":' id="'+l(o)+'"',c=i+1,p="<h"+c+a+">"+s+"</h"+c+">";return n.subParser("hashBlock")(p,t,r)}));var a=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function l(e){var i,o;if(t.customizedHeaderId){var s=e.match(/\{([^{]+?)}\s*$/);s&&s[1]&&(e=s[1])}return i=e,o=n.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(i=o+i),i=t.ghCompatibleHeaderId?i.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?i.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():i.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(i=o+i),r.hashLinkCounts[i]?i=i+"-"+r.hashLinkCounts[i]++:r.hashLinkCounts[i]=1,i}return e=e.replace(a,(function(e,o,s){var a=s;t.customizedHeaderId&&(a=s.replace(/\s?\{([^{]+?)}\s*$/,""));var c=n.subParser("spanGamut")(a,t,r),p=t.noHeaderId?"":' id="'+l(s)+'"',u=i-1+o.length,h="<h"+u+p+">"+c+"</h"+u+">";return n.subParser("hashBlock")(h,t,r)})),e=r.converter._dispatch("headers.after",e,t,r)})),n.subParser("horizontalRule",(function(e,t,r){e=r.converter._dispatch("horizontalRule.before",e,t,r);var i=n.subParser("hashBlock")("<hr />",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,i)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,i)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,i),e=r.converter._dispatch("horizontalRule.after",e,t,r)})),n.subParser("images",(function(e,t,r){function i(e,t,i,o,s,a,l,c){var p=r.gUrls,u=r.gTitles,h=r.gDimensions;if(i=i.toLowerCase(),c||(c=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==i&&null!==i||(i=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+i,n.helper.isUndefined(p[i]))return e;o=p[i],n.helper.isUndefined(u[i])||(c=u[i]),n.helper.isUndefined(h[i])||(s=h[i].width,a=h[i].height)}t=t.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var d='<img src="'+(o=o.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'" alt="'+t+'"';return c&&n.helper.isString(c)&&(d+=' title="'+(c=c.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"'),s&&a&&(d+=' width="'+(s="*"===s?"auto":s)+'"',d+=' height="'+(a="*"===a?"auto":a)+'"'),d+=" />"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,i)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,n,r,o,s,a,l){return i(e,t,n,r=r.replace(/\s/g,""),o,s,a,l)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,i)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,i)).replace(/!\[([^\[\]]+)]()()()()()/g,i),e=r.converter._dispatch("images.after",e,t,r)})),n.subParser("italicsAndBold",(function(e,t,n){function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),t.literalMidWordUnderscores?e=(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return r(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return r(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return r(t,"<em>","</em>")})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})),e=e.replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e})),e=e.replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e}))),t.literalMidWordAsterisks?e=(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<em>","</em>")})):(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})),e=e.replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e})),e=e.replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e}))),e=n.converter._dispatch("italicsAndBold.after",e,t,n)})),n.subParser("lists",(function(e,t,r){function i(e,i){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,s=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(o,(function(e,i,o,a,l,c,p){p=p&&""!==p.trim();var u=n.subParser("outdent")(l,t,r),h="";return c&&t.tasklists&&(h=' class="task-list-item" style="list-style-type: none;"',u=u.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return p&&(e+=" checked"),e+=">"}))),u=u.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),i||u.search(/\n{2,}/)>-1?(u=n.subParser("githubCodeBlocks")(u,t,r),u=n.subParser("blockGamut")(u,t,r)):(u=(u=n.subParser("lists")(u,t,r)).replace(/\n$/,""),u=(u=n.subParser("hashHTMLBlocks")(u,t,r)).replace(/\n\n+/g,"\n\n"),u=s?n.subParser("paragraphs")(u,t,r):n.subParser("spanGamut")(u,t,r)),u="<li"+h+">"+(u=u.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),r.gListLevel--,i&&(e=e.replace(/\s+$/,"")),e}function o(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function s(e,n,r){var s=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,a=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,l="ul"===n?s:a,c="";if(-1!==e.search(l))!function t(p){var u=p.search(l),h=o(e,n);-1!==u?(c+="\n\n<"+n+h+">\n"+i(p.slice(0,u),!!r)+"</"+n+">\n",l="ul"===(n="ul"===n?"ol":"ul")?s:a,t(p.slice(u))):c+="\n\n<"+n+h+">\n"+i(p,!!r)+"</"+n+">\n"}(e);else{var p=o(e,n);c="\n\n<"+n+p+">\n"+i(e,!!r)+"</"+n+">\n"}return c}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n){return s(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n,r){return s(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)})),n.subParser("metadata",(function(e,t,n){if(!t.metadata)return e;function r(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,r){return n.metadata.parsed[t]=r,""}))}return e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,n){return r(n),"¨M"})),e=e.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,i){return t&&(n.metadata.format=t),r(i),"¨M"})),e=e.replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)})),n.subParser("outdent",(function(e,t,n){return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)})),n.subParser("paragraphs",(function(e,t,r){for(var i=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),o=[],s=i.length,a=0;a<s;a++){var l=i[a];l.search(/¨(K|G)(\d+)\1/g)>=0?o.push(l):l.search(/\S/)>=0&&(l=(l=n.subParser("spanGamut")(l,t,r)).replace(/^([ \t]*)/g,"<p>"),l+="</p>",o.push(l))}for(s=o.length,a=0;a<s;a++){for(var c="",p=o[a],u=!1;/¨(K|G)(\d+)\1/.test(p);){var h=RegExp.$1,d=RegExp.$2;c=(c="K"===h?r.gHtmlBlocks[d]:u?n.subParser("encodeCode")(r.ghCodeBlocks[d].text,t,r):r.ghCodeBlocks[d].codeblock).replace(/\$/g,"$$$$"),p=p.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,c),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(p)&&(u=!0)}o[a]=p}return e=(e=(e=o.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)})),n.subParser("runExtension",(function(e,t,n,r){if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var i=e.regex;i instanceof RegExp||(i=new RegExp(i,"g")),t=t.replace(i,e.replace)}return t})),n.subParser("spanGamut",(function(e,t,r){return e=r.converter._dispatch("spanGamut.before",e,t,r),e=n.subParser("codeSpans")(e,t,r),e=n.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=n.subParser("encodeBackslashEscapes")(e,t,r),e=n.subParser("images")(e,t,r),e=n.subParser("anchors")(e,t,r),e=n.subParser("autoLinks")(e,t,r),e=n.subParser("simplifiedAutoLinks")(e,t,r),e=n.subParser("emoji")(e,t,r),e=n.subParser("underline")(e,t,r),e=n.subParser("italicsAndBold")(e,t,r),e=n.subParser("strikethrough")(e,t,r),e=n.subParser("ellipsis")(e,t,r),e=n.subParser("hashHTMLSpans")(e,t,r),e=n.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=r.converter._dispatch("spanGamut.after",e,t,r)})),n.subParser("strikethrough",(function(e,t,r){return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,i){return function(e){return t.simplifiedAutoLink&&(e=n.subParser("simplifiedAutoLinks")(e,t,r)),"<del>"+e+"</del>"}(i)})),e=r.converter._dispatch("strikethrough.after",e,t,r)),e})),n.subParser("stripLinkDefinitions",(function(e,t,r){var i=function(i,o,s,a,l,c,p){return o=o.toLowerCase(),e.toLowerCase().split(o).length-1<2?i:(s.match(/^data:.+?\/.+?;base64,/)?r.gUrls[o]=s.replace(/\s/g,""):r.gUrls[o]=n.subParser("encodeAmpsAndAngles")(s,t,r),c?c+p:(p&&(r.gTitles[o]=p.replace(/"|'/g,""")),t.parseImgDimensions&&a&&l&&(r.gDimensions[o]={width:a,height:l}),""))};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,i)).replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,i)).replace(/¨0/,"")})),n.subParser("tables",(function(e,t,r){if(!t.tables)return e;function i(e,i){var o="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(o=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),"<th"+o+i+">"+(e=n.subParser("spanGamut")(e,t,r))+"</th>\n"}function o(e){var o,s=e.split("\n");for(o=0;o<s.length;++o)/^ {0,3}\|/.test(s[o])&&(s[o]=s[o].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(s[o])&&(s[o]=s[o].replace(/\|[ \t]*$/,"")),s[o]=n.subParser("codeSpans")(s[o],t,r);var a,l,c=s[0].split("|").map((function(e){return e.trim()})),p=s[1].split("|").map((function(e){return e.trim()})),u=[],h=[],d=[],f=[];for(s.shift(),s.shift(),o=0;o<s.length;++o)""!==s[o].trim()&&u.push(s[o].split("|").map((function(e){return e.trim()})));if(c.length<p.length)return e;for(o=0;o<p.length;++o)d.push((a=p[o],/^:[ \t]*--*$/.test(a)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(a)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(a)?' style="text-align:center;"':""));for(o=0;o<c.length;++o)n.helper.isUndefined(d[o])&&(d[o]=""),h.push(i(c[o],d[o]));for(o=0;o<u.length;++o){for(var m=[],g=0;g<h.length;++g)n.helper.isUndefined(u[o][g]),m.push((l=u[o][g],"<td"+d[g]+">"+n.subParser("spanGamut")(l,t,r)+"</td>\n"));f.push(m)}return function(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,i=0;i<r;++i)n+=e[i];for(n+="</tr>\n</thead>\n<tbody>\n",i=0;i<t.length;++i){n+="<tr>\n";for(var o=0;o<r;++o)n+=t[i][o];n+="</tr>\n"}return n+"</tbody>\n</table>\n"}(h,f)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,n.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,o),e=r.converter._dispatch("tables.after",e,t,r)})),n.subParser("underline",(function(e,t,r){return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),t.literalMidWordUnderscores?e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e})),e=e.replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))),e=e.replace(/(_)/g,n.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e})),n.subParser("unescapeSpecialChars",(function(e,t,n){return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,(function(e,t){var n=parseInt(t);return String.fromCharCode(n)})),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)})),n.subParser("makeMarkdown.blockquote",(function(e,t){var r="";if(e.hasChildNodes())for(var i=e.childNodes,o=i.length,s=0;s<o;++s){var a=n.subParser("makeMarkdown.node")(i[s],t);""!==a&&(r+=a)}return r="> "+(r=r.trim()).split("\n").join("\n> ")})),n.subParser("makeMarkdown.codeBlock",(function(e,t){var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"})),n.subParser("makeMarkdown.codeSpan",(function(e){return"`"+e.innerHTML+"`"})),n.subParser("makeMarkdown.emphasis",(function(e,t){var r="";if(e.hasChildNodes()){r+="*";for(var i=e.childNodes,o=i.length,s=0;s<o;++s)r+=n.subParser("makeMarkdown.node")(i[s],t);r+="*"}return r})),n.subParser("makeMarkdown.header",(function(e,t,r){var i=new Array(r+1).join("#"),o="";if(e.hasChildNodes()){o=i+" ";for(var s=e.childNodes,a=s.length,l=0;l<a;++l)o+=n.subParser("makeMarkdown.node")(s[l],t)}return o})),n.subParser("makeMarkdown.hr",(function(){return"---"})),n.subParser("makeMarkdown.image",(function(e){var t="";return e.hasAttribute("src")&&(t+="+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),n.subParser("makeMarkdown.links",(function(e,t){var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var i=e.childNodes,o=i.length;r="[";for(var s=0;s<o;++s)r+=n.subParser("makeMarkdown.node")(i[s],t);r+="](",r+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r})),n.subParser("makeMarkdown.list",(function(e,t,r){var i="";if(!e.hasChildNodes())return"";for(var o=e.childNodes,s=o.length,a=e.getAttribute("start")||1,l=0;l<s;++l)if(void 0!==o[l].tagName&&"li"===o[l].tagName.toLowerCase()){i+=("ol"===r?a.toString()+". ":"- ")+n.subParser("makeMarkdown.listItem")(o[l],t),++a}return(i+="\n\x3c!-- --\x3e\n").trim()})),n.subParser("makeMarkdown.listItem",(function(e,t){for(var r="",i=e.childNodes,o=i.length,s=0;s<o;++s)r+=n.subParser("makeMarkdown.node")(i[s],t);return/\n$/.test(r)?r=r.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):r+="\n",r})),n.subParser("makeMarkdown.node",(function(e,t,r){r=r||!1;var i="";if(3===e.nodeType)return n.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":r||(i=n.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":r||(i=n.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":r||(i=n.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":r||(i=n.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":r||(i=n.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":r||(i=n.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":r||(i=n.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":r||(i=n.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":r||(i=n.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":r||(i=n.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":r||(i=n.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":r||(i=n.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":r||(i=n.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":r||(i=n.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":i=n.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":i=n.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":i=n.subParser("makeMarkdown.strong")(e,t);break;case"del":i=n.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":i=n.subParser("makeMarkdown.links")(e,t);break;case"img":i=n.subParser("makeMarkdown.image")(e,t);break;default:i=e.outerHTML+"\n\n"}return i})),n.subParser("makeMarkdown.paragraph",(function(e,t){var r="";if(e.hasChildNodes())for(var i=e.childNodes,o=i.length,s=0;s<o;++s)r+=n.subParser("makeMarkdown.node")(i[s],t);return r=r.trim()})),n.subParser("makeMarkdown.pre",(function(e,t){var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"})),n.subParser("makeMarkdown.strikethrough",(function(e,t){var r="";if(e.hasChildNodes()){r+="~~";for(var i=e.childNodes,o=i.length,s=0;s<o;++s)r+=n.subParser("makeMarkdown.node")(i[s],t);r+="~~"}return r})),n.subParser("makeMarkdown.strong",(function(e,t){var r="";if(e.hasChildNodes()){r+="**";for(var i=e.childNodes,o=i.length,s=0;s<o;++s)r+=n.subParser("makeMarkdown.node")(i[s],t);r+="**"}return r})),n.subParser("makeMarkdown.table",(function(e,t){var r,i,o="",s=[[],[]],a=e.querySelectorAll("thead>tr>th"),l=e.querySelectorAll("tbody>tr");for(r=0;r<a.length;++r){var c=n.subParser("makeMarkdown.tableCell")(a[r],t),p="---";if(a[r].hasAttribute("style"))switch(a[r].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":p=":---";break;case"text-align:right;":p="---:";break;case"text-align:center;":p=":---:"}s[0][r]=c.trim(),s[1][r]=p}for(r=0;r<l.length;++r){var u=s.push([])-1,h=l[r].getElementsByTagName("td");for(i=0;i<a.length;++i){var d=" ";void 0!==h[i]&&(d=n.subParser("makeMarkdown.tableCell")(h[i],t)),s[u].push(d)}}var f=3;for(r=0;r<s.length;++r)for(i=0;i<s[r].length;++i){var m=s[r][i].length;m>f&&(f=m)}for(r=0;r<s.length;++r){for(i=0;i<s[r].length;++i)1===r?":"===s[r][i].slice(-1)?s[r][i]=n.helper.padEnd(s[r][i].slice(-1),f-1,"-")+":":s[r][i]=n.helper.padEnd(s[r][i],f,"-"):s[r][i]=n.helper.padEnd(s[r][i],f);o+="| "+s[r].join(" | ")+" |\n"}return o.trim()})),n.subParser("makeMarkdown.tableCell",(function(e,t){var r="";if(!e.hasChildNodes())return"";for(var i=e.childNodes,o=i.length,s=0;s<o;++s)r+=n.subParser("makeMarkdown.node")(i[s],t,!0);return r.trim()})),n.subParser("makeMarkdown.txt",(function(e){var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=n.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));e.exports?e.exports=n:this.showdown=n}).call(fw)}(Vne);var Hne=mw(Vne.exports);const Une=(e,t="expression",n={})=>{const{depth:r=0,specialDepthAccessors:i={}}=n;if(!["expression","unaryTest"].includes(t))return[];const o="expression"===t?yM(e):vM(e),s=function e(t){if("PathExpression"===t.name){const n=Qne(t)[0];return"Context"===n.name?e(n):0===Object.keys(i).length?0===r?[Wne(t,0)]:[]:Array.from(Gne(t,r,i))}if(0===r&&"VariableName"===t.name)return[t.variableName];if(t.children){const n=t.children.reduce(((t,n)=>t.concat(e(n))),[]);return"FilterContext"===t.name?n.filter((e=>"item"!==e)):n}return[]}(Xne(o,e));return[...new Set(s)]},Wne=(e,t)=>Qne(e)[t].variableName||null,Gne=(e,t,n)=>{let r=[{previous:null,current:t-1}];const i=new Set,o=Qne(e);for(let e=0;e<o.length;e++){const t=o[e].variableName;if(t in n){const e=n[t];r=e.reduce(((e,t)=>[...e,...r.map((e=>({previous:e.current,current:e.current+t})))]),[]).filter((e=>e.current>=-1))}else r=r.map((e=>({previous:e.current,current:e.current+1})));r.some((e=>-1===e.previous&&0===e.current))&&i.add(t)}return new Set(i)},Qne=e=>{let t=e,n=[];for(;"PathExpression"===t.name;)n.push(t.children[1]),t=t.children[0];return n.push(t),n.reverse()},Xne=(e,t)=>{const n=[{children:[]}];return e.iterate({enter:e=>{const r={name:e.type.name,children:[]};"VariableName"===e.type.name&&(r.variableName=t.slice(e.from,e.to)),n.push(r)},leave:()=>{const e=n.pop();n[n.length-1].children.push(e)}}),Zne(n[0].children[0])},Zne=e=>{const t={name:"Root",children:[e]},n=e=>{if(e.children)for(let r=0;r<e.children.length;r++)if("FilterExpression"===e.children[r].name){const i=e.children[r].children[0],o=e.children[r].children[2];e.children[r]=i;const s={name:"FilterContext",children:[o]};t.children.push(s),n(o)}else n(e.children[r])};return n(e),t};class Yne{constructor(e){this._eventBus=e}isExpression(e){return d(e)&&e.startsWith("=")}getVariableNames(e,t={}){const{type:n="expression"}=t;if(!this.isExpression(e))return[];if(!["unaryTest","expression"].includes(n))throw new Error("Unknown expression type: "+n);return Une(e,n)}evaluate(e,t={}){if(!e)return null;if(!d(e)||!e.startsWith("="))return null;try{return xM(e.slice(1),t)}catch(e){return this._eventBus.fire("error",{error:e}),null}}}Yne.$inject=["eventBus"];class Kne{constructor(){}isTemplate(e){return d(e)&&(e.startsWith("=")||/{{.*?}}/.test(e))}getVariableNames(e){if(!this.isTemplate(e))return[];const t=this._extractExpressionsWithDepth(e),n={parent:[-1,1],_parent_:[-1],this:[0,1],_this_:[0]};return t.reduce(((e,{expression:t,depth:r})=>e.concat(Une(t,"expression",{depth:r,specialDepthAccessors:n}))),[])}evaluate(e,t={},n={}){const{debug:r=!1,strict:i=!1,buildDebugString:o=(e=>" {{⚠}} "),sanitizer:s=(e=>e)}=n;return((e,t={},n={})=>{const{debug:r=!1,strict:i=!1,buildDebugString:o=(e=>`{{ ${e.message.toLowerCase()} }}`),sanitizer:s}=n,a=fV(dV.parse(e),e);return mV({debug:r,strict:i,buildDebugString:o,sanitizer:s})(a,gV(t,null))})(e,t,{debug:r,strict:i,buildDebugString:o,sanitizer:s})}_extractExpressionsWithDepth(e){return function e(t,n=0){if(["Feel","FeelBlock"].includes(t.name))return[{depth:n,expression:t.content}];if("LoopSpanner"===t.name){const r=t.children[0].content,i=t.children.slice(1).reduce(((t,r)=>t.concat(e(r,n+1))),[]);return[{depth:n,expression:r},...i]}return t.children.reduce(((t,r)=>t.concat(e(r,n))),[])}(fV(dV.parse(e),e))}}Kne.$inject=[];const Jne=1440,ere="date",tre="time",nre="datetime",rre={UTC_OFFSET:"utc_offset",UTC_NORMALIZED:"utc_normalized",NO_TIMEZONE:"no_timezone"},ire=["subtype"],ore=["dateLabel"],sre="sandbox",are="allow",lre=[{attribute:sre,directive:"allow-scripts",property:"allowScripts",label:"Script execution"},{attribute:sre,directive:"allow-same-origin",property:"allowSameOrigin",label:"Allow same origin"},{attribute:are,directive:"fullscreen",property:"fullscreen",label:"Open in fullscreen"},{attribute:are,directive:"geolocation",property:"geolocation",label:"Geolocation"},{attribute:are,directive:"camera",property:"camera",label:"Camera access"},{attribute:are,directive:"microphone",property:"microphone",label:"Microphone access"},{attribute:sre,directive:"allow-forms",property:"allowForms",label:"Forms submission"},{attribute:sre,directive:"allow-modals",property:"allowModals",label:"Open modal windows"},{attribute:sre,directive:"allow-popups",property:"allowPopups",label:"Open popups"},{attribute:sre,directive:"allow-top-navigation",property:"allowTopNavigation",label:"Top level navigation"},{attribute:sre,directive:"allow-storage-access-by-user-activation",property:"allowStorageAccessByUserActivation",label:"Storage access by user"}];function cre(e,{errors:t=[],disabled:n=!1,readonly:r=!1}={}){if(!e)throw new Error("type required");return L_("fjs-form-field",`fjs-form-field-${e}`,{"fjs-has-errors":t.length>0,"fjs-disabled":n,"fjs-readonly":r})}function pre(e){const{layout:t={}}=e,{columns:n}=t;return L_("fjs-layout-column","cds--col"+(n?"-lg-"+n:""),"cds--col-sm-16","cds--col-md-16")}function ure(e,t,n){let r="fjs-form";return t&&(r+=`-${t}`),r+=`-${e}`,Object.values(n||{}).forEach((e=>{r+=`_${e}`})),r}const hre="button";function dre(e){const{disabled:t,onFocus:n,onBlur:r,field:i}=e,{action:o="submit"}=i;return S7("div",{class:cre(hre),children:S7("button",{class:"fjs-button",type:o,disabled:t,onFocus:()=>n&&n(),onBlur:()=>r&&r(),children:i.label})})}dre.config={type:hre,keyed:!1,label:"Button",group:"action",create:(e={})=>({action:"submit",...e})};const fre=cl({Empty:e=>null,Hidden:e=>null,Children:e=>S7("div",{class:e.class,style:e.style,children:e.children}),Element:e=>S7("div",{class:e.class,style:e.style,children:e.children}),Row:e=>S7("div",{class:e.class,style:e.style,children:e.children}),Column:e=>"default"===e.field.type?e.children:S7("div",{class:e.class,style:e.style,children:e.children}),hoverInfo:{cleanup:()=>{}}}),mre=cl({data:null,this:null,parent:null,i:null});const gre=cl({getService:function(e,t){},formId:null});function yre(e,t){const{getService:n}=Dl(gre);return n(e,t)}function vre(e,t){return JSON.parse(JSON.stringify(e,t))}function bre(e){const{data:t,...n}=e;return{...n,...t,...wre(n)}}function wre(e){const t={};for(const[n,r]of Object.entries(e))t[`_${n}_`]=r;return t}function xre(e,t){const{valuesKey:n,values:r}=e;return n?B(t,[n]):r}function _re(e){return e.filter(Ore).map(kre).filter((e=>!l(e)))}function kre(e){if(Ere(e))return{value:e,label:`${e}`};if(p(e)){const n=(t=e.label)&&d(t);if(!n&&Ere(e.value))return{value:e.value,label:`${e.value}`};if(n&&Ore(e.value))return e}var t;return null}function Ere(e){return["number","string","boolean"].includes(typeof e)&&(e||0===e||!1===e)}function Ore(e){return p(e)?Object.keys(e).length>0:Ere(e)}function Pre(e={}){const t={};return e.valuesKey||e.valuesExpression||(t.values=[{label:"Value",value:"value"}]),{...t,...e}}function Sre(e){const t=yre("expressionLanguage"),n=Dl(mre);return Ml((()=>t&&t.isExpression(e)?t.evaluate(e,bre(n)):e),[t,n,e])}function Cre(e,t=null){const n=Tl(t);return Sl((()=>n.current=e),[e]),n.current}function Tre(e,t){const[n,r]=Pl(t),i=Cre(e,t),o=!$te(i,e);return Sl((()=>{o&&r(e)}),[o,e]),n}const Mre={LOADING:"loading",LOADED:"loaded",ERROR:"error"};function Are(e){const{valuesExpression:t,valuesKey:n,values:r}=e,[i,o]=Pl({options:[],error:void 0,loadState:Mre.LOADING}),s=yre("form")._getState().initialData,a=Tre(Sre(t)||[],[]);return Sl((()=>{let e=[];if(void 0!==n){const t=(s||{})[n];t&&Array.isArray(t)&&(e=t)}else if(void 0!==r)e=Array.isArray(r)?r:[];else{if(!t)return void o(Dre("No options source defined in the form definition"));a&&Array.isArray(a)&&(e=a)}e=_re(e),o(Nre(e))}),[n,r,s,t,a]),i}const Dre=e=>({options:[],error:e,loadState:Mre.ERROR}),Nre=e=>({options:e,error:void 0,loadState:Mre.LOADED}),Rre=e=>{const{html:t,transform:n=(e=>e),sanitize:r=!0,sanitizeStyleTags:i=!0}=e,o=Ml((()=>r?Fne.sanitize(t,jre(i)):t),[t,r,i]);return{__html:Ml((()=>n(o)),[o,n])}},jre=e=>({FORCE_BODY:!0,FORBID_TAGS:e?["style"]:[]});function Ire(e){const t=Ml((()=>Object.assign({},...e.map((e=>({[Lre(e.value)]:e.label}))))),[e]);return Al((e=>t[Lre(e)]),[t])}const Lre=e=>p(e)?JSON.stringify(e):e;function zre(e,t,n=window){function r({key:n}){n===e&&t()}Sl((()=>(n.addEventListener("keydown",r),()=>{n.removeEventListener("keydown",r)})))}function Bre(e){const t=Tl(null),n=Tl(null),r=yre("config",!1),i=r&&r.debounce,o=!1!==i&&0!==i,s="number"==typeof i?i:300;return[Al(((...r)=>{o?(n.current=r,t.current&&clearTimeout(t.current),t.current=setTimeout((()=>{e(...n.current),n.current=null}),s)):e(...r)}),[e,s,o]),Al((()=>{t.current&&(clearTimeout(t.current),null!==n.current&&(e(...n.current),n.current=null),t.current=null)}),[e])]}function $re(e,t={}){const n=yre("templating"),r=Dl(mre);return Ml((()=>n&&n.isTemplate(e)?n.evaluate(e,bre(r),t):e),[n,e,r,t])}function qre(e,t={}){const n=$re(e,t);return Ml((()=>n&&n.split("\n")[0]),[n])}const Fre=new KeyboardEvent("keydown",{code:"Enter",key:"Enter",charCode:13,keyCode:13,bubbles:!0});function Vre(e){if(!e)return;!e.isOpen&&e.open();const t=e.calendarContainer,n=t.querySelector(".flatpickr-day.selected")||t.querySelector(".flatpickr-day.today")||t.querySelector(".flatpickr-day");n&&n.focus()}function Hre(e,t){if(null===t)return null;const n=t%1440,r=t%60;let i=Math.floor(n/60);if(e)return Zre(i)+":"+Zre(r);i=i%12||12;const o=n>=720;return Zre(i)+":"+Zre(r)+" "+(o?"PM":"AM")}function Ure(e){let t=e.toLowerCase();if(t.includes("am")||t.includes("pm")){const e=t.includes("pm"),n=t.match(/\d+/g),r=parseInt(n&&n[0]),i=parseInt(n&&n[1])||0;if(!(u(r)&&r>=1&&r<=12)||!(i>=0&&i<=59))return null;return 60*(r%12+(e?12:0))+i}{const e=t.match(/\d+/g),n=parseInt(e&&e[0]),r=parseInt(e&&e[1]),i=u(n)&&n>=0&&n<=23,o=u(r)&&r>=0&&r<=59;return i&&o?60*n+r:null}}function Wre(e,t,n){if(n===rre.UTC_NORMALIZED){const n=(e+t+Jne)%Jne;return Zre(Math.floor(n/60))+":"+Zre(n%60)+"Z"}return Zre(Math.floor(e/60))+":"+Zre(e%60)+(n===rre.UTC_OFFSET?function(e){return function(e){return e>0?"-"+Zre(Math.floor(e/60)):"+"+Zre(Math.floor((0-e)/60))}(e)+":"+Zre(Math.abs(e%60))}(t):"")}function Gre(e){if(!e)return null;const t=e=>{const t=e.split(":"),n=parseInt(t[0]),r=t.length>1?parseInt(t[1]):0;return isNaN(n)||n<0||n>24||isNaN(r)||r<0||r>60?null:60*n+r},n=(new Date).getTimezoneOffset();if(e.includes("Z")){const r=t(e=e.replace("Z",""));return null===r?null:(r-n+Jne)%Jne}if(e.includes("+")){const[r,i]=e.split("+"),o=t(r);let s=t(i);return null===o||null===s?null:(s=-s,(o+s-n+Jne)%Jne)}if(e.includes("-")){const[r,i]=e.split("-"),o=t(r);let s=t(i);return null===o||null===s?null:(o+s-n+Jne)%Jne}return t(e)}function Qre(e){var t=new Date(e),n=""+(t.getMonth()+1),r=""+t.getDate(),i=t.getFullYear();return n.length<2&&(n="0"+n),r.length<2&&(r="0"+r),[i,n,r].join("-")}function Xre(e){return isNaN(new Date(Date.parse(e)).getTime())}function Zre(e){return e.toString().padStart(2,"0")}const Yre=/^(https?|data):.*/i,Kre=/^(https):\/\/*/i;function Jre(e,t){return!!Array.isArray(t)&&t.some((t=>$te(e,t)))}function eie(e){const{formField:t,data:n,value:r}=e;try{const e=_re(xre(t,n)).map((e=>e.value));return Jre(r,e)?r:null}catch(e){return null}}function tie(e){const{formField:t,data:n,value:r}=e;try{const e=_re(xre(t,n)).map((e=>e.value));return r.filter((t=>Jre(t,e)))}catch(e){return[]}}function nie(e){const t={"&":"&","<":"<",">":">",'"':""","'":"'","{":"{","}":"}",":":":",";":";"};return e.replace(/[&<>"'{};:]/g,(e=>t[e]))}function rie(e){const{field:t,options:n,loadState:r,onChange:i,value:o}=e;Sl((()=>{if(r!==Mre.LOADED)return;const e=n.map((e=>e.value));o&&!Jre(o,e)&&i({field:t,value:null})}),[t,n,i,o,r])}function iie(e){const{field:t,options:n,loadState:r,onChange:i,values:o}=e,s=Tre(o,[]);Sl((()=>{if(r!==Mre.LOADED)return;const e=n.map((e=>e.value)),o=s.some((t=>!Jre(t,e)));o&&i({field:t,value:s.filter((t=>Jre(t,e)))})}),[t,n,i,s,r])}function oie(e){const{description:t}=e,n=qre(t||"",{debug:!0});return n?S7("div",{class:"fjs-form-field-description",children:n}):null}function sie(e){const{errors:t,id:n}=e;return t.length?S7("div",{class:"fjs-form-field-error","aria-live":"polite",id:n,children:S7("ul",{children:t.map((e=>S7("li",{children:e})))})}):null}function aie(e){const{id:t,label:n,collapseOnEmpty:r=!0,required:i=!1}=e,o=qre(n||"",{debug:!0});return S7("label",{for:t,class:L_("fjs-form-field-label",{"fjs-incollapsible-label":!r},e.class),children:[e.children,o,i&&S7("span",{class:"fjs-asterix",children:"*"})]})}const lie="checkbox";function cie(e){const{disabled:t,errors:n=[],errorMessageId:r,domId:i,onBlur:o,onFocus:s,field:a,readonly:l,value:c=!1}=e,{description:p,label:u,validate:h={}}=a,{required:d}=h;return S7("div",{class:L_(cre(lie,{errors:n,disabled:t,readonly:l}),{"fjs-checked":c}),children:[S7(aie,{id:i,label:u,required:d,children:S7("input",{checked:c,class:"fjs-input",disabled:t,readOnly:l,id:i,type:"checkbox",onChange:({target:t})=>{e.onChange({field:a,value:t.checked})},onBlur:()=>o&&o(),onFocus:()=>s&&s(),"aria-describedby":r})}),S7(oie,{description:p}),S7(sie,{errors:n,id:r})]})}cie.config={type:lie,keyed:!0,label:"Checkbox",group:"selection",emptyValue:!1,sanitizeValue:({value:e})=>!0===e,create:(e={})=>({...e})};const pie="checklist";function uie(e){const{disabled:t,errors:n=[],errorMessageId:r,domId:i,onBlur:o,onFocus:s,field:a,readonly:l,value:c=[]}=e,{description:p,label:u,validate:h={}}=a,d=Tl(),{required:f}=h,m=e=>{d.current.contains(e.relatedTarget)||o&&o()},g=e=>{d.current.contains(e.relatedTarget)||s&&s()},{loadState:y,options:v}=Are(a);return iie({field:a,loadState:y,options:v,values:c,onChange:e.onChange}),S7("div",{class:L_(cre(pie,{errors:n,disabled:t,readonly:l})),ref:d,children:[S7(aie,{label:u,required:f}),y==Mre.LOADED&&v.map(((n,o)=>{const s=`${i}-${o}`,p=Jre(n.value,c);return S7(aie,{id:s,label:n.label,class:L_({"fjs-checked":p}),required:!1,children:S7("input",{checked:p,class:"fjs-input",disabled:t,readOnly:l,id:s,type:"checkbox",onClick:()=>(t=>{const n=Jre(t,c)?c.filter((e=>!$te(e,t))):[...c,t];e.onChange({field:a,value:n})})(n.value),onBlur:m,onFocus:g,"aria-describedby":r})})})),S7(oie,{description:p}),S7(sie,{errors:n,id:r})]})}uie.config={type:pie,keyed:!0,label:"Checkbox group",group:"selection",emptyValue:[],sanitizeValue:tie,create:Pre};const hie=()=>!1;function die(e){const{field:t,indexes:n,onChange:r}=e,i=yre("formFields"),o=yre("viewerCommands",!1),s=yre("pathRegistry"),a=yre("eventBus"),l=yre("form"),{initialData:c,data:p,errors:u,properties:h}=l._getState(),{Element:d,Hidden:f,Column:m}=Dl(fre),{formId:g}=Dl(gre),[y,v]=Pl(!!o),b=i.get(t.type);if(!b)throw new Error(`cannot render field <${t.type}>`);const w=Ml((()=>s.getValuePath(t,{indexes:n})),[t,n,s]),x=Ml((()=>B(c,w)),[c,w]),_=function(e,t={}){const n=yre("expressionLanguage"),r=yre("conditionChecker",!1),i=Dl(mre),{readonly:o}=e;return!!t.readOnly||(n&&n.isExpression(o)?!!r&&r.check(o,bre(i)):o||!1)}(t,h),k=B(p,w),E=!h.readOnly&&(h.disabled||t.disabled||!1);Sl((()=>{if(!o)return;const e=()=>{v(!0)};return a.on("import.done",e),a.on("reset",e),()=>{a.off("import.done",e),a.off("reset",e)}}),[a,o]),Sl((()=>{y&&x&&(v(!1),o.updateFieldValidation(t,x,n))}),[o,t,x,y,n]);const O=Al((()=>{y&&(v(!1),o.updateFieldValidation(t,k,n)),a.fire("formField.blur",{formField:t})}),[a,t,n,k,o,y]),P=Al((()=>{a.fire("formField.focus",{formField:t})}),[a,t]),S=function(e){const t=yre("conditionChecker",!1),n=Dl(mre);return Ml((()=>t?t.check(e,bre(n)):null),[t,e,n])}(t.conditional&&t.conditional.hide||null),C=Al((e=>{v(!1),r(b.config.keyed?{...e,indexes:n}:e)}),[r,b.config.keyed,n]);if(S)return S7(f,{field:t});const T=`${ure(t.id,g,n)}`,M=B(u,[t.id,...Object.values(n||{})])||[],A=0===u.length?void 0:`${T}-error-message`;return S7(m,{field:t,class:pre(t),children:S7(d,{class:"fjs-element",field:t,children:S7(b,{...e,disabled:E,errors:M,errorMessageId:A,domId:T,onChange:E||_?hie:C,onBlur:E||_?hie:O,onFocus:E||_?hie:P,readonly:_,value:k})})})}function fie(e){const{Children:t}=Dl(fre),{field:n,Empty:r}=e,{id:i}=n,o=yre("repeatRenderManager",!1),s=o&&o.isFieldRepeating(i),a=o.Repeater,l=o.RepeatFooter;return s?S7(gie,{...e,ChildrenRoot:t,Empty:r,Repeater:a,RepeatFooter:l,repeatRenderManager:o}):S7(mie,{...e,ChildrenRoot:t,Empty:r})}function mie(e){const{ChildrenRoot:t,Empty:n,field:r}=e,{components:i=[]}=r,o=!i.length;return S7(t,{class:"fjs-vertical-layout fjs-children cds--grid cds--grid--condensed",field:r,children:[S7(yie,{...e}),o?S7(n,{field:r}):null]})}function gie(e){const{ChildrenRoot:t,repeatRenderManager:n,Empty:r,field:i,...o}=e,{components:s=[]}=i,a=Pl({isCollapsed:!0}),l=n.Repeater,c=n.RepeatFooter;return S7(Va,{children:[S7(t,{class:"fjs-vertical-layout fjs-children cds--grid cds--grid--condensed",field:i,children:[l?S7(l,{...o,useSharedState:a,field:i,RowsRenderer:yie}):S7(yie,{...o,field:i}),s.length?null:S7(r,{field:i})]}),c?S7(c,{...o,useSharedState:a,field:i}):null]})}function yie(e){const{field:t,indexes:n}=e,{id:r,verticalAlignment:i="start"}=t,o=yre("formLayouter"),s=yre("formFieldRegistry"),a=o.getRows(r),{Row:l}=Dl(fre);return S7(Va,{children:[" ",a.map((t=>{const{components:r=[]}=t;return r.length?S7(l,{row:t,class:"fjs-layout-row cds--row",style:{alignItems:i},children:r.map((t=>{const r=s.get(t);return r?qa(die,{...e,key:t,field:r,indexes:n}):null}))}):null}))," "]})}function vie(e){const{Empty:t}=Dl(fre);return S7(fie,{...{...e,Empty:t}})}var bie;function wie(){return wie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wie.apply(this,arguments)}vie.config={type:"default",keyed:!1,label:null,group:null,create:(e={})=>({components:[],...e})};var xie,_ie,kie=function(e){return qa("svg",wie({xmlns:"http://www.w3.org/2000/svg",width:14,height:15,fill:"none",viewBox:"0 0 28 30"},e),bie||(bie=qa("path",{fill:"currentColor",fillRule:"evenodd",d:"M19 2H9V0H7v2H2a2 2 0 0 0-2 2v24a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-5V0h-2v2ZM7 7V4H2v5h24V4h-5v3h-2V4H9v3H7Zm-5 4v17h24V11H2Z",clipRule:"evenodd"})))};function Eie(e="default"){return new Intl.DateTimeFormat(e).formatToParts(new Date(Date.UTC(2020,5,5))).map((e=>{const t=e.value.length;switch(e.type){case"day":return"d".repeat(t);case"month":return"M".repeat(t);case"year":return"y".repeat(t);default:return e.value}})).join("")}function Oie(e){let t=Eie(e).toLowerCase();return t.includes("mm")||(t=t.replace("m","mm")),t.includes("dd")||(t=t.replace("d","dd")),t}function Pie(e){const{pre:t,post:n,rootRef:r,inputRef:i,children:o,disabled:s,readonly:a,hasErrors:l}=e,c=()=>i&&i.current&&i.current.focus();return S7("div",{class:L_("fjs-input-group",{"fjs-disabled":s,"fjs-readonly":a},{hasErrors:l}),ref:r,children:[t&&S7("span",{class:"fjs-input-adornment border-right border-radius-left",onClick:c,children:[" ",d(t)?S7("span",{class:"fjs-input-adornment-text",children:t}):t," "]}),o,n&&S7("span",{class:"fjs-input-adornment border-left border-radius-right",onClick:c,children:[" ",d(n)?S7("span",{class:"fjs-input-adornment-text",children:n}):n," "]})]})}function Sie(e){const{label:t,domId:n,collapseLabelOnEmpty:r,onDateTimeBlur:i,onDateTimeFocus:o,required:s,disabled:a,disallowPassedDates:l,date:c,readonly:p,setDate:u}=e,h=Tl(),d=Tl(),[f,m]=Pl(null),[g,y]=Pl(!1),[v,b]=Pl(!1),w=Tre(c,null);Sl((()=>{f&&f.config&&(f.setDate(w,!0),y(!1))}),[f,w]),Sl((()=>{v&&(Vre(f),b(!1))}),[f,v]),Sl((()=>{let e={allowInput:!0,dateFormat:function(e){const t={day:e.includes("dd"),month:e.includes("MM"),year:e.includes("yyyy")};return e=t.day?e.replace("dd","d"):e.replace("d","j"),e=t.month?e.replace("MM","m"):e.replace("M","n"),e=t.year?e.replace("yyyy","Y"):e.replace("yy","y")}(Eie(t)),static:!0,clickOpens:!1,minDate:l?"today":"01/01/1900",errorHandler:()=>{}};var t;const n=vne(h.current,e);m(n);const r=e=>{n.calendarContainer.contains(e.relatedTarget)||e.relatedTarget==h.current||n.close()},i=e=>{e.target.classList.contains("flatpickr-day")&&y(!1)};n.config.onOpen=[()=>n.calendarContainer.addEventListener("focusout",r),()=>n.calendarContainer.addEventListener("mousedown",i)],n.config.onClose=[()=>n.calendarContainer.removeEventListener("focusout",r),()=>n.calendarContainer.removeEventListener("mousedown",i)]}),[l]),Sl((()=>{f&&f.config&&(f.config.onChange=[e=>u(new Date(e)),()=>y(!1)])}),[f,u]);const x=Al((e=>{f&&("Escape"===e.code&&f.close(),"ArrowDown"===e.code&&(g?(h.current.dispatchEvent(Fre),y(!1),b(!0)):Vre(f),e.preventDefault()),"Enter"===e.code&&y(!1))}),[f,g]),_=Al((e=>{!f||d.current.contains(e.relatedTarget)||p||(f.open(),o(e))}),[f,p,o]),k=Al((e=>{e.relatedTarget&&e.relatedTarget.classList.contains("flatpickr-day")||(g&&(h.current.dispatchEvent(Fre),y(!1)),i(e))}),[g,i]);return S7("div",{class:"fjs-datetime-subsection",children:[S7(aie,{id:n,label:t,collapseOnEmpty:r,required:s}),S7(Pie,{pre:S7(kie,{}),disabled:a,readonly:p,rootRef:d,inputRef:h,children:S7("div",{class:"fjs-datepicker",style:{width:"100%"},children:S7("input",{ref:h,type:"text",id:n,class:"fjs-input",disabled:a,readOnly:p,placeholder:Oie(),autoComplete:"off",onFocus:_,onBlur:k,onKeyDown:x,onMouseDown:()=>!f.isOpen&&!p&&f.open(),onInput:()=>y(!0),"data-input":!0,"aria-describedby":e["aria-describedby"]})})})]})}function Cie(){return Cie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cie.apply(this,arguments)}var Tie=function(e){return qa("svg",Cie({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 28 29"},e),xie||(xie=qa("path",{fill:"currentColor",d:"M13 14.41 18.59 20 20 18.59l-5-5.01V5h-2v9.41Z"})),_ie||(_ie=qa("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.222 25.64A14 14 0 1 0 21.778 2.36 14 14 0 0 0 6.222 25.64ZM7.333 4.023a12 12 0 1 1 13.334 19.955A12 12 0 0 1 7.333 4.022Z",clipRule:"evenodd"})))};const Mie=e=>e,Aie=()=>{};function Die(e){const{listenerElement:t=window,values:n=[],getLabel:r=Mie,onValueSelected:i=Aie,height:o=235,emptyListMessage:s="No results",initialFocusIndex:a=0}=e,[l,c]=Pl(!1),[p,u]=Pl(a),[h,d]=Pl(!1),f=Tl(),m=Tl(),g=Ml((()=>n.length?n[p]:null),[p,n]),y=Al((e=>{u((t=>Math.min(Math.max(0,t+e),n.length-1)))}),[n.length]);Sl((()=>{0!==p&&(p&&n.length?p>=n.length&&u(n.length-1):u(0))}),[p,n.length]),zre("ArrowUp",(()=>{n.length&&(y(-1),c(!1))}),t),zre("ArrowDown",(()=>{n.length&&(y(1),c(!1))}),t),zre("Enter",(()=>{g&&i(g)}),t),Sl((()=>{const e=f.current.children;if(e.length&&!l){const t=e[p];t&&t.scrollIntoView({block:"nearest",inline:"nearest"})}}),[p,l]),Sl((()=>{d(!0)}),[]);return S7("div",{ref:f,tabIndex:-1,class:"fjs-dropdownlist",onMouseDown:e=>e.preventDefault(),style:{maxHeight:o,scrollBehavior:h?"smooth":"auto"},children:[n.length>0&&n.map(((e,t)=>S7("div",{class:L_("fjs-dropdownlist-item",{focused:p===t}),onMouseMove:l?void 0:e=>((e,t)=>{(!m.current||m.current.x!==e.screenX&&m.current.y!==e.screenY)&&(m.current={x:e.screenX,y:e.screenY},c(!0),u(t))})(e,t),onMouseEnter:l?()=>u(t):void 0,onMouseDown:t=>i(e),children:r(e)}))),!n.length&&S7("div",{class:"fjs-dropdownlist-empty",children:s})]})}function Nie(e){const{label:t,collapseLabelOnEmpty:n,onDateTimeBlur:r,onDateTimeFocus:i,domId:o,required:s,disabled:a,readonly:l,use24h:c=!1,timeInterval:p,time:h,setTime:d}=e,f=Ml((()=>[1,5,10,15,30,60].includes(p)?p:15),[p]),m=Tl(),[g,y]=Pl(!1),v=Ml((()=>1!==f),[f]),[b,w]=Pl("");Sl((()=>{if(null===h)return void w("");const e=h-h%f;w(Hre(c,e)),e!=h&&d(e)}),[h,d,c,f]);const x=Al((e=>{const t=e||b;if(!t)return void d(null);const n=Ure(t);if(!u(n))return w(""),void d(null);const r=n-n%f;w(Hre(c,r)),d(r)}),[b,f,c,d]),_=Ml((()=>{const e=Math.floor(1440/f);return[...Array(e).keys()].map((e=>Hre(c,e*f)))}),[f,c]),k=Ml((()=>{if(!_||!f)return null;if(h)return h/f;const e=Ure(b);if(e){return(e-e%f)/f}return Math.floor(_.length/2)}),[b,h,f,_]);return S7("div",{class:"fjs-datetime-subsection",children:[S7(aie,{id:o,label:t,collapseOnEmpty:n,required:s}),S7(Pie,{pre:S7(Tie,{}),inputRef:m,disabled:a,readonly:l,children:S7("div",{class:"fjs-timepicker fjs-timepicker-anchor",children:[S7("input",{ref:m,type:"text",id:o,class:"fjs-input",value:b,disabled:a,readOnly:l,placeholder:c?"hh:mm":"hh:mm ?m",autoComplete:"off",onInput:e=>{w(e.target.value),v&&y(!1)},onBlur:e=>{y(!1),x(),r(e)},onFocus:e=>{i(e),!l&&v&&y(!0)},onClick:()=>!l&&v&&y(!0),onKeyDown:e=>{switch(e.key){case"ArrowUp":e.preventDefault();break;case"ArrowDown":v&&y(!0),e.preventDefault();break;case"Escape":v&&y(!1);break;case"Enter":!g&&x()}},"data-input":!0,"aria-describedby":e["aria-describedby"]}),g&&S7(Die,{values:_,height:150,onValueSelected:e=>{y(!1),x(e)},listenerElement:m.current,initialFocusIndex:k})]})})]})}const Rie="datetime";function jie(e){const{disabled:t,errors:n=[],domId:r,onBlur:i,onFocus:o,field:s,onChange:a,readonly:l,value:c=""}=e,{description:p,id:u,dateLabel:h,timeLabel:d,validate:f={},subtype:m,use24h:g,disallowPassedDates:y,timeInterval:v,timeSerializingFormat:b}=s,{required:w}=f,{formId:x}=Dl(gre),_=Tl(),k=()=>({date:new Date(Date.parse(null)),time:null}),[E,O]=Pl(k()),[P,S]=Pl(null),C=e=>e&&!isNaN(e.getTime()),T=e=>!isNaN(parseInt(e)),M=Ml((()=>m===ere||m===nre),[m]),A=Ml((()=>m===tre||m===nre),[m]),D=Al((e=>{e.relatedTarget&&_.current.contains(e.relatedTarget)||i&&i()}),[i]),N=Al((e=>{e.relatedTarget&&_.current.contains(e.relatedTarget)||o&&o()}),[o]);Sl((()=>{let{date:e,time:t}=k();switch(m){case ere:e=new Date(Date.parse(c));break;case tre:t=Gre(c);break;case nre:e=new Date(Date.parse(c)),t=C(e)?60*e.getHours()+e.getMinutes():null}O({date:e,time:t})}),[m,c]);const R=Al((({date:e,time:t})=>{let n=null;m===ere&&C(e)?n=Qre(e):m===tre&&T(t)?n=Wre(t,(new Date).getTimezoneOffset(),b):m===nre&&C(e)&&T(t)&&(n=function(e,t,n){const r=new Date;if(r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(Math.floor(t/60),t%60,0,0),n===rre.UTC_NORMALIZED){const e=r.getTimezoneOffset(),n=t+e<0?-1:t+e>Jne?1:0;r.setHours(r.getHours()+24*n)}return Qre(r)+"T"+Wre(t,r.getTimezoneOffset(),n)}(e,t,b)),a({value:n,field:s})}),[s,a,m,b]);Sl((()=>{if(P){if(P.refreshOnly)R(E);else{const e={...E,...P};O(e),R(e)}S(null)}}),[R,E,P]),Sl((()=>{S({refreshOnly:!0})}),[b]);const j=Ml((()=>{if(w||m!==nre)return n;return C(E.date)&&!T(E.time)||!C(E.date)&&T(E.time)?["Date and time must both be entered.",...n]:n}),[w,m,E,n]),I=Al((e=>{S((t=>t?{...t,date:e}:{date:e}))}),[]),L=Al((e=>{S((t=>t?{...t,time:e}:{time:e}))}),[]),z=0===j.length?void 0:`${ure(u,x)}-error-message`,B={label:h,collapseLabelOnEmpty:!d,onDateTimeBlur:D,onDateTimeFocus:N,domId:`${r}-date`,required:w,disabled:t,disallowPassedDates:y,date:E.date,readonly:l,setDate:I,"aria-describedby":z},$={label:d,collapseLabelOnEmpty:!h,onDateTimeBlur:D,onDateTimeFocus:N,domId:`${r}-time`,required:w,disabled:t,readonly:l,use24h:g,timeInterval:v,time:E.time,setTime:L,"aria-describedby":z};return S7("div",{class:cre(Rie,{errors:j,disabled:t,readonly:l}),children:[S7("div",{class:L_("fjs-vertical-group"),ref:_,children:[M&&S7(Sie,{...B}),A&&M&&S7("div",{class:"fjs-datetime-separator"}),A&&S7(Nie,{...$})]}),S7(oie,{description:p}),S7(sie,{errors:j,id:z})]})}function Iie(e){const{field:t,domId:n}=e,{label:r,type:i,showOutline:o}=t,{Empty:s}=Dl(fre),a={...e,Empty:s};return S7("div",{className:L_(cre(i),"fjs-form-field-grouplike",{"fjs-outlined":o}),role:"group","aria-labelledby":n,children:[S7(aie,{id:n,label:r}),S7(fie,{...a})]})}jie.config={type:Rie,keyed:!0,label:"Date time",group:"basic-input",emptyValue:null,sanitizeValue:function(e){const{formField:t,value:n}=e,{subtype:r}=t;return"string"!=typeof n?null:r!==ere||!Xre(n)&&function(e){return!(!e||"string"!=typeof e)&&(!e.includes("T")&&3==e.split("-").length)}(n)?r===tre&&null===Gre(n)?null:r!==nre||!Xre(n)&&function(e){if(!e||"string"!=typeof e)return!1;const t=e.split("T");return 2==t.length&&3==t[0].split("-").length}(n)?n:null:null},create:(e={})=>{const t={};return z(t,ire,ere),z(t,ore,"Date"),{...t,...e}}},Iie.config={type:"group",pathed:!0,label:"Group",group:"container",create:(e={})=>({components:[],showOutline:!0,...e})};const Lie="iframe",zie=300;function Bie(e){const{field:t,disabled:n,readonly:r,domId:i}=e,{height:o=zie,label:s,url:a,security:l={}}=t,c=qre(a,{debug:!0}),p=Ml((()=>{return e=c,Kre.test(e)?e:"";var e}),[c]),u=qre(s,{debug:!0}),[h,d]=function(e){const t=Tre(e);return[Ml((()=>lre.filter((({attribute:e})=>e===sre)).filter((({property:e})=>B(t,[e],!1))).map((({directive:e})=>e)).join(" ")),[t]),Ml((()=>lre.filter((({attribute:e})=>e!==sre)).filter((({property:e})=>B(t,[e],!1))).map((({directive:e})=>e)).join("; ")),[t])]}(l),[f,m]=Pl(0);return Sl((()=>{m((e=>e+1))}),[h,d]),S7("div",{class:cre(Lie,{disabled:n,readonly:r}),children:[S7(aie,{id:i,label:u}),!c&&S7($ie,{text:"No content to show."}),c&&p&&S7("iframe",{src:p,title:u,height:o,class:"fjs-iframe",id:i,sandbox:h,allow:d},"iframe-"+f),c&&!p&&S7($ie,{text:"External content couldn't be loaded."})]})}function $ie(e){const{text:t="iFrame"}=e;return S7("div",{class:"fjs-iframe-placeholder",children:S7("p",{class:"fjs-iframe-placeholder-text",children:t})})}var qie;function Fie(){return Fie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fie.apply(this,arguments)}Bie.config={type:Lie,keyed:!1,label:"iFrame",group:"container",create:(e={})=>({security:{allowScripts:!0},...e})};var Vie,Hie=function(e){return qa("svg",Fie({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),qie||(qie=qa("path",{fillRule:"evenodd",d:"M45 17a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V20a3 3 0 0 1 3-3h36zm-9 8.889H18v2.222h18v-2.222z"})))};function Uie(){return Uie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uie.apply(this,arguments)}var Wie,Gie=function(e){return qa("svg",Uie({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),Vie||(Vie=qa("path",{d:"M34 18H20a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V20a2 2 0 0 0-2-2zm-9 14-5-5 1.41-1.41L25 29.17l7.59-7.59L34 23l-9 9z"})))};function Qie(){return Qie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qie.apply(this,arguments)}var Xie,Zie,Yie,Kie=function(e){return qa("svg",Qie({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),Wie||(Wie=qa("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.35 24.75H19v4.65h-4.65v-4.65Zm-1.414-1.414a2 2 0 0 1 1.414-.586H19a2 2 0 0 1 2 2v4.65a2 2 0 0 1-2 2h-4.65a2 2 0 0 1-2-2v-4.65a2 2 0 0 1 .586-1.414ZM14.35 37.05H19v4.65h-4.65v-4.65Zm-1.414-1.414a2 2 0 0 1 1.414-.586H19a2 2 0 0 1 2 2v4.65a2 2 0 0 1-2 2h-4.65a2 2 0 0 1-2-2v-4.65a2 2 0 0 1 .586-1.414ZM14.35 12.45H19v4.65h-4.65v-4.65Zm-1.414-1.414a2 2 0 0 1 1.414-.586H19a2 2 0 0 1 2 2v4.65a2 2 0 0 1-2 2h-4.65a2 2 0 0 1-2-2v-4.65a2 2 0 0 1 .586-1.414Zm12.007 14.977a1 1 0 0 0-.293.707v.65a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1v-.65a1 1 0 0 0-1-1h-15a1 1 0 0 0-.707.293Zm0 12.3a1 1 0 0 0-.293.707v.65a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1v-.65a1 1 0 0 0-1-1h-15a1 1 0 0 0-.707.293Zm0-24.6a1 1 0 0 0-.293.707v.65a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1v-.65a1 1 0 0 0-1-1h-15a1 1 0 0 0-.707.293Z",clipRule:"evenodd"})))};function Jie(){return Jie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jie.apply(this,arguments)}var eoe,toe,noe=function(e){return qa("svg",Jie({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),Xie||(Xie=qa("path",{fillRule:"evenodd",d:"M37.908 13.418h-5.004v-2.354h-1.766v2.354H21.13v-2.354h-1.766v2.354H14.36a2.07 2.07 0 0 0-2.06 2.06v23.549a2.07 2.07 0 0 0 2.06 2.06h6.77v-1.766h-6.358a.707.707 0 0 1-.706-.706V15.89c0-.39.316-.707.706-.707h4.592v2.355h1.766v-2.355h10.008v2.355h1.766v-2.355h4.592a.71.71 0 0 1 .707.707v6.358h1.765v-6.77c0-1.133-.927-2.06-2.06-2.06z"})),Zie||(Zie=qa("path",{d:"m35.13 37.603 1.237-1.237-3.468-3.475v-5.926h-1.754v6.654l3.984 3.984Z"})),Yie||(Yie=qa("path",{fillRule:"evenodd",d:"M23.08 36.962a9.678 9.678 0 1 0 17.883-7.408 9.678 9.678 0 0 0-17.882 7.408Zm4.54-10.292a7.924 7.924 0 1 1 8.805 13.177A7.924 7.924 0 0 1 27.62 26.67Z"})))};function roe(){return roe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},roe.apply(this,arguments)}var ioe,ooe,soe,aoe=function(e){return qa("svg",roe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),eoe||(eoe=qa("path",{fillRule:"evenodd",d:"M45 16a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V19a3 3 0 0 1 3-3h36Zm0 2H9a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1Z"})),toe||(toe=qa("path",{d:"M11 22a1 1 0 0 1 1-1h19a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H12a1 1 0 0 1-1-1V22Z"})))};function loe(){return loe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},loe.apply(this,arguments)}var coe,poe=function(e){return qa("svg",loe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54},e),ioe||(ioe=qa("rect",{width:24,height:4,x:15,y:17,rx:1})),ooe||(ooe=qa("rect",{width:24,height:4,x:15,y:25,rx:1})),soe||(soe=qa("rect",{width:13,height:4,x:15,y:33,rx:1})))};function uoe(){return uoe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uoe.apply(this,arguments)}var hoe,doe=function(e){return qa("svg",uoe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),coe||(coe=qa("path",{fillRule:"evenodd",d:"M8 33v5a1 1 0 0 0 1 1h4v2H9a3 3 0 0 1-3-3v-5h2Zm18 6v2H15v-2h11Zm13 0v2H28v-2h11Zm9-6v5a3 3 0 0 1-3 3h-4v-2h4a1 1 0 0 0 .993-.883L46 38v-5h2ZM8 22v9H6v-9h2Zm40 0v9h-2v-9h2Zm-35-9v2H9a1 1 0 0 0-.993.883L8 16v4H6v-4a3 3 0 0 1 3-3h4Zm32 0a3 3 0 0 1 3 3v4h-2v-4a1 1 0 0 0-.883-.993L45 15h-4v-2h4Zm-6 0v2H28v-2h11Zm-13 0v2H15v-2h11Z"})))};function foe(){return foe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},foe.apply(this,arguments)}var moe,goe=function(e){return qa("svg",foe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),hoe||(hoe=qa("path",{fillRule:"evenodd",d:"M45 16a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V19a3 3 0 0 1 3-3h36zm0 2H9a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1zM35 28.444h7l-3.5 4-3.5-4zM35 26h7l-3.5-4-3.5 4z"})))};function yoe(){return yoe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yoe.apply(this,arguments)}var voe,boe=function(e){return qa("svg",yoe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),moe||(moe=qa("path",{d:"M27 22c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 18a8 8 0 1 1 0-16 8 8 0 1 1 0 16z"})))};function woe(){return woe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},woe.apply(this,arguments)}var xoe,_oe=function(e){return qa("svg",woe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),voe||(voe=qa("path",{fillRule:"evenodd",d:"M45 16a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V19a3 3 0 0 1 3-3h36zm0 2H9a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1zm-12 7h9l-4.5 6-4.5-6z"})))};function koe(){return koe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},koe.apply(this,arguments)}var Eoe,Ooe=function(e){return qa("svg",koe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),xoe||(xoe=qa("path",{fill:"currentColor",d:"M26.293 16.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L27 18.414l-3.293 3.293a1 1 0 0 1-1.414-1.414l4-4ZM9 26h36v2H9v-2Zm13.293 7.707 4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L27 35.586l-3.293-3.293a1 1 0 0 0-1.414 1.414Z"})))};function Poe(){return Poe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Poe.apply(this,arguments)}var Soe,Coe=function(e){return qa("svg",Poe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),Eoe||(Eoe=qa("path",{fill:"currentColor",d:"M9 15v2h36v-2H9Zm0 22v2h36v-2H9Zm17.293-17.707a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L27 21.414l-3.293 3.293a1 1 0 0 1-1.414-1.414l4-4Zm-4 11.414 4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L27 32.586l-3.293-3.293a1 1 0 0 0-1.414 1.414Z"})))};function Toe(){return Toe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Toe.apply(this,arguments)}var Moe,Aoe=function(e){return qa("svg",Toe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),Soe||(Soe=qa("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.7 43.296v1.254c0 .746.604 1.35 1.35 1.35h1.275v-1.795c.049.14.075.29.075.445v-1.254h-.075V43.2H4.05c.177 0 .347.034.502.096H2.7Zm2.7-2.507v-2.507H2.7v2.507h2.7Zm0-5.014v-2.507H2.7v2.507h2.7Zm0-5.014v-2.507H2.7v2.507h2.7Zm0-5.015V23.24H2.7v2.507h2.7Zm0-5.014v-2.507H2.7v2.507h2.7Zm0-5.014V13.21H2.7v2.507h2.7Zm-2.7-5.014h1.852a1.346 1.346 0 0 1-.502.096h1.275v-.096H5.4V9.45c0 .156-.026.306-.075.445V8.1H4.05A1.35 1.35 0 0 0 2.7 9.45v1.254Zm5.175.096h2.55V8.1h-2.55v2.7Zm5.1 0h2.55V8.1h-2.55v2.7Zm5.1 0h2.55V8.1h-2.55v2.7Zm5.1 0h2.55V8.1h-2.55v2.7Zm5.1 0h2.55V8.1h-2.55v2.7Zm5.1 0h2.55V8.1h-2.55v2.7Zm5.1 0h2.55V8.1h-2.55v2.7Zm5.1 0h2.55V8.1h-2.55v2.7Zm5.1-2.7v1.795a1.348 1.348 0 0 1-.075-.445v1.254h.075v.096h1.275c-.177 0-.347-.034-.502-.096H51.3V9.45a1.35 1.35 0 0 0-1.35-1.35h-1.275Zm-.075 5.11v2.508h2.7V13.21h-2.7Zm0 5.015v2.507h2.7v-2.507h-2.7Zm0 5.014v2.507h2.7V23.24h-2.7Zm0 5.015v2.507h2.7v-2.507h-2.7Zm0 5.014v2.507h2.7v-2.507h-2.7Zm0 5.014v2.507h2.7v-2.507h-2.7Zm2.7 5.014h-1.852c.155-.062.325-.096.502-.096h-1.275v.096H48.6v1.254c0-.156.026-.305.075-.445V45.9h1.275a1.35 1.35 0 0 0 1.35-1.35v-1.254Zm-5.175-.096h-2.55v2.7h2.55v-2.7Zm-5.1 0h-2.55v2.7h2.55v-2.7Zm-5.1 0h-2.55v2.7h2.55v-2.7Zm-5.1 0h-2.55v2.7h2.55v-2.7Zm-5.1 0h-2.55v2.7h2.55v-2.7Zm-5.1 0h-2.55v2.7h2.55v-2.7Zm-5.1 0h-2.55v2.7h2.55v-2.7Zm-5.1 0h-2.55v2.7h2.55v-2.7ZM16.2 17.55a4.05 4.05 0 0 1 4.05 4.05v1.35A4.05 4.05 0 0 1 16.2 27h-1.35a4.05 4.05 0 0 1-4.05-4.05V21.6a4.05 4.05 0 0 1 4.05-4.05h1.35Zm0 2.7h-1.35a1.35 1.35 0 0 0-1.35 1.35v1.35c0 .746.604 1.35 1.35 1.35h1.35a1.35 1.35 0 0 0 1.35-1.35V21.6a1.35 1.35 0 0 0-1.35-1.35Zm27 1.35a4.05 4.05 0 0 0-4.05-4.05H29.7a4.05 4.05 0 0 0-4.05 4.05v1.35A4.05 4.05 0 0 0 29.7 27h9.45a4.05 4.05 0 0 0 4.05-4.05V21.6Zm-13.5-1.35h9.45c.746 0 1.35.604 1.35 1.35v1.35a1.35 1.35 0 0 1-1.35 1.35H29.7a1.35 1.35 0 0 1-1.35-1.35V21.6c0-.746.604-1.35 1.35-1.35ZM43.2 37.8a4.05 4.05 0 0 0-4.05-4.05H29.7a4.05 4.05 0 0 0-4.05 4.05v1.35h2.7V37.8c0-.746.604-1.35 1.35-1.35h9.45c.746 0 1.35.604 1.35 1.35v1.35h2.7V37.8Zm-27-4.05a4.05 4.05 0 0 1 4.05 4.05v1.35h-2.7V37.8a1.35 1.35 0 0 0-1.35-1.35h-1.35a1.35 1.35 0 0 0-1.35 1.35v1.35h-2.7V37.8a4.05 4.05 0 0 1 4.05-4.05h1.35Z",clipRule:"evenodd"})))};function Doe(){return Doe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Doe.apply(this,arguments)}var Noe,Roe=function(e){return qa("svg",Doe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),Moe||(Moe=qa("path",{d:"M20.58 33.77h-3l-1.18-3.08H11l-1.1 3.08H7l5.27-13.54h2.89zm-5-5.36-1.86-5-1.83 5zM22 20.23h5.41a15.47 15.47 0 0 1 2.4.14 3.42 3.42 0 0 1 1.41.55 3.47 3.47 0 0 1 1 1.14 3 3 0 0 1 .42 1.58 3.26 3.26 0 0 1-1.91 2.94 3.63 3.63 0 0 1 1.91 1.22 3.28 3.28 0 0 1 .66 2 4 4 0 0 1-.43 1.8 3.63 3.63 0 0 1-1.09 1.4 3.89 3.89 0 0 1-1.83.65q-.69.07-3.3.09H22zm2.73 2.25v3.13h3.8a1.79 1.79 0 0 0 1.1-.49 1.41 1.41 0 0 0 .41-1 1.49 1.49 0 0 0-.35-1 1.54 1.54 0 0 0-1-.48c-.27 0-1.05-.05-2.34-.05zm0 5.39v3.62h2.57a11.52 11.52 0 0 0 1.88-.09 1.65 1.65 0 0 0 1-.54 1.6 1.6 0 0 0 .38-1.14 1.75 1.75 0 0 0-.29-1 1.69 1.69 0 0 0-.86-.62 9.28 9.28 0 0 0-2.41-.23zm19.62.92 2.65.84a5.94 5.94 0 0 1-2 3.29A5.74 5.74 0 0 1 41.38 34a5.87 5.87 0 0 1-4.44-1.84 7.09 7.09 0 0 1-1.73-5A7.43 7.43 0 0 1 37 21.87 6 6 0 0 1 41.54 20a5.64 5.64 0 0 1 4 1.47A5.33 5.33 0 0 1 47 24l-2.7.65a2.8 2.8 0 0 0-2.86-2.27A3.09 3.09 0 0 0 39 23.42a5.31 5.31 0 0 0-.93 3.5 5.62 5.62 0 0 0 .93 3.65 3 3 0 0 0 2.4 1.09 2.72 2.72 0 0 0 1.82-.66 4 4 0 0 0 1.13-2.21z"})))};function joe(){return joe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},joe.apply(this,arguments)}var Ioe,Loe=function(e){return qa("svg",joe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),Noe||(Noe=qa("path",{fill:"currentColor",fillRule:"evenodd",d:"M47.008 12.15c1.625 0 2.942 1.36 2.942 3.039v23.622c0 1.678-1.317 3.039-2.942 3.039H6.992c-1.625 0-2.942-1.36-2.942-3.039V15.189c0-1.678 1.317-3.039 2.942-3.039h40.016Zm0 2.026H6.992c-.542 0-.98.454-.98 1.013V16.2h-.004v2.7h.003v19.911c0 .56.44 1.013.98 1.013h40.017c.542 0 .98-.453.98-1.013V18.9h.005v-2.7h-.004v-1.011c0-.56-.44-1.013-.98-1.013ZM14.934 26.055v-3.78h2.194v9.45h-2.194v-3.78h-3.29v3.78H9.45v-9.45h2.194v3.78h3.29Zm4.388-1.89h2.194v7.56h2.193v-7.56h2.194v-1.89h-6.581v1.89Zm14.26-1.89h2.193v9.45h-2.194V25.11l-1.645 3.78-1.645-3.78v6.615h-2.194v-9.45h2.194l1.645 3.78 1.645-3.78Zm4.387 0h2.194v7.56h4.387v1.89h-6.581v-9.45Z",clipRule:"evenodd"})))};function zoe(){return zoe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zoe.apply(this,arguments)}var Boe,$oe=function(e){return qa("svg",zoe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),Ioe||(Ioe=qa("path",{fillRule:"evenodd",d:"M45 16a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V19a3 3 0 0 1 3-3h36zm0 2H9a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1zm-32 4v10h-2V22h2z"})))};function qoe(){return qoe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qoe.apply(this,arguments)}var Foe,Voe,Hoe=function(e){return qa("svg",qoe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),Boe||(Boe=qa("path",{fillRule:"evenodd",d:"M45 13a3 3 0 0 1 3 3v22a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V16a3 3 0 0 1 3-3h36zm0 2H9a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V16a1 1 0 0 0-1-1zm-1.136 15.5.849.849-6.364 6.364-.849-.849 6.364-6.364zm.264 3.5.849.849-2.828 2.828-.849-.849L44.128 34zM13 19v10h-2V19h2z"})))};function Uoe(){return Uoe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uoe.apply(this,arguments)}var Woe,Goe,Qoe=function(e){return qa("svg",Uoe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),Foe||(Foe=qa("path",{fill:"currentcolor",d:"M34.467 37.3 41 31l-6.533-6.3-1.32 1.273L38.36 31l-5.213 5.027 1.32 1.273ZM19.533 24.7 13 31l6.533 6.3 1.32-1.273L15.64 31l5.214-5.027-1.32-1.273Zm4.127 14.832 1.805.468 4.875-17.532L28.535 22 23.66 39.532Z"})),Voe||(Voe=qa("path",{fill:"currentcolor",fillRule:"evenodd",d:"M46 9a3 3 0 0 1 3 3v30a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3V12a3 3 0 0 1 3-3h38Zm0 2H8a1 1 0 0 0-1 1v4h40v-4a1 1 0 0 0-1-1ZM7 42V18h40v24a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1Z",clipRule:"evenodd"})))};function Xoe(){return Xoe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xoe.apply(this,arguments)}var Zoe,Yoe=function(e){return qa("svg",Xoe({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),Woe||(Woe=qa("path",{fillRule:"evenodd",d:"M34.636 21.91A3.818 3.818 0 1 1 27 21.908a3.818 3.818 0 0 1 7.636 0Zm-2 0A1.818 1.818 0 1 1 29 21.908a1.818 1.818 0 0 1 3.636 0Z",clipRule:"evenodd"})),Goe||(Goe=qa("path",{fillRule:"evenodd",d:"M15 13a2 2 0 0 0-2 2v24a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V15a2 2 0 0 0-2-2H15Zm24 2H15v12.45l4.71-4.709a1.91 1.91 0 0 1 2.702 0l6.695 6.695 2.656-1.77a1.91 1.91 0 0 1 2.411.239L39 32.73V15ZM15 39v-8.754a.975.975 0 0 0 .168-.135l5.893-5.893 6.684 6.685a1.911 1.911 0 0 0 2.41.238l2.657-1.77 6.02 6.02c.052.051.108.097.168.135V39H15Z",clipRule:"evenodd"})))};function Koe(){return Koe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Koe.apply(this,arguments)}var Joe=function(e){return qa("svg",Koe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 54 54"},e),Zoe||(Zoe=qa("path",{fill:"currentcolor",fillRule:"evenodd",d:"M42.545 12.273A2.455 2.455 0 0 1 45 14.727v24.546a2.455 2.455 0 0 1-2.455 2.454h-31.09A2.455 2.455 0 0 1 9 39.273V14.727a2.455 2.455 0 0 1 2.455-2.454zM27.818 40.09h14.727a.818.818 0 0 0 .819-.818v-4.91H27.818Zm-1.636-5.727v5.727H11.455a.818.818 0 0 1-.819-.818v-4.91zm1.636-1.637h15.546V27H27.818ZM26.182 27v5.727H10.636V27zm1.636-1.636h15.546v-5.728H27.818Zm-1.636-5.728v5.728H10.636v-5.728z",clipRule:"evenodd"})))};const ese="image";function tse(e){const{field:t}=e,{alt:n,id:r,source:i}=t,o=(e=>({button:Hie,checkbox:Gie,checklist:Kie,columns:doe,datetime:noe,group:doe,iframe:Qoe,image:Yoe,number:goe,radio:boe,select:_oe,separator:Ooe,spacer:Coe,dynamiclist:Aoe,taglist:aoe,text:Roe,html:Loe,textfield:$oe,textarea:Hoe,table:Joe,default:poe}[e]))(t.type),s=qre(i,{debug:!0}),a=Ml((()=>{return e=s,Yre.test(e)?e:"";var e}),[s]),l=qre(n,{debug:!0}),{formId:c}=Dl(gre);return S7("div",{class:cre(ese),children:[a&&S7("div",{class:"fjs-image-container",children:S7("img",{alt:l,src:a,class:"fjs-image",id:ure(r,c)})}),!a&&S7("div",{class:"fjs-image-placeholder",children:S7("span",{class:"fjs-image-placeholder-inner",children:S7(o,{alt:"This is an image placeholder",width:"32",height:"32",viewBox:"0 0 56 56"})})})]})}function nse(e){const{pre:t,post:n}=e,r=qre(t,{debug:!0}),i=qre(n,{debug:!0});return S7(Pie,{...e,pre:r,post:i})}var rse;function ise(){return ise=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ise.apply(this,arguments)}tse.config={type:ese,keyed:!1,label:"Image view",group:"presentation",create:(e={})=>({...e})};var ose,sse=function(e){return qa("svg",ise({xmlns:"http://www.w3.org/2000/svg",width:8,height:8},e),rse||(rse=qa("path",{fill:"currentColor",fillRule:"evenodd",stroke:"currentColor",strokeWidth:.5,d:"M7.75 1.336 4 6.125.258 1.335 0 1.54l4 5.125L8 1.54Zm0 0",clipRule:"evenodd"})))};function ase(){return ase=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ase.apply(this,arguments)}var lse=function(e){return qa("svg",ase({xmlns:"http://www.w3.org/2000/svg",width:8,height:8},e),ose||(ose=qa("path",{fill:"currentColor",fillRule:"evenodd",stroke:"currentColor",strokeWidth:.5,d:"M7.75 6.664 4 1.875.258 6.665 0 6.46l4-5.125L8 6.46Zm0 0",clipRule:"evenodd"})))};function cse(e){return("number"==typeof e||"string"==typeof e)&&""!==e&&!isNaN(Number(e))}function pse(e){return null==e||""===e}const use="number";function hse(e){const{disabled:t,errors:n=[],errorMessageId:r,domId:i,onBlur:o,onFocus:s,field:a,value:l,readonly:c}=e,{description:p,label:u,appearance:h={},validate:d={},decimalDigits:f,increment:m}=a,{prefixAdorner:g,suffixAdorner:y}=h,{required:v}=d,b=Tl(),[w,x]=Pl(l),[_,k]=Pl(l),E=Al((e=>hse.config.sanitizeValue({value:e,formField:a})),[a]),[O,P]=Bre(e.onChange);Cre(l)!==w&&O({field:a,value:w});const S=Al((e=>{if(pse(e))return k(""),void x(null);if("-"!==(e=e.replaceAll(",","."))){if(isNaN(Number(e)))return k("NaN"),void x(null);k(e),x(E(e))}else k("-")}),[E]),C=Cre(l)!=l,T=E(l)===E(w);C&&!T&&S(l&&l.toString()||"");const M=Ml((()=>O7(m||(f?`1e-${f}`:"1"))),[f,m]),A=()=>{if(c)return;const e=cse(w)?O7(w):O7(0),t=e.minus(e.mod(M));S(t.plus(M).toFixed())},D=()=>{if(c)return;const e=cse(w)?O7(w):O7(0);if(0===e.mod(M).cmp(0))S(e.minus(M).toFixed());else{const t=e.minus(e.mod(M));S(t.toFixed())}};return S7("div",{class:cre(use,{errors:n,disabled:t,readonly:c}),children:[S7(aie,{id:i,label:u,required:v}),S7(nse,{disabled:t,readonly:c,pre:g,post:y,children:S7("div",{class:L_("fjs-vertical-group",{"fjs-disabled":t,"fjs-readonly":c},{hasErrors:n.length}),children:[S7("input",{ref:b,class:"fjs-input",disabled:t,readOnly:c,id:i,onKeyDown:e=>"NaN"!==_||"Backspace"!==e.code&&"Delete"!==e.code?"ArrowUp"===e.code?(A(),void e.preventDefault()):"ArrowDown"===e.code?(D(),void e.preventDefault()):void 0:(S(""),void e.preventDefault()),onKeyPress:e=>{const t=b.current.selectionStart,n=b.current.selectionStart-b.current.selectionEnd,r=b.current.value;(function(e,t,n,r,i){if("NaN"===t)return!1;const o=!(t=t.replace(",",".")).includes(".")&&("."===e||","===e),s=!t.includes("-")&&"-"===e&&0===n,a=/^[0-9]$/i.test(e),l=void 0===t?-1:t.indexOf("."),c="number"==typeof i&&0===r&&-1!==l&&t.includes(".")&&t.split(".")[1].length>=i&&n>l;return(a||0!==i&&o||s)&&!c})(e.key,r,t,n,f)||e.preventDefault()},onBlur:()=>{P&&P(),o&&o()},onFocus:()=>{s&&s()},onInput:e=>S(e.target.value,!0),onPaste:e=>"NaN"===_&&e.preventDefault(),type:"text",autoComplete:"off",step:M,value:_,"aria-describedby":r}),S7("div",{class:L_("fjs-number-arrow-container",{"fjs-disabled":t,"fjs-readonly":c}),children:[S7("button",{class:"fjs-number-arrow-up",type:"button","aria-label":"Increment",onClick:()=>A(),tabIndex:-1,children:S7(lse,{})}),S7("div",{class:"fjs-number-arrow-separator"}),S7("button",{class:"fjs-number-arrow-down",type:"button","aria-label":"Decrement",onClick:()=>D(),tabIndex:-1,children:S7(sse,{})})]})]})}),S7(oie,{description:p}),S7(sie,{errors:n,id:r})]})}hse.config={type:use,keyed:!0,label:"Number",group:"basic-input",emptyValue:null,sanitizeValue:({value:e,formField:t})=>pse(e)||!cse(e)?null:t.serializeToString?e.toString():Number(e),create:(e={})=>({...e})};const dse="radio";function fse(e){const{disabled:t,errors:n=[],errorMessageId:r,domId:i,onBlur:o,onFocus:s,field:a,readonly:l,value:c}=e,{description:p,label:u,validate:h={}}=a,d=Tl(),{required:f}=h,m=e=>{d.current.contains(e.relatedTarget)||o&&o()},g=e=>{d.current.contains(e.relatedTarget)||s&&s()},{loadState:y,options:v}=Are(a);return rie({field:a,loadState:y,options:v,value:c,onChange:e.onChange}),S7("div",{class:cre(dse,{errors:n,disabled:t,readonly:l}),ref:d,children:[S7(aie,{label:u,required:f}),y==Mre.LOADED&&v.map(((n,o)=>{const s=`${i}-${o}`,p=$te(n.value,c);return S7(aie,{id:s,label:n.label,class:L_({"fjs-checked":p}),required:!1,children:S7("input",{checked:p,class:"fjs-input",disabled:t,readOnly:l,id:s,type:"radio",onClick:()=>(t=>{e.onChange({field:a,value:t})})(n.value),onBlur:m,onFocus:g,"aria-describedby":r})},o)})),S7(oie,{description:p}),S7(sie,{errors:n,id:r})]})}var mse;function gse(){return gse=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gse.apply(this,arguments)}fse.config={type:dse,keyed:!0,label:"Radio group",group:"selection",emptyValue:null,sanitizeValue:eie,create:Pre};var yse=function(e){return qa("svg",gse({xmlns:"http://www.w3.org/2000/svg",width:8,height:8},e),mse||(mse=qa("path",{fill:"currentColor",fillRule:"evenodd",stroke:"currentColor",strokeWidth:.5,d:"M4 3.766 7.43.336l.234.234L4.234 4l3.43 3.43-.234.234L4 4.234.57 7.664.336 7.43 3.766 4 .336.57.57.336Zm0 0",clipRule:"evenodd"})))};function vse(e){const{domId:t,disabled:n,errors:r,onBlur:i,onFocus:o,field:s,readonly:a,value:l}=e,[c,p]=Pl(""),[u,h]=Pl(!1),[d,f]=Pl(!0),[m,g]=Pl(!1),y=Tl(),v=yre("eventBus"),{loadState:b,options:w}=Are(s);rie({field:s,loadState:b,options:w,value:l,onChange:e.onChange});const x=Ire(w),_=Ml((()=>l&&x(l)),[l,x]);Sl((()=>{p(_)}),[_]);const k=Ml((()=>b!==Mre.LOADED?[]:c&&d?w.filter((e=>e.label&&e.value&&e.label.toLowerCase().includes(c.toLowerCase()))):w),[c,b,w,d]),E=Al((t=>{p(t&&t.label||""),e.onChange({value:t&&t.value||null,field:s})}),[s,e]),O=Ml((()=>{const e={};return e.componentReady=!n&&!a&&b===Mre.LOADED,e.displayCross=e.componentReady&&null!=l,e.displayDropdown=!n&&!a&&u&&!m,e}),[n,u,m,b,a,l]),P=Al((e=>{g(!1),h(!u);const t=y.current;u?t.blur():t.focus(),e.preventDefault()}),[u]),S=Al((e=>{switch(e.key){case"ArrowUp":e.preventDefault();break;case"ArrowDown":u||(h(!0),f(!1)),e.preventDefault();break;case"Escape":g(!0);break;case"Enter":m&&g(!1)}}),[u,m]),C=Al((()=>{g(!1),h(!0),f(!1)}),[]),T=Al((()=>{g(!1),h(!0),o&&o()}),[o]),M=Al((()=>{h(!1),p(_),i&&i()}),[i,_]);return S7(Va,{children:[S7("div",{class:L_("fjs-input-group",{disabled:n,readonly:a},{hasErrors:r.length}),children:[S7("input",{disabled:n,readOnly:a,class:"fjs-input",ref:y,id:t,onChange:({target:e})=>{g(!1),h(!0),f(!0),p(e.value||""),v.fire("formField.search",{formField:s,value:e.value||""})},type:"text",value:c,placeholder:"Search",autoComplete:"off",onKeyDown:S,onMouseDown:C,onFocus:T,onBlur:M,"aria-describedby":e["aria-describedby"]}),O.displayCross&&S7("span",{class:"fjs-select-cross",onMouseDown:e=>{E(null),e.preventDefault()},children:[S7(yse,{})," "]}),S7("span",{class:"fjs-select-arrow",onMouseDown:e=>P(e),children:O.displayDropdown?S7(lse,{}):S7(sse,{})})]}),S7("div",{class:"fjs-select-anchor",children:O.displayDropdown&&S7(Die,{values:k,getLabel:e=>e.label,onValueSelected:e=>{E(e),h(!1)},listenerElement:y.current})})]})}function bse(e){const{domId:t,disabled:n,errors:r,onBlur:i,onFocus:o,field:s,readonly:a,value:l}=e,[c,p]=Pl(!1),u=Tl(),h=Tl(),{loadState:d,options:f}=Are(s);rie({field:s,loadState:d,options:f,value:l,onChange:e.onChange});const m=Ire(f),y=Ml((()=>l&&m(l)),[l,m]),v=Al((t=>{e.onChange({value:t&&t.value||null,field:s})}),[s,e]),b=Ml((()=>{const e={};return e.componentReady=!n&&!a&&d===Mre.LOADED,e.displayCross=e.componentReady&&null!=l,e.displayDropdown=!n&&!a&&c,e}),[n,c,d,a,l]),w=Al((e=>{const t=h.current;p(!c),c?t.blur():t.focus(),e.preventDefault()}),[c]),x=Ml((()=>l&&g(f,(e=>e.value===l))||0),[f,l]),_=Al((()=>{a||(p(!0),o&&o())}),[o,a]),k=Al((()=>{a||(p(!1),i&&i())}),[i,a]);return S7(Va,{children:[S7("div",{ref:u,class:L_("fjs-input-group",{disabled:n,readonly:a},{hasErrors:r.length}),onFocus:_,onBlur:k,onMouseDown:w,children:[S7("div",{class:L_("fjs-select-display",{"fjs-select-placeholder":!l}),id:`${t}-display`,children:y||"Select"}),!n&&S7("input",{ref:h,id:t,class:"fjs-select-hidden-input",value:y,onFocus:_,onBlur:k,"aria-describedby":e["aria-describedby"]}),b.displayCross&&S7("span",{class:"fjs-select-cross",onMouseDown:e=>{v(null),e.stopPropagation()},children:S7(yse,{})}),S7("span",{class:"fjs-select-arrow",children:b.displayDropdown?S7(lse,{}):S7(sse,{})})]}),S7("div",{class:"fjs-select-anchor",children:b.displayDropdown&&S7(Die,{values:f,getLabel:e=>e.label,initialFocusIndex:x,onValueSelected:e=>{v(e),p(!1)},listenerElement:u.current})})]})}const wse="select";function xse(e){const{disabled:t,errors:n=[],errorMessageId:r,domId:i,onBlur:o,onFocus:s,field:a,onChange:l,readonly:c,value:p}=e,{description:u,label:h,searchable:d=!1,validate:f={}}=a,{required:m}=f,g={domId:i,disabled:t,errors:n,onBlur:o,onFocus:s,field:a,value:p,onChange:l,readonly:c,"aria-describedby":r};return S7("div",{class:cre(wse,{errors:n,disabled:t,readonly:c}),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())},children:[S7(aie,{id:i,label:h,required:m}),S7(d?vse:bse,{...g}),S7(oie,{description:u}),S7(sie,{errors:n,id:r})]})}xse.config={type:wse,keyed:!0,label:"Select",group:"selection",emptyValue:null,sanitizeValue:eie,create:Pre};const _se="separator";function kse(){return S7("div",{class:cre(_se),children:S7("hr",{})})}kse.config={type:_se,keyed:!1,label:"Separator",group:"presentation",create:(e={})=>({...e})};const Ese="spacer";function Ose(e){const{field:t}=e,{height:n=60}=t;return S7("div",{class:cre(Ese),style:{height:n}})}function Pse(e){const{field:t,domId:n,readonly:r}=e,{label:i,type:o,showOutline:s}=t,{Empty:a}=Dl(fre),l={...e,Empty:a};return S7("div",{className:L_(cre(o,{readonly:r}),"fjs-form-field-grouplike",{"fjs-outlined":s}),role:"group","aria-labelledby":n,children:[S7(aie,{id:n,label:i}),S7(fie,{...l})]})}function Sse(e){const{className:t,label:n,onSkip:r}=e,i=Al((e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),r())}),[r]);return S7("a",{href:"#",class:L_("fjs-skip-link",t),onKeyDown:i,children:n})}Ose.config={type:Ese,keyed:!1,label:"Spacer",group:"presentation",create:(e={})=>({height:60,...e})},Pse.config={type:"dynamiclist",pathed:!0,repeatable:!0,label:"Dynamic list",group:"container",create:(e={})=>({components:[],showOutline:!0,isRepeating:!0,allowAddRemove:!0,defaultRepetitions:1,...e})};const Cse="taglist";function Tse(e){const{disabled:t,errors:n=[],errorMessageId:r,onFocus:i,domId:o,onBlur:s,field:a,readonly:l,value:c}=e,{description:p,label:u,validate:h={}}=a,{required:d}=h,[f,m]=Pl(""),[g,y]=Pl(!1),[v,b]=Pl(!1),w=Tl(),x=Tl(),_=yre("eventBus"),{loadState:k,options:E}=Are(a),O=Tre(c||[],[]);iie({field:a,loadState:k,options:E,values:O,onChange:e.onChange});const P=Ire(E),S=Ml((()=>E.length>O.length),[E.length,O.length]),C=Ml((()=>{if(k!==Mre.LOADED)return[];return E.filter((e=>e.label.toLowerCase().includes(f.toLowerCase())&&!Jre(e.value,O)))}),[f,E,O,k]),T=t=>{const n=O.filter((e=>!$te(e,t)));e.onChange({value:n,field:a})},M=e=>{w.current.contains(e.relatedTarget)||s&&s()},A=e=>{w.current.contains(e.relatedTarget)||i&&i()},D=Ml((()=>!t&&k===Mre.LOADED&&g&&!v),[t,g,v,k]);return S7("div",{ref:w,class:cre(Cse,{errors:n,disabled:t,readonly:l}),onKeyDown:e=>{"Enter"===e.key&&(e.stopPropagation(),e.preventDefault())},children:[S7(aie,{label:u,required:d,id:o}),!t&&!l&&!!O.length&&S7(Sse,{className:"fjs-taglist-skip-link",label:"Skip to search",onSkip:()=>{x.current.focus()}}),S7("div",{class:L_("fjs-taglist",{"fjs-disabled":t,"fjs-readonly":l}),children:[k===Mre.LOADED&&S7("div",{class:"fjs-taglist-tags",children:O.map((e=>S7("div",{class:L_("fjs-taglist-tag",{"fjs-disabled":t,"fjs-readonly":l}),onMouseDown:e=>e.preventDefault(),children:[S7("span",{class:"fjs-taglist-tag-label",children:P(e)}),!t&&!l&&S7("button",{type:"button",title:"Remove tag",class:"fjs-taglist-tag-remove",onFocus:A,onBlur:M,onClick:t=>((e,t)=>{const{target:n}=e;T(t),n.closest(".fjs-taglist-tag").nextSibling||x.current.focus()})(t,e),children:S7(yse,{})})]})))}),S7("input",{disabled:t,readOnly:l,class:"fjs-taglist-input",ref:x,id:o,onChange:({target:e})=>{b(!1),m(e.value||""),_.fire("formField.search",{formField:a,value:e.value||""})},type:"text",value:f,placeholder:t||l?void 0:"Search",autoComplete:"off",onKeyDown:e=>{switch(e.key){case"ArrowUp":case"ArrowDown":e.preventDefault();break;case"Backspace":!f&&O.length&&T(O[O.length-1]);break;case"Escape":b(!0);break;case"Enter":v&&b(!1)}},onMouseDown:()=>b(!1),onFocus:e=>{l||y(!0),A(e)},onBlur:e=>{l||(y(!1),m("")),M(e)},"aria-describedby":r})]}),S7("div",{class:"fjs-taglist-anchor",children:D&&S7(Die,{values:C,getLabel:e=>e.label,onValueSelected:t=>(t=>{m(""),O.at(-1)!==t&&e.onChange({value:[...O,t],field:a})})(t.value),emptyListMessage:S?"No results":"All values selected",listenerElement:x.current})}),S7(oie,{description:p}),S7(sie,{errors:n,id:r})]})}Tse.config={type:Cse,keyed:!0,label:"Tag list",group:"selection",emptyValue:[],sanitizeValue:tie,create:Pre};const Mse=3,Ase=1,Dse=["h1","h2","h3","h4","h5","h6","span","em","a","p","div","ul","ol","li","hr","blockquote","img","pre","code","br","strong","table","thead","tbody","tr","th","td"],Nse=["align","alt","class","href","id","name","rel","target","src"],Rse=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,jse=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g,Ise=document.createElement("form");function Lse(e){const t=(new DOMParser).parseFromString(`<!DOCTYPE html>\n<html><body><div>${e}`,"text/html");t.normalize();const n=t.body.firstChild;return n?(zse(n),n.innerHTML):""}function zse(e){if(e.nodeType===Mse)return;if(e.nodeType!==Ase)return e.remove();const t=e.tagName.toLowerCase();if(!Dse.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);Bse(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--;)zse(e.childNodes[t])}function Bse(e,t,n){return!!Nse.includes(t)&&(("id"!==t&&"name"!==t||!(n in document)&&!(n in Ise))&&(("target"!==t||"_blank"===n)&&!("href"===t&&!Rse.test(n.replace(jse,"")))))}const $se="text";function qse(e){const t=yre("form"),{textLinkTarget:n}=t._getState().properties,{field:r,disableLinks:i}=e,{text:o="",strict:s=!1}=r,a=yre("markdownRenderer"),l=$re(o,{debug:!0,strict:s}),c=Ml((()=>a.render(l)),[a,l]),p=Al((e=>{const t=Lse(e),r=document.createElement("div");r.innerHTML=t;return r.querySelectorAll("a").forEach((e=>{i&&(e.setAttribute("class","fjs-disabled-link"),e.setAttribute("tabIndex","-1")),n&&e.setAttribute("target",n)})),r.innerHTML}),[i,n]),u=Rre({html:c,transform:p,sanitize:!1,sanitizeStyleTags:!1});return S7("div",{class:cre($se),dangerouslySetInnerHTML:u})}qse.config={type:$se,keyed:!1,label:"Text view",group:"presentation",create:(e={})=>({text:"# Text",...e})};const Fse="html";function Vse(e){const t=yre("form"),{textLinkTarget:n}=t._getState().properties,{field:r,disableLinks:i,domId:o}=e,{content:s="",strict:a=!1}=r,l=`${o}-style-scope`,c=$re(s,{debug:!0,strict:a,sanitizer:nie}),p=Al((e=>{const t=document.createElement("div");t.innerHTML=e;return t.querySelectorAll("a").forEach((e=>{i&&(e.setAttribute("class","fjs-disabled-link"),e.setAttribute("tabIndex","-1")),n&&e.setAttribute("target",n)})),function(e,t){e.querySelectorAll("style").forEach((e=>{const n=function(e){let t=0,n=0,r=0;const i=[];for(;t<e.length;)"{"===e[t]&&r++,"}"===e[t]&&(r--,0===r&&(i.push(e.substring(n,t+1)),n=t+1)),t++;return i.map((e=>e.trim()))}(e.textContent),r=n.map((e=>{const{selector:n,styles:r}=function(e){const t=e.indexOf("{");return{selector:e.substring(0,t),styles:e.substring(t)}}(e),i=function(e,t){return e.split(",").map((e=>`${t} ${e.trim()}`)).join(", ")}(n,t);return`${i} ${r}`})).join(" ");e.textContent=r}))}(t,`.${l}`),t.innerHTML}),[i,l,n]),u=Rre({html:c,transform:p,sanitize:!0,sanitizeStyleTags:!1});return S7("div",{class:L_(cre(Fse),l),dangerouslySetInnerHTML:u})}Vse.config={type:Fse,keyed:!1,label:"HTML",group:"presentation",create:(e={})=>({content:"",...e})};const Hse="textfield";function Use(e){const{disabled:t,errors:n=[],errorMessageId:r,domId:i,onBlur:o,onFocus:s,field:a,readonly:l,value:c=""}=e,{description:p,label:u,appearance:h={},validate:d={}}=a,{prefixAdorner:f,suffixAdorner:m}=h,{required:g}=d,[y,v]=Bre((({target:t})=>{e.onChange({field:a,value:t.value})}));return S7("div",{class:cre(Hse,{errors:n,disabled:t,readonly:l}),children:[S7(aie,{id:i,label:u,required:g}),S7(nse,{disabled:t,readonly:l,pre:f,post:m,children:S7("input",{class:"fjs-input",disabled:t,readOnly:l,id:i,onInput:y,onBlur:()=>{v&&v(),o&&o()},onFocus:()=>{s&&s()},type:"text",value:c,"aria-describedby":r})}),S7(oie,{description:p}),S7(sie,{errors:n,id:r})]})}Use.config={type:Hse,keyed:!0,label:"Text field",group:"basic-input",emptyValue:"",sanitizeValue:({value:e})=>c(e)||p(e)||l(e)?"":"string"==typeof e?e.replace(/[\r\n\t]/g," "):String(e),create:(e={})=>({...e})};const Wse="textarea";function Gse(e){const{disabled:t,errors:n=[],errorMessageId:r,domId:i,onBlur:o,onFocus:s,field:a,readonly:l,value:c=""}=e,{description:p,label:u,validate:h={}}=a,{required:d}=h,f=Tl(),[m,g]=Bre((({target:t})=>{e.onChange({field:a,value:t.value})}));return Cl((()=>{Qse(f.current)}),[c]),Sl((()=>{Qse(f.current)}),[]),S7("div",{class:cre(Wse,{errors:n,disabled:t,readonly:l}),children:[S7(aie,{id:i,label:u,required:d}),S7("textarea",{class:"fjs-textarea",disabled:t,readonly:l,id:i,onInput:e=>{m({target:e.target}),Qse(f.current)},onBlur:()=>{g&&g(),o&&o()},onFocus:()=>{s&&s()},value:c,ref:f,"aria-describedby":r}),S7(oie,{description:p}),S7(sie,{errors:n,id:r})]})}Gse.config={type:Wse,keyed:!0,label:"Text area",group:"basic-input",emptyValue:"",sanitizeValue:({value:e})=>c(e)||p(e)||l(e)?"":String(e),create:(e={})=>({...e})};const Qse=e=>{e.style.height="0px";const t=window.getComputedStyle(e),n=parseInt(t.getPropertyValue("border-top-width"))+parseInt(t.getPropertyValue("padding-top"))+(e.scrollHeight||(()=>{const n=parseInt(t.getPropertyValue("line-height").replace("px",""))||0;return(e.value?e.value.toString().split("\n").length:0)*n})())+parseInt(t.getPropertyValue("padding-bottom"))+parseInt(t.getPropertyValue("border-bottom-width")),r=Math.max(Math.min(n||0,350),75);e.style.height=`${r}px`,e.style.overflow=n>350?"visible":"hidden"};var Xse;function Zse(){return Zse=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zse.apply(this,arguments)}var Yse,Kse=function(e){return qa("svg",Zse({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),Xse||(Xse=qa("path",{fill:"currentcolor",d:"M24.59 16.59 17 24.17V4h-2v20.17l-7.59-7.58L6 18l10 10 10-10-1.41-1.41z"})))};function Jse(){return Jse=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jse.apply(this,arguments)}var eae,tae=function(e){return qa("svg",Jse({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),Yse||(Yse=qa("path",{fill:"currentcolor",d:"M16 4 6 14l1.41 1.41L15 7.83V28h2V7.83l7.59 7.58L26 14 16 4z"})))};function nae(){return nae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nae.apply(this,arguments)}var rae,iae=function(e){return qa("svg",nae({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 32 32"},e),eae||(eae=qa("path",{fill:"currentcolor",d:"m20 24-10-8 10-8z"})))};function oae(){return oae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oae.apply(this,arguments)}var sae=function(e){return qa("svg",oae({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 32 32"},e),rae||(rae=qa("path",{fill:"currentcolor",d:"m12 8 10 8-10 8z"})))};const aae="table";function lae(e){const{field:t}=e,{columns:n=[],columnsExpression:r,dataSource:i="",rowCount:o,id:s,label:a}=t,[l,c]=Pl(null),h=function(e,t){const n=Sre(e||"");return Array.isArray(n)&&n.every(cae)?n:t}(r||"",n),d=h.map((({key:e})=>e)),f=Sre(i),m=Array.isArray(f)?f:[],g=null===l?m:(y=m,v=l.key,b=l.direction,[...y].sort(((e,t)=>p(e)&&p(t)?"asc"===b?e[v]>t[v]?1:-1:e[v]<t[v]?1:-1:0)));var y,v,b;const w=u(o)?function(e,t){return e.reduce(((e,n,r)=>(r%t==0?e.push([n]):e[e.length-1].push(n),e)),[])}(g,o):[g],[x,_]=Pl(0),k=w[x]||[];function E(e){c((t=>null===t||t.key!==e?{key:e,direction:"asc"}:"desc"===t.direction?null:{key:e,direction:"desc"}))}return Sl((()=>{_(0)}),[o,l]),S7("div",{class:cre(aae),children:[S7(aie,{id:ure(s),label:a}),S7("div",{class:L_("fjs-table-middle-container",{"fjs-table-empty":0===h.length}),children:[0===h.length?"Nothing to show.":S7("div",{class:"fjs-table-inner-container",children:S7("table",{class:"fjs-table",id:ure(s),children:[S7("thead",{class:"fjs-table-head",children:S7("tr",{class:"fjs-table-tr",children:h.map((({key:e,label:t})=>{const n=t||e;return S7("th",{tabIndex:0,class:"fjs-table-th",onClick:()=>{E(e)},onKeyDown:t=>{["Enter","Space"].includes(t.code)&&E(e)},"aria-label":pae(l,e,n),children:S7("span",{class:"fjs-table-th-label",children:[n,null!==l&&l.key===e?S7(Va,{children:"asc"===l.direction?S7(tae,{class:"fjs-table-sort-icon-asc"}):S7(Kse,{class:"fjs-table-sort-icon-desc"})}):null]})},e)}))})}),0===k.length?S7("tbody",{class:"fjs-table-body",children:S7("tr",{class:"fjs-table-tr",children:S7("td",{class:"fjs-table-td",colSpan:h.length,children:"Nothing to show."})})}):S7("tbody",{class:"fjs-table-body",children:k.map(((e,t)=>S7("tr",{class:"fjs-table-tr",children:d.map((t=>S7("td",{class:"fjs-table-td",children:e[t]},t)))},t)))})]})}),u(o)&&w.length>1&&h.length>0?S7("nav",{class:"fjs-table-nav",children:[S7("span",{class:"fjs-table-nav-label",children:[x+1," of ",w.length]}),S7("button",{type:"button",class:"fjs-table-nav-button",onClick:()=>{_((e=>Math.max(e-1,0)))},disabled:0===x,"aria-label":"Previous page",children:S7(iae,{})}),S7("button",{type:"button",class:"fjs-table-nav-button",onClick:()=>{_((e=>Math.min(e+1,w.length-1)))},disabled:x>=w.length-1,"aria-label":"Next page",children:S7(sae,{})})]}):null]})]})}function cae(e){return p(e)&&d(e.label)&&d(e.key)}function pae(e,t,n){return null===e||e.key!==t?`Click to sort by ${n} descending`:"asc"===e.direction?"Click to remove sorting":`Click to sort by ${n} ascending`}lae.config={type:aae,keyed:!1,label:"Table",group:"presentation",create:(e={})=>{const{id:t,columnsExpression:n,columns:r,rowCount:i,...o}=e;return a(t)&&u(i)&&(o.rowCount=i),d(n)?{...o,id:t,columnsExpression:n}:Array.isArray(r)&&r.every(cae)?{...o,id:t,columns:r}:{...o,rowCount:10,columns:[{label:"ID",key:"id"},{label:"Name",key:"name"},{label:"Date",key:"date"}]}},generateInitialDemoData:e=>{const t=[{id:1,name:"John Doe",date:"31.01.2023"},{id:2,name:"Erika Muller",date:"20.02.2023"},{id:3,name:"Dominic Leaf",date:"11.03.2023"}],n=Object.keys(t[0]),{columns:r,id:i,dataSource:o}=e;if(Array.isArray(r)&&0!==r.length&&o===`=${i}`&&r.map((({key:e})=>e)).every((e=>n.includes(e))))return t}};const uae=[dre,cie,uie,vie,Pse,hse,jie,fse,xse,Tse,Use,Gse,qse,tse,lae,Vse,Ose,kse,Iie,Pse,Bie];class hae{constructor(){this._formFields={},uae.forEach((e=>{this.register(e.config.type,e)}))}register(e,t){this._formFields[e]=t}get(e){return this._formFields[e]}}const dae=["alt","appearance.prefixAdorner","appearance.suffixAdorner","conditional.hide","description","label","source","readonly","text","validate.min","validate.max","validate.minLength","validate.maxLength","valuesExpression","url","dataSource","columnsExpression"],fae=["alt","appearance.prefixAdorner","appearance.suffixAdorner","description","label","source","text","url"];Hne.setFlavor("github");function mae(e,t){this._handlerMap={},this._stack=[],this._stackIdx=-1,this._currentExecution={actions:[],dirty:[],trigger:null},this._injector=t,this._eventBus=e,this._uid=1,e.on(["diagram.destroy","diagram.clear"],(function(){this.clear(!1)}),this)}mae.$inject=["eventBus","injector"],mae.prototype.execute=function(e,t){if(!e)throw new Error("command required");this._currentExecution.trigger="execute";const n={command:e,context:t};this._pushAction(n),this._internalExecute(n),this._popAction()},mae.prototype.canExecute=function(e,t){const n={command:e,context:t},r=this._getHandler(e);let i=this._fire(e,"canExecute",n);if(void 0===i){if(!r)return!1;r.canExecute&&(i=r.canExecute(t))}return i},mae.prototype.clear=function(e){this._stack.length=0,this._stackIdx=-1,!1!==e&&this._fire("changed",{trigger:"clear"})},mae.prototype.undo=function(){let e,t=this._getUndoAction();if(t){for(this._currentExecution.trigger="undo",this._pushAction(t);t&&(this._internalUndo(t),e=this._getUndoAction(),e&&e.id===t.id);)t=e;this._popAction()}},mae.prototype.redo=function(){let e,t=this._getRedoAction();if(t){for(this._currentExecution.trigger="redo",this._pushAction(t);t&&(this._internalExecute(t,!0),e=this._getRedoAction(),e&&e.id===t.id);)t=e;this._popAction()}},mae.prototype.register=function(e,t){this._setHandler(e,t)},mae.prototype.registerHandler=function(e,t){if(!e||!t)throw new Error("command and handlerCls must be defined");const n=this._injector.instantiate(t);this.register(e,n)},mae.prototype.canUndo=function(){return!!this._getUndoAction()},mae.prototype.canRedo=function(){return!!this._getRedoAction()},mae.prototype._getRedoAction=function(){return this._stack[this._stackIdx+1]},mae.prototype._getUndoAction=function(){return this._stack[this._stackIdx]},mae.prototype._internalUndo=function(e){const t=e.command,n=e.context,r=this._getHandler(t);this._atomicDo((()=>{this._fire(t,"revert",e),r.revert&&this._markDirty(r.revert(n)),this._revertedAction(e),this._fire(t,"reverted",e)}))},mae.prototype._fire=function(e,t,n){arguments.length<3&&(n=t,t=null);const r=t?[e+"."+t,t]:[e];let i;n=this._eventBus.createEvent(n);for(const e of r)if(i=this._eventBus.fire("commandStack."+e,n),n.cancelBubble)break;return i},mae.prototype._createId=function(){return this._uid++},mae.prototype._atomicDo=function(e){const t=this._currentExecution;t.atomic=!0;try{e()}finally{t.atomic=!1}},mae.prototype._internalExecute=function(e,t){const n=e.command,r=e.context,i=this._getHandler(n);if(!i)throw new Error("no command handler registered for <"+n+">");this._pushAction(e),t||(this._fire(n,"preExecute",e),i.preExecute&&i.preExecute(r),this._fire(n,"preExecuted",e)),this._atomicDo((()=>{this._fire(n,"execute",e),i.execute&&this._markDirty(i.execute(r)),this._executedAction(e,t),this._fire(n,"executed",e)})),t||(this._fire(n,"postExecute",e),i.postExecute&&i.postExecute(r),this._fire(n,"postExecuted",e)),this._popAction()},mae.prototype._pushAction=function(e){const t=this._currentExecution,n=t.actions,r=n[0];if(t.atomic)throw new Error("illegal invocation in <execute> or <revert> phase (action: "+e.command+")");e.id||(e.id=r&&r.id||this._createId()),n.push(e)},mae.prototype._popAction=function(){const e=this._currentExecution,t=e.trigger,n=e.actions,r=e.dirty;n.pop(),n.length||(this._eventBus.fire("elements.changed",{elements:S("id",r.reverse())}),r.length=0,this._fire("changed",{trigger:t}),e.trigger=null)},mae.prototype._markDirty=function(e){const t=this._currentExecution;e&&(e=c(e)?e:[e],t.dirty=t.dirty.concat(e))},mae.prototype._executedAction=function(e,t){const n=++this._stackIdx;t||this._stack.splice(n,this._stack.length,e)},mae.prototype._revertedAction=function(e){this._stackIdx--},mae.prototype._getHandler=function(e){return this._handlerMap[e]},mae.prototype._setHandler=function(e,t){if(!e||!t)throw new Error("command and handler required");if(this._handlerMap[e])throw new Error("overriding handler for command <"+e+">");this._handlerMap[e]=t};class gae{constructor(e,t){this._form=e,this._validator=t}execute(e){const{field:t,value:n,indexes:r}=e,{errors:i}=this._form._getState();e.oldErrors=vre(i);const o=this._validator.validateField(t,n),s=z(i,[t.id,...Object.values(r||{})],o.length?o:void 0);this._form._setState({errors:s})}revert(e){this._form._setState({errors:e.oldErrors})}}gae.$inject=["form","validator"];new n([32,36,1]);class yae extends e7{constructor(e,...t){super(...t),this._eventBus=e}async getVariables(e){const t=await this._eventBus.fire("formVariableProvider.getFormSchema",{element:e});if(!t)return;let n;try{n=function(e,t={}){const{formFields:n=new hae,expressionLanguage:r=new Yne(null),templating:i=new Kne,inputs:o=!0,outputs:s=!0}=t;if(!e.components)return[];const a=e=>{const t=[];return e.components&&e.components.forEach((e=>{t.push(e),t.push(...a(e))})),t},l=a(e).reduce(((e,t)=>{const{valuesKey:n}=t;return o&&(n&&(e=[...e,n]),dae.forEach((n=>{const i=B(t,n.split("."));if(i&&r.isExpression(i)){const t=r.getVariableNames(i,{type:"expression"});e=[...e,...t]}})),fae.forEach((n=>{const o=B(t,n.split("."));if(o&&!r.isExpression(o)&&i.isTemplate(o)){const t=i.getVariableNames(o);e=[...e,...t]}}))),e.filter((e=>"string"==typeof e))}),[]),c=e=>{const t=[],r=n.get(e.type);return r&&r.config.keyed&&e.key?[e.key.split(".")[0]]:r&&r.config.pathed&&e.path?[e.path.split(".")[0]]:(e.components&&e.components.forEach((e=>{t.push(...c(e))})),t)};return(o||s)&&l.push(...c(e)),Array.from(new Set(l))}(JSON.parse(t),{inputs:!1,outputs:!0})}catch(e){return}return n.map((t=>({name:t,info:`Returned from Form in ${e.name||e.id}`})))}static $inject=["eventBus",...super.$inject]}function vae(e,t){let n=[];const r=Ti(e).get("extensionElements");if(void 0!==r){const e=r.get("values");void 0!==e&&(n=e.filter((e=>Si(e,t))))}return n}function bae(e){e.on("formVariableProvider.getFormSchema",wae)}function wae({element:e}){const t=vae(e,"zeebe:FormDefinition")[0];if(!t)return;const n=t.formKey;if(!n)return;const r=n.replace("camunda-forms:bpmn:",""),i=function(e){let t=e.$parent;for(;t&&!Si(t,"bpmn:Process");)t=t.$parent;return t}(e),o=vae(i,"zeebe:UserTaskForm").find((e=>e.id===r));return o?o.body:void 0}bae.$inject=["eventBus"];var xae={__init__:["formVariableProvider","formVariableProvider.formExtractor"],formVariableProvider:["type",yae],"formVariableProvider.formExtractor":["type",bae]};function _ae(e,t,n,r){this._contextPad=e,this._popupMenu=t,this._canvas=n,this._translate=r,e.registerProvider(this)}function kae(e,t,n){var r=e.getContainer(),i=t.getPad(n).html,o=r.getBoundingClientRect(),s=i.getBoundingClientRect(),a=s.top-o.top;return{x:s.left-o.left,y:a+s.height+5}}_ae.$inject=["contextPad","popupMenu","canvas","translate"],_ae.prototype.getContextPadEntries=function(e){return this._createPopupAction([e])},_ae.prototype.getMultiElementContextPadEntries=function(e){return this._createPopupAction(e)},_ae.prototype._createPopupAction=function(e){const t=this._canvas,n=this._translate,r=this._contextPad,i=this._popupMenu;return{"set-color":{group:"edit",className:"bpmn-icon-color",title:n("Set color"),html:'<div class="entry"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="currentColor">\n <path d="m12.5 5.5.3-.4 3.6-3.6c.5-.5 1.3-.5 1.7 0l1 1c.5.4.5 1.2 0 1.7l-3.6 3.6-.4.2v.2c0 1.4.6 2 1 2.7v.6l-1.7 1.6c-.2.2-.4.2-.6 0L7.3 6.6a.4.4 0 0 1 0-.6l.3-.3.5-.5.8-.8c.2-.2.4-.1.6 0 .9.5 1.5 1.1 3 1.1zm-9.9 6 4.2-4.2 6.3 6.3-4.2 4.2c-.3.3-.9.3-1.2 0l-.8-.8-.9-.8-2.3-2.9" />\n</svg></div>',action:{click:(n,o)=>{var s={...kae(t,r,e),cursor:{x:n.x,y:n.y}};i.open(e,"color-picker",s)}}}}};const Eae=[{label:"Default",fill:void 0,stroke:void 0},{label:"Blue",fill:"#BBDEFB",stroke:"#0D4372"},{label:"Orange",fill:"#FFE0B2",stroke:"#6B3C00"},{label:"Green",fill:"#C8E6C9",stroke:"#205022"},{label:"Red",fill:"#FFCDD2",stroke:"#831311"},{label:"Purple",fill:"#E1BEE7",stroke:"#5B176D"}];function Oae(e,t,n,r,i){this._popupMenu=n,this._modeling=r,this._translate=i,this._colors=e&&e.colors||Eae,this._defaultFillColor=t&&t.defaultFillColor||"white",this._defaultStrokeColor=t&&t.defaultStrokeColor||"rgb(34, 36, 42)",this._popupMenu.registerProvider("color-picker",this)}function Pae(e,t,n){return function(){e.setColor(t,n)}}Oae.$inject=["config.colorPicker","config.bpmnRenderer","popupMenu","modeling","translate"],Oae.prototype.getEntries=function(e){var t=this,n='\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" height="100%" width="100%">\n <rect rx="2" x="1" y="1" width="22" height="22" fill="var(--fill-color)" stroke="var(--stroke-color)" style="stroke-width:2"></rect>\n </svg>\n ';return this._colors.map((function(r){var i=n.replace("var(--fill-color)",r.fill||t._defaultFillColor).replace("var(--stroke-color)",r.stroke||t._defaultStrokeColor);return{title:t._translate(r.label),id:r.label.toLowerCase()+"-color",imageHtml:i,action:Pae(t._modeling,e,r)}}))};var Sae={__init__:["colorContextPadProvider","colorPopupProvider"],colorContextPadProvider:["type",_ae],colorPopupProvider:["type",Oae]};function Cae(e,t,n,r,i){this._eventBus=t,this._elementTemplates=n,this._translate=r,this._popupMenu=i;(!e||!1!==e.elementTemplateChooser)&&t.on("elementTemplates.select",(e=>{const{element:t}=e;this.open(t).then((e=>{n.applyTemplate(t,e)})).catch((e=>{"user-canceled"!==e&&console.error("elementTemplate.select :: error",e)}))}))}function Tae(e,t,n,r){this._popupMenu=e,this._eventBus=t,this._translate=n,this._elementTemplates=r,this.register()}Cae.$inject=["config.connectorsExtension","eventBus","elementTemplates","translate","popupMenu"],Cae.prototype.open=function(e){const t=this._popupMenu,n=this._translate,r=this._eventBus;return new Promise(((i,o)=>{const s=()=>o("user-canceled");r.once("popupMenu.close",s),r.once("elementTemplateChooser.chosen",(e=>{const{template:t}=e;r.off("popupMenu.close",s),i(t)})),t.open(e,"element-template-chooser",{x:0,y:0},{title:n("Choose element template"),search:!0,width:350})}))},Tae.$inject=["popupMenu","eventBus","translate","elementTemplates"],Tae.prototype.register=function(){this._popupMenu.registerProvider("element-template-chooser",this)},Tae.prototype.getPopupMenuEntries=function(e){return this.getTemplateEntries(e).reduce(((e,[t,n])=>(e[t]=n,e)),{})},Tae.prototype.getTemplateEntries=function(e){const t=this._eventBus,n=this._translate;return this._getMatchingTemplates(e).map((r=>{const{icon:i={},category:o}=r;return[`apply-template-${r.id}`,{label:r.name&&n(r.name),description:r.description&&n(r.description),documentationRef:r.documentationRef,imageUrl:i.contents,group:o&&{...o,name:n(o.name)},action:()=>{t.fire("elementTemplateChooser.chosen",{element:e,template:r})}}]}))},Tae.prototype._getMatchingTemplates=function(e){return this._elementTemplates.getLatest().filter((t=>Ci(e,t.appliesTo)&&!function(e,t){const n=Ti(e);if(n)return n.get("modelerTemplate")===t.id;return!1}(e,t)))};var Mae={__init__:["elementTemplateChooser","elementTemplateChooserEntryProvider"],elementTemplateChooser:["type",Cae],elementTemplateChooserEntryProvider:["type",Tae]};function Aae(e,t,n){this._bpmnRenderer=t,this._iconProperty=e&&e.iconProperty,at.call(this,n,1250)}e(Aae,at),Aae.prototype.canRender=function(e){return!gn(e)&&!(!Ci(e,["bpmn:Task","bpmn:Event"])||!this._getIcon(e))},Aae.prototype._getIcon=function(e){return function(e,t){return t=t||"zeebe:modelerTemplateIcon",Ti(e).get(t)}(e,this._iconProperty)},Aae.prototype.drawShape=function(e,t){var n=this._bpmnRenderer.handlers[["bpmn:BoundaryEvent","bpmn:EndEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:StartEvent","bpmn:Task"].find((e=>Si(t,e)))],r=n(e,t,{renderIcon:!1}),i=this._getIcon(t),o=Si(t,"bpmn:Task")?{x:5,y:5}:{x:(t.width-18)/2,y:(t.height-18)/2},s=Ie("image");return Pe(s,{href:i,width:18,height:18,...o}),_e(e,s),r},Aae.$inject=["config.elementTemplateIconRenderer","bpmnRenderer","eventBus"];const Dae=[{__init__:["elementTemplateIconRenderer"],elementTemplateIconRenderer:["type",Aae]}],Nae={zeebe:{name:"zeebe",prefix:"zeebe",uri:"http://camunda.org/schema/zeebe/1.0",xml:{tagAlias:"lowerCase"},associations:[],types:[{name:"ZeebeServiceTask",extends:["bpmn:ServiceTask","bpmn:BusinessRuleTask","bpmn:ScriptTask","bpmn:SendTask","bpmn:EndEvent","bpmn:IntermediateThrowEvent"],properties:[{name:"retryCounter",type:"String",isAttr:!0}]},{name:"IoMapping",superClass:["Element"],properties:[{name:"ioMapping",type:"IoMapping"},{name:"inputParameters",isMany:!0,type:"Input"},{name:"outputParameters",isMany:!0,type:"Output"}],meta:{allowedIn:["bpmn:CallActivity","bpmn:Event","bpmn:ReceiveTask","zeebe:ZeebeServiceTask","bpmn:SubProcess","bpmn:UserTask"]}},{name:"InputOutputParameter",properties:[{name:"source",isAttr:!0,type:"String"},{name:"target",isAttr:!0,type:"String"}]},{name:"Subscription",superClass:["Element"],properties:[{name:"correlationKey",isAttr:!0,type:"String"}]},{name:"Input",superClass:["InputOutputParameter"],meta:{allowedIn:["bpmn:CallActivity","zeebe:ZeebeServiceTask","bpmn:SubProcess","bpmn:UserTask"]}},{name:"Output",superClass:["InputOutputParameter"],meta:{allowedIn:["bpmn:CallActivity","bpmn:Event","bpmn:ReceiveTask","zeebe:ZeebeServiceTask","bpmn:SubProcess","bpmn:UserTask"]}},{name:"TaskHeaders",superClass:["Element"],meta:{allowedIn:["zeebe:ZeebeServiceTask","bpmn:UserTask"]},properties:[{name:"values",type:"Header",isMany:!0}]},{name:"Header",superClass:["Element"],properties:[{name:"id",type:"String",isAttr:!0},{name:"key",type:"String",isAttr:!0},{name:"value",type:"String",isAttr:!0}]},{name:"TaskDefinition",superClass:["Element"],meta:{allowedIn:["zeebe:ZeebeServiceTask"]},properties:[{name:"type",type:"String",isAttr:!0},{name:"retries",type:"String",isAttr:!0}]},{name:"LoopCharacteristics",superClass:["Element"],meta:{allowedIn:["zeebe:ZeebeServiceTask","bpmn:ReceiveTask","bpmn:SubProcess"]},properties:[{name:"inputCollection",type:"String",isAttr:!0},{name:"inputElement",type:"String",isAttr:!0},{name:"outputCollection",type:"String",isAttr:!0},{name:"outputElement",type:"String",isAttr:!0}]},{name:"CalledElement",superClass:["Element"],meta:{allowedIn:["bpmn:CallActivity"]},properties:[{name:"processId",type:"String",isAttr:!0},{name:"processIdExpression",type:"String",isAttr:!0},{name:"propagateAllChildVariables",isAttr:!0,type:"Boolean"},{name:"propagateAllParentVariables",isAttr:!0,type:"Boolean",default:!0}]},{name:"UserTaskForm",superClass:["Element"],meta:{allowedIn:["bpmn:Process"]},properties:[{name:"id",type:"String",isAttr:!0},{name:"body",type:"String",isBody:!0}]},{name:"FormDefinition",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[{name:"formKey",type:"String",isAttr:!0},{name:"formId",type:"String",isAttr:!0},{name:"externalReference",type:"String",isAttr:!0}]},{name:"UserTask",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[]},{name:"CalledDecision",superClass:["Element"],meta:{allowedIn:["bpmn:BusinessRuleTask"]},properties:[{name:"decisionId",type:"String",isAttr:!0},{name:"resultVariable",type:"String",isAttr:!0}]},{name:"AssignmentDefinition",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[{name:"assignee",type:"String",isAttr:!0},{name:"candidateGroups",type:"String",isAttr:!0},{name:"candidateUsers",type:"String",isAttr:!0}]},{name:"TaskSchedule",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[{name:"dueDate",type:"String",isAttr:!0},{name:"followUpDate",type:"String",isAttr:!0}]},{name:"Properties",superClass:["Element"],properties:[{name:"properties",type:"Property",isMany:!0}]},{name:"Property",properties:[{name:"name",type:"String",isAttr:!0},{name:"value",type:"String",isAttr:!0}]},{name:"TemplateSupported",isAbstract:!0,extends:["bpmn:Collaboration","bpmn:Process","bpmn:FlowElement"],properties:[{name:"modelerTemplate",isAttr:!0,type:"String"},{name:"modelerTemplateVersion",isAttr:!0,type:"Integer"},{name:"modelerTemplateIcon",isAttr:!0,type:"String"}]},{name:"TemplatedRootElement",isAbstract:!0,extends:["bpmn:Error","bpmn:Escalation","bpmn:Message","bpmn:Signal"],properties:[{name:"modelerTemplate",isAttr:!0,type:"String"}]},{name:"Script",superClass:["Element"],meta:{allowedIn:["bpmn:ScriptTask"]},properties:[{name:"expression",type:"String",isAttr:!0},{name:"resultVariable",type:"String",isAttr:!0}]}]}},Rae=Object.prototype.toString,jae=Object.prototype.hasOwnProperty;function Iae(e){return void 0===e}function Lae(e){return"[object Array]"===Rae.call(e)}function zae(e){return"[object Object]"===Rae.call(e)}function Bae(e){return"[object Number]"===Rae.call(e)}function $ae(e){const t=Rae.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function qae(e,t){return jae.call(e,t)}function Fae(e,t){const n=function(e){return $ae(e)?e:t=>t===e}(t);let r;return Vae(e,(function(e,t){if(n(e,t))return r=e,!1})),r}function Vae(e,t){let n,r;if(Iae(e))return;const i=Lae(e)?Uae:Hae;for(let o in e)if(qae(e,o)&&(n=e[o],r=t(n,i(o)),!1===r))return n}function Hae(e){return e}function Uae(e){return Number(e)}function Wae(e,...t){return Object.assign(e,...t)}const Gae={id:"events",name:"Events"},Qae={id:"tasks",name:"Tasks"},Xae={id:"data",name:"Data"},Zae={id:"participants",name:"Participants"},Yae={id:"subprocess",name:"Sub-processes"},Kae={id:"gateways",name:"Gateways"},Jae=[{label:"Start event",actionName:"none-start-event",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate throw event",actionName:"none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"Boundary event",actionName:"none-boundary-event",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:BoundaryEvent"}},{label:"End event",actionName:"none-end-event",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}}].map((e=>({...e,group:Gae}))),ele=[{label:"Message start event",actionName:"message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer start event",actionName:"timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional start event",actionName:"conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal start event",actionName:"signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}].map((e=>({...e,group:Gae}))),tle=[{label:"Message intermediate catch event",actionName:"message-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Message intermediate throw event",actionName:"message-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-message",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer intermediate catch event",actionName:"timer-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation intermediate throw event",actionName:"escalation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-escalation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional intermediate catch event",actionName:"conditional-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Link intermediate catch event",actionName:"link-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-link",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Link intermediate throw event",actionName:"link-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-link",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Compensation intermediate throw event",actionName:"compensation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-compensation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal intermediate catch event",actionName:"signal-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Signal intermediate throw event",actionName:"signal-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-signal",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}].map((e=>({...e,group:Gae}))),nle=[{label:"Message boundary event",actionName:"message-boundary",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer boundary event",actionName:"timer-boundary",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation boundary event",actionName:"escalation-boundary",className:"bpmn-icon-intermediate-event-catch-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional boundary event",actionName:"conditional-boundary",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Error boundary event",actionName:"error-boundary",className:"bpmn-icon-intermediate-event-catch-error",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel boundary event",actionName:"cancel-boundary",className:"bpmn-icon-intermediate-event-catch-cancel",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Signal boundary event",actionName:"signal-boundary",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Compensation boundary event",actionName:"compensation-boundary",className:"bpmn-icon-intermediate-event-catch-compensation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message boundary event (non-interrupting)",actionName:"non-interrupting-message-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!1}},{label:"Timer boundary event (non-interrupting)",actionName:"non-interrupting-timer-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!1}},{label:"Escalation boundary event (non-interrupting)",actionName:"non-interrupting-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!1}},{label:"Conditional boundary event (non-interrupting)",actionName:"non-interrupting-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!1}},{label:"Signal boundary event (non-interrupting)",actionName:"non-interrupting-signal-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!1}}].map((e=>({...e,group:Gae}))),rle=[{label:"Message end event",actionName:"message-end",className:"bpmn-icon-end-event-message",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Escalation end event",actionName:"escalation-end",className:"bpmn-icon-end-event-escalation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Error end event",actionName:"error-end",className:"bpmn-icon-end-event-error",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel end event",actionName:"cancel-end",className:"bpmn-icon-end-event-cancel",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Compensation end event",actionName:"compensation-end",className:"bpmn-icon-end-event-compensation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal end event",actionName:"signal-end",className:"bpmn-icon-end-event-signal",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Terminate end event",actionName:"terminate-end",className:"bpmn-icon-end-event-terminate",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:TerminateEventDefinition"}}].map((e=>({...e,group:Gae}))),ile=[{label:"Exclusive gateway",actionName:"exclusive-gateway",className:"bpmn-icon-gateway-xor",target:{type:"bpmn:ExclusiveGateway"}},{label:"Parallel gateway",actionName:"parallel-gateway",className:"bpmn-icon-gateway-parallel",target:{type:"bpmn:ParallelGateway"}},{label:"Inclusive gateway",search:"or",actionName:"inclusive-gateway",className:"bpmn-icon-gateway-or",target:{type:"bpmn:InclusiveGateway"},rank:-1},{label:"Complex gateway",actionName:"complex-gateway",className:"bpmn-icon-gateway-complex",target:{type:"bpmn:ComplexGateway"},rank:-1},{label:"Event-based gateway",actionName:"event-based-gateway",className:"bpmn-icon-gateway-eventbased",target:{type:"bpmn:EventBasedGateway",instantiate:!1,eventGatewayType:"Exclusive"}}].map((e=>({...e,group:Kae}))),ole=[{label:"Call activity",actionName:"call-activity",className:"bpmn-icon-call-activity",target:{type:"bpmn:CallActivity"}},{label:"Transaction",actionName:"transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Event sub-process",search:"subprocess",actionName:"event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}},{label:"Sub-process (collapsed)",search:"subprocess",actionName:"collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}},{label:"Sub-process (expanded)",search:"subprocess",actionName:"expanded-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!0}}].map((e=>({...e,group:Yae}))),sle=[...ile,...[{label:"Task",actionName:"task",className:"bpmn-icon-task",target:{type:"bpmn:Task"}},{label:"User task",actionName:"user-task",className:"bpmn-icon-user",target:{type:"bpmn:UserTask"}},{label:"Service task",actionName:"service-task",className:"bpmn-icon-service",target:{type:"bpmn:ServiceTask"}},{label:"Send task",actionName:"send-task",className:"bpmn-icon-send",target:{type:"bpmn:SendTask"},rank:-1},{label:"Receive task",actionName:"receive-task",className:"bpmn-icon-receive",target:{type:"bpmn:ReceiveTask"},rank:-1},{label:"Manual task",actionName:"manual-task",className:"bpmn-icon-manual",target:{type:"bpmn:ManualTask"},rank:-1},{label:"Business rule task",actionName:"rule-task",className:"bpmn-icon-business-rule",target:{type:"bpmn:BusinessRuleTask"}},{label:"Script task",actionName:"script-task",className:"bpmn-icon-script",target:{type:"bpmn:ScriptTask"}}].map((e=>({...e,group:Qae}))),...ole,...Jae,...ele,...tle,...rle,...nle,...[{label:"Data store reference",actionName:"data-store-reference",className:"bpmn-icon-data-store",target:{type:"bpmn:DataStoreReference"}},{label:"Data object reference",actionName:"data-object-reference",className:"bpmn-icon-data-object",target:{type:"bpmn:DataObjectReference"}}].map((e=>({...e,group:Xae}))),...[{label:"Expanded pool/participant",search:"Non-empty pool/participant",actionName:"expanded-pool",className:"bpmn-icon-participant",target:{type:"bpmn:Participant",isExpanded:!0}},{label:"Empty pool/participant",search:"Collapsed pool/participant",actionName:"collapsed-pool",className:"bpmn-icon-lane",target:{type:"bpmn:Participant",isExpanded:!1}}].map((e=>({...e,group:Zae})))];function ale(e,t,n,r,i,o,s){this._elementFactory=e,this._popupMenu=t,this._create=n,this._autoPlace=r,this._rules=i,this._create=n,this._mouse=o,this._translate=s,this.register()}ale.$inject=["elementFactory","popupMenu","create","autoPlace","rules","mouse","translate"],ale.prototype.register=function(){this._popupMenu.registerProvider("bpmn-append",this)},ale.prototype.getPopupMenuEntries=function(e){const t=this._rules,n=this._translate,r={};if(!t.allowed("shape.append",{element:e}))return[];return this._filterEntries(sle).forEach((t=>{const{actionName:i,className:o,label:s,target:a,description:l,group:c,search:p,rank:u}=t;r[`append-${i}`]={label:s&&n(s),className:o,description:l,group:c&&{...c,name:n(c.name)},search:p,rank:u,action:this._createEntryAction(e,a)}})),r},ale.prototype._filterEntries=function(e){return e.filter((e=>{const t=e.target,{type:n,eventDefinitionType:r}=t;return!["bpmn:StartEvent","bpmn:Participant"].includes(n)&&("bpmn:BoundaryEvent"!==n||!Iae(r))}))},ale.prototype._createEntryAction=function(e,t){const n=this._elementFactory,r=this._autoPlace,i=this._create,o=this._mouse,s=r=>{const s=n.create("shape",t);return r instanceof KeyboardEvent&&(r=o.getLastMoveEvent()),i.start(r,s,{source:e})};return{click:this._canAutoPlaceElement(t)?()=>{const i=n.create("shape",t);r.append(e,i)}:s,dragstart:s}},ale.prototype._canAutoPlaceElement=e=>{const{type:t}=e;return"bpmn:BoundaryEvent"!==t&&(("bpmn:SubProcess"!==t||!e.triggeredByEvent)&&("bpmn:IntermediateCatchEvent"!==t||"bpmn:LinkEventDefinition"!==e.eventDefinitionType))};function lle(e,t,n,r,i){this._contextPad=e,this._popupMenu=t,this._translate=n,this._canvas=r,this._rules=i,this.register()}function cle(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}function ple(e,t){var n=hle(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}function ule(e,t){return n=function(t){return ple(e,t)},!!Fae(t,n);var n}function hle(e){return e&&e.businessObject||e}lle.$inject=["contextPad","popupMenu","translate","canvas","rules"],lle.prototype.register=function(){this._contextPad.registerProvider(this)},lle.prototype.getContextPadEntries=function(e){const t=this._popupMenu,n=this._translate,r=this._rules,i=this._getAppendMenuPosition.bind(this);if(r.allowed("shape.append",{element:e}))return{append:{group:"model",html:'<div class="entry"><svg width="22" height="22" viewBox="0 0 5.82 5.82" xmlns="http://www.w3.org/2000/svg" fill="currentColor">\n <path d="M1.3 3.4c.3 0 .5-.2.5-.5s-.2-.4-.5-.4c-.2 0-.4.1-.4.4 0 .3.2.5.4.5zM3 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5zM4.6 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5z"/>\n</svg></div>',title:n("Append element"),action:{click:function(e,r){const o=Wae(i(r),{cursor:{x:e.x,y:e.y}});t.open(r,"bpmn-append",o,{title:n("Append element"),width:300,search:!0})}}}}},lle.prototype._getAppendMenuPosition=function(e){const t=this._contextPad.getPad(e).html.getBoundingClientRect();return{x:t.right+5,y:t.top}};function dle(e){this._eventBus=e}function fle(e){return function(t,n,r,i,o){($ae(t)||Bae(t))&&(o=i,i=r,r=n,n=t,t=null),this.on(t,e,n,r,i,o)}}function mle(e){dle.call(this,e),this.init()}function gle(e){mle.call(this,e)}dle.$inject=["eventBus"],dle.prototype.on=function(e,t,n,r,i,o){if(($ae(t)||Bae(t))&&(o=i,i=r,r=n,n=t,t=null),$ae(n)&&(o=i,i=r,r=n,n=1e3),zae(i)&&(o=i,i=!1),!$ae(r))throw new Error("handlerFn must be a function");Lae(e)||(e=[e]);var s=this._eventBus;Vae(e,(function(e){var a=["commandStack",e,t].filter((function(e){return e})).join(".");s.on(a,n,i?function(e,t){return function(n){return e.call(t||null,n.context,n.command,n)}}(r,o):r,o)}))},dle.prototype.canExecute=fle("canExecute"),dle.prototype.preExecute=fle("preExecute"),dle.prototype.preExecuted=fle("preExecuted"),dle.prototype.execute=fle("execute"),dle.prototype.executed=fle("executed"),dle.prototype.postExecute=fle("postExecute"),dle.prototype.postExecuted=fle("postExecuted"),dle.prototype.revert=fle("revert"),dle.prototype.reverted=fle("reverted"),mle.$inject=["eventBus"],cle(mle,dle),mle.prototype.addRule=function(e,t,n){var r=this;"string"==typeof e&&(e=[e]),e.forEach((function(e){r.canExecute(e,t,(function(e,t,r){return n(e)}),!0)}))},mle.prototype.init=function(){},cle(gle,mle),gle.$inject=["eventBus"],gle.prototype.init=function(){this.addRule("shape.append",(function(e){const t=e.element,n=hle(t);return(!zae(r=t)||!qae(r,"labelTarget"))&&(!ule(t,["bpmn:EndEvent","bpmn:Group","bpmn:TextAnnotation","bpmn:Lane","bpmn:Participant","bpmn:DataStoreReference","bpmn:DataObjectReference"])&&(!t.waypoints&&((!ple(t,"bpmn:IntermediateThrowEvent")||!function(e,t){const n=hle(e);return!!Fae(n.eventDefinitions||[],(function(e){return ple(e,t)}))}(t,"bpmn:LinkEventDefinition"))&&((!ple(t,"bpmn:SubProcess")||!n.triggeredByEvent)&&void 0))));var r}))};var yle,vle={__init__:["appendMenuProvider","appendContextPadProvider","appendRules"],appendMenuProvider:["type",ale],appendContextPadProvider:["type",lle],appendRules:["type",gle]};function ble(e,t,n,r,i,o){this._elementFactory=e,this._popupMenu=t,this._create=n,this._autoPlace=r,this._mouse=i,this._translate=o,this.register()}ble.$inject=["elementFactory","popupMenu","create","autoPlace","mouse","translate"],ble.prototype.register=function(){this._popupMenu.registerProvider("bpmn-create",this)},ble.prototype.getPopupMenuEntries=function(){const e={};return sle.forEach((t=>{const{actionName:n,className:r,label:i,target:o,description:s,group:a,search:l,rank:c}=t,p=this._createEntryAction(o);e[`create-${n}`]={label:i&&this._translate(i),className:r,description:s,group:a&&{...a,name:this._translate(a.name)},search:l,rank:c,action:{click:p,dragstart:p}}})),e},ble.prototype._createEntryAction=function(e){const t=this._create,n=this._mouse,r=this._popupMenu,i=this._elementFactory;let o;return s=>(r.close(),o="bpmn:Participant"===e.type?i.createParticipantShape(e):i.create("shape",e),s instanceof KeyboardEvent&&(s=n.getLastMoveEvent()),t.start(s,o))},"undefined"!=typeof document&&((yle=document.createElement("div")).innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',yle.getElementsByTagName("link").length,yle=void 0);function wle(e,t,n,r,i){this._palette=e,this._translate=t,this._popupMenu=n,this._canvas=r,this._mouse=i,this.register()}wle.$inject=["palette","translate","popupMenu","canvas","mouse"],wle.prototype.register=function(){this._palette.registerProvider(900,this)},wle.prototype.getPaletteEntries=function(e){const t=this._translate,n=this._popupMenu,r=this._canvas,i=this._mouse,o=e=>{if(e instanceof KeyboardEvent)return{x:(e=i.getLastMoveEvent()).x,y:e.y};const t=e&&e.target||(n='.djs-palette [data-action="create"]',(r=r||document).querySelector(n));var n,r;const o=t.getBoundingClientRect();return t&&{x:o.left+o.width/2+35,y:o.top+o.height/2+10}};return{create:{group:"create",html:'<div class="entry"> <svg width="46" height="46" viewBox="-2 -2 9.82 9.82" xmlns="http://www.w3.org/2000/svg" fill="currentColor">\n <path d="M1.3 3.4c.3 0 .5-.2.5-.5s-.2-.4-.5-.4c-.2 0-.4.1-.4.4 0 .3.2.5.4.5zM3 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5zM4.6 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5z"/>\n</svg></div>',title:t("Create element"),action:{click:function(e){const i=o(e),s=r.getRootElement();n.open(s,"bpmn-create",i,{title:t("Create element"),width:300,search:!0})}}}}};var xle={__init__:["createMenuProvider","createPaletteProvider"],createMenuProvider:["type",ble],createPaletteProvider:["type",wle]};function _le(e){this._injector=e,this.registerActions()}_le.$inject=["injector"],_le.prototype.registerActions=function(){const e=this._injector.get("editorActions",!1),t=this._injector.get("selection",!1),n=this._injector.get("contextPad",!1),r=this._injector.get("palette",!1),i=this._injector.get("popupMenu",!1),o={};t&&n&&r&&i&&r&&Wae(o,{appendElement:function(e){const o=t&&t.get();1!=o.length||i.isEmpty(o[0],"bpmn-append")?r.triggerEntry("create","click",e):n.triggerEntry("append","click",e)}}),r&&Wae(o,{createElement:function(e){r.triggerEntry("create","click",e)}}),e&&e.register(o)};var kle={__depends__:[vle,xle],__init__:["createAppendEditorActions"],createAppendEditorActions:["type",_le]},Ele=["c","C"],Ole=["v","V"],Ple=["y","Y"],Sle=["z","Z"];function Cle(e){return!e.altKey&&(e.ctrlKey||e.metaKey)}function Tle(e,t){return-1!==(e=Lae(e)?e:[e]).indexOf(t.key)||-1!==e.indexOf(t.code)}function Mle(e){return e.shiftKey}var Ale=500;function Dle(e,t){var n=this;e.on("editorActions.init",Ale,(function(e){var r=e.editorActions;n.registerBindings(t,r)}))}function Nle(e){this._injector=e,this._keyboard=this._injector.get("keyboard",!1),this._editorActions=this._injector.get("editorActions",!1),this._keyboard&&this._injector.invoke(Dle,this)}Dle.$inject=["eventBus","keyboard"],Dle.prototype.registerBindings=function(e,t){function n(n,r){t.isRegistered(n)&&e.addListener(r)}n("undo",(function(e){if(function(e){return Cle(e)&&!Mle(e)&&Tle(Sle,e)}(e.keyEvent))return t.trigger("undo"),!0})),n("redo",(function(e){if(function(e){return Cle(e)&&(Tle(Ple,e)||Tle(Sle,e)&&Mle(e))}(e.keyEvent))return t.trigger("redo"),!0})),n("copy",(function(e){if(function(e){return Cle(e)&&Tle(Ele,e)}(e.keyEvent))return t.trigger("copy"),!0})),n("paste",(function(e){if(function(e){return Cle(e)&&Tle(Ole,e)}(e.keyEvent))return t.trigger("paste"),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(Tle(["+","Add","="],n)&&Cle(n))return t.trigger("stepZoom",{value:1}),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(Tle(["-","Subtract"],n)&&Cle(n))return t.trigger("stepZoom",{value:-1}),!0})),n("zoom",(function(e){var n=e.keyEvent;if(Tle("0",n)&&Cle(n))return t.trigger("zoom",{value:1}),!0})),n("removeSelection",(function(e){if(Tle(["Backspace","Delete","Del"],e.keyEvent))return t.trigger("removeSelection"),!0}))},cle(Nle,Dle),Nle.$inject=["injector"],Nle.prototype.registerBindings=function(){const e=this._keyboard,t=this._editorActions;function n(n,r){t&&t.isRegistered(n)&&e&&e.addListener(r)}Dle.prototype.registerBindings.call(this,e,t),n("appendElement",(function(n){const r=n.keyEvent;if(!e||!e.hasModifier(r))return e&&e.isKey(["a","A"],r)?(t&&t.trigger("appendElement",r),!0):void 0})),n("createElement",(function(n){const r=n.keyEvent;if(!e||!e.hasModifier(r))return e&&e.isKey(["n","N"],r)?(t&&t.trigger("createElement",r),!0):void 0}))};var Rle={__depends__:[vle,xle,kle,{__depends__:[vle,xle],__init__:["createAppendKeyboardBindings"],createAppendKeyboardBindings:["type",Nle]}]};function jle(e,t,n,r,i,o,s){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this._autoPlace=r,this._create=i,this._mouse=o,this._rules=s,this.register()}jle.$inject=["popupMenu","translate","elementTemplates","autoPlace","create","move","rules"],jle.prototype.register=function(){this._popupMenu.registerProvider("bpmn-append",this)},jle.prototype.getPopupMenuEntries=function(e){return t=>{if(!this._rules.allowed("shape.append",{element:e}))return[];const n=this._filterTemplates(this._elementTemplates.getLatest());return Wae(t,this.getTemplateEntries(e,n)),t}},jle.prototype.getTemplateEntries=function(e,t){const n={};return t.map((t=>{const{icon:r={},category:i}=t,o=`append.template-${t.id}`,s={id:"templates",name:this._translate("Templates")};n[o]={label:t.name,description:t.description,documentationRef:t.documentationRef,imageUrl:r.contents,group:i||s,action:this._getEntryAction(e,t)}})),n},jle.prototype._filterTemplates=function(e){return e.filter((e=>{const{appliesTo:t,elementType:n}=e,r=n&&n.value||t[0];return!["bpmn:StartEvent","bpmn:Participant"].includes(r)&&"bpmn:SequenceFlow"!==r}))},jle.prototype._getEntryAction=function(e,t){return{click:()=>{const n=this._elementTemplates.createElement(t);this._autoPlace.append(e,n)},dragstart:n=>{const r=this._elementTemplates.createElement(t);n instanceof KeyboardEvent&&(n=this._mouse.getLastMoveEvent()),this._create.start(n,r,{source:e})}}};var Ile={__init__:["elementTemplatesAppendProvider"],elementTemplatesAppendProvider:["type",jle]};function Lle(e,t,n,r,i){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this._mouse=r,this._create=i,this.register()}Lle.$inject=["popupMenu","translate","elementTemplates","mouse","create"],Lle.prototype.register=function(){this._popupMenu.registerProvider("bpmn-create",this)},Lle.prototype.getPopupMenuEntries=function(e){return t=>(Wae(t,this.getTemplateEntries(e)),t)},Lle.prototype.getTemplateEntries=function(){const e=this._elementTemplates.getLatest(),t={};return e.map((e=>{const{icon:n={},category:r}=e,i=`create.template-${e.id}`,o={id:"templates",name:this._translate("Templates")};t[i]={label:e.name,description:e.description,documentationRef:e.documentationRef,imageUrl:n.contents,group:r||o,action:{click:this._getEntryAction(e),dragstart:this._getEntryAction(e)}}})),t},Lle.prototype._getEntryAction=function(e){const t=this._create,n=this._popupMenu,r=this._elementTemplates,i=this._mouse;return o=>{n.close();let s=r.createElement(e);return o instanceof KeyboardEvent&&(o=i.getLastMoveEvent()),t.start(o,s)}};var zle={__init__:["elementTemplatesCreateProvider"],elementTemplatesCreateProvider:["type",Lle]};function Ble(e,t,n){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this.register()}Ble.$inject=["popupMenu","translate","elementTemplates"],Ble.prototype.register=function(){this._popupMenu.registerProvider("bpmn-replace",this)},Ble.prototype.getPopupMenuEntries=function(e){return t=>{let n=Object.entries(t);return n=[...n,...this.getTemplateEntries(e)],n.reduce(((e,[t,n])=>(e[t]=n,e)),{})}},Ble.prototype.getTemplateEntries=function(e){return this._getMatchingTemplates(e).map((t=>{const{icon:n={},category:r}=t,i=`replace.template-${t.id}`,o={id:"templates",name:this._translate("Templates")};return[i,{label:t.name,description:t.description,documentationRef:t.documentationRef,imageUrl:n.contents,group:r||o,action:()=>{this._elementTemplates.applyTemplate(e,t)}}]}))},Ble.prototype._getMatchingTemplates=function(e){return this._elementTemplates.getLatest().filter((t=>ule(e,t.appliesTo)&&!function(e,t){const n=hle(e);if(n)return n.get("zeebe:modelerTemplate")===t.id;return!1}(e,t)))};var $le={__init__:["elementTemplatesReplaceProvider"],elementTemplatesReplaceProvider:["type",Ble]};function qle(e){return function(t){var n=t.target,r=hle(e),i=r.eventDefinitions&&r.eventDefinitions[0],o=r.$type===n.type,s=(i&&i.$type)===n.eventDefinitionType,a=!!n.triggeredByEvent==!!r.triggeredByEvent,l=void 0===n.isExpanded||n.isExpanded===function(e,t){return!ple(e,"bpmn:CallActivity")&&(ple(e,"bpmn:SubProcess")?(t=t||function(e){return e&&e.di}(e),!(!t||!ple(t,"bpmndi:BPMNPlane"))||t&&!!t.isExpanded):!ple(e,"bpmn:Participant")||!!hle(e).processRef)}(e);return!(o&&s&&a&&l)}}var Fle=[{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Sub-process",actionName:"replace-with-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}},{label:"Event sub-process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}}],Vle=Fle,Hle=Object.freeze({__proto__:null,BOUNDARY_EVENT:[{label:"Message boundary event",actionName:"replace-with-message-boundary",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!0}},{label:"Timer boundary event",actionName:"replace-with-timer-boundary",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!0}},{label:"Escalation boundary event",actionName:"replace-with-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!0}},{label:"Conditional boundary event",actionName:"replace-with-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!0}},{label:"Error boundary event",actionName:"replace-with-error-boundary",className:"bpmn-icon-intermediate-event-catch-error",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ErrorEventDefinition",cancelActivity:!0}},{label:"Cancel boundary event",actionName:"replace-with-cancel-boundary",className:"bpmn-icon-intermediate-event-catch-cancel",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CancelEventDefinition",cancelActivity:!0}},{label:"Signal boundary event",actionName:"replace-with-signal-boundary",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!0}},{label:"Compensation boundary event",actionName:"replace-with-compensation-boundary",className:"bpmn-icon-intermediate-event-catch-compensation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CompensateEventDefinition",cancelActivity:!0}},{label:"Message boundary event (non-interrupting)",actionName:"replace-with-non-interrupting-message-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!1}},{label:"Timer boundary event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!1}},{label:"Escalation boundary event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!1}},{label:"Conditional boundary event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!1}},{label:"Signal boundary event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!1}}],DATA_OBJECT_REFERENCE:[{label:"Data store reference",actionName:"replace-with-data-store-reference",className:"bpmn-icon-data-store",target:{type:"bpmn:DataStoreReference"}}],DATA_STORE_REFERENCE:[{label:"Data object reference",actionName:"replace-with-data-object-reference",className:"bpmn-icon-data-object",target:{type:"bpmn:DataObjectReference"}}],END_EVENT:[{label:"Start event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate throw event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message end event",actionName:"replace-with-message-end",className:"bpmn-icon-end-event-message",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Escalation end event",actionName:"replace-with-escalation-end",className:"bpmn-icon-end-event-escalation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Error end event",actionName:"replace-with-error-end",className:"bpmn-icon-end-event-error",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel end event",actionName:"replace-with-cancel-end",className:"bpmn-icon-end-event-cancel",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Compensation end event",actionName:"replace-with-compensation-end",className:"bpmn-icon-end-event-compensation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal end event",actionName:"replace-with-signal-end",className:"bpmn-icon-end-event-signal",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Terminate end event",actionName:"replace-with-terminate-end",className:"bpmn-icon-end-event-terminate",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:TerminateEventDefinition"}}],EVENT_SUB_PROCESS:Vle,EVENT_SUB_PROCESS_START_EVENT:[{label:"Message start event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition",isInterrupting:!0}},{label:"Timer start event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition",isInterrupting:!0}},{label:"Conditional start event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",isInterrupting:!0}},{label:"Signal start event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition",isInterrupting:!0}},{label:"Error start event",actionName:"replace-with-error-start",className:"bpmn-icon-start-event-error",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ErrorEventDefinition",isInterrupting:!0}},{label:"Escalation start event",actionName:"replace-with-escalation-start",className:"bpmn-icon-start-event-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",isInterrupting:!0}},{label:"Compensation start event",actionName:"replace-with-compensation-start",className:"bpmn-icon-start-event-compensation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:CompensateEventDefinition",isInterrupting:!0}},{label:"Message start event (non-interrupting)",actionName:"replace-with-non-interrupting-message-start",className:"bpmn-icon-start-event-non-interrupting-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition",isInterrupting:!1}},{label:"Timer start event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-start",className:"bpmn-icon-start-event-non-interrupting-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition",isInterrupting:!1}},{label:"Conditional start event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-start",className:"bpmn-icon-start-event-non-interrupting-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",isInterrupting:!1}},{label:"Signal start event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-start",className:"bpmn-icon-start-event-non-interrupting-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition",isInterrupting:!1}},{label:"Escalation start event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-start",className:"bpmn-icon-start-event-non-interrupting-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",isInterrupting:!1}}],GATEWAY:[{label:"Exclusive gateway",actionName:"replace-with-exclusive-gateway",className:"bpmn-icon-gateway-xor",target:{type:"bpmn:ExclusiveGateway"}},{label:"Parallel gateway",actionName:"replace-with-parallel-gateway",className:"bpmn-icon-gateway-parallel",target:{type:"bpmn:ParallelGateway"}},{label:"Inclusive gateway",actionName:"replace-with-inclusive-gateway",className:"bpmn-icon-gateway-or",target:{type:"bpmn:InclusiveGateway"}},{label:"Complex gateway",actionName:"replace-with-complex-gateway",className:"bpmn-icon-gateway-complex",target:{type:"bpmn:ComplexGateway"}},{label:"Event-based gateway",actionName:"replace-with-event-based-gateway",className:"bpmn-icon-gateway-eventbased",target:{type:"bpmn:EventBasedGateway",instantiate:!1,eventGatewayType:"Exclusive"}}],INTERMEDIATE_EVENT:[{label:"Start event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate throw event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message intermediate catch event",actionName:"replace-with-message-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Message intermediate throw event",actionName:"replace-with-message-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-message",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer intermediate catch event",actionName:"replace-with-timer-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation intermediate throw event",actionName:"replace-with-escalation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-escalation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional intermediate catch event",actionName:"replace-with-conditional-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Link intermediate catch event",actionName:"replace-with-link-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-link",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Link intermediate throw event",actionName:"replace-with-link-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-link",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Compensation intermediate throw event",actionName:"replace-with-compensation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-compensation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal intermediate catch event",actionName:"replace-with-signal-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Signal intermediate throw event",actionName:"replace-with-signal-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-signal",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],PARTICIPANT:[{label:"Expanded pool/participant",actionName:"replace-with-expanded-pool",className:"bpmn-icon-participant",target:{type:"bpmn:Participant",isExpanded:!0}},{label:function(e){var t="Empty pool/participant";return e.children&&e.children.length&&(t+=" (removes content)"),t},actionName:"replace-with-collapsed-pool",className:"bpmn-icon-lane",target:{type:"bpmn:Participant",isExpanded:!1}}],SEQUENCE_FLOW:[{label:"Sequence flow",actionName:"replace-with-sequence-flow",className:"bpmn-icon-connection"},{label:"Default flow",actionName:"replace-with-default-flow",className:"bpmn-icon-default-flow"},{label:"Conditional flow",actionName:"replace-with-conditional-flow",className:"bpmn-icon-conditional-flow"}],START_EVENT:[{label:"Start event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate throw event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message start event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer start event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional start event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal start event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],START_EVENT_SUB_PROCESS:[{label:"Start event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate throw event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}}],SUBPROCESS_EXPANDED:[{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Event sub-process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}},{label:"Sub-process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}}],TASK:[{label:"Task",actionName:"replace-with-task",className:"bpmn-icon-task",target:{type:"bpmn:Task"}},{label:"User task",actionName:"replace-with-user-task",className:"bpmn-icon-user",target:{type:"bpmn:UserTask"}},{label:"Service task",actionName:"replace-with-service-task",className:"bpmn-icon-service",target:{type:"bpmn:ServiceTask"}},{label:"Send task",actionName:"replace-with-send-task",className:"bpmn-icon-send",target:{type:"bpmn:SendTask"}},{label:"Receive task",actionName:"replace-with-receive-task",className:"bpmn-icon-receive",target:{type:"bpmn:ReceiveTask"}},{label:"Manual task",actionName:"replace-with-manual-task",className:"bpmn-icon-manual",target:{type:"bpmn:ManualTask"}},{label:"Business rule task",actionName:"replace-with-rule-task",className:"bpmn-icon-business-rule",target:{type:"bpmn:BusinessRuleTask"}},{label:"Script task",actionName:"replace-with-script-task",className:"bpmn-icon-script",target:{type:"bpmn:ScriptTask"}},{label:"Call activity",actionName:"replace-with-call-activity",className:"bpmn-icon-call-activity",target:{type:"bpmn:CallActivity"}},{label:"Sub-process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}},{label:"Sub-process (expanded)",actionName:"replace-with-expanded-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}}],TRANSACTION:Fle});const Ule=Object.values(Hle);function Wle(e,t,n){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this.register()}function Gle(e,t,n){const r=e[t];return!!r&&n.findIndex((([e])=>e===r.actionName))}Wle.$inject=["popupMenu","translate","elementTemplates"],Wle.prototype.register=function(){this._popupMenu.registerProvider("bpmn-replace",this)},Wle.prototype.getPopupMenuEntries=function(e){return t=>{let n=Object.entries(t);return this._elementTemplates&&this._elementTemplates.get(e)&&this.addPlainElementEntry(e,n,this._translate,this._elementTemplates),n.reduce(((e,[t,n])=>(e[t]=n,e)),{})}},Wle.prototype.addPlainElementEntry=function(e,t,n,r){const i=this.getPlainEntry(e,t,n,r);if(!i)return;const[o,s]=i;t.splice(o,0,[s.id,s])},Wle.prototype.getPlainEntry=function(e,t,n,r){const{options:i,option:o,optionIndex:s}=function(e){const t=(e,t)=>t.target&&!qle(e)(t);return Ule.reduce(((n,r)=>{if(n)return n;const i=r.findIndex((n=>t(e,n)));return-1!==i?{options:r,option:r[i],optionIndex:i}:void 0}),null)}(e)||{};if(!i)return null;const a={id:"replace-remove-element-template",action:()=>{r.removeTemplate(e)},label:n(o.label),className:o.className},l=Gle(i,s-1,t);if(l)return[l+1,a];const c=Gle(i,s+1,t);return c?[c,a]:[0,a]};var Qle={__depends__:[Ile,zle,$le,{__init__:["removeTemplateReplaceProvider"],removeTemplateReplaceProvider:["type",Wle]}]};function Xle(e={}){e={...e,moddleExtensions:{...Nae,...e.moddleExtensions},propertiesPanel:{tooltip:y0,...e.propertiesPanel}},this._addElementTemplateChooserModule(e),v0.call(this,e)}return e(Xle,v0),Xle.prototype._addElementTemplateChooserModule=function(e){const{elementTemplateChooser:t}=e;!1!==t&&(this._modules=[...this._modules,Mae])},Xle.prototype._camundaCloudModules=[...Dae,Y0,g0,m4,Rle,Qle,Sae,t7,h7,xae],Xle.prototype._modules=[].concat(v0.prototype._modules,Xle.prototype._camundaCloudModules),Xle}));
|