@oneclick.dev/cms-kit 0.0.120 → 0.0.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/charts.cjs +1 -1
- package/dist/charts.d.ts +1 -1
- package/dist/charts.js +1 -1
- package/dist/cms-kit.cjs +1 -1
- package/dist/cms-kit.js +1 -1
- package/dist/components.cjs +53 -53
- package/dist/components.css +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/components.js +76 -72
- package/dist/composables-8bnxjg0G.cjs +1 -0
- package/dist/composables-DQepEP7n.js +1 -0
- package/dist/flow-builder.cjs +1 -1
- package/dist/flow-builder.d.ts +1 -1
- package/dist/flow-builder.js +1 -1
- package/dist/index-B9w_-S90.cjs +82 -0
- package/dist/index-DOSiabeO.js +82 -0
- package/dist/index-DPMTYxRM.cjs +1 -0
- package/dist/index-IJyvgbJH.cjs +1 -0
- package/dist/index-YMaY4uuk.js +1 -0
- package/dist/index-lmHRQuzf.js +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +564 -4
- package/package.json +57 -58
- package/dist/chart-CAmUIEtB.js +0 -82
- package/dist/chart-DJkKL3jS.cjs +0 -82
- package/dist/chunk-DY6MoR0Z.cjs +0 -1
- package/dist/chunk-DpHrC4oO.js +0 -1
- package/dist/components/ui/chart/ChartContainer.vue.d.ts +0 -25
- package/dist/components/ui/chart/ChartLegendContent.vue.d.ts +0 -12
- package/dist/components/ui/chart/ChartStyle.vue.d.ts +0 -7
- package/dist/components/ui/chart/ChartTooltipContent.vue.d.ts +0 -32
- package/dist/components/ui/flow-builder/components/nodes/NodeContextMenu.vue.d.ts +0 -32
- package/dist/components/ui/flow-builder/components/toolbars/DefaultToolbar.vue.d.ts +0 -43
- package/dist/composables/index.d.ts +0 -2
- package/dist/composables/useCms.d.ts +0 -4
- package/dist/composables-B025TiVC.js +0 -1
- package/dist/composables-DSF8jtq1.cjs +0 -1
- package/dist/dist-CJX2bd1a.cjs +0 -1
- package/dist/dist-CL6Px27r.js +0 -1
- package/dist/flow-builder-BsoABRwv.cjs +0 -1
- package/dist/flow-builder-D_IHjMdV.js +0 -1
- package/dist/lib/composables.d.ts +0 -312
- package/dist/lib/interpolation.d.ts +0 -14
- package/dist/lib/postMessageAwait.d.ts +0 -1
- package/dist/lib/utils.d.ts +0 -16
- package/dist/types/custom-modules.d.ts +0 -117
- package/dist/types/index.d.ts +0 -2
- package/dist/types/integrations.d.ts +0 -21
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-DY6MoR0Z.cjs");let t=require("vue"),n=require("@vue-flow/core"),r=require("nuxt/app");var o=1,i=new class{subscribers;toasts;dismissedToasts;constructor(){this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}subscribe=e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)});publish=e=>{this.subscribers.forEach(t=>t(e))};addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]};create=e=>{const{message:t,...n}=e,r="number"==typeof e.id||e.id&&e.id?.length>0?e.id:o++,i=this.toasts.find(e=>e.id===r),s=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:s,title:t}):n):this.addToast({title:t,...n,dismissible:s,id:r}),r};dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e);message=(e,t)=>this.create({...t,message:e,type:"default"});error=(e,t)=>this.create({...t,type:"error",message:e});success=(e,t)=>this.create({...t,type:"success",message:e});info=(e,t)=>this.create({...t,type:"info",message:e});warning=(e,t)=>this.create({...t,type:"warning",message:e});loading=(e,t)=>this.create({...t,type:"loading",message:e});promise=(e,n)=>{if(!n)return;let r;void 0!==n.loading&&(r=this.create({...n,promise:e,type:"loading",message:n.loading,description:"function"!=typeof n.description?n.description:void 0}));const o=Promise.resolve(e instanceof Function?e():e);let i,a=void 0!==r;const c=o.then(async e=>{if(i=["resolve",e],(0,t.isVNode)(e))a=!1,this.create({id:r,type:"default",message:e});else if(s(e)&&!e.ok){a=!1;const o="function"==typeof n.error?await n.error(`HTTP error! status: ${e.status}`):n.error,i="function"==typeof n.description?await n.description(`HTTP error! status: ${e.status}`):n.description,s="object"!=typeof o||(0,t.isVNode)(o)?{message:o||"",id:r||""}:o;this.create({id:r,type:"error",description:i,...s})}else if(e instanceof Error){a=!1;const o="function"==typeof n.error?await n.error(e):n.error,i="function"==typeof n.description?await n.description(e):n.description,s="object"!=typeof o||(0,t.isVNode)(o)?{message:o||"",id:r||""}:o;this.create({id:r,type:"error",description:i,...s})}else if(void 0!==n.success){a=!1;const o="function"==typeof n.success?await n.success(e):n.success,i="function"==typeof n.description?await n.description(e):n.description,s="object"!=typeof o||(0,t.isVNode)(o)?{message:o||"",id:r||""}:o;this.create({id:r,type:"success",description:i,...s})}}).catch(async e=>{if(i=["reject",e],void 0!==n.error){a=!1;const o="function"==typeof n.error?await n.error(e):n.error,i="function"==typeof n.description?await n.description(e):n.description,s="object"!=typeof o||(0,t.isVNode)(o)?{message:o||"",id:r||""}:o;this.create({id:r,type:"error",description:i,...s})}}).finally(()=>{a&&(this.dismiss(r),r=void 0),n.finally?.()}),u=()=>new Promise((e,t)=>c.then(()=>"reject"===i[0]?t(i[1]):e(i[1])).catch(t));return"string"!=typeof r&&"number"!=typeof r?{unwrap:u}:Object.assign(r,{unwrap:u})};custom=(e,t)=>{const n=t?.id||o++,r=this.toasts.find(e=>e.id===n),i=void 0===t?.dismissible||t.dismissible;return this.dismissedToasts.has(n)&&this.dismissedToasts.delete(n),r?this.toasts=this.toasts.map(r=>r.id===n?(this.publish({...r,component:e,dismissible:i,id:n,...t}),{...r,component:e,dismissible:i,id:n,...t}):r):this.addToast({component:e,dismissible:i,id:n,...t}),n};getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id))};var s=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,a=function(e,t){const n=t?.id||o++;return i.create({message:e,id:n,type:"default",...t}),n},c=Object.assign(a,{success:i.success,info:i.info,warning:i.warning,error:i.error,custom:i.custom,message:i.message,promise:i.promise,dismiss:i.dismiss,loading:i.loading},{getHistory:()=>i.toasts,getToasts:()=>i.getActiveToasts()});function u(e){return void 0!==e.label}var l="24px",d="16px";function f(...e){return e.filter(Boolean).join(" ")}function h(e,t){const n={};return[e,t].forEach((e,t)=>{const r=1===t,o=r?"--mobile-offset":"--offset",i=r?d:l;function s(e){["top","right","bottom","left"].forEach(t=>{n[`${o}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?s(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?n[`${o}-${t}`]=i:n[`${o}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):s(i)}),n}var p=["data-rich-colors","data-styled","data-mounted","data-promise","data-swiped","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-swipe-direction","data-expanded","data-testid"],m=["aria-label","data-disabled"],v=(0,t.defineComponent)({__name:"Toast",props:{toast:{},toasts:{},index:{},swipeDirections:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},defaultRichColors:{type:Boolean}},emits:["update:heights","update:height","removeToast"],setup(e,{emit:n}){const r=e,o=n,i=(0,t.ref)(null),s=(0,t.ref)(null),a=(0,t.ref)(!1),c=(0,t.ref)(!1),l=(0,t.ref)(!1),d=(0,t.ref)(!1),h=(0,t.ref)(!1),v=(0,t.ref)(0),g=(0,t.ref)(0),_=(0,t.ref)(r.toast.duration||r.duration||4e3),y=(0,t.ref)(null),b=(0,t.ref)(null),w=(0,t.computed)(()=>0===r.index),x=(0,t.computed)(()=>r.index+1<=r.visibleToasts),E=(0,t.computed)(()=>r.toast.type),S=(0,t.computed)(()=>!1!==r.toast.dismissible),M=(0,t.computed)(()=>r.toast.class||""),j=(0,t.computed)(()=>r.descriptionClass||""),k=(0,t.computed)(()=>{const e=r.toast.position||r.position,t=r.heights.filter(t=>t.position===e).findIndex(e=>e.toastId===r.toast.id);return t>=0?t:0}),O=(0,t.computed)(()=>{const e=r.toast.position||r.position;return r.heights.filter(t=>t.position===e).reduce((e,t,n)=>n>=k.value?e:e+t.height,0)}),N=(0,t.computed)(()=>k.value*r.gap+O.value||0),J=(0,t.computed)(()=>r.toast.closeButton??r.closeButton),I=(0,t.computed)(()=>r.toast.duration||r.duration||4e3),C=(0,t.ref)(0),P=(0,t.ref)(0),B=(0,t.ref)(null),T=(0,t.computed)(()=>r.position.split("-")),A=(0,t.computed)(()=>T.value[0]),L=(0,t.computed)(()=>T.value[1]),D=(0,t.computed)(()=>"string"!=typeof r.toast.title),F=(0,t.computed)(()=>"string"!=typeof r.toast.description),{isDocumentHidden:R}=function(){const e=(0,t.ref)(!1);return(0,t.watchEffect)(()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)}),{isDocumentHidden:e}}(),V=(0,t.computed)(()=>E.value&&"loading"===E.value);function z(){c.value=!0,v.value=N.value,setTimeout(()=>{o("removeToast",r.toast)},200)}function $(){if(V.value||!S.value)return{};z(),r.toast.onDismiss?.(r.toast)}function U(e){2!==e.button&&!V.value&&S.value&&(y.value=new Date,v.value=N.value,e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(l.value=!0,B.value={x:e.clientX,y:e.clientY}))}function G(){if(d.value||!S.value)return;B.value=null;const e=Number(b.value?.style.getPropertyValue("--swipe-amount-x").replace("px","")||0),t=Number(b.value?.style.getPropertyValue("--swipe-amount-y").replace("px","")||0),n=(new Date).getTime()-(y.value?.getTime()||0),o="x"===i.value?e:t,a=Math.abs(o)/n;if(Math.abs(o)>=45||a>.11)return v.value=N.value,r.toast.onDismiss?.(r.toast),"x"===i.value?s.value=e>0?"right":"left":s.value=t>0?"down":"up",z(),void(d.value=!0);b.value?.style.setProperty("--swipe-amount-x","0px"),b.value?.style.setProperty("--swipe-amount-y","0px"),h.value=!1,l.value=!1,i.value=null}function Y(e){if(!B.value||!S.value)return;if(window?.getSelection()?.toString()?.length)return;const t=e.clientY-B.value.y,n=e.clientX-B.value.x,o=r.swipeDirections??function(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}(r.position);!i.value&&(Math.abs(n)>1||Math.abs(t)>1)&&(i.value=Math.abs(n)>Math.abs(t)?"x":"y");let s={x:0,y:0};const a=e=>1/(1.5+Math.abs(e)/20);if("y"===i.value){if(o.includes("top")||o.includes("bottom"))if(o.includes("top")&&t<0||o.includes("bottom")&&t>0)s.y=t;else{const e=t*a(t);s.y=Math.abs(e)<Math.abs(t)?e:t}}else if("x"===i.value&&(o.includes("left")||o.includes("right")))if(o.includes("left")&&n<0||o.includes("right")&&n>0)s.x=n;else{const e=n*a(n);s.x=Math.abs(e)<Math.abs(n)?e:n}(Math.abs(s.x)>0||Math.abs(s.y)>0)&&(h.value=!0),b.value?.style.setProperty("--swipe-amount-x",`${s.x}px`),b.value?.style.setProperty("--swipe-amount-y",`${s.y}px`)}function q(){l.value=!1,i.value=null,B.value=null}return(0,t.onMounted)(()=>{a.value=!0,_.value=I.value}),(0,t.watchEffect)(async()=>{if(!a.value||!b.value)return;await(0,t.nextTick)();const e=b.value,n=e.style.height;e.style.height="auto";const i=e.getBoundingClientRect().height;e.style.height=n,g.value=i,o("update:height",{toastId:r.toast.id,height:i,position:r.toast.position||r.position})}),(0,t.onMounted)(()=>{if(a.value=!0,!b.value)return;const e=b.value.getBoundingClientRect().height;g.value=e,o("update:heights",[{toastId:r.toast.id,height:e,position:r.toast.position},...r.heights])}),(0,t.onBeforeUnmount)(()=>{b.value&&o("removeToast",r.toast)}),(0,t.watchEffect)(e=>{if(r.toast.promise&&"loading"===E.value||r.toast.duration===1/0||"loading"===r.toast.type)return;let t;r.expanded||r.interacting||R.value?(()=>{if(P.value<C.value){const e=(new Date).getTime()-C.value;_.value=_.value-e}P.value=(new Date).getTime()})():_.value!==1/0&&(C.value=(new Date).getTime(),t=setTimeout(()=>{r.toast.onAutoClose?.(r.toast),z()},_.value)),e(()=>{clearTimeout(t)})}),(0,t.watch)(()=>r.toast.delete,e=>{void 0!==e&&e&&(z(),r.toast.onDismiss?.(r.toast))},{deep:!0}),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)("li",{tabindex:"0",ref_key:"toastRef",ref:b,class:(0,t.normalizeClass)((0,t.unref)(f)(r.class,M.value,e.classes?.toast,e.toast.classes?.toast,e.classes?.[E.value],e.toast?.classes?.[E.value])),"data-sonner-toast":"","data-rich-colors":e.toast.richColors??e.defaultRichColors,"data-styled":!Boolean(e.toast.component||e.toast?.unstyled||e.unstyled),"data-mounted":a.value,"data-promise":Boolean(e.toast.promise),"data-swiped":h.value,"data-removed":c.value,"data-visible":x.value,"data-y-position":A.value,"data-x-position":L.value,"data-index":e.index,"data-front":w.value,"data-swiping":l.value,"data-dismissible":S.value,"data-type":E.value,"data-invert":e.toast.invert||e.invert,"data-swipe-out":d.value,"data-swipe-direction":s.value,"data-expanded":Boolean(e.expanded||e.expandByDefault&&a.value),"data-testid":e.toast.testId,style:(0,t.normalizeStyle)({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${c.value?v.value:N.value}px`,"--initial-height":e.expandByDefault?"auto":`${g.value}px`,...e.style,...r.toast.style}),onDragend:q,onPointerdown:U,onPointerup:G,onPointermove:Y},[J.value&&!e.toast.component&&"loading"!==E.value?((0,t.openBlock)(),(0,t.createElementBlock)("button",{key:0,"aria-label":e.closeButtonAriaLabel||"Close toast","data-disabled":V.value,"data-close-button":"true",class:(0,t.normalizeClass)((0,t.unref)(f)(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:$},[e.icons?.close?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.icons?.close),{key:0})):(0,t.renderSlot)(e.$slots,"close-icon",{key:1})],10,m)):(0,t.createCommentVNode)("v-if",!0),e.toast.component?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.toast.component),(0,t.mergeProps)({key:1},e.toast.componentProps,{onCloseToast:$}),null,16)):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:2},["default"!==E.value||e.toast.icon||e.toast.promise?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,"data-icon":"",class:(0,t.normalizeClass)((0,t.unref)(f)(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.toast.icon),{key:0})):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},["loading"===E.value?(0,t.renderSlot)(e.$slots,"loading-icon",{key:0}):"success"===E.value?(0,t.renderSlot)(e.$slots,"success-icon",{key:1}):"error"===E.value?(0,t.renderSlot)(e.$slots,"error-icon",{key:2}):"warning"===E.value?(0,t.renderSlot)(e.$slots,"warning-icon",{key:3}):"info"===E.value?(0,t.renderSlot)(e.$slots,"info-icon",{key:4}):(0,t.createCommentVNode)("v-if",!0)],64))],2)):(0,t.createCommentVNode)("v-if",!0),(0,t.createElementVNode)("div",{"data-content":"",class:(0,t.normalizeClass)((0,t.unref)(f)(e.classes?.content,e.toast?.classes?.content))},[(0,t.createElementVNode)("div",{"data-title":"",class:(0,t.normalizeClass)((0,t.unref)(f)(e.classes?.title,e.toast.classes?.title))},[D.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.toast.title),(0,t.normalizeProps)((0,t.mergeProps)({key:0},e.toast.componentProps)),null,16)):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createTextVNode)((0,t.toDisplayString)(e.toast.title),1)],64))],2),e.toast.description?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,"data-description":"",class:(0,t.normalizeClass)((0,t.unref)(f)(e.descriptionClass,j.value,e.classes?.description,e.toast.classes?.description))},[F.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.toast.description),(0,t.normalizeProps)((0,t.mergeProps)({key:0},e.toast.componentProps)),null,16)):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createTextVNode)((0,t.toDisplayString)(e.toast.description),1)],64))],2)):(0,t.createCommentVNode)("v-if",!0)],2),e.toast.cancel?((0,t.openBlock)(),(0,t.createElementBlock)("button",{key:1,style:(0,t.normalizeStyle)(e.toast.cancelButtonStyle||e.cancelButtonStyle),class:(0,t.normalizeClass)((0,t.unref)(f)(e.classes?.cancelButton,e.toast.classes?.cancelButton)),"data-button":"","data-cancel":"",onClick:n[0]||(n[0]=n=>{(0,t.unref)(u)(e.toast.cancel)&&S.value&&(e.toast.cancel.onClick?.(n),z())})},(0,t.toDisplayString)((0,t.unref)(u)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):(0,t.createCommentVNode)("v-if",!0),e.toast.action?((0,t.openBlock)(),(0,t.createElementBlock)("button",{key:2,style:(0,t.normalizeStyle)(e.toast.actionButtonStyle||e.actionButtonStyle),class:(0,t.normalizeClass)((0,t.unref)(f)(e.classes?.actionButton,e.toast.classes?.actionButton)),"data-button":"","data-action":"",onClick:n[1]||(n[1]=n=>{(0,t.unref)(u)(e.toast.action)&&(e.toast.action.onClick?.(n),n.defaultPrevented||z())})},(0,t.toDisplayString)((0,t.unref)(u)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):(0,t.createCommentVNode)("v-if",!0)],64))],46,p))}}),g=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},_={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};var y=g({},[["render",function(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",_,n[0]||(n[0]=[(0,t.createElementVNode)("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),(0,t.createElementVNode)("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}]]),b=["data-visible"],w={class:"sonner-spinner"},x=(0,t.defineComponent)({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const n=Array(12).fill(0);return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{class:"sonner-loading-wrapper","data-visible":e.visible},[(0,t.createElementVNode)("div",w,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(n),e=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:`spinner-bar-${e}`,class:"sonner-loading-bar"}))),128))])],8,b))}}),E={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};var S=g({},[["render",function(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",E,n[0]||(n[0]=[(0,t.createElementVNode)("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}]]),M={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};var j=g({},[["render",function(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",M,n[0]||(n[0]=[(0,t.createElementVNode)("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}]]),k={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"};var O=g({},[["render",function(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",k,n[0]||(n[0]=[(0,t.createElementVNode)("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}]]),N={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};var J=g({},[["render",function(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",N,n[0]||(n[0]=[(0,t.createElementVNode)("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}]]),I=["aria-label"],C=["data-sonner-theme","dir","data-theme","data-rich-colors","data-y-position","data-x-position"],P="undefined"!=typeof window&&"undefined"!=typeof document;function B(){if("undefined"==typeof window)return"ltr";if("undefined"==typeof document)return"ltr";const e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var T=(0,t.defineComponent)({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{id:{},invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:14},visibleToasts:{default:3},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{},offset:{default:l},mobileOffset:{default:d},dir:{default:"auto"},swipeDirections:{},icons:{},containerAriaLabel:{default:"Notifications"}},setup(e){const n=e,r=(0,t.useAttrs)(),o=(0,t.ref)([]),s=(0,t.computed)(()=>n.id?o.value.filter(e=>e.toasterId===n.id):o.value.filter(e=>!e.toasterId));function a(e,t){return s.value.filter(n=>!n.position&&0===t||n.position===e)}const c=(0,t.computed)(()=>{const e=s.value.filter(e=>e.position).map(e=>e.position);return e.length>0?Array.from(new Set([n.position].concat(e))):[n.position]}),u=(0,t.computed)(()=>{const e={};return c.value.forEach(t=>{e[t]=o.value.filter(e=>e.position===t)}),e}),l=(0,t.ref)([]),d=(0,t.ref)({}),f=(0,t.ref)(!1);(0,t.watchEffect)(()=>{c.value.forEach(e=>{e in d.value||(d.value[e]=!1)})});const p=(0,t.ref)("system"!==n.theme?n.theme:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),m=(0,t.ref)(null),g=(0,t.ref)(null),_=(0,t.ref)(!1),b=n.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function w(e){o.value.find(t=>t.id===e.id)?.delete||i.dismiss(e.id),o.value=o.value.filter(({id:t})=>t!==e.id),setTimeout(()=>{o.value.find(t=>t.id===e.id)||(l.value=l.value.filter(t=>t.toastId!==e.id))},250)}function E(e){_.value&&!e.currentTarget?.contains?.(e.relatedTarget)&&(_.value=!1,g.value&&(g.value.focus({preventScroll:!0}),g.value=null))}function M(e){e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||_.value||(_.value=!0,g.value=e.relatedTarget)}function k(e){e.target&&e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||(f.value=!0)}function N(e){const t=e.currentTarget,n=t.getAttribute("data-y-position")+"-"+t.getAttribute("data-x-position");d.value[n]=!0}function T(e){if(!f.value){const t=e.currentTarget,n=t.getAttribute("data-y-position")+"-"+t.getAttribute("data-x-position");d.value[n]=!1}}function A(){Object.keys(d.value).forEach(e=>{d.value[e]=!1})}function L(){f.value=!1}function D(e){l.value=e}function F(e){const t=l.value.findIndex(t=>t.toastId===e.toastId);if(-1!==t)l.value[t]=e;else{const t=l.value.findIndex(t=>t.position===e.position);-1!==t?l.value.splice(t,0,e):l.value.unshift(e)}}return(0,t.watchEffect)(e=>{e(i.subscribe(e=>{e.dismiss?requestAnimationFrame(()=>{o.value=o.value.map(t=>t.id===e.id?{...t,delete:!0}:t)}):(0,t.nextTick)(()=>{const t=o.value.findIndex(t=>t.id===e.id);o.value=-1!==t?[...o.value.slice(0,t),{...o.value[t],...e},...o.value.slice(t+1)]:[e,...o.value]})}))}),(0,t.watchEffect)(e=>{if("undefined"==typeof window)return;if("system"!==n.theme)return void(p.value=n.theme);const t=window.matchMedia("(prefers-color-scheme: dark)"),r=e=>{p.value=e?"dark":"light"};r(t.matches);const o=e=>{r(e.matches)};try{t.addEventListener("change",o)}catch{t.addListener(o)}e(()=>{try{t.removeEventListener("change",o)}catch{t.removeListener(o)}})}),(0,t.watchEffect)(()=>{m.value&&g.value&&(g.value.focus({preventScroll:!0}),g.value=null,_.value=!1)}),(0,t.watchEffect)(()=>{o.value.length<=1&&Object.keys(d.value).forEach(e=>{d.value[e]=!1})}),(0,t.watchEffect)(e=>{function t(e){const t=n.hotkey.every(t=>e[t]||e.code===t),r=Array.isArray(m.value)?m.value[0]:m.value;t&&(c.value.forEach(e=>{d.value[e]=!0}),r?.focus());const o=document.activeElement===m.value||r?.contains(document.activeElement);"Escape"===e.code&&o&&c.value.forEach(e=>{d.value[e]=!1})}P&&(document.addEventListener("keydown",t),e(()=>{document.removeEventListener("keydown",t)}))}),(e,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.createCommentVNode)(" Remove item from normal navigation flow, only available via hotkey "),(0,t.createElementVNode)("section",{"aria-label":`${e.containerAriaLabel} ${(0,t.unref)(b)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(c.value,(o,i)=>((0,t.openBlock)(),(0,t.createElementBlock)("ol",(0,t.mergeProps)({key:o,ref_for:!0,ref_key:"listRef",ref:m,"data-sonner-toaster":"","data-sonner-theme":p.value,class:n.class,dir:"auto"===e.dir?B():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":o.split("-")[0],"data-x-position":o.split("-")[1],style:{"--front-toast-height":`${l.value[0]?.height||0}px`,"--width":`${(0,t.unref)(356)}px`,"--gap":`${e.gap}px`,...e.style,...(0,t.unref)(r).style,...(0,t.unref)(h)(e.offset,e.mobileOffset)}},{ref_for:!0},e.$attrs,{onBlur:E,onFocus:M,onMouseenter:N,onMousemove:N,onMouseleave:T,onDragend:A,onPointerdown:k,onPointerup:L}),[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(a(o,i),(r,i)=>((0,t.openBlock)(),(0,t.createBlock)(v,{key:r.id,heights:l.value,icons:e.icons,index:i,toast:r,defaultRichColors:e.richColors,duration:e.toastOptions?.duration??e.duration,class:(0,t.normalizeClass)(e.toastOptions?.class??""),descriptionClass:e.toastOptions?.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:e.toastOptions?.closeButton??e.closeButton,interacting:f.value,position:o,style:(0,t.normalizeStyle)(e.toastOptions?.style),unstyled:e.toastOptions?.unstyled,classes:e.toastOptions?.classes,cancelButtonStyle:e.toastOptions?.cancelButtonStyle,actionButtonStyle:e.toastOptions?.actionButtonStyle,"close-button-aria-label":e.toastOptions?.closeButtonAriaLabel,toasts:u.value[o],expandByDefault:e.expand,gap:e.gap,expanded:d.value[o]||!1,swipeDirections:n.swipeDirections,"onUpdate:heights":D,"onUpdate:height":F,onRemoveToast:w},{"close-icon":(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"close-icon",{},()=>[(0,t.createVNode)(y)])]),"loading-icon":(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"loading-icon",{},()=>[(0,t.createVNode)(x,{visible:"loading"===r.type},null,8,["visible"])])]),"success-icon":(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"success-icon",{},()=>[(0,t.createVNode)(S)])]),"error-icon":(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"error-icon",{},()=>[(0,t.createVNode)(J)])]),"warning-icon":(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"warning-icon",{},()=>[(0,t.createVNode)(O)])]),"info-icon":(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"info-icon",{},()=>[(0,t.createVNode)(j)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","close-button-aria-label","toasts","expandByDefault","gap","expanded","swipeDirections"]))),128))],16,C))),128))],8,I)],2112))}});function A(e,t){return e?function(e,t,n="text"){const r=R(e);if(!r.length)return e;if(1===r.length&&0===r[0].start&&r[0].end===e.length)return L(r[0].expression,t);let o="",i=0;for(const s of r)o+=e.slice(i,s.start),o+=D(L(s.expression,t),n),i=s.end;return o+e.slice(i)}(e,function(e){const t=["__proto__","constructor","prototype"],n=e=>{if(Array.isArray(e))return e.map(n);if(e&&"object"==typeof e){const r={};for(const o in e)t.includes(o)||(r[o]=n(e[o]));return r}return e},r={};for(const o in e)!t.includes(o)&&$(o)&&(r[o]=n(e[o]));return r}(t?.reduce((e,t)=>(e[t.name]=t.value,e),{})??{})):""}function L(e,t){if(!e)return"";const n=function(e){const t=e.match(/\b[a-zA-Z_][a-zA-Z0-9_]*\b/g)||[],n=new Set(["true","false","null","undefined","return","if","else","try","catch","typeof","new","delete","void","throw","in","instanceof","var","let","const","function","class","this","super","switch","case","break","continue","default","for","while","do","of","with","yield","await","async","import","export","from","debugger"]);return[...new Set(t.filter(e=>!n.has(e)&&!U.has(e)))]}(e),r={...t};for(const a of n)a in r||(r[a]=void 0);const o=Object.keys(r),i=Object.values(r);try{return new Function(...o,`'use strict'; return (${e})`)(...i)}catch(s){return void console.warn(`Interpolation failed for expression: "${e}"`,s)}}function D(e,t){if("js"===t){if(null==e)return"null";if("string"==typeof e)return JSON.stringify(e);if("number"==typeof e||"boolean"==typeof e)return String(e);try{return JSON.stringify(e)}catch{return"null"}}if(null==e)return"";if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return String(e);try{return JSON.stringify(e)}catch{return String(e)}}var F=new Map;function R(e){const t=[];let n=0;for(;n<e.length;){const r=e.indexOf("{{",n);if(-1===r)break;const o=V(e,r+2);-1!==o?(t.push({start:r,end:o+2,expression:e.slice(r+2,o).trim()}),n=o+2):n=r+2}return t}function V(e,t){let n=e.indexOf("}}",t);for(;-1!==n;){if(z(e.slice(t,n).trim()))return n;n=e.indexOf("}}",n+1)}return-1}function z(e){if(!e)return!0;const t=F.get(e);if(void 0!==t)return t;let n=!1;try{new Function(`'use strict'; return (${e})`),n=!0}catch{n=!1}return F.set(e,n),n}function $(e){return/^[$A-Z_][0-9A-Z_$]*$/i.test(e)}var U=new Set(["Number","String","Boolean","Array","Object","JSON","Math","Date","RegExp","parseInt","parseFloat","isNaN","isFinite","encodeURIComponent","decodeURIComponent","encodeURI","decodeURI","NaN","Infinity","Intl"]);function G(e,t,n,r,o=8e3){const i=crypto.randomUUID();return new Promise((s,a)=>{const c=e=>{if("*"!==r&&e.origin!==r)return;const t=e.data;t&&"response"===t.type&&t.id===i&&(l(),s(t.payload))},u=setTimeout(()=>{l(),a(new Error("Timed out waiting for response"))},o),l=()=>{clearTimeout(u),window.removeEventListener("message",c)};window.addEventListener("message",c);const d=JSON.parse(JSON.stringify(n));e.postMessage({type:t,id:i,payload:d},r)})}var Y={"api-request":async(e,{node:t})=>{try{let n=Object.keys(e).map(t=>({name:t,value:e[t]})),r=A(t.data.url,n),o=A(t.data.method,n).toUpperCase(),i=t.data.body?.map(e=>({key:A(e.key,n),value:A(e.value,n)}))||[],s=t.data.headers?.map(e=>({key:A(e.key,n),value:A(e.value,n)}))||[],a=t.data.cookies?.map(e=>({key:A(e.key,n),value:A(e.value,n)}))||[];const c=(t.data.urlParameters?.map(e=>({key:A(e.key,n),value:A(e.value,n)}))||[]).filter(e=>e.key).map(e=>`${encodeURIComponent(e.key)}=${encodeURIComponent(e.value)}`).join("&"),u=c?`${r}?${c}`:r,l={};s.forEach(({key:e,value:t})=>{e&&(l[e]=t)}),a.length>0&&(l.Cookie=a.map(({key:e,value:t})=>`${e}=${t}`).join("; "));let d=null;if(["POST","PUT","PATCH"].includes(o)){const e={};i.forEach(({key:t,value:n})=>{t&&(e[t]=n)}),d=JSON.stringify(e),l["Content-Type"]||="application/json"}const f=await fetch(u,{method:o,headers:l,body:d,credentials:"include"});if(f.status>=400)return{result:{success:!1,status:f.status}};let h;return h=f.headers.get("content-type")?.includes("application/json")?await f.json():await f.text(),{result:{success:!0,data:h,status:f.status}}}catch(n){return{result:{success:!1,status:n.status||500}}}},conditional:async(e,{node:t})=>({conditionMet:!!q(t.data.condition,e)}),"integration-action":async(e,{node:t})=>{const{$useIntegrationActions:n}=(0,r.useNuxtApp)(),{fireAction:o}=n(t.data.action.integration);return{result:await o(t.data.action,e)}},"show-toast":async(e,{node:t})=>{let n=Object.keys(e).map(t=>({name:t,value:e[t]})),r=A(t.data.title,n),o=A(t.data.message,n);return"true"===document.documentElement.dataset.moduleOverlayMode?(window.parent.postMessage({type:"toast:show",payload:{title:r,description:o}},"*"),{shown:!0}):(window.postMessage({type:"toast:show",payload:{title:r,description:o}},"*"),{shown:!0})},"finish-flow":async(e,{node:t,onFinish:n})=>{if(t.data.returnData){let r=q(t.data.transform,e);n({finishAllFlows:!0===t.data.finishAllFlows},r)}else n({finishAllFlows:!0===t.data.finishAllFlows});return{finished:!0}},confetti:async(e,{node:t})=>{const{$confetti:n}=(0,r.useNuxtApp)();return n(),{confetti:!0}},confirm:async(e,{node:t})=>{const{$useConfirmation:n}=(0,r.useNuxtApp)(),{confirm:o}=n();if(o){let n=Object.keys(e).map(t=>({name:t,value:e[t]})),r=A(t.data.title,n),i=A(t.data.message,n),s=A(t.data.confirmText,n);return"true"===document.documentElement.dataset.moduleOverlayMode?{confirmed:(await G(window.parent,"confirmation-modal:show",{message:i,title:r,confirmText:s},"*")).confirmed}:{confirmed:await o(i,r,s)}}return{confirmed:!1}},"set-variable":async(e,{node:t,localVariables:n})=>{let r=Object.keys(e).map(t=>({name:t,value:e[t]})),o={};for(const i of t.data.updateActions??[]){const e=n.value.find(e=>e.id===i.variableId),t=A(i.value,r);e&&("element"===e?.type?(e.value.value=t,o[e.name]={value:t}):(e.value=t,o[e.name]=t)),window.dispatchEvent(new CustomEvent("flow-update-form-variable",{detail:{id:i.variableId,value:t}}))}return{set:!0,...o}},"transform-data":async(e,{node:t})=>({transformed:!0,value:q(t.data.transform,e)}),"visit-url":async(e,{node:t})=>{let n=Object.keys(e).map(t=>({name:t,value:e[t]})),r=A(t.data.url,n);return t.data.newTab?window.open(r,"_blank"):window.location.href=r,{visited:!0}},"show-dialog":async(e,{node:t,flowBuilderExtensions:n})=>{const{$useCustomDialog:o}=(0,r.useNuxtApp)(),{openCustomDialog:i}=o();let s=Object.keys(e).map(t=>({name:t,value:e[t]}));return"true"===document.documentElement.dataset.moduleOverlayMode?(window.parent.__pendingDialogExtensions={formBuilderExtensions:[],flowBuilderExtensions:n},await G(window.parent,"dialog:show",{layout:t.data.layout,variables:s},"*")):await i(t.data.layout,s,[],n)},"show-module":async(e,{node:t})=>{const{$useModuleOverlay:n}=(0,r.useNuxtApp)(),{openInOverlay:o}=n();let i=Object.keys(e).map(t=>({name:t,value:e[t]}));const s={};return t.data.moduleData?.forEach(e=>{s[A(e.key,i)]=A(e.value,i)}),"true"===document.documentElement.dataset.moduleOverlayMode?await G(window.parent,"module-overlay:show",{moduleId:t.data.moduleId,params:s},"*"):await o(t.data.moduleId,s)},"wait-delay":async(e,{node:t})=>{let n=parseInt(t.data.delayMs)||0;return await new Promise(e=>setTimeout(e,n)),{waited:!0}}},q=(e,t={})=>{var n=document.createElement("iframe");document.body.appendChild(n);var r=n.contentWindow.Function;return document.body.removeChild(n),r(...Object.keys(t),"'use strict';"+e)(...Object.values(t))},H={ERROR:"error",SKIPPED:"skipped",CANCELLED:"cancelled",FINISHED:"finished",RUNNING:"running"};function W({graph:e,cancelOnError:r=!0,nodes:o=[],edges:i=[],variables:s=[],computedVariables:a=[],onFinish:c,flowBuilderExtensions:u=[],maxIterations:l=100}){const{updateNodeData:d,getConnectedEdges:f,findNode:h}=(0,n.useVueFlow)(),p=new Map;let m=!1;const v=(e,...t)=>(m=!0,c?.(e,...t)),g=new Map(o.map(e=>[e.id,e])),_=(0,t.toRef)(()=>(0,t.toValue)(e)),y=(0,t.ref)(!1),b=new Map,w=new Map,x=new Set,E=(0,t.ref)(s?JSON.parse(JSON.stringify(s.map(e=>({...e,value:Object.keys(e).includes("defaultValue")?e.defaultValue:e.value??null})))):[]);async function S(e,n=!1){const o=w.get(e)??0;if(n&&"START"!==e||o>=l)return;x.add(e);const s=f(e).filter(t=>t.target===e);if(await Promise.all(s.map(e=>async function(e){return new Promise(t=>{const n=setInterval(()=>{e()&&(clearInterval(n),t(!0))},100)})}(()=>!e.data?.isAnimating))),x.clear(),y.value){w.set(e,o+1),O(e,H.RUNNING);try{const t=_.value.predecessors(e)||[],n=Object.assign({},...t.map(e=>p.get(e)??{})),r={...Object.fromEntries(E.value.map(e=>[e.name,e.value])),...n},o=g?.size>0?g.get(e):h(e),s=function(e){const t={};return e.forEach(e=>{e.type?.value&&"function"==typeof e.processFunction&&(t[e.type.value]=e.processFunction)}),t}(u),a={...Y,...s}[o.data.taskType??o.type],c=a?await a(r,{node:o,graph:_.value,onFinish:v,localVariables:E,flowBuilderExtensions:u}):{};p.set(e,c?JSON.parse(JSON.stringify(c)):{}),O(e,H.FINISHED);const l=i.filter(t=>t.source===e);l.some(e=>e.sourceHandle);for(const e of l){const{source:t,sourceHandle:n}=e,r=g.get(t).type;("start"===r||"confirm"===r&&"success"===n&&!0===c.confirmed||"confirm"===r&&"error"===n&&!1===c.confirmed||"integration-action"===r&&"success"===n&&!0===c.result?.success||"integration-action"===r&&"error"===n&&!1===c.result?.success||"api-request"===r&&"success"===n&&!0===c.result?.success||"api-request"===r&&"error"===n&&!1===c.result?.success||"conditional"===r&&"success"===n&&!0===c.conditionMet||"conditional"===r&&"error"===n&&!1===c.conditionMet||!["confirm","integration-action","api-request","conditional"].includes(r)&&"success"===n)&&await S(e.target)}}catch(a){console.error(`Error in node ${e}:`,a),O(e,H.ERROR),(0,t.toValue)(r)&&await j(e)}}}function M(e){k();for(const t of e)O(t.id,null)}async function j(e){const t=_.value.successors(e)||[];for(const n of t)O(n,H.SKIPPED),await j(n)}function k(){y.value=!1,w.clear(),b.clear()}function O(e,t){d(e,{status:t})}return{run:async function(e){if(y.value)return;M(e),y.value=!0;const t=e.filter(e=>0===_.value.predecessors(e.id)?.length);await Promise.all(t.map(e=>S(e.id,!0))),0!==x.size||m||v(),k()},stop:async function(){y.value=!1;for(const e of x)clearTimeout(b.get(e)),b.delete(e),O(e,H.CANCELLED),await j(e);for(const[e,t]of b)clearTimeout(t),b.delete(e),O(e,H.CANCELLED),await j(e);w.clear(),x.clear()},reset:M,isRunning:y}}var K=Object.defineProperty,Q=(e,t,n)=>((e,t,n)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),Z={};((e,t)=>{for(var n in t)K(e,n,{get:t[n],enumerable:!0})})(Z,{Graph:()=>te,alg:()=>fe,json:()=>ae,version:()=>se});var X=Object.defineProperty,ee=(e,t)=>{for(var n in t)X(e,n,{get:t[n],enumerable:!0})},te=class{constructor(e){this._isDirected=!0,this._isMultigraph=!1,this._isCompound=!1,this._nodes={},this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={},this._nodeCount=0,this._edgeCount=0,this._defaultNodeLabelFn=()=>{},this._defaultEdgeLabelFn=()=>{},e&&(this._isDirected=!("directed"in e)||e.directed,this._isMultigraph="multigraph"in e&&e.multigraph,this._isCompound="compound"in e&&e.compound),this._isCompound&&(this._parent={},this._children={},this._children["\0"]={})}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return this._defaultNodeLabelFn="function"!=typeof e?()=>e:e,this}nodeCount(){return this._nodeCount}nodes(){return Object.keys(this._nodes)}sources(){return this.nodes().filter(e=>0===Object.keys(this._in[e]).length)}sinks(){return this.nodes().filter(e=>0===Object.keys(this._out[e]).length)}setNodes(e,t){return e.forEach(e=>{void 0!==t?this.setNode(e,t):this.setNode(e)}),this}setNode(e,t){return e in this._nodes?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return e in this._nodes}removeNode(e){if(e in this._nodes){let t=e=>this.removeEdge(this._edgeObjs[e]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],this.children(e).forEach(e=>{this.setParent(e)}),delete this._children[e]),Object.keys(this._in[e]).forEach(t),delete this._in[e],delete this._preds[e],Object.keys(this._out[e]).forEach(t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(void 0===t)t="\0";else{for(let n=t+="";void 0!==n;n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}parent(e){if(this._isCompound){let t=this._parent[e];if("\0"!==t)return t}}children(e="\0"){if(this._isCompound){let t=this._children[e];if(t)return Object.keys(t)}else{if("\0"===e)return this.nodes();if(this.hasNode(e))return[]}return[]}predecessors(e){let t=this._preds[e];if(t)return Object.keys(t)}successors(e){let t=this._sucs[e];if(t)return Object.keys(t)}neighbors(e){let t=this.predecessors(e);if(t){let n=new Set(t);for(let t of this.successors(e))n.add(t);return Array.from(n.values())}}isLeaf(e){let t;return t=this.isDirected()?this.successors(e):this.neighbors(e),0===t.length}filterNodes(e){let t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph()),Object.entries(this._nodes).forEach(([n,r])=>{e(n)&&t.setNode(n,r)}),Object.values(this._edgeObjs).forEach(e=>{t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,this.edge(e))});let n={},r=e=>{let o=this.parent(e);return!o||t.hasNode(o)?(n[e]=null!=o?o:void 0,null!=o?o:void 0):o in n?n[o]:r(o)};return this._isCompound&&t.nodes().forEach(e=>t.setParent(e,r(e))),t}setDefaultEdgeLabel(e){return this._defaultEdgeLabelFn="function"!=typeof e?()=>e:e,this}edgeCount(){return this._edgeCount}edges(){return Object.values(this._edgeObjs)}setPath(e,t){return e.reduce((e,n)=>(void 0!==t?this.setEdge(e,n,t):this.setEdge(e,n),n)),this}setEdge(e,t,n,r){let o,i,s,a,c=!1;"object"==typeof e&&null!==e&&"v"in e?(o=e.v,i=e.w,s=e.name,2===arguments.length&&(a=t,c=!0)):(o=e,i=t,s=r,arguments.length>2&&(a=n,c=!0)),o=""+o,i=""+i,void 0!==s&&(s=""+s);let u=oe(this._isDirected,o,i,s);if(u in this._edgeLabels)return c&&(this._edgeLabels[u]=a),this;if(void 0!==s&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(o),this.setNode(i),this._edgeLabels[u]=c?a:this._defaultEdgeLabelFn(o,i,s);let l=function(e,t,n,r){let o=""+t,i=""+n;if(!e&&o>i){let e=o;o=i,i=e}let s={v:o,w:i};return r&&(s.name=r),s}(this._isDirected,o,i,s);return o=l.v,i=l.w,Object.freeze(l),this._edgeObjs[u]=l,ne(this._preds[i],o),ne(this._sucs[o],i),this._in[i][u]=l,this._out[o][u]=l,this._edgeCount++,this}edge(e,t,n){let r=1===arguments.length?ie(this._isDirected,e):oe(this._isDirected,e,t,n);return this._edgeLabels[r]}edgeAsObj(e,t,n){let r=1===arguments.length?this.edge(e):this.edge(e,t,n);return"object"!=typeof r?{label:r}:r}hasEdge(e,t,n){return(1===arguments.length?ie(this._isDirected,e):oe(this._isDirected,e,t,n))in this._edgeLabels}removeEdge(e,t,n){let r=1===arguments.length?ie(this._isDirected,e):oe(this._isDirected,e,t,n),o=this._edgeObjs[r];if(o){let e=o.v,t=o.w;delete this._edgeLabels[r],delete this._edgeObjs[r],re(this._preds[t],e),re(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--}return this}inEdges(e,t){return this.isDirected()?this.filterEdges(this._in[e],e,t):this.nodeEdges(e,t)}outEdges(e,t){return this.isDirected()?this.filterEdges(this._out[e],e,t):this.nodeEdges(e,t)}nodeEdges(e,t){if(e in this._nodes)return this.filterEdges({...this._in[e],...this._out[e]},e,t)}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}filterEdges(e,t,n){if(!e)return;let r=Object.values(e);return n?r.filter(e=>e.v===t&&e.w===n||e.v===n&&e.w===t):r}};function ne(e,t){e[t]?e[t]++:e[t]=1}function re(e,t){void 0!==e[t]&&! --e[t]&&delete e[t]}function oe(e,t,n,r){let o=""+t,i=""+n;if(!e&&o>i){let e=o;o=i,i=e}return o+""+i+""+(void 0===r?"\0":r)}function ie(e,t){return oe(e,t.v,t.w,t.name)}var se="4.0.1",ae={};function ce(e){let t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:ue(e),edges:le(e)},n=e.graph();return void 0!==n&&(t.value=structuredClone(n)),t}function ue(e){return e.nodes().map(t=>{let n=e.node(t),r=e.parent(t),o={v:t};return void 0!==n&&(o.value=n),void 0!==r&&(o.parent=r),o})}function le(e){return e.edges().map(t=>{let n=e.edge(t),r={v:t.v,w:t.w};return void 0!==t.name&&(r.name=t.name),void 0!==n&&(r.value=n),r})}function de(e){let t=new te(e.options);return void 0!==e.value&&t.setGraph(e.value),e.nodes.forEach(e=>{t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)}),e.edges.forEach(e=>{t.setEdge({v:e.v,w:e.w,name:e.name},e.value)}),t}ee(ae,{read:()=>de,write:()=>ce});var fe={};ee(fe,{CycleException:()=>Se,bellmanFord:()=>pe,components:()=>me,dijkstra:()=>_e,dijkstraAll:()=>ye,findCycles:()=>we,floydWarshall:()=>Ee,isAcyclic:()=>je,postorder:()=>Je,preorder:()=>Ie,prim:()=>Ce,shortestPaths:()=>Pe,tarjan:()=>be,topsort:()=>Me});var he=()=>1;function pe(e,t,n,r){return function(e,t,n,r){let o,i={},s=0,a=e.nodes(),c=function(e){let t=n(e);i[e.v].distance+t<i[e.w].distance&&(i[e.w]={distance:i[e.v].distance+t,predecessor:e.v},o=!0)},u=function(){a.forEach(function(e){r(e).forEach(function(t){let n=t.v===e?t.v:t.w;c({v:n,w:n===t.v?t.w:t.v})})})};a.forEach(function(e){i[e]={distance:e===t?0:Number.POSITIVE_INFINITY,predecessor:""}});let l=a.length;for(let d=1;d<l&&(o=!1,s++,u(),o);d++);if(s===l-1&&(o=!1,u(),o))throw new Error("The graph contains a negative weight cycle");return i}(e,String(t),n||he,r||function(t){return e.outEdges(t)})}function me(e){let t,n={},r=[];function o(r){r in n||(n[r]=!0,t.push(r),e.successors(r).forEach(o),e.predecessors(r).forEach(o))}return e.nodes().forEach(function(e){t=[],o(e),t.length&&r.push(t)}),r}var ve=class{constructor(){this._arr=[],this._keyIndices={}}size(){return this._arr.length}keys(){return this._arr.map(e=>e.key)}has(e){return e in this._keyIndices}priority(e){let t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority}min(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key}add(e,t){let n=this._keyIndices,r=String(e);if(!(r in n)){let e=this._arr,o=e.length;return n[r]=o,e.push({key:r,priority:t}),this._decrease(o),!0}return!1}removeMin(){this._swap(0,this._arr.length-1);let e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key}decrease(e,t){let n=this._keyIndices[e];if(void 0===n)throw new Error(`Key not found: ${e}`);let r=this._arr[n].priority;if(t>r)throw new Error(`New priority is greater than current priority. Key: ${e} Old: ${r} New: ${t}`);this._arr[n].priority=t,this._decrease(n)}_heapify(e){let t=this._arr,n=2*e,r=n+1,o=e;n<t.length&&(o=t[n].priority<t[o].priority?n:o,r<t.length&&(o=t[r].priority<t[o].priority?r:o),o!==e&&(this._swap(e,o),this._heapify(o)))}_decrease(e){let t,n=this._arr,r=n[e].priority;for(;0!==e&&(t=e>>1,!(n[t].priority<r));)this._swap(e,t),e=t}_swap(e,t){let n=this._arr,r=this._keyIndices,o=n[e],i=n[t];n[e]=i,n[t]=o,r[i.key]=e,r[o.key]=t}},ge=()=>1;function _e(e,t,n,r){return function(e,t,n,r){let o,i,s={},a=new ve,c=function(e){let t=e.v!==o?e.v:e.w,r=s[t],c=n(e),u=i.distance+c;if(c<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+c);u<r.distance&&(r.distance=u,r.predecessor=o,a.decrease(t,u))};for(e.nodes().forEach(function(e){let n=e===t?0:Number.POSITIVE_INFINITY;s[e]={distance:n,predecessor:""},a.add(e,n)});a.size()>0&&(o=a.removeMin(),i=s[o],i.distance!==Number.POSITIVE_INFINITY);)r(o).forEach(c);return s}(e,String(t),n||ge,r||function(t){return e.outEdges(t)})}function ye(e,t,n){return e.nodes().reduce(function(r,o){return r[o]=_e(e,o,t,n),r},{})}function be(e){let t=0,n=[],r={},o=[];function i(s){let a=r[s]={onStack:!0,lowlink:t,index:t++};if(n.push(s),e.successors(s).forEach(function(e){e in r?r[e].onStack&&(a.lowlink=Math.min(a.lowlink,r[e].index)):(i(e),a.lowlink=Math.min(a.lowlink,r[e].lowlink))}),a.lowlink===a.index){let e,t=[];do{e=n.pop(),r[e].onStack=!1,t.push(e)}while(s!==e);o.push(t)}}return e.nodes().forEach(function(e){e in r||i(e)}),o}function we(e){return be(e).filter(function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])})}var xe=()=>1;function Ee(e,t,n){return function(e,t,n){let r={},o=e.nodes();return o.forEach(function(e){r[e]={},r[e][e]={distance:0,predecessor:""},o.forEach(function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY,predecessor:""})}),n(e).forEach(function(n){let o=n.v===e?n.w:n.v,i=t(n);r[e][o]={distance:i,predecessor:e}})}),o.forEach(function(e){let t=r[e];o.forEach(function(n){let i=r[n];o.forEach(function(n){let r=i[e],o=t[n],s=i[n],a=r.distance+o.distance;a<s.distance&&(s.distance=a,s.predecessor=o.predecessor)})})}),r}(e,t||xe,n||function(t){return e.outEdges(t)})}var Se=class extends Error{constructor(...e){super(...e)}};function Me(e){let t={},n={},r=[];if(e.sinks().forEach(function o(i){if(i in n)throw new Se;i in t||(n[i]=!0,t[i]=!0,e.predecessors(i).forEach(o),delete n[i],r.push(i))}),Object.keys(t).length!==e.nodeCount())throw new Se;return r}function je(e){try{Me(e)}catch(t){if(t instanceof Se)return!1;throw t}return!0}function ke(e,t,n,r,o){Array.isArray(t)||(t=[t]);let i=t=>{var n;return null!=(n=e.isDirected()?e.successors(t):e.neighbors(t))?n:[]},s={};return t.forEach(function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);o=Oe(e,t,"post"===n,s,i,r,o)}),o}function Oe(e,t,n,r,o,i,s){return t in r||(r[t]=!0,n||(s=i(s,t)),o(t).forEach(function(t){s=Oe(e,t,n,r,o,i,s)}),n&&(s=i(s,t))),s}function Ne(e,t,n){return ke(e,t,n,function(e,t){return e.push(t),e},[])}function Je(e,t){return Ne(e,t,"post")}function Ie(e,t){return Ne(e,t,"pre")}function Ce(e,t){let n,r=new te,o={},i=new ve;function s(e){let r=e.v===n?e.w:e.v,s=i.priority(r);if(void 0!==s){let a=t(e);a<s&&(o[r]=n,i.decrease(r,a))}}if(0===e.nodeCount())return r;e.nodes().forEach(function(e){i.add(e,Number.POSITIVE_INFINITY),r.setNode(e)}),i.decrease(e.nodes()[0],0);let a=!1;for(;i.size()>0;){if(n=i.removeMin(),n in o)r.setEdge(n,o[n]);else{if(a)throw new Error("Input graph is not connected: "+e);a=!0}e.nodeEdges(n).forEach(s)}return r}function Pe(e,t,n,r){return function(e,t,n,r){if(void 0===n)return _e(e,t,n,r);let o=!1,i=e.nodes();for(let s=0;s<i.length;s++){let a=r(i[s]);for(let e=0;e<a.length;e++){let t=a[e],r=t.v===i[s]?t.v:t.w;n({v:r,w:r===t.v?t.w:t.v})<0&&(o=!0)}if(o)return pe(e,t,n,r)}return _e(e,t,n,r)}(e,t,n,null!=r?r:t=>{let n=e.outEdges(t);return null!=n?n:[]})}function Be(e,t,n,r){let o=r;for(;e.hasNode(o);)o=Ge(r);return n.dummy=t,e.setNode(o,n),o}function Te(e){let t=new te({multigraph:e.isMultigraph()}).setGraph(e.graph());return e.nodes().forEach(n=>{e.children(n).length||t.setNode(n,e.node(n))}),e.edges().forEach(n=>{t.setEdge(n,e.edge(n))}),t}function Ae(e,t){let n,r,o=e.x,i=e.y,s=t.x-o,a=t.y-i,c=e.width/2,u=e.height/2;if(!s&&!a)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*c>Math.abs(s)*u?(a<0&&(u=-u),n=u*s/a,r=u):(s<0&&(c=-c),n=c,r=c*a/s),{x:o+n,y:i+r}}function Le(e){let t=Ye(Ve(e)+1).map(()=>[]);return e.nodes().forEach(n=>{let r=e.node(n),o=r.rank;void 0!==o&&(t[o]||(t[o]=[]),t[o][r.order]=n)}),t}function De(e,t,n,r){let o={width:0,height:0};return arguments.length>=4&&(o.rank=n,o.order=r),Be(e,"border",o,t)}var Fe=65535;function Re(e,t){return t.length>Fe?e(...function(e,t=Fe){let n=[];for(let r=0;r<e.length;r+=t){let o=e.slice(r,r+t);n.push(o)}return n}(t).map(t=>e(...t))):e(...t)}function Ve(e){let t=e.nodes().map(t=>{let n=e.node(t).rank;return void 0===n?Number.MIN_VALUE:n});return Re(Math.max,t)}function ze(e,t){let n=Date.now();try{return t()}finally{console.log(e+" time: "+(Date.now()-n)+"ms")}}function $e(e,t){return t()}var Ue=0;function Ge(e){return e+""+ ++Ue}function Ye(e,t,n=1){t??(t=e,e=0);let r=e=>e<t;n<0&&(r=e=>t<e);let o=[];for(let i=e;r(i);i+=n)o.push(i);return o}function qe(e,t){let n={};for(let r of t)void 0!==e[r]&&(n[r]=e[r]);return n}function He(e,t){let n;return n="string"==typeof t?e=>e[t]:t,Object.entries(e).reduce((e,[t,r])=>(e[t]=n(r,t),e),{})}var We="\0";function Ke(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function Qe(e,t){if("_next"!==e&&"_prev"!==e)return t}var Ze=class{constructor(){Q(this,"_sentinel");let e={};e._next=e._prev=e,this._sentinel=e}dequeue(){let e=this._sentinel,t=e._prev;if(t!==e)return Ke(t),t}enqueue(e){let t=this._sentinel;e._prev&&e._next&&Ke(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t}toString(){let e=[],t=this._sentinel,n=t._prev;for(;n!==t;)e.push(JSON.stringify(n,Qe)),n=n._prev;return"["+e.join(", ")+"]"}},Xe=()=>1;function et(e,t){if(e.nodeCount()<=1)return[];let n=function(e,t){let n=new te,r=0,o=0;e.nodes().forEach(e=>{n.setNode(e,{v:e,in:0,out:0})}),e.edges().forEach(e=>{let i=n.edge(e.v,e.w)||0,s=t(e),a=i+s;n.setEdge(e.v,e.w,a);let c=n.node(e.v),u=n.node(e.w);o=Math.max(o,c.out+=s),r=Math.max(r,u.in+=s)});let i=function(e){let t=[];for(let n=0;n<e;n++)t.push(n);return t}(o+r+3).map(()=>new Ze),s=r+1;return n.nodes().forEach(e=>{nt(i,s,n.node(e))}),{graph:n,buckets:i,zeroIdx:s}}(e,t||Xe);return function(e,t,n){var r;let o,i=[],s=t[t.length-1],a=t[0];for(;e.nodeCount();){for(;o=a.dequeue();)tt(e,t,n,o);for(;o=s.dequeue();)tt(e,t,n,o);if(e.nodeCount())for(let s=t.length-2;s>0;--s)if(o=null==(r=t[s])?void 0:r.dequeue(),o){i=i.concat(tt(e,t,n,o,!0)||[]);break}}return i}(n.graph,n.buckets,n.zeroIdx).flatMap(t=>e.outEdges(t.v,t.w)||[])}function tt(e,t,n,r,o){let i=[],s=o?i:void 0;return(e.inEdges(r.v)||[]).forEach(r=>{let s=e.edge(r),a=e.node(r.v);o&&i.push({v:r.v,w:r.w}),a.out-=s,nt(t,n,a)}),(e.outEdges(r.v)||[]).forEach(r=>{let o=e.edge(r),i=r.w,s=e.node(i);s.in-=o,nt(t,n,s)}),e.removeNode(r.v),s}function nt(e,t,n){var r,o,i;n.out?n.in?null==(i=e[n.out-n.in+t])||i.enqueue(n):null==(o=e[e.length-1])||o.enqueue(n):null==(r=e[0])||r.enqueue(n)}function rt(e){var t;("greedy"===e.graph().acyclicer?et(e,(t=e,e=>t.edge(e).weight)):function(e){let t=[],n={},r={};function o(i){Object.hasOwn(r,i)||(r[i]=!0,n[i]=!0,e.outEdges(i).forEach(e=>{Object.hasOwn(n,e.w)?t.push(e):o(e.w)}),delete n[i])}return e.nodes().forEach(o),t}(e)).forEach(t=>{let n=e.edge(t);e.removeEdge(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,Ge("rev"))})}function ot(e){e.graph().dummyChains=[],e.edges().forEach(t=>function(e,t){let n,r,o,i=t.v,s=e.node(i).rank,a=t.w,c=e.node(a).rank,u=t.name,l=e.edge(t),d=l.labelRank;if(c===s+1)return;for(e.removeEdge(t),o=0,++s;s<c;++o,++s)l.points=[],r={width:0,height:0,edgeLabel:l,edgeObj:t,rank:s},n=Be(e,"edge",r,"_d"),s===d&&(r.width=l.width,r.height=l.height,r.dummy="edge-label",r.labelpos=l.labelpos),e.setEdge(i,n,{weight:l.weight},u),0===o&&e.graph().dummyChains.push(n),i=n;e.setEdge(i,a,{weight:l.weight},u)}(e,t))}function it(e){let t={};e.sources().forEach(function n(r){let o=e.node(r);if(Object.hasOwn(t,r))return o.rank;t[r]=!0;let i=e.outEdges(r),s=i?i.map(t=>null==t?Number.POSITIVE_INFINITY:n(t.w)-e.edge(t).minlen):[],a=Re(Math.min,s);return a===Number.POSITIVE_INFINITY&&(a=0),o.rank=a})}function st(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}var at=function(e){let t=new te({directed:!1}),n=e.nodes();if(0===n.length)throw new Error("Graph must have at least one node");let r,o,i=n[0],s=e.nodeCount();for(t.setNode(i,{});ct(t,e)<s&&(r=ut(t,e),r);)o=t.hasNode(r.v)?st(e,r):-st(e,r),lt(t,e,o);return t};function ct(e,t){return e.nodes().forEach(function n(r){let o=t.nodeEdges(r);o&&o.forEach(o=>{let i=o.v,s=r===i?o.w:i;!e.hasNode(s)&&!st(t,o)&&(e.setNode(s,{}),e.setEdge(r,s,{}),n(s))})}),e.nodeCount()}function ut(e,t){return t.edges().reduce((n,r)=>{let o=Number.POSITIVE_INFINITY;return e.hasNode(r.v)!==e.hasNode(r.w)&&(o=st(t,r)),o<n[0]?[o,r]:n},[Number.POSITIVE_INFINITY,null])[1]}function lt(e,t,n){e.nodes().forEach(e=>t.node(e).rank+=n)}var{preorder:dt,postorder:ft}=fe,ht=pt;function pt(e){e=function(e){let t=(new te).setGraph(e.graph());return e.nodes().forEach(n=>t.setNode(n,e.node(n))),e.edges().forEach(n=>{let r=t.edge(n.v,n.w)||{weight:0,minlen:1},o=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})}),t}(e),it(e);let t,n,r=at(e);for(gt(r),mt(r,e);t=yt(r);)n=bt(r,e,t),wt(r,e,t,n)}function mt(e,t){let n=ft(e,e.nodes());n=n.slice(0,n.length-1),n.forEach(n=>function(e,t,n){let r=e.node(n).parent,o=e.edge(n,r);o.cutvalue=vt(e,t,n)}(e,t,n))}function vt(e,t,n){let r=e.node(n).parent,o=!0,i=t.edge(n,r),s=0;i||(o=!1,i=t.edge(r,n)),s=i.weight;let a=t.nodeEdges(n);return a&&a.forEach(i=>{let a=i.v===n,c=a?i.w:i.v;if(c!==r){let r=a===o,u=t.edge(i).weight;if(s+=r?u:-u,function(e,t,n){return e.hasEdge(t,n)}(e,n,c)){let t=e.edge(n,c).cutvalue;s+=r?-t:t}}}),s}function gt(e,t){arguments.length<2&&(t=e.nodes()[0]),_t(e,{},1,t)}function _t(e,t,n,r,o){let i=n,s=e.node(r);t[r]=!0;let a=e.neighbors(r);return a&&a.forEach(o=>{Object.hasOwn(t,o)||(n=_t(e,t,n,o,r))}),s.low=i,s.lim=n++,o?s.parent=o:delete s.parent,n}function yt(e){return e.edges().find(t=>e.edge(t).cutvalue<0)}function bt(e,t,n){let r=n.v,o=n.w;t.hasEdge(r,o)||(r=n.w,o=n.v);let i=e.node(r),s=e.node(o),a=i,c=!1;return i.lim>s.lim&&(a=s,c=!0),t.edges().filter(t=>c===xt(e,e.node(t.v),a)&&c!==xt(e,e.node(t.w),a)).reduce((e,n)=>st(t,n)<st(t,e)?n:e)}function wt(e,t,n,r){let o=n.v,i=n.w;e.removeEdge(o,i),e.setEdge(r.v,r.w,{}),gt(e),mt(e,t),function(e,t){let n=e.nodes().find(t=>!e.node(t).parent);if(!n)return;let r=dt(e,[n]);r=r.slice(1),r.forEach(n=>{let r=e.node(n).parent,o=t.edge(n,r),i=!1;o||(o=t.edge(r,n),i=!0),t.node(n).rank=t.node(r).rank+(i?o.minlen:-o.minlen)})}(e,t)}function xt(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}pt.initLowLimValues=gt,pt.initCutValues=mt,pt.calcCutValue=vt,pt.leaveEdge=yt,pt.enterEdge=bt,pt.exchangeEdges=wt;var Et=function(e){let t=e.graph().ranker;if("function"==typeof t)return t(e);switch(t){case"network-simplex":default:Mt(e);break;case"tight-tree":!function(e){it(e),at(e)}(e);break;case"longest-path":St(e);case"none":}};var St=it;function Mt(e){ht(e)}var jt=function(e){let t=function(e){let t={},n=0;function r(o){let i=n;e.children(o).forEach(r),t[o]={low:i,lim:n++}}return e.children(We).forEach(r),t}(e);e.graph().dummyChains.forEach(n=>{let r=e.node(n),o=r.edgeObj,i=function(e,t,n,r){let o,i=[],s=[],a=Math.min(t[n].low,t[r].low),c=Math.max(t[n].lim,t[r].lim);o=n;do{o=e.parent(o),i.push(o)}while(o&&(t[o].low>a||c>t[o].lim));let u=o,l=r;for(;(l=e.parent(l))!==u;)s.push(l);return{path:i.concat(s.reverse()),lca:u}}(e,t,o.v,o.w),s=i.path,a=i.lca,c=0,u=s[c],l=!0;for(;n!==o.w;){if(r=e.node(n),l){for(;(u=s[c])!==a&&e.node(u).maxRank<r.rank;)c++;u===a&&(l=!1)}if(!l){for(;c<s.length-1&&e.node(s[c+1]).minRank<=r.rank;)c++;u=s[c]}void 0!==u&&e.setParent(n,u),n=e.successors(n)[0]}})};function kt(e){let t=Be(e,"root",{},"_root"),n=function(e){let t={};function n(r,o){let i=e.children(r);i&&i.length&&i.forEach(e=>n(e,o+1)),t[r]=o}return e.children(We).forEach(e=>n(e,1)),t}(e),r=Object.values(n),o=Re(Math.max,r)-1,i=2*o+1;e.graph().nestingRoot=t,e.edges().forEach(t=>e.edge(t).minlen*=i);let s=function(e){return e.edges().reduce((t,n)=>t+e.edge(n).weight,0)}(e)+1;e.children(We).forEach(r=>Ot(e,t,i,s,o,n,r)),e.graph().nodeRankFactor=i}function Ot(e,t,n,r,o,i,s){var a;let c=e.children(s);if(!c.length)return void(s!==t&&e.setEdge(t,s,{weight:0,minlen:n}));let u=De(e,"_bt"),l=De(e,"_bb"),d=e.node(s);e.setParent(u,s),d.borderTop=u,e.setParent(l,s),d.borderBottom=l,c.forEach(a=>{var c;Ot(e,t,n,r,o,i,a);let d=e.node(a),f=d.borderTop?d.borderTop:a,h=d.borderBottom?d.borderBottom:a,p=d.borderTop?r:2*r,m=f!==h?1:o-(null!=(c=i[s])?c:0)+1;e.setEdge(u,f,{weight:p,minlen:m,nestingEdge:!0}),e.setEdge(h,l,{weight:p,minlen:m,nestingEdge:!0})}),e.parent(s)||e.setEdge(t,u,{weight:0,minlen:o+(null!=(a=i[s])?a:0)})}var Nt=function(e){e.children(We).forEach(function t(n){let r=e.children(n),o=e.node(n);if(r.length&&r.forEach(t),Object.hasOwn(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(let t=o.minRank,r=o.maxRank+1;t<r;++t)Jt(e,"borderLeft","_bl",n,o,t),Jt(e,"borderRight","_br",n,o,t)}})};function Jt(e,t,n,r,o,i){let s={width:0,height:0,rank:i,borderType:t},a=o[t][i-1],c=Be(e,"border",s,n);o[t][i]=c,e.setParent(c,r),a&&e.setEdge(a,c,{weight:1})}function It(e){var t;let n=null==(t=e.graph().rankdir)?void 0:t.toLowerCase();("bt"===n||"rl"===n)&&function(e){e.nodes().forEach(t=>Bt(e.node(t))),e.edges().forEach(t=>{var n;let r=e.edge(t);null==(n=r.points)||n.forEach(Bt),Object.hasOwn(r,"y")&&Bt(r)})}(e),("lr"===n||"rl"===n)&&(function(e){e.nodes().forEach(t=>Tt(e.node(t))),e.edges().forEach(t=>{var n;let r=e.edge(t);null==(n=r.points)||n.forEach(Tt),Object.hasOwn(r,"x")&&Tt(r)})}(e),Ct(e))}function Ct(e){e.nodes().forEach(t=>Pt(e.node(t))),e.edges().forEach(t=>Pt(e.edge(t)))}function Pt(e){let t=e.width;e.width=e.height,e.height=t}function Bt(e){e.y=-e.y}function Tt(e){let t=e.x;e.x=e.y,e.y=t}function At(e,t){let n=0;for(let r=1;r<t.length;++r)n+=Lt(e,t[r-1],t[r]);return n}function Lt(e,t,n){let r=function(e,t){return e.reduce((e,n,r)=>(e[n]=t[r],e),{})}(n,n.map((e,t)=>t)),o=t.flatMap(t=>{let n=e.outEdges(t);return n?n.map(t=>({pos:r[t.w],weight:e.edge(t).weight})).sort((e,t)=>e.pos-t.pos):[]}),i=1;for(;i<n.length;)i<<=1;let s=2*i-1;i-=1;let a=new Array(s).fill(0),c=0;return o.forEach(e=>{let t=e.pos+i;a[t]+=e.weight;let n=0;for(;t>0;)t%2&&(n+=a[t+1]),t=t-1>>1,a[t]+=e.weight;c+=e.weight*n}),c}function Dt(e,t){let n={};return e.forEach((e,t)=>{let r={indegree:0,in:[],out:[],vs:[e.v],i:t};void 0!==e.barycenter&&(r.barycenter=e.barycenter,r.weight=e.weight),n[e.v]=r}),t.edges().forEach(e=>{let t=n[e.v],r=n[e.w];void 0!==t&&void 0!==r&&(r.indegree++,t.out.push(r))}),function(e){let t=[];function n(e){return t=>{t.merged||(void 0===t.barycenter||void 0===e.barycenter||t.barycenter>=e.barycenter)&&function(e,t){let n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}function r(t){return n=>{n.in.push(t),0===--n.indegree&&e.push(n)}}for(;e.length;){let o=e.pop();t.push(o),o.in.reverse().forEach(n(o)),o.out.forEach(r(o))}return t.filter(e=>!e.merged).map(e=>qe(e,["vs","i","barycenter","weight"]))}(Object.values(n).filter(e=>!e.indegree))}function Ft(e,t,n){let r;for(;t.length&&(r=t[t.length-1]).i<=n;)t.pop(),e.push(r.vs),n++;return n}function Rt(e,t,n,r){let o=e.children(t),i=e.node(t),s=i?i.borderLeft:void 0,a=i?i.borderRight:void 0,c={};s&&(o=o.filter(e=>e!==s&&e!==a));let u=function(e,t=[]){return t.map(t=>{let n=e.inEdges(t);if(!n||!n.length)return{v:t};{let r=n.reduce((t,n)=>{let r=e.edge(n),o=e.node(n.v);return{sum:t.sum+r.weight*o.order,weight:t.weight+r.weight}},{sum:0,weight:0});return{v:t,barycenter:r.sum/r.weight,weight:r.weight}}})}(e,o);u.forEach(t=>{if(e.children(t.v).length){let o=Rt(e,t.v,n,r);c[t.v]=o,Object.hasOwn(o,"barycenter")&&function(e,t){void 0!==e.barycenter?(e.barycenter=(e.barycenter*e.weight+t.barycenter*t.weight)/(e.weight+t.weight),e.weight+=t.weight):(e.barycenter=t.barycenter,e.weight=t.weight)}(t,o)}});let l=Dt(u,n);!function(e,t){e.forEach(e=>{e.vs=e.vs.flatMap(e=>t[e]?t[e].vs:e)})}(l,c);let d=function(e,t){let n=function(e,t){let n={lhs:[],rhs:[]};return e.forEach(e=>{t(e)?n.lhs.push(e):n.rhs.push(e)}),n}(e,e=>Object.hasOwn(e,"barycenter")),r=n.lhs,o=n.rhs.sort((e,t)=>t.i-e.i),i=[],s=0,a=0,c=0;r.sort(function(e){return(t,n)=>t.barycenter<n.barycenter?-1:t.barycenter>n.barycenter?1:e?n.i-t.i:t.i-n.i}(!!t)),c=Ft(i,o,c),r.forEach(e=>{c+=e.vs.length,i.push(e.vs),s+=e.barycenter*e.weight,a+=e.weight,c=Ft(i,o,c)});let u={vs:i.flat(1)};return a&&(u.barycenter=s/a,u.weight=a),u}(l,r);if(s&&a){d.vs=[s,d.vs,a].flat(1);let t=e.predecessors(s);if(t&&t.length){let n=e.node(t[0]),r=e.predecessors(a),o=e.node(r[0]);Object.hasOwn(d,"barycenter")||(d.barycenter=0,d.weight=0),d.barycenter=(d.barycenter*d.weight+n.order+o.order)/(d.weight+2),d.weight+=2}}return d}function Vt(e,t,n,r){r||(r=e.nodes());let o=function(e){let t;for(;e.hasNode(t=Ge("_root")););return t}(e),i=new te({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(t=>e.node(t));return r.forEach(r=>{let s=e.node(r),a=e.parent(r);if(s.rank===t||s.minRank<=t&&t<=s.maxRank){i.setNode(r),i.setParent(r,a||o);let c=e[n](r);c&&c.forEach(t=>{let n=t.v===r?t.w:t.v,o=i.edge(n,r),s=void 0!==o?o.weight:0;i.setEdge(n,r,{weight:e.edge(t).weight+s})}),Object.hasOwn(s,"minRank")&&i.setNode(r,{borderLeft:s.borderLeft[t],borderRight:s.borderRight[t]})}}),i}function zt(e,t={}){if("function"==typeof t.customOrder)return void t.customOrder(e,zt);let n=Ve(e),r=$t(e,Ye(1,n+1),"inEdges"),o=$t(e,Ye(n-1,-1,-1),"outEdges"),i=function(e){let t={},n=e.nodes().filter(t=>!e.children(t).length),r=n.map(t=>e.node(t).rank),o=Ye(Re(Math.max,r)+1).map(()=>[]);return n.sort((t,n)=>e.node(t).rank-e.node(n).rank).forEach(function n(r){if(t[r])return;t[r]=!0,o[e.node(r).rank].push(r);let i=e.successors(r);i&&i.forEach(n)}),o}(e);if(Gt(e,i),t.disableOptimalOrderHeuristic)return;let s,a=Number.POSITIVE_INFINITY,c=t.constraints||[];for(let u=0,l=0;l<4;++u,++l){Ut(u%2?r:o,u%4>=2,c),i=Le(e);let t=At(e,i);t<a?(l=0,s=Object.assign({},i),a=t):t===a&&(s=structuredClone(i))}Gt(e,s)}function $t(e,t,n){let r=new Map,o=(e,t)=>{r.has(e)||r.set(e,[]),r.get(e).push(t)};for(let i of e.nodes()){let t=e.node(i);if("number"==typeof t.rank&&o(t.rank,i),"number"==typeof t.minRank&&"number"==typeof t.maxRank)for(let e=t.minRank;e<=t.maxRank;e++)e!==t.rank&&o(e,i)}return t.map(function(t){return Vt(e,t,n,r.get(t)||[])})}function Ut(e,t,n){let r=new te;e.forEach(function(e){n.forEach(e=>r.setEdge(e.left,e.right));let o=e.graph().root,i=Rt(e,o,r,t);i.vs.forEach((t,n)=>e.node(t).order=n),function(e,t,n){let r,o={};n.forEach(n=>{let i,s,a=e.parent(n);for(;a;){if(i=e.parent(a),i?(s=o[i],o[i]=a):(s=r,r=a),s&&s!==a)return void t.setEdge(s,a);a=i}})}(e,r,i.vs)})}function Gt(e,t){Object.values(t).forEach(t=>t.forEach((t,n)=>e.node(t).order=n))}function Yt(e,t,n){if(t>n){let e=t;t=n,n=e}let r=e[t];r||(e[t]=r={}),r[n]=!0}function qt(e,t,n){if(t>n){let e=t;t=n,n=e}let r=e[t];return void 0!==r&&Object.hasOwn(r,n)}function Ht(e,t,n,r,o=!1){let i={},s=function(e,t,n,r){let o=new te,i=e.graph(),s=function(e,t,n){return(r,o,i)=>{let s,a=r.node(o),c=r.node(i),u=0;if(u+=a.width/2,Object.hasOwn(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":s=-a.width/2;break;case"r":s=a.width/2}if(s&&(u+=n?s:-s),s=void 0,u+=(a.dummy?t:e)/2,u+=(c.dummy?t:e)/2,u+=c.width/2,Object.hasOwn(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":s=c.width/2;break;case"r":s=-c.width/2}return s&&(u+=n?s:-s),u}}(i.nodesep,i.edgesep,r);return t.forEach(t=>{let r;t.forEach(t=>{let i=n[t];if(void 0!==i){if(o.setNode(i),void 0!==r){let a=n[r];if(void 0!==a){let n=o.edge(a,i);o.setEdge(a,i,Math.max(s(e,t,r),n||0))}}r=t}})}),o}(e,t,n,o),a=o?"borderLeft":"borderRight";function c(e,t){let n=s.nodes().slice(),r={},o=n.pop();for(;o;){if(r[o])e(o);else{r[o]=!0,n.push(o);for(let e of t(o))n.push(e)}o=n.pop()}}return c(function(e){let t=s.inEdges(e);i[e]=t?t.reduce((e,t)=>{var n;let r=null!=(n=i[t.v])?n:0,o=s.edge(t);return Math.max(e,r+(void 0!==o?o:0))},0):0},function(e){return s.predecessors(e)||[]}),c(function(t){let n=s.outEdges(t),r=Number.POSITIVE_INFINITY;n&&(r=n.reduce((e,t)=>{let n=i[t.w],r=s.edge(t);return Math.min(e,(void 0!==n?n:0)-(void 0!==r?r:0))},Number.POSITIVE_INFINITY));let o=e.node(t);r!==Number.POSITIVE_INFINITY&&o.borderType!==a&&(i[t]=Math.max(void 0!==i[t]?i[t]:0,r))},function(e){return s.successors(e)||[]}),Object.keys(r).forEach(e=>{var t;let r=n[e];void 0!==r&&(i[e]=null!=(t=i[r])?t:0)}),i}function Wt(e){let t,n=Le(e),r=Object.assign(function(e,t){let n={};return t.length&&t.reduce(function(t,r){let o=0,i=0,s=t.length,a=r[r.length-1];return r.forEach((t,c)=>{let u=function(e,t){if(e.node(t).dummy){let n=e.predecessors(t);if(n)return n.find(t=>e.node(t).dummy)}}(e,t),l=u?e.node(u).order:s;(u||t===a)&&(r.slice(i,c+1).forEach(t=>{let r=e.predecessors(t);r&&r.forEach(r=>{let i=e.node(r),s=i.order;(s<o||l<s)&&(!i.dummy||!e.node(t).dummy)&&Yt(n,r,t)})}),i=c+1,o=l)}),r}),n}(e,n),function(e,t){let n={};function r(t,r,o,i,s){Ye(r,o).forEach(r=>{let o=t[r];if(void 0!==o&&e.node(o).dummy){let t=e.predecessors(o);t&&t.forEach(t=>{if(void 0===t)return;let r=e.node(t);r.dummy&&(r.order<i||r.order>s)&&Yt(n,t,o)})}})}return t.length&&t.reduce(function(t,n){let o=-1,i=-1,s=0;return n.forEach((a,c)=>{if("border"===e.node(a).dummy){let t=e.predecessors(a);if(t&&t.length){let a=t[0];if(void 0===a)return;i=e.node(a).order,r(n,s,c,o,i),s=c,o=i}}r(n,s,n.length,i,t.length)}),n}),n}(e,n)),o={};return["u","d"].forEach(i=>{t="u"===i?n:Object.values(n).reverse(),["l","r"].forEach(n=>{"r"===n&&(t=t.map(e=>Object.values(e).reverse()));let s=function(e,t,n,r){let o={},i={},s={};return t.forEach(e=>{e.forEach((e,t)=>{o[e]=e,i[e]=e,s[e]=t})}),t.forEach(e=>{let t=-1;e.forEach(e=>{let a=r(e);if(a&&a.length){let r=a.sort((e,t)=>{let n=s[e],r=s[t];return(void 0!==n?n:0)-(void 0!==r?r:0)}),c=(r.length-1)/2;for(let a=Math.floor(c),u=Math.ceil(c);a<=u;++a){let c=r[a];if(void 0===c)continue;let u=s[c];if(void 0!==u&&i[e]===e&&t<u&&!qt(n,e,c)){let n=o[c];void 0!==n&&(i[c]=e,i[e]=o[e]=n,t=u)}}}})}),{root:o,align:i}}(0,t,r,t=>("u"===i?e.predecessors(t):e.successors(t))||[]),a=Ht(e,t,s.root,s.align,"r"===n);"r"===n&&(a=He(a,e=>-e)),o[i+n]=a})}),function(e,t){let n=Object.values(t),r=Re(Math.min,n),o=Re(Math.max,n);["u","d"].forEach(n=>{["l","r"].forEach(i=>{let s=n+i,a=e[s];if(!a||a===t)return;let c=Object.values(a),u=r-Re(Math.min,c);"l"!==i&&(u=o-Re(Math.max,c)),u&&(e[s]=He(a,e=>e+u))})})}(o,function(e,t){return Object.values(t).reduce((t,n)=>{let r=Number.NEGATIVE_INFINITY,o=Number.POSITIVE_INFINITY;Object.entries(n).forEach(([t,n])=>{let i=function(e,t){return e.node(t).width}(e,t)/2;r=Math.max(n+i,r),o=Math.min(n-i,o)});let i=r-o;return i<t[0]&&(t=[i,n]),t},[Number.POSITIVE_INFINITY,null])[1]}(e,o)),function(e,t){let n=e.ul;return n?He(n,(n,r)=>{var o,i;if(t){let n=e[t.toLowerCase()];if(n&&void 0!==n[r])return n[r]}let s=Object.values(e).map(e=>{let t=e[r];return void 0!==t?t:0}).sort((e,t)=>e-t);return((null!=(o=s[1])?o:0)+(null!=(i=s[2])?i:0))/2}):{}}(o,e.graph().align)}function Kt(e){(function(e){let t=Le(e),n=e.graph(),r=n.ranksep,o=n.rankalign,i=0;t.forEach(t=>{let n=t.reduce((t,n)=>{var r;let o=null!=(r=e.node(n).height)?r:0;return t>o?t:o},0);t.forEach(t=>{let r=e.node(t);r.y="top"===o?i+r.height/2:"bottom"===o?i+n-r.height/2:i+n/2}),i+=n+r})})(e=Te(e)),Object.entries(Wt(e)).forEach(([t,n])=>e.node(t).x=n)}var Qt=["nodesep","edgesep","ranksep","marginx","marginy"],Zt={ranksep:50,edgesep:20,nodesep:50,rankdir:"TB",rankalign:"center"},Xt=["acyclicer","ranker","rankdir","align","rankalign"],en=["width","height","rank"],tn={width:0,height:0},nn=["minlen","weight","width","height","labeloffset"],rn={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},on=["labelpos"];function sn(e,t){return He(qe(e,t),Number)}function an(e){let t={};return e&&Object.entries(e).forEach(([e,n])=>{"string"==typeof e&&(e=e.toLowerCase()),t[e]=n}),t}var cn={graphlib:Z,version:"3.0.0",layout:function(e,t={}){let n=t.debugTiming?ze:$e;return n("layout",()=>{let r=n(" buildLayoutGraph",()=>function(e){let t=new te({multigraph:!0,compound:!0}),n=an(e.graph());return t.setGraph(Object.assign({},Zt,sn(n,Qt),qe(n,Xt))),e.nodes().forEach(n=>{let r=sn(an(e.node(n)),en);Object.keys(tn).forEach(e=>{void 0===r[e]&&(r[e]=tn[e])}),t.setNode(n,r);let o=e.parent(n);void 0!==o&&t.setParent(n,o)}),e.edges().forEach(n=>{let r=an(e.edge(n));t.setEdge(n,Object.assign({},rn,sn(r,nn),qe(r,on)))}),t}(e));return n(" runLayout",()=>function(e,t,n){t(" makeSpaceForEdgeLabels",()=>function(e){let t=e.graph();t.ranksep/=2,e.edges().forEach(n=>{let r=e.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}(e)),t(" removeSelfEdges",()=>function(e){e.edges().forEach(t=>{if(t.v===t.w){let n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}})}(e)),t(" acyclic",()=>rt(e)),t(" nestingGraph.run",()=>kt(e)),t(" rank",()=>Et(Te(e))),t(" injectEdgeLabelProxies",()=>function(e){e.edges().forEach(t=>{let n=e.edge(t);if(n.width&&n.height){let n=e.node(t.v);Be(e,"edge-proxy",{rank:(e.node(t.w).rank-n.rank)/2+n.rank,e:t},"_ep")}})}(e)),t(" removeEmptyRanks",()=>function(e){let t=e.nodes().map(t=>e.node(t).rank).filter(e=>void 0!==e),n=Re(Math.min,t),r=[];e.nodes().forEach(t=>{let o=e.node(t).rank-n;r[o]||(r[o]=[]),r[o].push(t)});let o=0,i=e.graph().nodeRankFactor;Array.from(r).forEach((t,n)=>{void 0===t&&n%i!==0?--o:void 0!==t&&o&&t.forEach(t=>e.node(t).rank+=o)})}(e)),t(" nestingGraph.cleanup",()=>function(e){let t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,e.edges().forEach(t=>{e.edge(t).nestingEdge&&e.removeEdge(t)})}(e)),t(" normalizeRanks",()=>function(e){let t=e.nodes().map(t=>{let n=e.node(t).rank;return void 0===n?Number.MAX_VALUE:n}),n=Re(Math.min,t);e.nodes().forEach(t=>{let r=e.node(t);Object.hasOwn(r,"rank")&&(r.rank-=n)})}(e)),t(" assignRankMinMax",()=>function(e){let t=0;e.nodes().forEach(n=>{let r=e.node(n);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,t=Math.max(t,r.maxRank))}),e.graph().maxRank=t}(e)),t(" removeEdgeLabelProxies",()=>function(e){e.nodes().forEach(t=>{let n=e.node(t);if("edge-proxy"===n.dummy){let r=n;e.edge(r.e).labelRank=n.rank,e.removeNode(t)}})}(e)),t(" normalize.run",()=>ot(e)),t(" parentDummyChains",()=>jt(e)),t(" addBorderSegments",()=>Nt(e)),t(" order",()=>zt(e,n)),t(" insertSelfEdges",()=>function(e){Le(e).forEach(t=>{let n=0;t.forEach((t,r)=>{let o=e.node(t);o.order=r+n,(o.selfEdges||[]).forEach(t=>{Be(e,"selfedge",{width:t.label.width,height:t.label.height,rank:o.rank,order:r+ ++n,e:t.e,label:t.label},"_se")}),delete o.selfEdges})})}(e)),t(" adjustCoordinateSystem",()=>function(e){var t;let n=null==(t=e.graph().rankdir)?void 0:t.toLowerCase();("lr"===n||"rl"===n)&&Ct(e)}(e)),t(" position",()=>Kt(e)),t(" positionSelfEdges",()=>function(e){e.nodes().forEach(t=>{let n=e.node(t);if("selfedge"===n.dummy){let r=n,o=e.node(r.e.v),i=o.x+o.width/2,s=o.y,a=n.x-i,c=o.height/2;e.setEdge(r.e,r.label),e.removeNode(t),r.label.points=[{x:i+2*a/3,y:s-c},{x:i+5*a/6,y:s-c},{x:i+a,y:s},{x:i+5*a/6,y:s+c},{x:i+2*a/3,y:s+c}],r.label.x=n.x,r.label.y=n.y}})}(e)),t(" removeBorderNodes",()=>function(e){e.nodes().forEach(t=>{if(e.children(t).length){let n=e.node(t),r=e.node(n.borderTop),o=e.node(n.borderBottom),i=e.node(n.borderLeft[n.borderLeft.length-1]),s=e.node(n.borderRight[n.borderRight.length-1]);n.width=Math.abs(s.x-i.x),n.height=Math.abs(o.y-r.y),n.x=i.x+n.width/2,n.y=r.y+n.height/2}}),e.nodes().forEach(t=>{"border"===e.node(t).dummy&&e.removeNode(t)})}(e)),t(" normalize.undo",()=>function(e){e.graph().dummyChains.forEach(t=>{let n,r=e.node(t),o=r.edgeLabel;for(e.setEdge(r.edgeObj,o);r.dummy;)n=e.successors(t)[0],e.removeNode(t),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),t=n,r=e.node(t)})}(e)),t(" fixupEdgeLabelCoords",()=>function(e){e.edges().forEach(t=>{let n=e.edge(t);if(Object.hasOwn(n,"x"))switch(("l"===n.labelpos||"r"===n.labelpos)&&(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}(e)),t(" undoCoordinateSystem",()=>It(e)),t(" translateGraph",()=>function(e){let t=Number.POSITIVE_INFINITY,n=0,r=Number.POSITIVE_INFINITY,o=0,i=e.graph(),s=i.marginx||0,a=i.marginy||0;function c(e){let i=e.x,s=e.y,a=e.width,c=e.height;t=Math.min(t,i-a/2),n=Math.max(n,i+a/2),r=Math.min(r,s-c/2),o=Math.max(o,s+c/2)}e.nodes().forEach(t=>c(e.node(t))),e.edges().forEach(t=>{let n=e.edge(t);Object.hasOwn(n,"x")&&c(n)}),t-=s,r-=a,e.nodes().forEach(n=>{let o=e.node(n);o.x-=t,o.y-=r}),e.edges().forEach(n=>{let o=e.edge(n);o.points.forEach(e=>{e.x-=t,e.y-=r}),Object.hasOwn(o,"x")&&(o.x-=t),Object.hasOwn(o,"y")&&(o.y-=r)}),i.width=n-t+s,i.height=o-r+a}(e)),t(" assignNodeIntersects",()=>function(e){e.edges().forEach(t=>{let n,r,o=e.edge(t),i=e.node(t.v),s=e.node(t.w);o.points?(n=o.points[0],r=o.points[o.points.length-1]):(o.points=[],n=s,r=i),o.points.unshift(Ae(i,n)),o.points.push(Ae(s,r))})}(e)),t(" reversePoints",()=>function(e){e.edges().forEach(t=>{let n=e.edge(t);n.reversed&&n.points.reverse()})}(e)),t(" acyclic.undo",()=>function(e){e.edges().forEach(t=>{let n=e.edge(t);if(n.reversed){e.removeEdge(t);let r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}})}(e))}(r,n,t)),n(" updateInputGraph",()=>function(e,t){e.nodes().forEach(n=>{let r=e.node(n),o=t.node(n);r&&(r.x=o.x,r.y=o.y,r.order=o.order,r.rank=o.rank,t.children(n).length&&(r.width=o.width,r.height=o.height))}),e.edges().forEach(n=>{let r=e.edge(n),o=t.edge(n);r.points=o.points,Object.hasOwn(o,"x")&&(r.x=o.x,r.y=o.y)}),e.graph().width=t.graph().width,e.graph().height=t.graph().height}(e,r)),r})},debug:function(e){let t=Le(e),n=new te({compound:!0,multigraph:!0}).setGraph({});return e.nodes().forEach(t=>{n.setNode(t,{label:t}),n.setParent(t,"layer"+e.node(t).rank)}),e.edges().forEach(e=>n.setEdge(e.v,e.w,{},e.name)),t.forEach((e,t)=>{let r="layer"+t;n.setNode(r,{rank:"same"}),e.reduce((e,t)=>(n.setEdge(e,t,{style:"invis"}),t))}),n},util:{time:ze,notime:$e}},un=e.__commonJSMin((e,t)=>{t.exports=function(){this.__data__=[],this.size=0}}),ln=e.__commonJSMin((e,t)=>{t.exports=function(e,t){return e===t||e!=e&&t!=t}}),dn=e.__commonJSMin((e,t)=>{var n=ln();t.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}}),fn=e.__commonJSMin((e,t)=>{var n=dn(),r=Array.prototype.splice;t.exports=function(e){var t=this.__data__,o=n(t,e);return!(o<0)&&(o==t.length-1?t.pop():r.call(t,o,1),--this.size,!0)}}),hn=e.__commonJSMin((e,t)=>{var n=dn();t.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}}),pn=e.__commonJSMin((e,t)=>{var n=dn();t.exports=function(e){return n(this.__data__,e)>-1}}),mn=e.__commonJSMin((e,t)=>{var n=dn();t.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}}),vn=e.__commonJSMin((e,t)=>{var n=un(),r=fn(),o=hn(),i=pn(),s=mn();function a(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])}}a.prototype.clear=n,a.prototype.delete=r,a.prototype.get=o,a.prototype.has=i,a.prototype.set=s,t.exports=a}),gn=e.__commonJSMin((e,t)=>{var n=vn();t.exports=function(){this.__data__=new n,this.size=0}}),_n=e.__commonJSMin((e,t)=>{t.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}}),yn=e.__commonJSMin((e,t)=>{t.exports=function(e){return this.__data__.get(e)}}),bn=e.__commonJSMin((e,t)=>{t.exports=function(e){return this.__data__.has(e)}}),wn=e.__commonJSMin((e,t)=>{var n="object"==typeof global&&global&&global.Object===Object&&global;t.exports=n}),xn=e.__commonJSMin((e,t)=>{var n=wn(),r="object"==typeof self&&self&&self.Object===Object&&self,o=n||r||Function("return this")();t.exports=o}),En=e.__commonJSMin((e,t)=>{var n=xn().Symbol;t.exports=n}),Sn=e.__commonJSMin((e,t)=>{var n=En(),r=Object.prototype,o=r.hasOwnProperty,i=r.toString,s=n?n.toStringTag:void 0;t.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var a=i.call(e);return r&&(t?e[s]=n:delete e[s]),a}}),Mn=e.__commonJSMin((e,t)=>{var n=Object.prototype.toString;t.exports=function(e){return n.call(e)}}),jn=e.__commonJSMin((e,t)=>{var n=En(),r=Sn(),o=Mn(),i=n?n.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?r(e):o(e)}}),kn=e.__commonJSMin((e,t)=>{t.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}),On=e.__commonJSMin((e,t)=>{var n=jn(),r=kn();t.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}}),Nn=e.__commonJSMin((e,t)=>{var n=xn()["__core-js_shared__"];t.exports=n}),Jn=e.__commonJSMin((e,t)=>{var n,r=Nn(),o=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(e){return!!o&&o in e}}),In=e.__commonJSMin((e,t)=>{var n=Function.prototype.toString;t.exports=function(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}}),Cn=e.__commonJSMin((e,t)=>{var n=On(),r=Jn(),o=kn(),i=In(),s=/^\[object .+?Constructor\]$/,a=Function.prototype,c=Object.prototype,u=a.toString,l=c.hasOwnProperty,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(e){return!(!o(e)||r(e))&&(n(e)?d:s).test(i(e))}}),Pn=e.__commonJSMin((e,t)=>{t.exports=function(e,t){return null==e?void 0:e[t]}}),Bn=e.__commonJSMin((e,t)=>{var n=Cn(),r=Pn();t.exports=function(e,t){var o=r(e,t);return n(o)?o:void 0}}),Tn=e.__commonJSMin((e,t)=>{var n=Bn()(xn(),"Map");t.exports=n}),An=e.__commonJSMin((e,t)=>{var n=Bn()(Object,"create");t.exports=n}),Ln=e.__commonJSMin((e,t)=>{var n=An();t.exports=function(){this.__data__=n?n(null):{},this.size=0}}),Dn=e.__commonJSMin((e,t)=>{t.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}}),Fn=e.__commonJSMin((e,t)=>{var n=An(),r=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;if(n){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return r.call(t,e)?t[e]:void 0}}),Rn=e.__commonJSMin((e,t)=>{var n=An(),r=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:r.call(t,e)}}),Vn=e.__commonJSMin((e,t)=>{var n=An();t.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}}),zn=e.__commonJSMin((e,t)=>{var n=Ln(),r=Dn(),o=Fn(),i=Rn(),s=Vn();function a(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])}}a.prototype.clear=n,a.prototype.delete=r,a.prototype.get=o,a.prototype.has=i,a.prototype.set=s,t.exports=a}),$n=e.__commonJSMin((e,t)=>{var n=zn(),r=vn(),o=Tn();t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||r),string:new n}}}),Un=e.__commonJSMin((e,t)=>{t.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}}),Gn=e.__commonJSMin((e,t)=>{var n=Un();t.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}}),Yn=e.__commonJSMin((e,t)=>{var n=Gn();t.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}}),qn=e.__commonJSMin((e,t)=>{var n=Gn();t.exports=function(e){return n(this,e).get(e)}}),Hn=e.__commonJSMin((e,t)=>{var n=Gn();t.exports=function(e){return n(this,e).has(e)}}),Wn=e.__commonJSMin((e,t)=>{var n=Gn();t.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}}),Kn=e.__commonJSMin((e,t)=>{var n=$n(),r=Yn(),o=qn(),i=Hn(),s=Wn();function a(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])}}a.prototype.clear=n,a.prototype.delete=r,a.prototype.get=o,a.prototype.has=i,a.prototype.set=s,t.exports=a}),Qn=e.__commonJSMin((e,t)=>{var n=vn(),r=Tn(),o=Kn();t.exports=function(e,t){var i=this.__data__;if(i instanceof n){var s=i.__data__;if(!r||s.length<199)return s.push([e,t]),this.size=++i.size,this;i=this.__data__=new o(s)}return i.set(e,t),this.size=i.size,this}}),Zn=e.__commonJSMin((e,t)=>{var n=vn(),r=gn(),o=_n(),i=yn(),s=bn(),a=Qn();function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c}),Xn=e.__commonJSMin((e,t)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}}),er=e.__commonJSMin((e,t)=>{var n=Bn(),r=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();t.exports=r}),tr=e.__commonJSMin((e,t)=>{var n=er();t.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}}),nr=e.__commonJSMin((e,t)=>{var n=tr(),r=ln(),o=Object.prototype.hasOwnProperty;t.exports=function(e,t,i){var s=e[t];o.call(e,t)&&r(s,i)&&(void 0!==i||t in e)||n(e,t,i)}}),rr=e.__commonJSMin((e,t)=>{var n=nr(),r=tr();t.exports=function(e,t,o,i){var s=!o;o||(o={});for(var a=-1,c=t.length;++a<c;){var u=t[a],l=i?i(o[u],e[u],u,o,e):void 0;void 0===l&&(l=e[u]),s?r(o,u,l):n(o,u,l)}return o}}),or=e.__commonJSMin((e,t)=>{t.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}}),ir=e.__commonJSMin((e,t)=>{t.exports=function(e){return null!=e&&"object"==typeof e}}),sr=e.__commonJSMin((e,t)=>{var n=jn(),r=ir();t.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}}),ar=e.__commonJSMin((e,t)=>{var n=sr(),r=ir(),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return r(e)&&i.call(e,"callee")&&!s.call(e,"callee")};t.exports=a}),cr=e.__commonJSMin((e,t)=>{var n=Array.isArray;t.exports=n}),ur=e.__commonJSMin((e,t)=>{t.exports=function(){return!1}}),lr=e.__commonJSMin((e,t)=>{var n=xn(),r=ur(),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=i&&i.exports===o?n.Buffer:void 0,a=(s?s.isBuffer:void 0)||r;t.exports=a}),dr=e.__commonJSMin((e,t)=>{var n=/^(?:0|[1-9]\d*)$/;t.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}}),fr=e.__commonJSMin((e,t)=>{t.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}),hr=e.__commonJSMin((e,t)=>{var n=jn(),r=fr(),o=ir(),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(e){return o(e)&&r(e.length)&&!!i[n(e)]}}),pr=e.__commonJSMin((e,t)=>{t.exports=function(e){return function(t){return e(t)}}}),mr=e.__commonJSMin((e,t)=>{var n=wn(),r="object"==typeof e&&e&&!e.nodeType&&e,o=r&&"object"==typeof t&&t&&!t.nodeType&&t,i=o&&o.exports===r&&n.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=s}),vr=e.__commonJSMin((e,t)=>{var n=hr(),r=pr(),o=mr(),i=o&&o.isTypedArray,s=i?r(i):n;t.exports=s}),gr=e.__commonJSMin((e,t)=>{var n=or(),r=ar(),o=cr(),i=lr(),s=dr(),a=vr(),c=Object.prototype.hasOwnProperty;t.exports=function(e,t){var u=o(e),l=!u&&r(e),d=!u&&!l&&i(e),f=!u&&!l&&!d&&a(e),h=u||l||d||f,p=h?n(e.length,String):[],m=p.length;for(var v in e)!t&&!c.call(e,v)||h&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||p.push(v);return p}}),_r=e.__commonJSMin((e,t)=>{var n=Object.prototype;t.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}}),yr=e.__commonJSMin((e,t)=>{t.exports=function(e,t){return function(n){return e(t(n))}}}),br=e.__commonJSMin((e,t)=>{var n=yr()(Object.keys,Object);t.exports=n}),wr=e.__commonJSMin((e,t)=>{var n=_r(),r=br(),o=Object.prototype.hasOwnProperty;t.exports=function(e){if(!n(e))return r(e);var t=[];for(var i in Object(e))o.call(e,i)&&"constructor"!=i&&t.push(i);return t}}),xr=e.__commonJSMin((e,t)=>{var n=On(),r=fr();t.exports=function(e){return null!=e&&r(e.length)&&!n(e)}}),Er=e.__commonJSMin((e,t)=>{var n=gr(),r=wr(),o=xr();t.exports=function(e){return o(e)?n(e):r(e)}}),Sr=e.__commonJSMin((e,t)=>{var n=rr(),r=Er();t.exports=function(e,t){return e&&n(t,r(t),e)}}),Mr=e.__commonJSMin((e,t)=>{t.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}}),jr=e.__commonJSMin((e,t)=>{var n=kn(),r=_r(),o=Mr(),i=Object.prototype.hasOwnProperty;t.exports=function(e){if(!n(e))return o(e);var t=r(e),s=[];for(var a in e)("constructor"!=a||!t&&i.call(e,a))&&s.push(a);return s}}),kr=e.__commonJSMin((e,t)=>{var n=gr(),r=jr(),o=xr();t.exports=function(e){return o(e)?n(e,!0):r(e)}}),Or=e.__commonJSMin((e,t)=>{var n=rr(),r=kr();t.exports=function(e,t){return e&&n(t,r(t),e)}}),Nr=e.__commonJSMin((e,t)=>{var n=xn(),r="object"==typeof e&&e&&!e.nodeType&&e,o=r&&"object"==typeof t&&t&&!t.nodeType&&t,i=o&&o.exports===r?n.Buffer:void 0,s=i?i.allocUnsafe:void 0;t.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}),Jr=e.__commonJSMin((e,t)=>{t.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}}),Ir=e.__commonJSMin((e,t)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}}),Cr=e.__commonJSMin((e,t)=>{t.exports=function(){return[]}}),Pr=e.__commonJSMin((e,t)=>{var n=Ir(),r=Cr(),o=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),n(i(e),function(t){return o.call(e,t)}))}:r;t.exports=s}),Br=e.__commonJSMin((e,t)=>{var n=rr(),r=Pr();t.exports=function(e,t){return n(e,r(e),t)}}),Tr=e.__commonJSMin((e,t)=>{t.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}}),Ar=e.__commonJSMin((e,t)=>{var n=yr()(Object.getPrototypeOf,Object);t.exports=n}),Lr=e.__commonJSMin((e,t)=>{var n=Tr(),r=Ar(),o=Pr(),i=Cr(),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=r(e);return t}:i;t.exports=s}),Dr=e.__commonJSMin((e,t)=>{var n=rr(),r=Lr();t.exports=function(e,t){return n(e,r(e),t)}}),Fr=e.__commonJSMin((e,t)=>{var n=Tr(),r=cr();t.exports=function(e,t,o){var i=t(e);return r(e)?i:n(i,o(e))}}),Rr=e.__commonJSMin((e,t)=>{var n=Fr(),r=Pr(),o=Er();t.exports=function(e){return n(e,o,r)}}),Vr=e.__commonJSMin((e,t)=>{var n=Fr(),r=Lr(),o=kr();t.exports=function(e){return n(e,o,r)}}),zr=e.__commonJSMin((e,t)=>{var n=Bn()(xn(),"DataView");t.exports=n}),$r=e.__commonJSMin((e,t)=>{var n=Bn()(xn(),"Promise");t.exports=n}),Ur=e.__commonJSMin((e,t)=>{var n=Bn()(xn(),"Set");t.exports=n}),Gr=e.__commonJSMin((e,t)=>{var n=Bn()(xn(),"WeakMap");t.exports=n}),Yr=e.__commonJSMin((e,t)=>{var n=zr(),r=Tn(),o=$r(),i=Ur(),s=Gr(),a=jn(),c=In(),u="[object Map]",l="[object Promise]",d="[object Set]",f="[object WeakMap]",h="[object DataView]",p=c(n),m=c(r),v=c(o),g=c(i),_=c(s),y=a;(n&&y(new n(new ArrayBuffer(1)))!=h||r&&y(new r)!=u||o&&y(o.resolve())!=l||i&&y(new i)!=d||s&&y(new s)!=f)&&(y=function(e){var t=a(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case p:return h;case m:return u;case v:return l;case g:return d;case _:return f}return t}),t.exports=y}),qr=e.__commonJSMin((e,t)=>{var n=Object.prototype.hasOwnProperty;t.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}}),Hr=e.__commonJSMin((e,t)=>{var n=xn().Uint8Array;t.exports=n}),Wr=e.__commonJSMin((e,t)=>{var n=Hr();t.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}}),Kr=e.__commonJSMin((e,t)=>{var n=Wr();t.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}}),Qr=e.__commonJSMin((e,t)=>{var n=/\w*$/;t.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}}),Zr=e.__commonJSMin((e,t)=>{var n=En(),r=n?n.prototype:void 0,o=r?r.valueOf:void 0;t.exports=function(e){return o?Object(o.call(e)):{}}}),Xr=e.__commonJSMin((e,t)=>{var n=Wr();t.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}}),eo=e.__commonJSMin((e,t)=>{var n=Wr(),r=Kr(),o=Qr(),i=Zr(),s=Xr();t.exports=function(e,t,a){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return r(e,a);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,a);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return o(e);case"[object Symbol]":return i(e)}}}),to=e.__commonJSMin((e,t)=>{var n=kn(),r=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(r)return r(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}();t.exports=o}),no=e.__commonJSMin((e,t)=>{var n=to(),r=Ar(),o=_r();t.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(r(e))}}),ro=e.__commonJSMin((e,t)=>{var n=Yr(),r=ir();t.exports=function(e){return r(e)&&"[object Map]"==n(e)}}),oo=e.__commonJSMin((e,t)=>{var n=ro(),r=pr(),o=mr(),i=o&&o.isMap,s=i?r(i):n;t.exports=s}),io=e.__commonJSMin((e,t)=>{var n=Yr(),r=ir();t.exports=function(e){return r(e)&&"[object Set]"==n(e)}}),so=e.__commonJSMin((e,t)=>{var n=io(),r=pr(),o=mr(),i=o&&o.isSet,s=i?r(i):n;t.exports=s}),ao=e.__commonJSMin((e,t)=>{var n=Zn(),r=Xn(),o=nr(),i=Sr(),s=Or(),a=Nr(),c=Jr(),u=Br(),l=Dr(),d=Rr(),f=Vr(),h=Yr(),p=qr(),m=eo(),v=no(),g=cr(),_=lr(),y=oo(),b=kn(),w=so(),x=Er(),E=kr(),S="[object Arguments]",M="[object Function]",j="[object Object]",k={};k[S]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[j]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[M]=k["[object WeakMap]"]=!1,t.exports=function e(t,O,N,J,I,C){var P,B=1&O,T=2&O,A=4&O;if(N&&(P=I?N(t,J,I,C):N(t)),void 0!==P)return P;if(!b(t))return t;var L=g(t);if(L){if(P=p(t),!B)return c(t,P)}else{var D=h(t),F=D==M||"[object GeneratorFunction]"==D;if(_(t))return a(t,B);if(D==j||D==S||F&&!I){if(P=T||F?{}:v(t),!B)return T?l(t,s(P,t)):u(t,i(P,t))}else{if(!k[D])return I?t:{};P=m(t,D,B)}}C||(C=new n);var R=C.get(t);if(R)return R;C.set(t,P),w(t)?t.forEach(function(n){P.add(e(n,O,N,n,t,C))}):y(t)&&t.forEach(function(n,r){P.set(r,e(n,O,N,r,t,C))});var V=L?void 0:(A?T?f:d:T?E:x)(t);return r(V||t,function(n,r){V&&(n=t[r=n]),o(P,r,e(n,O,N,r,t,C))}),P}}),co=e.__commonJSMin((e,t)=>{var n=ao();t.exports=function(e){return n(e,4)}}),uo=e.__commonJSMin((e,t)=>{t.exports=function(e){return function(){return e}}}),lo=e.__commonJSMin((e,t)=>{t.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),s=r(t),a=s.length;a--;){var c=s[e?a:++o];if(!1===n(i[c],c,i))break}return t}}}),fo=e.__commonJSMin((e,t)=>{var n=lo()();t.exports=n}),ho=e.__commonJSMin((e,t)=>{var n=fo(),r=Er();t.exports=function(e,t){return e&&n(e,t,r)}}),po=e.__commonJSMin((e,t)=>{var n=xr();t.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var i=r.length,s=t?i:-1,a=Object(r);(t?s--:++s<i)&&!1!==o(a[s],s,a););return r}}}),mo=e.__commonJSMin((e,t)=>{var n=ho(),r=po()(n);t.exports=r}),vo=e.__commonJSMin((e,t)=>{t.exports=function(e){return e}}),go=e.__commonJSMin((e,t)=>{var n=vo();t.exports=function(e){return"function"==typeof e?e:n}}),_o=e.__commonJSMin((e,t)=>{var n=Xn(),r=mo(),o=go(),i=cr();t.exports=function(e,t){return(i(e)?n:r)(e,o(t))}}),yo=e.__commonJSMin((e,t)=>{t.exports=_o()}),bo=e.__commonJSMin((e,t)=>{var n=mo();t.exports=function(e,t){var r=[];return n(e,function(e,n,o){t(e,n,o)&&r.push(e)}),r}}),wo=e.__commonJSMin((e,t)=>{t.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}}),xo=e.__commonJSMin((e,t)=>{t.exports=function(e){return this.__data__.has(e)}}),Eo=e.__commonJSMin((e,t)=>{var n=Kn(),r=wo(),o=xo();function i(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}i.prototype.add=i.prototype.push=r,i.prototype.has=o,t.exports=i}),So=e.__commonJSMin((e,t)=>{t.exports=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}}),Mo=e.__commonJSMin((e,t)=>{t.exports=function(e,t){return e.has(t)}}),jo=e.__commonJSMin((e,t)=>{var n=Eo(),r=So(),o=Mo();t.exports=function(e,t,i,s,a,c){var u=1&i,l=e.length,d=t.length;if(l!=d&&!(u&&d>l))return!1;var f=c.get(e),h=c.get(t);if(f&&h)return f==t&&h==e;var p=-1,m=!0,v=2&i?new n:void 0;for(c.set(e,t),c.set(t,e);++p<l;){var g=e[p],_=t[p];if(s)var y=u?s(_,g,p,t,e,c):s(g,_,p,e,t,c);if(void 0!==y){if(y)continue;m=!1;break}if(v){if(!r(t,function(e,t){if(!o(v,t)&&(g===e||a(g,e,i,s,c)))return v.push(t)})){m=!1;break}}else if(g!==_&&!a(g,_,i,s,c)){m=!1;break}}return c.delete(e),c.delete(t),m}}),ko=e.__commonJSMin((e,t)=>{t.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}}),Oo=e.__commonJSMin((e,t)=>{t.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}}),No=e.__commonJSMin((e,t)=>{var n=En(),r=Hr(),o=ln(),i=jo(),s=ko(),a=Oo(),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(e,t,n,c,l,d,f){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||!d(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+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 h=s;case"[object Set]":var p=1&c;if(h||(h=a),e.size!=t.size&&!p)return!1;var m=f.get(e);if(m)return m==t;c|=2,f.set(e,t);var v=i(h(e),h(t),c,l,d,f);return f.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}}),Jo=e.__commonJSMin((e,t)=>{var n=Rr(),r=Object.prototype.hasOwnProperty;t.exports=function(e,t,o,i,s,a){var c=1&o,u=n(e),l=u.length;if(l!=n(t).length&&!c)return!1;for(var d=l;d--;){var f=u[d];if(!(c?f in t:r.call(t,f)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var m=!0;a.set(e,t),a.set(t,e);for(var v=c;++d<l;){var g=e[f=u[d]],_=t[f];if(i)var y=c?i(_,g,f,t,e,a):i(g,_,f,e,t,a);if(!(void 0===y?g===_||s(g,_,o,i,a):y)){m=!1;break}v||(v="constructor"==f)}if(m&&!v){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(m=!1)}return a.delete(e),a.delete(t),m}}),Io=e.__commonJSMin((e,t)=>{var n=Zn(),r=jo(),o=No(),i=Jo(),s=Yr(),a=cr(),c=lr(),u=vr(),l="[object Arguments]",d="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(e,t,p,m,v,g){var _=a(e),y=a(t),b=_?d:s(e),w=y?d:s(t),x=(b=b==l?f:b)==f,E=(w=w==l?f:w)==f,S=b==w;if(S&&c(e)){if(!c(t))return!1;_=!0,x=!1}if(S&&!x)return g||(g=new n),_||u(e)?r(e,t,p,m,v,g):o(e,t,b,p,m,v,g);if(!(1&p)){var M=x&&h.call(e,"__wrapped__"),j=E&&h.call(t,"__wrapped__");if(M||j){var k=M?e.value():e,O=j?t.value():t;return g||(g=new n),v(k,O,p,m,g)}}return!!S&&(g||(g=new n),i(e,t,p,m,v,g))}}),Co=e.__commonJSMin((e,t)=>{var n=Io(),r=ir();t.exports=function e(t,o,i,s,a){return t===o||(null==t||null==o||!r(t)&&!r(o)?t!=t&&o!=o:n(t,o,i,s,e,a))}}),Po=e.__commonJSMin((e,t)=>{var n=Zn(),r=Co();t.exports=function(e,t,o,i){var s=o.length,a=s,c=!i;if(null==e)return!a;for(e=Object(e);s--;){var u=o[s];if(c&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++s<a;){var l=(u=o[s])[0],d=e[l],f=u[1];if(c&&u[2]){if(void 0===d&&!(l in e))return!1}else{var h=new n;if(i)var p=i(d,f,l,e,t,h);if(!(void 0===p?r(f,d,3,i,h):p))return!1}}return!0}}),Bo=e.__commonJSMin((e,t)=>{var n=kn();t.exports=function(e){return e==e&&!n(e)}}),To=e.__commonJSMin((e,t)=>{var n=Bo(),r=Er();t.exports=function(e){for(var t=r(e),o=t.length;o--;){var i=t[o],s=e[i];t[o]=[i,s,n(s)]}return t}}),Ao=e.__commonJSMin((e,t)=>{t.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}}),Lo=e.__commonJSMin((e,t)=>{var n=Po(),r=To(),o=Ao();t.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}}),Do=e.__commonJSMin((e,t)=>{var n=jn(),r=ir();t.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==n(e)}}),Fo=e.__commonJSMin((e,t)=>{var n=cr(),r=Do(),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;t.exports=function(e,t){if(n(e))return!1;var s=typeof e;return!("number"!=s&&"symbol"!=s&&"boolean"!=s&&null!=e&&!r(e))||(i.test(e)||!o.test(e)||null!=t&&e in Object(t))}}),Ro=e.__commonJSMin((e,t)=>{var n=Kn();function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var o=function(){var n=arguments,r=t?t.apply(this,n):n[0],i=o.cache;if(i.has(r))return i.get(r);var s=e.apply(this,n);return o.cache=i.set(r,s)||i,s};return o.cache=new(r.Cache||n),o}r.Cache=n,t.exports=r}),Vo=e.__commonJSMin((e,t)=>{var n=Ro();t.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}}),zo=e.__commonJSMin((e,t)=>{var n=Vo(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});t.exports=i}),$o=e.__commonJSMin((e,t)=>{t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}}),Uo=e.__commonJSMin((e,t)=>{var n=En(),r=$o(),o=cr(),i=Do(),s=n?n.prototype:void 0,a=s?s.toString:void 0;t.exports=function e(t){if("string"==typeof t)return t;if(o(t))return r(t,e)+"";if(i(t))return a?a.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}),Go=e.__commonJSMin((e,t)=>{var n=Uo();t.exports=function(e){return null==e?"":n(e)}}),Yo=e.__commonJSMin((e,t)=>{var n=cr(),r=Fo(),o=zo(),i=Go();t.exports=function(e,t){return n(e)?e:r(e,t)?[e]:o(i(e))}}),qo=e.__commonJSMin((e,t)=>{var n=Do();t.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}}),Ho=e.__commonJSMin((e,t)=>{var n=Yo(),r=qo();t.exports=function(e,t){for(var o=0,i=(t=n(t,e)).length;null!=e&&o<i;)e=e[r(t[o++])];return o&&o==i?e:void 0}}),Wo=e.__commonJSMin((e,t)=>{var n=Ho();t.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}}),Ko=e.__commonJSMin((e,t)=>{t.exports=function(e,t){return null!=e&&t in Object(e)}}),Qo=e.__commonJSMin((e,t)=>{var n=Yo(),r=ar(),o=cr(),i=dr(),s=fr(),a=qo();t.exports=function(e,t,c){for(var u=-1,l=(t=n(t,e)).length,d=!1;++u<l;){var f=a(t[u]);if(!(d=null!=e&&c(e,f)))break;e=e[f]}return d||++u!=l?d:!!(l=null==e?0:e.length)&&s(l)&&i(f,l)&&(o(e)||r(e))}}),Zo=e.__commonJSMin((e,t)=>{var n=Ko(),r=Qo();t.exports=function(e,t){return null!=e&&r(e,t,n)}}),Xo=e.__commonJSMin((e,t)=>{var n=Co(),r=Wo(),o=Zo(),i=Fo(),s=Bo(),a=Ao(),c=qo();t.exports=function(e,t){return i(e)&&s(t)?a(c(e),t):function(i){var s=r(i,e);return void 0===s&&s===t?o(i,e):n(t,s,3)}}}),ei=e.__commonJSMin((e,t)=>{t.exports=function(e){return function(t){return null==t?void 0:t[e]}}}),ti=e.__commonJSMin((e,t)=>{var n=Ho();t.exports=function(e){return function(t){return n(t,e)}}}),ni=e.__commonJSMin((e,t)=>{var n=ei(),r=ti(),o=Fo(),i=qo();t.exports=function(e){return o(e)?n(i(e)):r(e)}}),ri=e.__commonJSMin((e,t)=>{var n=Lo(),r=Xo(),o=vo(),i=cr(),s=ni();t.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?r(e[0],e[1]):n(e):s(e)}}),oi=e.__commonJSMin((e,t)=>{var n=Ir(),r=bo(),o=ri(),i=cr();t.exports=function(e,t){return(i(e)?n:r)(e,o(t,3))}}),ii=e.__commonJSMin((e,t)=>{var n=Object.prototype.hasOwnProperty;t.exports=function(e,t){return null!=e&&n.call(e,t)}}),si=e.__commonJSMin((e,t)=>{var n=ii(),r=Qo();t.exports=function(e,t){return null!=e&&r(e,t,n)}}),ai=e.__commonJSMin((e,t)=>{var n=wr(),r=Yr(),o=ar(),i=cr(),s=xr(),a=lr(),c=_r(),u=vr(),l=Object.prototype.hasOwnProperty;t.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||a(e)||u(e)||o(e)))return!e.length;var t=r(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!n(e).length;for(var d in e)if(l.call(e,d))return!1;return!0}}),ci=e.__commonJSMin((e,t)=>{t.exports=function(e){return void 0===e}}),ui=e.__commonJSMin((e,t)=>{var n=mo(),r=xr();t.exports=function(e,t){var o=-1,i=r(e)?Array(e.length):[];return n(e,function(e,n,r){i[++o]=t(e,n,r)}),i}}),li=e.__commonJSMin((e,t)=>{var n=$o(),r=ri(),o=ui(),i=cr();t.exports=function(e,t){return(i(e)?n:o)(e,r(t,3))}}),di=e.__commonJSMin((e,t)=>{t.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}}),fi=e.__commonJSMin((e,t)=>{t.exports=function(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}}),hi=e.__commonJSMin((e,t)=>{var n=di(),r=mo(),o=ri(),i=fi(),s=cr();t.exports=function(e,t,a){var c=s(e)?n:i,u=arguments.length<3;return c(e,o(t,4),a,u,r)}}),pi=e.__commonJSMin((e,t)=>{var n=jn(),r=cr(),o=ir();t.exports=function(e){return"string"==typeof e||!r(e)&&o(e)&&"[object String]"==n(e)}}),mi=e.__commonJSMin((e,t)=>{var n=ei()("length");t.exports=n}),vi=e.__commonJSMin((e,t)=>{var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(e){return n.test(e)}}),gi=e.__commonJSMin((e,t)=>{var n="\\ud800-\\udfff",r="["+n+"]",o="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",s="[^"+n+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+o+"|"+i+")"+"?",l="[\\ufe0e\\ufe0f]?",d=l+u+("(?:\\u200d(?:"+[s,a,c].join("|")+")"+l+u+")*"),f="(?:"+[s+o+"?",o,a,c,r].join("|")+")",h=RegExp(i+"(?="+i+")|"+f+d,"g");t.exports=function(e){for(var t=h.lastIndex=0;h.test(e);)++t;return t}}),_i=e.__commonJSMin((e,t)=>{var n=mi(),r=vi(),o=gi();t.exports=function(e){return r(e)?o(e):n(e)}}),yi=e.__commonJSMin((e,t)=>{var n=wr(),r=Yr(),o=xr(),i=pi(),s=_i();t.exports=function(e){if(null==e)return 0;if(o(e))return i(e)?s(e):e.length;var t=r(e);return"[object Map]"==t||"[object Set]"==t?e.size:n(e).length}}),bi=e.__commonJSMin((e,t)=>{var n=Xn(),r=to(),o=ho(),i=ri(),s=Ar(),a=cr(),c=lr(),u=On(),l=kn(),d=vr();t.exports=function(e,t,f){var h=a(e),p=h||c(e)||d(e);if(t=i(t,4),null==f){var m=e&&e.constructor;f=p?h?new m:[]:l(e)&&u(m)?r(s(e)):{}}return(p?n:o)(e,function(e,n,r){return t(f,e,n,r)}),f}}),wi=e.__commonJSMin((e,t)=>{var n=En(),r=ar(),o=cr(),i=n?n.isConcatSpreadable:void 0;t.exports=function(e){return o(e)||r(e)||!!(i&&e&&e[i])}}),xi=e.__commonJSMin((e,t)=>{var n=Tr(),r=wi();t.exports=function e(t,o,i,s,a){var c=-1,u=t.length;for(i||(i=r),a||(a=[]);++c<u;){var l=t[c];o>0&&i(l)?o>1?e(l,o-1,i,s,a):n(a,l):s||(a[a.length]=l)}return a}}),Ei=e.__commonJSMin((e,t)=>{t.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}}),Si=e.__commonJSMin((e,t)=>{var n=Ei(),r=Math.max;t.exports=function(e,t,o){return t=r(void 0===t?e.length-1:t,0),function(){for(var i=arguments,s=-1,a=r(i.length-t,0),c=Array(a);++s<a;)c[s]=i[t+s];s=-1;for(var u=Array(t+1);++s<t;)u[s]=i[s];return u[t]=o(c),n(e,this,u)}}}),Mi=e.__commonJSMin((e,t)=>{var n=uo(),r=er(),o=vo(),i=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;t.exports=i}),ji=e.__commonJSMin((e,t)=>{var n=Date.now;t.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}}),ki=e.__commonJSMin((e,t)=>{var n=Mi(),r=ji()(n);t.exports=r}),Oi=e.__commonJSMin((e,t)=>{var n=vo(),r=Si(),o=ki();t.exports=function(e,t){return o(r(e,t,n),e+"")}}),Ni=e.__commonJSMin((e,t)=>{t.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}}),Ji=e.__commonJSMin((e,t)=>{t.exports=function(e){return e!=e}}),Ii=e.__commonJSMin((e,t)=>{t.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}}),Ci=e.__commonJSMin((e,t)=>{var n=Ni(),r=Ji(),o=Ii();t.exports=function(e,t,i){return t==t?o(e,t,i):n(e,r,i)}}),Pi=e.__commonJSMin((e,t)=>{var n=Ci();t.exports=function(e,t){return!(null==e||!e.length)&&n(e,t,0)>-1}}),Bi=e.__commonJSMin((e,t)=>{t.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}}),Ti=e.__commonJSMin((e,t)=>{t.exports=function(){}}),Ai=e.__commonJSMin((e,t)=>{var n=Ur(),r=Ti(),o=Oo(),i=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:r;t.exports=i}),Li=e.__commonJSMin((e,t)=>{var n=Eo(),r=Pi(),o=Bi(),i=Mo(),s=Ai(),a=Oo();t.exports=function(e,t,c){var u=-1,l=r,d=e.length,f=!0,h=[],p=h;if(c)f=!1,l=o;else if(d>=200){var m=t?null:s(e);if(m)return a(m);f=!1,l=i,p=new n}else p=t?[]:h;e:for(;++u<d;){var v=e[u],g=t?t(v):v;if(v=c||0!==v?v:0,f&&g==g){for(var _=p.length;_--;)if(p[_]===g)continue e;t&&p.push(g),h.push(v)}else l(p,g,c)||(p!==h&&p.push(g),h.push(v))}return h}}),Di=e.__commonJSMin((e,t)=>{var n=xr(),r=ir();t.exports=function(e){return r(e)&&n(e)}}),Fi=e.__commonJSMin((e,t)=>{var n=xi(),r=Oi(),o=Li(),i=Di(),s=r(function(e){return o(n(e,1,i,!0))});t.exports=s}),Ri=e.__commonJSMin((e,t)=>{var n=$o();t.exports=function(e,t){return n(t,function(t){return e[t]})}}),Vi=e.__commonJSMin((e,t)=>{var n=Ri(),r=Er();t.exports=function(e){return null==e?[]:n(e,r(e))}}),zi=e.__commonJSMin((e,t)=>{var n;if("function"==typeof require)try{n={clone:co(),constant:uo(),each:yo(),filter:oi(),has:si(),isArray:cr(),isEmpty:ai(),isFunction:On(),isUndefined:ci(),keys:Er(),map:li(),reduce:hi(),size:yi(),transform:bi(),union:Fi(),values:Vi()}}catch(r){}n||(n=window._),t.exports=n}),$i=e.__commonJSMin((e,t)=>{var n=zi();t.exports=o;var r="\0";function o(e){this._isDirected=!n.has(e,"directed")||e.directed,this._isMultigraph=!!n.has(e,"multigraph")&&e.multigraph,this._isCompound=!!n.has(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=n.constant(void 0),this._defaultEdgeLabelFn=n.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[r]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function i(e,t){e[t]?e[t]++:e[t]=1}function s(e,t){--e[t]||delete e[t]}function a(e,t,r,o){var i=""+t,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}return i+""+s+""+(n.isUndefined(o)?"\0":o)}function c(e,t){return a(e,t.v,t.w,t.name)}o.prototype._nodeCount=0,o.prototype._edgeCount=0,o.prototype.isDirected=function(){return this._isDirected},o.prototype.isMultigraph=function(){return this._isMultigraph},o.prototype.isCompound=function(){return this._isCompound},o.prototype.setGraph=function(e){return this._label=e,this},o.prototype.graph=function(){return this._label},o.prototype.setDefaultNodeLabel=function(e){return n.isFunction(e)||(e=n.constant(e)),this._defaultNodeLabelFn=e,this},o.prototype.nodeCount=function(){return this._nodeCount},o.prototype.nodes=function(){return n.keys(this._nodes)},o.prototype.sources=function(){var e=this;return n.filter(this.nodes(),function(t){return n.isEmpty(e._in[t])})},o.prototype.sinks=function(){var e=this;return n.filter(this.nodes(),function(t){return n.isEmpty(e._out[t])})},o.prototype.setNodes=function(e,t){var r=arguments,o=this;return n.each(e,function(e){r.length>1?o.setNode(e,t):o.setNode(e)}),this},o.prototype.setNode=function(e,t){return n.has(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=r,this._children[e]={},this._children[r][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)},o.prototype.node=function(e){return this._nodes[e]},o.prototype.hasNode=function(e){return n.has(this._nodes,e)},o.prototype.removeNode=function(e){var t=this;if(n.has(this._nodes,e)){var r=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],n.each(this.children(e),function(e){t.setParent(e)}),delete this._children[e]),n.each(n.keys(this._in[e]),r),delete this._in[e],delete this._preds[e],n.each(n.keys(this._out[e]),r),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},o.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(n.isUndefined(t))t=r;else{for(var o=t+="";!n.isUndefined(o);o=this.parent(o))if(o===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},o.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},o.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if(t!==r)return t}},o.prototype.children=function(e){if(n.isUndefined(e)&&(e=r),this._isCompound){var t=this._children[e];if(t)return n.keys(t)}else{if(e===r)return this.nodes();if(this.hasNode(e))return[]}},o.prototype.predecessors=function(e){var t=this._preds[e];if(t)return n.keys(t)},o.prototype.successors=function(e){var t=this._sucs[e];if(t)return n.keys(t)},o.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return n.union(t,this.successors(e))},o.prototype.isLeaf=function(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length},o.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var r=this;n.each(this._nodes,function(n,r){e(r)&&t.setNode(r,n)}),n.each(this._edgeObjs,function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,r.edge(e))});var o={};function i(e){var n=r.parent(e);return void 0===n||t.hasNode(n)?(o[e]=n,n):n in o?o[n]:i(n)}return this._isCompound&&n.each(t.nodes(),function(e){t.setParent(e,i(e))}),t},o.prototype.setDefaultEdgeLabel=function(e){return n.isFunction(e)||(e=n.constant(e)),this._defaultEdgeLabelFn=e,this},o.prototype.edgeCount=function(){return this._edgeCount},o.prototype.edges=function(){return n.values(this._edgeObjs)},o.prototype.setPath=function(e,t){var r=this,o=arguments;return n.reduce(e,function(e,n){return o.length>1?r.setEdge(e,n,t):r.setEdge(e,n),n}),this},o.prototype.setEdge=function(){var e,t,r,o,s=!1,c=arguments[0];"object"==typeof c&&null!==c&&"v"in c?(e=c.v,t=c.w,r=c.name,2===arguments.length&&(o=arguments[1],s=!0)):(e=c,t=arguments[1],r=arguments[3],arguments.length>2&&(o=arguments[2],s=!0)),e=""+e,t=""+t,n.isUndefined(r)||(r=""+r);var u=a(this._isDirected,e,t,r);if(n.has(this._edgeLabels,u))return s&&(this._edgeLabels[u]=o),this;if(!n.isUndefined(r)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[u]=s?o:this._defaultEdgeLabelFn(e,t,r);var l=function(e,t,n,r){var o=""+t,i=""+n;if(!e&&o>i){var s=o;o=i,i=s}var a={v:o,w:i};r&&(a.name=r);return a}(this._isDirected,e,t,r);return e=l.v,t=l.w,Object.freeze(l),this._edgeObjs[u]=l,i(this._preds[t],e),i(this._sucs[e],t),this._in[t][u]=l,this._out[e][u]=l,this._edgeCount++,this},o.prototype.edge=function(e,t,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):a(this._isDirected,e,t,n);return this._edgeLabels[r]},o.prototype.hasEdge=function(e,t,r){var o=1===arguments.length?c(this._isDirected,arguments[0]):a(this._isDirected,e,t,r);return n.has(this._edgeLabels,o)},o.prototype.removeEdge=function(e,t,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):a(this._isDirected,e,t,n),o=this._edgeObjs[r];return o&&(e=o.v,t=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],s(this._preds[t],e),s(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this},o.prototype.inEdges=function(e,t){var r=this._in[e];if(r){var o=n.values(r);return t?n.filter(o,function(e){return e.v===t}):o}},o.prototype.outEdges=function(e,t){var r=this._out[e];if(r){var o=n.values(r);return t?n.filter(o,function(e){return e.w===t}):o}},o.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}}),Ui=e.__commonJSMin((e,t)=>{t.exports="2.1.8"}),Gi=e.__commonJSMin((e,t)=>{t.exports={Graph:$i(),version:Ui()}}),Yi=e.__commonJSMin((e,t)=>{var n=zi(),r=$i();function o(e){return n.map(e.nodes(),function(t){var r=e.node(t),o=e.parent(t),i={v:t};return n.isUndefined(r)||(i.value=r),n.isUndefined(o)||(i.parent=o),i})}function i(e){return n.map(e.edges(),function(t){var r=e.edge(t),o={v:t.v,w:t.w};return n.isUndefined(t.name)||(o.name=t.name),n.isUndefined(r)||(o.value=r),o})}t.exports={write:function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:o(e),edges:i(e)};n.isUndefined(e.graph())||(t.value=n.clone(e.graph()));return t},read:function(e){var t=new r(e.options).setGraph(e.value);return n.each(e.nodes,function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)}),n.each(e.edges,function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)}),t}}}),qi=e.__commonJSMin((e,t)=>{var n=zi();t.exports=function(e){var t,r={},o=[];function i(o){n.has(r,o)||(r[o]=!0,t.push(o),n.each(e.successors(o),i),n.each(e.predecessors(o),i))}return n.each(e.nodes(),function(e){t=[],i(e),t.length&&o.push(t)}),o}}),Hi=e.__commonJSMin((e,t)=>{var n=zi();function r(){this._arr=[],this._keyIndices={}}t.exports=r,r.prototype.size=function(){return this._arr.length},r.prototype.keys=function(){return this._arr.map(function(e){return e.key})},r.prototype.has=function(e){return n.has(this._keyIndices,e)},r.prototype.priority=function(e){var t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority},r.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},r.prototype.add=function(e,t){var r=this._keyIndices;if(e=String(e),!n.has(r,e)){var o=this._arr,i=o.length;return r[e]=i,o.push({key:e,priority:t}),this._decrease(i),!0}return!1},r.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},r.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},r.prototype._heapify=function(e){var t=this._arr,n=2*e,r=n+1,o=e;n<t.length&&(o=t[n].priority<t[o].priority?n:o,r<t.length&&(o=t[r].priority<t[o].priority?r:o),o!==e&&(this._swap(e,o),this._heapify(o)))},r.prototype._decrease=function(e){for(var t,n=this._arr,r=n[e].priority;0!==e&&!(n[t=e>>1].priority<r);)this._swap(e,t),e=t},r.prototype._swap=function(e,t){var n=this._arr,r=this._keyIndices,o=n[e],i=n[t];n[e]=i,n[t]=o,r[i.key]=e,r[o.key]=t}}),Wi=e.__commonJSMin((e,t)=>{var n=zi(),r=Hi();t.exports=function(e,t,n,i){return function(e,t,n,o){var i,s,a={},c=new r,u=function(e){var t=e.v!==i?e.v:e.w,r=a[t],o=n(e),u=s.distance+o;if(o<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+o);u<r.distance&&(r.distance=u,r.predecessor=i,c.decrease(t,u))};e.nodes().forEach(function(e){var n=e===t?0:Number.POSITIVE_INFINITY;a[e]={distance:n},c.add(e,n)});for(;c.size()>0&&(i=c.removeMin(),(s=a[i]).distance!==Number.POSITIVE_INFINITY);)o(i).forEach(u);return a}(e,String(t),n||o,i||function(t){return e.outEdges(t)})};var o=n.constant(1)}),Ki=e.__commonJSMin((e,t)=>{var n=Wi(),r=zi();t.exports=function(e,t,o){return r.transform(e.nodes(),function(r,i){r[i]=n(e,i,t,o)},{})}}),Qi=e.__commonJSMin((e,t)=>{var n=zi();t.exports=function(e){var t=0,r=[],o={},i=[];function s(a){var c=o[a]={onStack:!0,lowlink:t,index:t++};if(r.push(a),e.successors(a).forEach(function(e){n.has(o,e)?o[e].onStack&&(c.lowlink=Math.min(c.lowlink,o[e].index)):(s(e),c.lowlink=Math.min(c.lowlink,o[e].lowlink))}),c.lowlink===c.index){var u,l=[];do{u=r.pop(),o[u].onStack=!1,l.push(u)}while(a!==u);i.push(l)}}return e.nodes().forEach(function(e){n.has(o,e)||s(e)}),i}}),Zi=e.__commonJSMin((e,t)=>{var n=zi(),r=Qi();t.exports=function(e){return n.filter(r(e),function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])})}}),Xi=e.__commonJSMin((e,t)=>{var n=zi();t.exports=function(e,t,n){return function(e,t,n){var r={},o=e.nodes();return o.forEach(function(e){r[e]={},r[e][e]={distance:0},o.forEach(function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})}),n(e).forEach(function(n){var o=n.v===e?n.w:n.v,i=t(n);r[e][o]={distance:i,predecessor:e}})}),o.forEach(function(e){var t=r[e];o.forEach(function(n){var i=r[n];o.forEach(function(n){var r=i[e],o=t[n],s=i[n],a=r.distance+o.distance;a<s.distance&&(s.distance=a,s.predecessor=o.predecessor)})})}),r}(e,t||r,n||function(t){return e.outEdges(t)})};var r=n.constant(1)}),es=e.__commonJSMin((e,t)=>{var n=zi();function r(e){var t={},r={},i=[];if(n.each(e.sinks(),function s(a){if(n.has(r,a))throw new o;n.has(t,a)||(r[a]=!0,t[a]=!0,n.each(e.predecessors(a),s),delete r[a],i.push(a))}),n.size(t)!==e.nodeCount())throw new o;return i}function o(){}t.exports=r,r.CycleException=o,o.prototype=new Error}),ts=e.__commonJSMin((e,t)=>{var n=es();t.exports=function(e){try{n(e)}catch(t){if(t instanceof n.CycleException)return!1;throw t}return!0}}),ns=e.__commonJSMin((e,t)=>{var n=zi();function r(e,t,o,i,s,a){n.has(i,t)||(i[t]=!0,o||a.push(t),n.each(s(t),function(t){r(e,t,o,i,s,a)}),o&&a.push(t))}t.exports=function(e,t,o){n.isArray(t)||(t=[t]);var i=(e.isDirected()?e.successors:e.neighbors).bind(e),s=[],a={};return n.each(t,function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);r(e,t,"post"===o,a,i,s)}),s}}),rs=e.__commonJSMin((e,t)=>{var n=ns();t.exports=function(e,t){return n(e,t,"post")}}),os=e.__commonJSMin((e,t)=>{var n=ns();t.exports=function(e,t){return n(e,t,"pre")}}),is=e.__commonJSMin((e,t)=>{var n=zi(),r=$i(),o=Hi();t.exports=function(e,t){var i,s=new r,a={},c=new o;function u(e){var n=e.v===i?e.w:e.v,r=c.priority(n);if(void 0!==r){var o=t(e);o<r&&(a[n]=i,c.decrease(n,o))}}if(0===e.nodeCount())return s;n.each(e.nodes(),function(e){c.add(e,Number.POSITIVE_INFINITY),s.setNode(e)}),c.decrease(e.nodes()[0],0);var l=!1;for(;c.size()>0;){if(i=c.removeMin(),n.has(a,i))s.setEdge(i,a[i]);else{if(l)throw new Error("Input graph is not connected: "+e);l=!0}e.nodeEdges(i).forEach(u)}return s}}),ss=e.__commonJSMin((e,t)=>{t.exports={components:qi(),dijkstra:Wi(),dijkstraAll:Ki(),findCycles:Zi(),floydWarshall:Xi(),isAcyclic:ts(),postorder:rs(),preorder:os(),prim:is(),tarjan:Qi(),topsort:es()}}),as=e.__commonJSMin((e,t)=>{var n=Gi();t.exports={Graph:n.Graph,json:Yi(),alg:ss(),version:n.version}})();function cs(){const{findNode:e}=(0,n.useVueFlow)(),r=(0,t.ref)(new as.Graph({directed:!0}));return{graph:r,layout:function(t,o,i="TB"){const s=new cn.graphlib.Graph;s.setDefaultEdgeLabel(()=>({})),s.setGraph({rankdir:i});const a="LR"===i;for(const n of t){const t=e(n.id);s.setNode(n.id,{width:t?.dimensions.width||150,height:t?.dimensions.height||50})}for(const e of o)s.setEdge(e.source,e.target);cn.layout(s);const c=new as.Graph({directed:!0});for(const e of t)c.setNode(e.id);for(const e of o)c.setEdge(e.source,e.target);return r.value=c,t.map(e=>{const t=s.node(e.id);return{...e,targetPosition:a?n.Position.Left:n.Position.Top,sourcePosition:a?n.Position.Right:n.Position.Bottom,position:{x:t.x,y:t.y}}})}}}var us={};function ls(e){if(us[e])return us[e];const n=(0,t.inject)(e,null);if(!n){console.warn(`[whitelabel-modules] Missing injected composable: ${e}. Will retry on next call.`);const n=(...n)=>{const r=(0,t.inject)(e,null);if(!r)throw new Error(`[whitelabel-modules] ${e} still not provided.`);return us[e]=r,r(...n)};return us[e]=n,n}return us[e]=n,n}var ds=()=>ls("cms-useIntegrationActionBuilder")(),fs=()=>ls("cms-useIntegrations")(),hs=()=>ls("cms-useAgencyIntegrations")(),ps=e=>ls("cms-useIntegrationActions")(e),ms=()=>ls("cms-useMediaLibrary")(),vs=()=>ls("cms-useProjectService")(),gs=e=>ls("cms-useModuleBreadcrumbs")(e),_s=()=>ls("cms-useQueryBuilder")(),ys=()=>ls("cms-useModule")(),bs=()=>ls("cms-useModulePermissions")(),ws=()=>ls("cms-useModuleRoute")(),xs=()=>ls("cms-useModuleStorage")(),Es=()=>ls("cms-useLogs")(),Ss=()=>ls("cms-useUtilsService")(),Ms=()=>ls("cms-useFormBuilder")(),js=()=>ls("cms-useFlowBuilder")(),ks=()=>ls("cms-useConfirmation")(),Os=e=>ls("cms-useFirebaseIntegration")(e),Ns=e=>ls("cms-useMailer")(e),Js=e=>ls("cms-useAI")(e),Is=()=>ls("cms-useProjectSettings")(),Cs=()=>ls("cms-useCustomDialog")(),Ps=()=>ls("cms-useModuleOverlay")(),Bs=()=>ls("cms-useModuleApi")(),Ts=e=>ls("cms-useGoogleServiceAccountIntegration")(e),As=()=>ls("cms-useOverlayParams")(),Ls=()=>ls("cms-useRoute")(),Ds=()=>ls("cms-useRouter")(),Fs=()=>ls("cms-useOverlayStack")();Object.defineProperty(exports,"ProcessStatus",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"Toaster_default",{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,"findInterpolationSegments",{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,"interpolateTemplateFromVariableContext",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"toast",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"useAI",{enumerable:!0,get:function(){return Js}}),Object.defineProperty(exports,"useAgencyIntegrations",{enumerable:!0,get:function(){return hs}}),Object.defineProperty(exports,"useConfirmation",{enumerable:!0,get:function(){return ks}}),Object.defineProperty(exports,"useCustomDialog",{enumerable:!0,get:function(){return Cs}}),Object.defineProperty(exports,"useFirebaseIntegration",{enumerable:!0,get:function(){return Os}}),Object.defineProperty(exports,"useFlowBuilder",{enumerable:!0,get:function(){return js}}),Object.defineProperty(exports,"useFormBuilder",{enumerable:!0,get:function(){return Ms}}),Object.defineProperty(exports,"useGoogleServiceAccountIntegration",{enumerable:!0,get:function(){return Ts}}),Object.defineProperty(exports,"useIntegrationActionBuilder",{enumerable:!0,get:function(){return ds}}),Object.defineProperty(exports,"useIntegrationActions",{enumerable:!0,get:function(){return ps}}),Object.defineProperty(exports,"useIntegrations",{enumerable:!0,get:function(){return fs}}),Object.defineProperty(exports,"useLayout",{enumerable:!0,get:function(){return cs}}),Object.defineProperty(exports,"useLogs",{enumerable:!0,get:function(){return Es}}),Object.defineProperty(exports,"useMailer",{enumerable:!0,get:function(){return Ns}}),Object.defineProperty(exports,"useMediaLibrary",{enumerable:!0,get:function(){return ms}}),Object.defineProperty(exports,"useModule",{enumerable:!0,get:function(){return ys}}),Object.defineProperty(exports,"useModuleApi",{enumerable:!0,get:function(){return Bs}}),Object.defineProperty(exports,"useModuleBreadcrumbs",{enumerable:!0,get:function(){return gs}}),Object.defineProperty(exports,"useModuleOverlay",{enumerable:!0,get:function(){return Ps}}),Object.defineProperty(exports,"useModulePermissions",{enumerable:!0,get:function(){return bs}}),Object.defineProperty(exports,"useModuleRoute",{enumerable:!0,get:function(){return ws}}),Object.defineProperty(exports,"useModuleStorage",{enumerable:!0,get:function(){return xs}}),Object.defineProperty(exports,"useOverlayParams",{enumerable:!0,get:function(){return As}}),Object.defineProperty(exports,"useOverlayStack",{enumerable:!0,get:function(){return Fs}}),Object.defineProperty(exports,"useProjectService",{enumerable:!0,get:function(){return vs}}),Object.defineProperty(exports,"useProjectSettings",{enumerable:!0,get:function(){return Is}}),Object.defineProperty(exports,"useQueryBuilder",{enumerable:!0,get:function(){return _s}}),Object.defineProperty(exports,"useRoute",{enumerable:!0,get:function(){return Ls}}),Object.defineProperty(exports,"useRouter",{enumerable:!0,get:function(){return Ds}}),Object.defineProperty(exports,"useRunProcess",{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,"useUtilsService",{enumerable:!0,get:function(){return Ss}});
|
package/dist/dist-CJX2bd1a.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e,t,n,o,r=Object.create,s=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e={"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}},function(){return e&&(t=(0,e[a(e)[0]])(e=0)),t}),_=(n={"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){"use strict";function n(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}u(),t.exports=function(e){if((e=e||{}).circles)return function(e){const t=[],o=[],r=new Map;if(r.set(Date,e=>new Date(e)),r.set(Map,(e,t)=>new Map(i(Array.from(e),t))),r.set(Set,(e,t)=>new Set(i(Array.from(e),t))),e.constructorHandlers)for(const n of e.constructorHandlers)r.set(n[0],n[1]);let s=null;return e.proto?l:a;function i(e,i){const a=Object.keys(e),l=new Array(a.length);for(let c=0;c<a.length;c++){const u=a[c],_=e[u];if("object"!=typeof _||null===_)l[u]=_;else if(_.constructor!==Object&&(s=r.get(_.constructor)))l[u]=s(_,i);else if(ArrayBuffer.isView(_))l[u]=n(_);else{const e=t.indexOf(_);l[u]=-1!==e?o[e]:i(_)}}return l}function a(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return i(e,a);if(e.constructor!==Object&&(s=r.get(e.constructor)))return s(e,a);const l={};t.push(e),o.push(l);for(const i in e){if(!1===Object.hasOwnProperty.call(e,i))continue;const c=e[i];if("object"!=typeof c||null===c)l[i]=c;else if(c.constructor!==Object&&(s=r.get(c.constructor)))l[i]=s(c,a);else if(ArrayBuffer.isView(c))l[i]=n(c);else{const e=t.indexOf(c);l[i]=-1!==e?o[e]:a(c)}}return t.pop(),o.pop(),l}function l(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return i(e,l);if(e.constructor!==Object&&(s=r.get(e.constructor)))return s(e,l);const a={};t.push(e),o.push(a);for(const i in e){const c=e[i];if("object"!=typeof c||null===c)a[i]=c;else if(c.constructor!==Object&&(s=r.get(c.constructor)))a[i]=s(c,l);else if(ArrayBuffer.isView(c))a[i]=n(c);else{const e=t.indexOf(c);a[i]=-1!==e?o[e]:l(c)}}return t.pop(),o.pop(),a}}(e);const t=new Map;if(t.set(Date,e=>new Date(e)),t.set(Map,(e,t)=>new Map(r(Array.from(e),t))),t.set(Set,(e,t)=>new Set(r(Array.from(e),t))),e.constructorHandlers)for(const n of e.constructorHandlers)t.set(n[0],n[1]);let o=null;return e.proto?function e(s){if("object"!=typeof s||null===s)return s;if(Array.isArray(s))return r(s,e);if(s.constructor!==Object&&(o=t.get(s.constructor)))return o(s,e);const i={};for(const r in s){const a=s[r];"object"!=typeof a||null===a?i[r]=a:a.constructor!==Object&&(o=t.get(a.constructor))?i[r]=o(a,e):ArrayBuffer.isView(a)?i[r]=n(a):i[r]=e(a)}return i}:function e(s){if("object"!=typeof s||null===s)return s;if(Array.isArray(s))return r(s,e);if(s.constructor!==Object&&(o=t.get(s.constructor)))return o(s,e);const i={};for(const r in s){if(!1===Object.hasOwnProperty.call(s,r))continue;const a=s[r];"object"!=typeof a||null===a?i[r]=a:a.constructor!==Object&&(o=t.get(a.constructor))?i[r]=o(a,e):ArrayBuffer.isView(a)?i[r]=n(a):i[r]=e(a)}return i};function r(e,r){const s=Object.keys(e),i=new Array(s.length);for(let a=0;a<s.length;a++){const l=s[a],c=e[l];"object"!=typeof c||null===c?i[l]=c:c.constructor!==Object&&(o=t.get(c.constructor))?i[l]=o(c,r):ArrayBuffer.isView(c)?i[l]=n(c):i[l]=r(c)}return i}}}},function(){return o||(0,n[a(n)[0]])((o={exports:{}}).exports,o),o.exports});u(),u(),u();var d,p="undefined"!=typeof navigator,f="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:{};void 0!==f.chrome&&f.chrome.devtools,p&&(f.self,f.top),"undefined"!=typeof navigator&&(null==(d=navigator.userAgent)||d.toLowerCase().includes("electron")),"undefined"!=typeof window&&window.__NUXT__;u();var h=((e,t,n)=>(n=null!=e?r(l(e)):{},((e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))c.call(e,r)||r===n||s(e,r,{get:()=>t[r],enumerable:!(o=i(t,r))||o.enumerable});return e})(!t&&e&&e.__esModule?n:s(n,"default",{value:e,enumerable:!0}),e)))(_(),1),g=/(?:^|[-_/])(\w)/g;function m(e,t){return t?t.toUpperCase():""}var E=(0,h.default)({circles:!0}),O={trailing:!0};function y(e,t=25,n={}){if(n={...O,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,r,s,i,a=[];const l=(t,o)=>(s=async function(e,t,n){return await e.apply(t,n)}(e,t,o),s.finally(()=>{if(s=null,n.trailing&&i&&!r){const e=l(t,i);return i=null,e}}),s);return function(...e){return s?(n.trailing&&(i=e),s):new Promise(s=>{const i=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const t=n.leading?o:l(this,e);for(const e of a)e(t);a=[]},t),i?(o=l(this,e),s(o)):a.push(s)})}}function v(e,t={},n){for(const o in e){const r=e[o],s=n?`${n}:${o}`:o;"object"==typeof r&&null!==r?v(r,t,s):"function"==typeof r&&(t[s]=r)}return t}var T={run:e=>e()},b=void 0!==console.createTask?console.createTask:()=>T;function I(e,t){const n=b(t.shift());return e.reduce((e,o)=>e.then(()=>n.run(()=>o(...t))),Promise.resolve())}function S(e,t){const n=b(t.shift());return Promise.all(e.map(e=>n.run(()=>e(...t))))}function k(e,t){for(const n of[...e])n(t)}var w=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||"function"!=typeof t)return()=>{};const o=e;let r;for(;this._deprecatedHooks[e];)r=this._deprecatedHooks[e],e=r.to;if(r&&!n.allowDeprecated){let e=r.message;e||(e=`${o} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,o=(...e)=>("function"==typeof n&&n(),n=void 0,o=void 0,t(...e));return n=this.hook(e,o),n}removeHook(e,t){if(this._hooks[e]){const n=this._hooks[e].indexOf(t);-1!==n&&this._hooks[e].splice(n,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const n=this._hooks[e]||[];delete this._hooks[e];for(const o of n)this.hook(e,o)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=v(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=v(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(I,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(S,e,...t)}callHookWith(e,t,...n){const o=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&k(this._before,o);const r=e(t in this._hooks?[...this._hooks[t]]:[],n);return r instanceof Promise?r.finally(()=>{this._after&&o&&k(this._after,o)}):(this._after&&o&&k(this._after,o),r)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}};function V(){return new w}var R,P=Object.create,A=Object.defineProperty,C=Object.getOwnPropertyDescriptor,D=Object.getOwnPropertyNames,U=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty,N=(e,t)=>function(){return t||(0,e[D(e)[0]])((t={exports:{}}).exports,t),t.exports},j=((e,t)=>function(){return e&&(t=(0,e[D(e)[0]])(e=0)),t})({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),x=N({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){"use strict";j(),function(e){var n={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"Ae","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"Oe","Ő":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"Ue","Ű":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"ae","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"oe","ő":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"ue","ű":"u","ý":"y","þ":"th","ÿ":"y","ẞ":"SS","ا":"a","أ":"a","إ":"i","آ":"aa","ؤ":"u","ئ":"e","ء":"a","ب":"b","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ي":"y","ى":"a","ة":"h","ﻻ":"la","ﻷ":"laa","ﻹ":"lai","ﻵ":"laa","گ":"g","چ":"ch","پ":"p","ژ":"zh","ک":"k","ی":"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","က":"k","ခ":"kh","ဂ":"g","ဃ":"ga","င":"ng","စ":"s","ဆ":"sa","ဇ":"z","စျ":"za","ည":"ny","ဋ":"t","ဌ":"ta","ဍ":"d","ဎ":"da","ဏ":"na","တ":"t","ထ":"ta","ဒ":"d","ဓ":"da","န":"n","ပ":"p","ဖ":"pa","ဗ":"b","ဘ":"ba","မ":"m","ယ":"y","ရ":"ya","လ":"l","ဝ":"w","သ":"th","ဟ":"h","ဠ":"la","အ":"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h","ဧ":"e","၏":"-e","ဣ":"i","ဤ":"-i","ဉ":"u","ဦ":"-u","ဩ":"aw","သြော":"aw","ဪ":"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"","č":"c","ď":"d","ě":"e","ň":"n","ř":"r","š":"s","ť":"t","ů":"u","ž":"z","Č":"C","Ď":"D","Ě":"E","Ň":"N","Ř":"R","Š":"S","Ť":"T","Ů":"U","Ž":"Z","ހ":"h","ށ":"sh","ނ":"n","ރ":"r","ބ":"b","ޅ":"lh","ކ":"k","އ":"a","ވ":"v","މ":"m","ފ":"f","ދ":"dh","ތ":"th","ލ":"l","ގ":"g","ޏ":"gn","ސ":"s","ޑ":"d","ޒ":"z","ޓ":"t","ޔ":"y","ޕ":"p","ޖ":"j","ޗ":"ch","ޘ":"tt","ޙ":"hh","ޚ":"kh","ޛ":"th","ޜ":"z","ޝ":"sh","ޞ":"s","ޟ":"d","ޠ":"t","ޡ":"z","ޢ":"a","ޣ":"gh","ޤ":"q","ޥ":"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"p","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","α":"a","β":"v","γ":"g","δ":"d","ε":"e","ζ":"z","η":"i","θ":"th","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"ks","ο":"o","π":"p","ρ":"r","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"o","ά":"a","έ":"e","ί":"i","ό":"o","ύ":"y","ή":"i","ώ":"o","ς":"s","ϊ":"i","ΰ":"y","ϋ":"y","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"I","Θ":"TH","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"KS","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"O","Ά":"A","Έ":"E","Ί":"I","Ό":"O","Ύ":"Y","Ή":"I","Ώ":"O","Ϊ":"I","Ϋ":"Y","ā":"a","ē":"e","ģ":"g","ī":"i","ķ":"k","ļ":"l","ņ":"n","ū":"u","Ā":"A","Ē":"E","Ģ":"G","Ī":"I","Ķ":"k","Ļ":"L","Ņ":"N","Ū":"U","Ќ":"Kj","ќ":"kj","Љ":"Lj","љ":"lj","Њ":"Nj","њ":"nj","Тс":"Ts","тс":"ts","ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ś":"s","ź":"z","ż":"z","Ą":"A","Ć":"C","Ę":"E","Ł":"L","Ń":"N","Ś":"S","Ź":"Z","Ż":"Z","Є":"Ye","І":"I","Ї":"Yi","Ґ":"G","є":"ye","і":"i","ї":"yi","ґ":"g","ă":"a","Ă":"A","ș":"s","Ș":"S","ț":"t","Ț":"T","ţ":"t","Ţ":"T","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ё":"yo","ж":"zh","з":"z","и":"i","й":"i","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"kh","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ё":"Yo","Ж":"Zh","З":"Z","И":"I","Й":"I","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"Kh","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","ђ":"dj","ј":"j","ћ":"c","џ":"dz","Ђ":"Dj","Ј":"j","Ћ":"C","Џ":"Dz","ľ":"l","ĺ":"l","ŕ":"r","Ľ":"L","Ĺ":"L","Ŕ":"R","ş":"s","Ş":"S","ı":"i","İ":"I","ğ":"g","Ğ":"G","ả":"a","Ả":"A","ẳ":"a","Ẳ":"A","ẩ":"a","Ẩ":"A","đ":"d","Đ":"D","ẹ":"e","Ẹ":"E","ẽ":"e","Ẽ":"E","ẻ":"e","Ẻ":"E","ế":"e","Ế":"E","ề":"e","Ề":"E","ệ":"e","Ệ":"E","ễ":"e","Ễ":"E","ể":"e","Ể":"E","ỏ":"o","ọ":"o","Ọ":"o","ố":"o","Ố":"O","ồ":"o","Ồ":"O","ổ":"o","Ổ":"O","ộ":"o","Ộ":"O","ỗ":"o","Ỗ":"O","ơ":"o","Ơ":"O","ớ":"o","Ớ":"O","ờ":"o","Ờ":"O","ợ":"o","Ợ":"O","ỡ":"o","Ỡ":"O","Ở":"o","ở":"o","ị":"i","Ị":"I","ĩ":"i","Ĩ":"I","ỉ":"i","Ỉ":"i","ủ":"u","Ủ":"U","ụ":"u","Ụ":"U","ũ":"u","Ũ":"U","ư":"u","Ư":"U","ứ":"u","Ứ":"U","ừ":"u","Ừ":"U","ự":"u","Ự":"U","ữ":"u","Ữ":"U","ử":"u","Ử":"ư","ỷ":"y","Ỷ":"y","ỳ":"y","Ỳ":"Y","ỵ":"y","Ỵ":"Y","ỹ":"y","Ỹ":"Y","ạ":"a","Ạ":"A","ấ":"a","Ấ":"A","ầ":"a","Ầ":"A","ậ":"a","Ậ":"A","ẫ":"a","Ẫ":"A","ắ":"a","Ắ":"A","ằ":"a","Ằ":"A","ặ":"a","Ặ":"A","ẵ":"a","Ẵ":"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d","ƒ":"f","™":"(TM)","©":"(C)","œ":"oe","Œ":"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o","º":"o","ª":"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY","元":"CNY","円":"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN","лв":"BGN","៛":"KHR","₡":"CRC","₸":"KZT","ден":"MKD","zł":"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],r={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},s={en:{},az:{"ç":"c","ə":"e","ğ":"g","ı":"i","ö":"o","ş":"s","ü":"u","Ç":"C","Ə":"E","Ğ":"G","İ":"I","Ö":"O","Ş":"S","Ü":"U"},cs:{"č":"c","ď":"d","ě":"e","ň":"n","ř":"r","š":"s","ť":"t","ů":"u","ž":"z","Č":"C","Ď":"D","Ě":"E","Ň":"N","Ř":"R","Š":"S","Ť":"T","Ů":"U","Ž":"Z"},fi:{"ä":"a","Ä":"A","ö":"o","Ö":"O"},hu:{"ä":"a","Ä":"A","ö":"o","Ö":"O","ü":"u","Ü":"U","ű":"u","Ű":"U"},lt:{"ą":"a","č":"c","ę":"e","ė":"e","į":"i","š":"s","ų":"u","ū":"u","ž":"z","Ą":"A","Č":"C","Ę":"E","Ė":"E","Į":"I","Š":"S","Ų":"U","Ū":"U"},lv:{"ā":"a","č":"c","ē":"e","ģ":"g","ī":"i","ķ":"k","ļ":"l","ņ":"n","š":"s","ū":"u","ž":"z","Ā":"A","Č":"C","Ē":"E","Ģ":"G","Ī":"i","Ķ":"k","Ļ":"L","Ņ":"N","Š":"S","Ū":"u","Ž":"Z"},pl:{"ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ó":"o","ś":"s","ź":"z","ż":"z","Ą":"A","Ć":"C","Ę":"e","Ł":"L","Ń":"N","Ó":"O","Ś":"S","Ź":"Z","Ż":"Z"},sv:{"ä":"a","Ä":"A","ö":"o","Ö":"O"},sk:{"ä":"a","Ä":"A"},sr:{"љ":"lj","њ":"nj","Љ":"Lj","Њ":"Nj","đ":"dj","Đ":"Dj"},tr:{"Ü":"U","Ö":"O","ü":"u","ö":"o"}},i={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},a=[";","?",":","@","&","=","+","$",",","/"].join(""),l=[";","?",":","@","&","=","+","$",","].join(""),c=[".","!","~","*","'","(",")"].join(""),u=function(e,t){var u,_,f,h,g,m,E,O,y,v,T,b,I,S,k="-",w="",V="",R=!0,P={},A="";if("string"!=typeof e)return"";if("string"==typeof t&&(k=t),E=i.en,O=s.en,"object"==typeof t)for(T in u=t.maintainCase||!1,P=t.custom&&"object"==typeof t.custom?t.custom:P,f=+t.truncate>1&&t.truncate||!1,h=t.uric||!1,g=t.uricNoSlash||!1,m=t.mark||!1,R=!1!==t.symbols&&!1!==t.lang,k=t.separator||k,h&&(A+=a),g&&(A+=l),m&&(A+=c),E=t.lang&&i[t.lang]&&R?i[t.lang]:R?i.en:{},O=t.lang&&s[t.lang]?s[t.lang]:!1===t.lang||!0===t.lang?{}:s.en,t.titleCase&&"number"==typeof t.titleCase.length&&Array.prototype.toString.call(t.titleCase)?(t.titleCase.forEach(function(e){P[e+""]=e+""}),_=!0):_=!!t.titleCase,t.custom&&"number"==typeof t.custom.length&&Array.prototype.toString.call(t.custom)&&t.custom.forEach(function(e){P[e+""]=e+""}),Object.keys(P).forEach(function(t){var n;n=t.length>1?new RegExp("\\b"+d(t)+"\\b","gi"):new RegExp(d(t),"gi"),e=e.replace(n,P[t])}),P)A+=T;for(A=d(A+=k),I=!1,S=!1,v=0,b=(e=e.replace(/(^\s+|\s+$)/g,"")).length;v<b;v++)T=e[v],p(T,P)?I=!1:O[T]?(T=I&&O[T].match(/[A-Za-z0-9]/)?" "+O[T]:O[T],I=!1):T in n?(v+1<b&&o.indexOf(e[v+1])>=0?(V+=T,T=""):!0===S?(T=r[V]+n[T],V=""):T=I&&n[T].match(/[A-Za-z0-9]/)?" "+n[T]:n[T],I=!1,S=!1):T in r?(V+=T,T="",v===b-1&&(T=r[V]),S=!0):!E[T]||h&&-1!==a.indexOf(T)||g&&-1!==l.indexOf(T)?(!0===S?(T=r[V]+T,V="",S=!1):I&&(/[A-Za-z0-9]/.test(T)||w.substr(-1).match(/A-Za-z0-9]/))&&(T=" "+T),I=!1):(T=I||w.substr(-1).match(/[A-Za-z0-9]/)?k+E[T]:E[T],T+=void 0!==e[v+1]&&e[v+1].match(/[A-Za-z0-9]/)?k:"",I=!0),w+=T.replace(new RegExp("[^\\w\\s"+A+"_-]","g"),k);return _&&(w=w.replace(/(\w)(\S*)/g,function(e,t,n){var o=t.toUpperCase()+(null!==n?n:"");return Object.keys(P).indexOf(o.toLowerCase())<0?o:o.toLowerCase()})),w=w.replace(/\s+/g,k).replace(new RegExp("\\"+k+"+","g"),k).replace(new RegExp("(^\\"+k+"+|\\"+k+"+$)","g"),""),f&&w.length>f&&(y=w.charAt(f)===k,w=w.slice(0,f),y||(w=w.slice(0,w.lastIndexOf(k)))),u||_||(w=w.toLowerCase()),w},_=function(e){return function(t){return u(t,e)}},d=function(e){return e.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},p=function(e,t){for(var n in t)if(t[n]===e)return!0};if(void 0!==t&&t.exports)t.exports=u,t.exports.createSlug=_;else if("undefined"!=typeof define&&define.amd)define([],function(){return u});else try{if(e.getSlug||e.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";e.getSlug=u,e.createSlug=_}catch(f){}}(e)}}),M=N({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){"use strict";j(),t.exports=x()}});function H(e){const t=e.__file;if(t)return(n=function(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const o=n.lastIndexOf("/"),r=n.substring(o+1);if(t){const e=r.lastIndexOf(t);return r.substring(0,e)}return""}(t,".vue"))&&`${n}`.replace(g,m);var n}function K(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function z(e){return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__?e.__VUE_DEVTOOLS_NEXT_APP_RECORD__:e.root?e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__:void 0}function B(e){var t,n;const o=null==(t=e.subTree)?void 0:t.type,r=z(e);return!!r&&(null==(n=null==r?void 0:r.types)?void 0:n.Fragment)===o}function G(e){var t,n,o;const r=function(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return"index"===n&&(null==(t=e.__file)?void 0:t.endsWith("index.vue"))?"":n}((null==e?void 0:e.type)||{});if(r)return r;if((null==e?void 0:e.root)===e)return"Root";for(const i in null==(n=null==(t=e.parent)?void 0:t.type)?void 0:n.components)if(e.parent.type.components[i]===(null==e?void 0:e.type))return K(e,i);for(const i in null==(o=e.appContext)?void 0:o.components)if(e.appContext.components[i]===(null==e?void 0:e.type))return K(e,i);const s=H((null==e?void 0:e.type)||{});return s||"Anonymous Component"}function $(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function F(e){return R||(R=document.createRange()),R.selectNode(e),R.getBoundingClientRect()}function W(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}j(),j(),j(),j(),j(),j(),j(),j();var Y={top:0,left:0,right:0,bottom:0,width:0,height:0};function q(e){const t=e.subTree.el;return"undefined"==typeof window?Y:B(e)?function(e){const t=function(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}();if(!e.children)return t;for(let n=0,o=e.children.length;n<o;n++){const o=e.children[n];let r;if(o.component)r=q(o.component);else if(o.el){const e=o.el;1===e.nodeType||e.getBoundingClientRect?r=e.getBoundingClientRect():3===e.nodeType&&e.data.trim()&&(r=F(e))}r&&W(t,r)}return t}(e.subTree):1===(null==t?void 0:t.nodeType)?null==t?void 0:t.getBoundingClientRect():e.subTree.component?q(e.subTree.component):Y}function Z(e){return B(e)?function(e){if(!e.children)return[];const t=[];return e.children.forEach(e=>{e.component?t.push(...Z(e.component)):(null==e?void 0:e.el)&&t.push(e.el)}),t}(e.subTree):e.subTree?[e.subTree.el]:[]}j();var X="__vue-devtools-component-inspector__",J="__vue-devtools-component-inspector__card__",Q="__vue-devtools-component-inspector__name__",ee="__vue-devtools-component-inspector__indicator__",te={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},ne={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},oe={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function re(){return document.getElementById(X)}function se(e){return{left:Math.round(100*e.left)/100+"px",top:Math.round(100*e.top)/100+"px",width:Math.round(100*e.width)/100+"px",height:Math.round(100*e.height)/100+"px"}}function ie(e){var t;const n=document.createElement("div");n.id=null!=(t=e.elementId)?t:X,Object.assign(n.style,{...te,...se(e.bounds),...e.style});const o=document.createElement("span");o.id=J,Object.assign(o.style,{...ne,top:e.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=Q,r.innerHTML=`<${e.name}> `;const s=document.createElement("i");return s.id=ee,s.innerHTML=`${Math.round(100*e.bounds.width)/100} x ${Math.round(100*e.bounds.height)/100}`,Object.assign(s.style,oe),o.appendChild(r),o.appendChild(s),n.appendChild(o),document.body.appendChild(n),n}function ae(e){const t=re(),n=document.getElementById(J),o=document.getElementById(Q),r=document.getElementById(ee);t&&(Object.assign(t.style,{...te,...se(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),o.innerHTML=`<${e.name}> `,r.innerHTML=`${Math.round(100*e.bounds.width)/100} x ${Math.round(100*e.bounds.height)/100}`)}function le(){const e=re();e&&(e.style.display="none")}var ce=null;function ue(e){const t=e.target;if(t){const e=t.__vueParentComponent;if(e&&(ce=e,e.vnode.el)){const t=q(e),n=G(e);re()?ae({bounds:t,name:n}):ie({bounds:t,name:n})}}}var _e,de=null;function pe(){return window.addEventListener("mouseover",ue),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),function(e,t){var n,o,r,s;e.preventDefault(),e.stopPropagation(),ce&&t(`${null!=(s=null==(r=null==(o=null==(n=ce)?void 0:n.appContext)?void 0:o.app)?void 0:r.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)?s:0}:${n===(null==n?void 0:n.root)?"root":n.uid}`)}(n,n=>{window.removeEventListener("click",t,!0),de=null,window.removeEventListener("mouseover",ue);const o=re();o&&(o.style.display="none"),e(JSON.stringify({id:n}))})}de=t,window.addEventListener("click",t,!0)})}function fe(){return new Promise(e=>{function t(){!function(){const e=f.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}(),e(f.__VUE_INSPECTOR__)}f.__VUE_INSPECTOR__?t():function(e){let t=0;const n=setInterval(()=>{f.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}(()=>{t()})})}function he(e){return function(e){return!(!e||!e.__v_isReadonly)}(e)?he(e.__v_raw):!(!e||!e.__v_isReactive)}function ge(e){return!(!e||!0!==e.__v_isRef)}function me(e){const t=e&&e.__v_raw;return t?me(t):e}j(),(_e=f).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__??(_e.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0),j(),j();var Ee=class{constructor(){this.refEditor=new Oe}set(e,t,n,o){const r=Array.isArray(t)?t:t.split(".");for(;r.length>1;){const t=r.shift();e=e instanceof Map?e.get(t):e instanceof Set?Array.from(e.values())[t]:e[t],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const s=r[0],i=this.refEditor.get(e)[s];o?o(e,s,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[s]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let o=0;o<n.length;o++)if(e=e instanceof Map?e.get(n[o]):e[n[o]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(void 0===e)return!1;const o=Array.isArray(t)?t.slice():t.split("."),r=n?2:1;for(;e&&o.length>r;){e=e[o.shift()],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return null!=e&&Object.prototype.hasOwnProperty.call(e,o[0])}createDefaultSetCallback(e){return(t,n,o)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):me(t)instanceof Map?t.delete(n):me(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const r=t[e.newKey||n];this.refEditor.isRef(r)?this.refEditor.set(r,o):me(t)instanceof Map?t.set(e.newKey||n,o):me(t)instanceof Set?t.add(o):t[e.newKey||n]=o}}}},Oe=class{set(e,t){if(ge(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t))return e.clear(),void t.forEach(t=>e.add(t));const n=Object.keys(t);if(e instanceof Map){const o=new Set(e.keys());return n.forEach(n=>{e.set(n,Reflect.get(t,n)),o.delete(n)}),void o.forEach(t=>e.delete(t))}const o=new Set(Object.keys(e));n.forEach(n=>{Reflect.set(e,n,Reflect.get(t,n)),o.delete(n)}),o.forEach(t=>Reflect.deleteProperty(e,t))}}get(e){return ge(e)?e.value:e}isRef(e){return ge(e)||he(e)}};new Ee;j(),j(),j();var ye;function ve(){if("undefined"==typeof window||!p||"undefined"==typeof localStorage||null===localStorage)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=void 0!==localStorage.getItem?localStorage.getItem("__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__"):null;return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}j(),j(),j(),(ye=f).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS??(ye.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var Te,be=new Proxy(f.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get:(e,t,n)=>Reflect.get(e,t,n)});(Te=f).__VUE_DEVTOOLS_KIT_INSPECTOR__??(Te.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var Ie,Se,ke,we,Ve,Re=new Proxy(f.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get:(e,t,n)=>Reflect.get(e,t,n)}),Pe=y(()=>{gt.hooks.callHook("sendInspectorToClient",Ae())});function Ae(){return Re.filter(e=>e.descriptor.app===je.value.app).filter(e=>"components"!==e.descriptor.id).map(e=>{var t;const n=e.descriptor,o=e.options;return{id:o.id,label:o.label,logo:n.logo,icon:`custom-ic-baseline-${null==(t=null==o?void 0:o.icon)?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function Ce(e,t){return Re.find(n=>n.options.id===e&&(!t||n.descriptor.app===t))}(Ie=f).__VUE_DEVTOOLS_KIT_APP_RECORDS__??(Ie.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]),(Se=f).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__??(Se.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={}),(ke=f).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__??(ke.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=""),(we=f).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__??(we.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]),(Ve=f).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__??(Ve.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var De,Ue="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";(De=f)[Ue]??(De[Ue]={connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:ve()});var Le=y(e=>{gt.hooks.callHook("devtoolsStateUpdated",{state:e})}),Ne=(y((e,t)=>{gt.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})}),new Proxy(f.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get:(e,t,n)=>"value"===t?f.__VUE_DEVTOOLS_KIT_APP_RECORDS__:f.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]})),je=new Proxy(f.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get:(e,t,n)=>"value"===t?f.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:"id"===t?f.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:f.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]});function xe(){Le({...f[Ue],appRecords:Ne.value,activeAppRecordId:je.id,tabs:f.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:f.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}var Me,He=new Proxy(f[Ue],{get:(e,t)=>"appRecords"===t?Ne:"activeAppRecordId"===t?je.id:"tabs"===t?f.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:"commands"===t?f.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:f[Ue][t],deleteProperty:(e,t)=>(delete e[t],!0),set:(e,t,n)=>(f[Ue],e[t]=n,f[Ue][t]=n,!0)});function Ke(e={}){var t,n,o;const{file:r,host:s,baseUrl:i=window.location.origin,line:a=0,column:l=0}=e;if(r)if("chrome-extension"===s){const e=r.replace(/\\/g,"\\\\"),o=null!=(n=null==(t=window.VUE_DEVTOOLS_CONFIG)?void 0:t.openInEditorHost)?n:"/";fetch(`${o}__open-in-editor?file=${encodeURI(r)}`).then(t=>{if(!t.ok){const t=`Opening component ${e} failed`;console.log(`%c${t}`,"color:red")}})}else if(He.vitePluginDetected){const e=null!=(o=f.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)?o:i;f.__VUE_INSPECTOR__.openInEditor(e,r,a,l)}}j(),j(),j(),j(),j(),(Me=f).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__??(Me.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var ze,Be,Ge=new Proxy(f.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get:(e,t,n)=>Reflect.get(e,t,n)});function $e(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Fe(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function We(e){var t,n,o;const r=null!=(n=null==(t=Ge.find(t=>{var n;return t[0].id===e&&!!(null==(n=t[0])?void 0:n.settings)}))?void 0:t[0])?n:null;return null!=(o=null==r?void 0:r.settings)?o:null}function Ye(e,t){var n,o,r;const s=Fe(e);if(s){const e=localStorage.getItem(s);if(e)return JSON.parse(e)}if(e){const t=null!=(o=null==(n=Ge.find(t=>t[0].id===e))?void 0:n[0])?o:null;return $e(null!=(r=null==t?void 0:t.settings)?r:{})}return $e(t)}j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j();var qe=null!=(Be=(ze=f).__VUE_DEVTOOLS_HOOK)?Be:ze.__VUE_DEVTOOLS_HOOK=V(),Ze={vueAppInit(e){qe.hook("app:init",e)},vueAppUnmount(e){qe.hook("app:unmount",e)},vueAppConnected(e){qe.hook("app:connected",e)},componentAdded:e=>qe.hook("component:added",e),componentEmit:e=>qe.hook("component:emit",e),componentUpdated:e=>qe.hook("component:updated",e),componentRemoved:e=>qe.hook("component:removed",e),setupDevtoolsPlugin(e){qe.hook("devtools-plugin:setup",e)},perfStart:e=>qe.hook("perf:start",e),perfEnd:e=>qe.hook("perf:end",e)},Xe={on:Ze,setupDevToolsPlugin:(e,t)=>qe.callHook("devtools-plugin:setup",e,t)},Je=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(He.highPerfModeEnabled)return;const n=Ae().find(e=>e.packageName===this.plugin.descriptor.packageName);if(null==n?void 0:n.id){if(e){const n=[e.appContext.app,e.uid,null==(t=e.parent)?void 0:t.uid,e];qe.callHook("component:updated",...n)}else qe.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&function(e,t){const n=Fe(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify($e(t)))}(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){He.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){He.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return He.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){He.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return Ye(null!=e?e:this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}};j(),j(),j(),j();var Qe="__vue_devtool_undefined__",et="__vue_devtool_infinity__",tt="__vue_devtool_negative_infinity__",nt="__vue_devtool_nan__";j(),j();var ot,rt={[Qe]:"undefined",[nt]:"NaN",[et]:"Infinity",[tt]:"-Infinity"};Object.entries(rt).reduce((e,[t,n])=>(e[n]=t,e),{});function st(e,t){f.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||He.highPerfModeEnabled&&!(null==t?void 0:t.inspectingComponent)||(f.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),Ge.forEach(t=>{!function(e,t){const[n,o]=e;if(n.app!==t)return;const r=new Je({plugin:{setupFn:o,descriptor:n},ctx:gt});"vuex"===n.packageName&&r.on.editInspectorState(e=>{r.sendInspectorState(e.inspectorId)}),o(r)}(t,e)}))}j(),j(),j(),j(),j(),(ot=f).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__??(ot.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set),j(),j();var it,at,lt="__VUE_DEVTOOLS_ROUTER__",ct="__VUE_DEVTOOLS_ROUTER_INFO__";(it=f).__VUE_DEVTOOLS_ROUTER_INFO__??(it.__VUE_DEVTOOLS_ROUTER_INFO__={currentRoute:null,routes:[]}),(at=f).__VUE_DEVTOOLS_ROUTER__??(at.__VUE_DEVTOOLS_ROUTER__={});var ut;new Proxy(f[ct],{get:(e,t)=>f[ct][t]}),new Proxy(f[lt],{get(e,t){if("value"===t)return f[lt]}});function _t(e){return e.map(e=>{let{path:t,name:n,children:o,meta:r}=e;return(null==o?void 0:o.length)&&(o=_t(o)),{path:t,name:n,children:o,meta:r}})}function dt(e,t){function n(){var t;const n=null==(t=e.app)?void 0:t.config.globalProperties.$router,o=function(e){if(e){const{fullPath:t,hash:n,href:o,path:r,name:s,matched:i,params:a,query:l}=e;return{fullPath:t,hash:n,href:o,path:r,name:s,params:a,query:l,matched:_t(i)}}return e}(null==n?void 0:n.currentRoute.value),r=_t(function(e){const t=new Map;return((null==e?void 0:e.getRoutes())||[]).filter(e=>!t.has(e.path)&&t.set(e.path,1))}(n)),s=console.warn;console.warn=()=>{},f[ct]={currentRoute:o?E(o):{},routes:E(r)},f[lt]=n,console.warn=s}n(),Xe.on.componentUpdated(y(()=>{var o;(null==(o=t.value)?void 0:o.app)===e.app&&(n(),He.highPerfModeEnabled||gt.hooks.callHook("routerInfoUpdated",{state:f[ct]}))},200))}j(),(ut=f).__VUE_DEVTOOLS_ENV__??(ut.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var pt,ft,ht=function(){const e=V();e.hook("addInspector",({inspector:e,plugin:t})=>{!function(e,t){var n,o;Re.push({options:e,descriptor:t,treeFilterPlaceholder:null!=(n=e.treeFilterPlaceholder)?n:"Search tree...",stateFilterPlaceholder:null!=(o=e.stateFilterPlaceholder)?o:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:z(t.app)}),Pe()}(e,t.descriptor)});const t=y(async({inspectorId:t,plugin:n})=>{var o;if(!t||!(null==(o=null==n?void 0:n.descriptor)?void 0:o.app)||He.highPerfModeEnabled)return;const r=Ce(t,n.descriptor.app),s={app:n.descriptor.app,inspectorId:t,filter:(null==r?void 0:r.treeFilter)||"",rootNodes:[]};await new Promise(t=>{e.callHookWith(async e=>{await Promise.all(e.map(e=>e(s))),t()},"getInspectorTree")}),e.callHookWith(async e=>{await Promise.all(e.map(e=>e({inspectorId:t,rootNodes:s.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=y(async({inspectorId:t,plugin:n})=>{var o;if(!t||!(null==(o=null==n?void 0:n.descriptor)?void 0:o.app)||He.highPerfModeEnabled)return;const r=Ce(t,n.descriptor.app),s={app:n.descriptor.app,inspectorId:t,nodeId:(null==r?void 0:r.selectedNodeId)||"",state:null},i={currentTab:`custom-inspector:${t}`};s.nodeId&&await new Promise(t=>{e.callHookWith(async e=>{await Promise.all(e.map(e=>e(s,i))),t()},"getInspectorState")}),e.callHookWith(async e=>{await Promise.all(e.map(e=>e({inspectorId:t,nodeId:s.nodeId,state:s.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:e,nodeId:t,plugin:n})=>{const o=Ce(e,n.descriptor.app);o&&(o.selectedNodeId=t)}),e.hook("timelineLayerAdded",({options:e,plugin:t})=>{!function(e,t){He.timelineLayersState[t.id]=!1,be.push({...e,descriptorId:t.id,appRecord:z(t.app)})}(e,t.descriptor)}),e.hook("timelineEventAdded",({options:t,plugin:n})=>{var o;He.highPerfModeEnabled||!(null==(o=He.timelineLayersState)?void 0:o[n.descriptor.id])&&!["performance","component-event","keyboard","mouse"].includes(t.layerId)||e.callHookWith(async e=>{await Promise.all(e.map(e=>e(t)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:e})=>{const t=e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!t)return null;const n=t.id.toString();return[...t.instanceMap].filter(([e])=>e.split(":")[0]===n).map(([,e])=>e)}),e.hook("getComponentBounds",async({instance:e})=>q(e)),e.hook("getComponentName",({instance:e})=>G(e)),e.hook("componentHighlight",({uid:e})=>{const t=je.value.instanceMap.get(e);t&&function(e){const t=q(e);if(!t.width&&!t.height)return;const n=G(e);re()?ae({bounds:t,name:n}):ie({bounds:t,name:n})}(t)}),e.hook("componentUnhighlight",()=>{le()}),e}();(pt=f).__VUE_DEVTOOLS_KIT_CONTEXT__??(pt.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:ht,get state(){return{...He,activeAppRecordId:je.id,activeAppRecord:je.value,appRecords:Ne.value}},api:(ft=ht,{async getInspectorTree(e){const t={...e,app:je.value.app,rootNodes:[]};return await new Promise(e=>{ft.callHookWith(async n=>{await Promise.all(n.map(e=>e(t))),e()},"getInspectorTree")}),t.rootNodes},async getInspectorState(e){const t={...e,app:je.value.app,state:null},n={currentTab:`custom-inspector:${e.inspectorId}`};return await new Promise(e=>{ft.callHookWith(async o=>{await Promise.all(o.map(e=>e(t,n))),e()},"getInspectorState")}),t.state},editInspectorState(e){const t=new Ee,n={...e,app:je.value.app,set:(n,o=e.path,r=e.state.value,s)=>{t.set(n,o,r,s||t.createDefaultSetCallback(e.state))}};ft.callHookWith(e=>{e.forEach(e=>e(n))},"editInspectorState")},sendInspectorState(e){const t=Ce(e);ft.callHook("sendInspectorState",{inspectorId:e,plugin:{descriptor:t.descriptor,setupFn:()=>({})}})},inspectComponentInspector:()=>pe(),cancelInspectComponentInspector:()=>(le(),window.removeEventListener("mouseover",ue),window.removeEventListener("click",de,!0),void(de=null)),getComponentRenderCode(e){const t=$(je.value,e);if(t)return"function"!=typeof(null==t?void 0:t.type)?t.render.toString():t.type.toString()},scrollToComponent:e=>function(e){const t=$(je.value,e.id);if(t){const[n]=Z(t);if("function"==typeof n.scrollIntoView)n.scrollIntoView({behavior:"smooth"});else{const e=q(t),n=document.createElement("div"),o={...se(e),position:"absolute"};Object.assign(n.style,o),document.body.appendChild(n),n.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(n)},2e3)}setTimeout(()=>{const n=q(t);if(n.width||n.height){const o=G(t),r=re();r?ae({...e,name:o,bounds:n}):ie({...e,name:o,bounds:n}),setTimeout(()=>{r&&(r.style.display="none")},1500)}},1200)}}({id:e}),openInEditor:Ke,getVueInspector:fe,toggleApp(e,t){const n=Ne.value.find(t=>t.id===e);var o;n&&(function(e){f.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,xe()}(e),o=n,f.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=o,xe(),dt(n,je),Pe(),st(n.app,t))},inspectDOM(e){const t=$(je.value,e);if(t){const[e]=Z(t);e&&(f.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=e)}},updatePluginSettings(e,t,n){!function(e,t,n){const o=Fe(e),r=localStorage.getItem(o),s=JSON.parse(r||"{}"),i={...s,[t]:n};localStorage.setItem(o,JSON.stringify(i)),gt.hooks.callHookWith(o=>{o.forEach(o=>o({pluginId:e,key:t,oldValue:s[t],newValue:n,settings:i}))},"setPluginSettings")}(e,t,n)},getPluginSettings:e=>({options:We(e),values:Ye(e)})})});var gt=f.__VUE_DEVTOOLS_KIT_CONTEXT__;j();var mt,Et,Ot;((e,t,n)=>{n=null!=e?P(U(e)):{},((e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of D(t))L.call(e,r)||r===n||A(e,r,{get:()=>t[r],enumerable:!(o=C(t,r))||o.enumerable})})(!t&&e&&e.__esModule?n:A(n,"default",{value:e,enumerable:!0}),e)})(M(),1),null!=(Et=(mt=f).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)||(mt.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set});j(),j(),j(),j(),j(),(Ot=f).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__??(Ot.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=function(e){var t;He.devtoolsClientDetected={...He.devtoolsClientDetected,...e},t=!Object.values(He.devtoolsClientDetected).some(Boolean),He.highPerfModeEnabled=null!=t?t:!He.highPerfModeEnabled,!t&&je.value&&st(je.value.app)}),j(),j(),j(),j(),j(),j(),j();var yt=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},vt=class{constructor(e){this.generateIdentifier=e,this.kv=new yt}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},Tt=class extends vt{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){"object"==typeof t?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};function bt(e,t){const n=function(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}(e);if("find"in n)return n.find(t);const o=n;for(let r=0;r<o.length;r++){const e=o[r];if(t(e))return e}}function It(e,t){Object.entries(e).forEach(([e,n])=>t(n,e))}function St(e,t){return-1!==e.indexOf(t)}function kt(e,t){for(let n=0;n<e.length;n++){const o=e[n];if(t(o))return o}}j(),j();var wt=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return bt(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};j(),j();var Vt=e=>void 0===e,Rt=e=>"object"==typeof e&&null!==e&&(e!==Object.prototype&&(null===Object.getPrototypeOf(e)||Object.getPrototypeOf(e)===Object.prototype)),Pt=e=>Rt(e)&&0===Object.keys(e).length,At=e=>Array.isArray(e),Ct=e=>e instanceof Map,Dt=e=>e instanceof Set,Ut=e=>"Symbol"===(e=>Object.prototype.toString.call(e).slice(8,-1))(e),Lt=e=>"number"==typeof e&&isNaN(e),Nt=e=>(e=>"boolean"==typeof e)(e)||(e=>null===e)(e)||Vt(e)||(e=>"number"==typeof e&&!isNaN(e))(e)||(e=>"string"==typeof e)(e)||Ut(e);j();var jt=e=>e.replace(/\./g,"\\."),xt=e=>e.map(String).map(jt).join("."),Mt=e=>{const t=[];let n="";for(let r=0;r<e.length;r++){let o=e.charAt(r);"\\"!==o||"."!==e.charAt(r+1)?"."!==o?n+=o:(t.push(n),n=""):(n+=".",r++)}const o=n;return t.push(o),t};function Ht(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}j();var Kt=[Ht(Vt,"undefined",()=>null,()=>{}),Ht(e=>"bigint"==typeof e,"bigint",e=>e.toString(),e=>"undefined"!=typeof BigInt?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),Ht(e=>e instanceof Date&&!isNaN(e.valueOf()),"Date",e=>e.toISOString(),e=>new Date(e)),Ht(e=>e instanceof Error,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(t=>{n[t]=e[t]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(t=>{n[t]=e[t]}),n}),Ht(e=>e instanceof RegExp,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),Ht(Dt,"set",e=>[...e.values()],e=>new Set(e)),Ht(Ct,"map",e=>[...e.entries()],e=>new Map(e)),Ht(e=>{return Lt(e)||((t=e)===1/0||t===-1/0);var t},"number",e=>Lt(e)?"NaN":e>0?"Infinity":"-Infinity",Number),Ht(e=>0===e&&1/e==-1/0,"number",()=>"-0",Number),Ht(e=>e instanceof URL,"URL",e=>e.toString(),e=>new URL(e))];function zt(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var Bt=zt((e,t)=>!!Ut(e)&&!!t.symbolRegistry.getIdentifier(e),(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const o=n.symbolRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o}),Gt=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),$t=zt(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=Gt[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function Ft(e,t){return!!(null==e?void 0:e.constructor)&&!!t.classRegistry.getIdentifier(e.constructor)}var Wt=zt(Ft,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const o={};return n.forEach(t=>{o[t]=e[t]}),o},(e,t,n)=>{const o=n.classRegistry.getValue(t[1]);if(!o)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(o.prototype),e)}),Yt=zt((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const o=n.customTransformerRegistry.findByName(t[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)}),qt=[Wt,Bt,Yt,$t],Zt=(e,t)=>{const n=kt(qt,n=>n.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const o=kt(Kt,n=>n.isApplicable(e,t));return o?{value:o.transform(e,t),type:o.annotation}:void 0},Xt={};Kt.forEach(e=>{Xt[e.annotation]=e});j();var Jt=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function Qt(e){if(St(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(St(e,"prototype"))throw new Error("prototype is not allowed as a property");if(St(e,"constructor"))throw new Error("constructor is not allowed as a property")}var en=(e,t,n)=>{if(Qt(t),0===t.length)return n(e);let o=e;for(let s=0;s<t.length-1;s++){const e=t[s];if(At(o)){o=o[+e]}else if(Rt(o))o=o[e];else if(Dt(o)){o=Jt(o,+e)}else if(Ct(o)){if(s===t.length-2)break;const n=+e,r=0===+t[++s]?"key":"value",i=Jt(o,n);switch(r){case"key":o=i;break;case"value":o=o.get(i)}}}const r=t[t.length-1];if(At(o)?o[+r]=n(o[+r]):Rt(o)&&(o[r]=n(o[r])),Dt(o)){const e=Jt(o,+r),t=n(e);e!==t&&(o.delete(e),o.add(t))}if(Ct(o)){const e=+t[t.length-2],s=Jt(o,e);switch(0===+r?"key":"value"){case"key":{const e=n(s);o.set(e,o.get(s)),e!==s&&o.delete(s);break}case"value":o.set(s,n(o.get(s)))}}return e};function tn(e,t,n=[]){if(!e)return;if(!At(e))return void It(e,(e,o)=>tn(e,t,[...n,...Mt(o)]));const[o,r]=e;r&&It(r,(e,o)=>{tn(e,t,[...n,...Mt(o)])}),t(o,n)}function nn(e,t,n){return tn(t,(t,o)=>{e=en(e,o,e=>((e,t,n)=>{if(!At(t)){const o=Xt[t];if(!o)throw new Error("Unknown transformation: "+t);return o.untransform(e,n)}switch(t[0]){case"symbol":return Bt.untransform(e,t,n);case"class":return Wt.untransform(e,t,n);case"custom":return Yt.untransform(e,t,n);case"typed-array":return $t.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}})(e,t,n))}),e}function on(e,t){function n(t,n){const o=((e,t)=>{Qt(t);for(let n=0;n<t.length;n++){const o=t[n];if(Dt(e))e=Jt(e,+o);else if(Ct(e)){const r=+o,s=0===+t[++n]?"key":"value",i=Jt(e,r);switch(s){case"key":e=i;break;case"value":e=e.get(i)}}else e=e[o]}return e})(e,Mt(n));t.map(Mt).forEach(t=>{e=en(e,t,()=>o)})}if(At(t)){const[o,r]=t;o.forEach(t=>{e=en(e,Mt(t),()=>e)}),r&&It(r,n)}else It(t,n);return e}var rn=(e,t,n,o,r=[],s=[],i=new Map)=>{var a;const l=Nt(e);if(!l){!function(e,t,n){const o=n.get(e);o?o.push(t):n.set(e,[t])}(e,r,t);const n=i.get(e);if(n)return o?{transformedValue:null}:n}if(!((e,t)=>Rt(e)||At(e)||Ct(e)||Dt(e)||Ft(e,t))(e,n)){const t=Zt(e,n),o=t?{transformedValue:t.value,annotations:[t.type]}:{transformedValue:e};return l||i.set(e,o),o}if(St(s,e))return{transformedValue:null};const c=Zt(e,n),u=null!=(a=null==c?void 0:c.value)?a:e,_=At(u)?[]:{},d={};It(u,(a,l)=>{if("__proto__"===l||"constructor"===l||"prototype"===l)throw new Error(`Detected property ${l}. This is a prototype pollution risk, please remove it from your object.`);const c=rn(a,t,n,o,[...r,l],[...s,e],i);_[l]=c.transformedValue,At(c.annotations)?d[l]=c.annotations:Rt(c.annotations)&&It(c.annotations,(e,t)=>{d[jt(l)+"."+t]=e})});const p=Pt(d)?{transformedValue:_,annotations:c?[c.type]:void 0}:{transformedValue:_,annotations:c?[c.type,d]:d};return l||i.set(e,p),p};function sn(e){return Object.prototype.toString.call(e).slice(8,-1)}function an(e){return"Array"===sn(e)}function ln(e,t={}){if(an(e))return e.map(e=>ln(e,t));if(!function(e){if("Object"!==sn(e))return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}(e))return e;return[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)].reduce((n,o)=>{if(an(t.props)&&!t.props.includes(o))return n;return function(e,t,n,o,r){const s={}.propertyIsEnumerable.call(o,t)?"enumerable":"nonenumerable";"enumerable"===s&&(e[t]=n),r&&"nonenumerable"===s&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}(n,o,ln(e[o],t),e,t.nonenumerable),n},{})}j(),j();var cn,un,_n,dn,pn,fn,hn=class{constructor({dedupe:e=!1}={}){this.classRegistry=new Tt,this.symbolRegistry=new vt(e=>{var t;return null!=(t=e.description)?t:""}),this.customTransformerRegistry=new wt,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=rn(e,t,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta={...o.meta,values:n.annotations});const r=function(e,t){const n={};let o;return e.forEach(e=>{if(e.length<=1)return;t||(e=e.map(e=>e.map(String)).sort((e,t)=>e.length-t.length));const[r,...s]=e;0===r.length?o=s.map(xt):n[xt(r)]=s.map(xt)}),o?Pt(n)?[o]:[o,n]:Pt(n)?void 0:n}(t,this.dedupe);return r&&(o.meta={...o.meta,referentialEqualities:r}),o}deserialize(e){const{json:t,meta:n}=e;let o=ln(t);return(null==n?void 0:n.values)&&(o=nn(o,n.values,this)),(null==n?void 0:n.referentialEqualities)&&(o=on(o,n.referentialEqualities)),o}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};hn.defaultInstance=new hn,hn.serialize=hn.defaultInstance.serialize.bind(hn.defaultInstance),hn.deserialize=hn.defaultInstance.deserialize.bind(hn.defaultInstance),hn.stringify=hn.defaultInstance.stringify.bind(hn.defaultInstance),hn.parse=hn.defaultInstance.parse.bind(hn.defaultInstance),hn.registerClass=hn.defaultInstance.registerClass.bind(hn.defaultInstance),hn.registerSymbol=hn.defaultInstance.registerSymbol.bind(hn.defaultInstance),hn.registerCustom=hn.defaultInstance.registerCustom.bind(hn.defaultInstance),hn.allowErrorProps=hn.defaultInstance.allowErrorProps.bind(hn.defaultInstance),hn.serialize,hn.deserialize,hn.stringify,hn.parse,hn.registerClass,hn.registerCustom,hn.registerSymbol,hn.allowErrorProps,j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),j(),(cn=f).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__??(cn.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]),(un=f).__VUE_DEVTOOLS_KIT_RPC_CLIENT__??(un.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null),(_n=f).__VUE_DEVTOOLS_KIT_RPC_SERVER__??(_n.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null),(dn=f).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__??(dn.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null),(pn=f).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__??(pn.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null),(fn=f).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__??(fn.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null),j(),j(),j(),j(),j(),j(),j(),exports.setupDevtoolsPlugin=function(e,t){return Xe.setupDevToolsPlugin(e,t)};
|