@zenuml/core 2.0.36 → 2.0.37

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/zenuml.js CHANGED
@@ -1,25 +1,18 @@
1
1
  (function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode('.tooltip[data-v-70836592]{cursor:pointer;position:relative;display:block;width:100%;text-align:center;z-index:10}.tooltip span[data-v-70836592]{border-bottom:1px dotted}.tooltip[data-v-70836592]:after{display:none;content:attr(data-tooltip);background:#e8e9e9;max-width:500px;width:200px;position:absolute;left:-200px;right:0;margin:auto;opacity:0;height:auto;font-size:14px;padding:10px;border-radius:4px;color:#111;text-align:left}.tooltip.bottom[data-v-70836592]:after{top:80%;transition:opacity .3s ease .3s,top .3s cubic-bezier(.175,.885,.32,1.275) .3s}.tooltip.bottom[data-v-70836592]:hover:after{display:block;top:130%;opacity:1}.lifeline .line[data-v-4798b9e7]{background-size:1px 20px}.interaction{border:dashed transparent;border-width:0 7px}.interaction:hover{cursor:pointer}.message{position:relative}.message>.name{text-align:center}.interaction.right-to-left>.occurrence{left:-14px}.interaction.self>.occurrence{left:-8px;margin-top:-10px}.fragment{border-width:1px;margin:8px 0 0;padding-bottom:10px}.sequence-diagram *{box-sizing:inherit}.sequence-diagram{line-height:normal}.participant{border-width:2px;padding:8px 4px;min-width:88px;max-width:250px;text-align:center}.no-fill svg.arrow polyline[data-v-ca07199a]{fill:none!important}.async>.message>.point>svg.arrow>polyline[data-v-ca07199a]{fill:none}.right-to-left.point[data-v-ca07199a]{left:0;right:auto}.right-to-left.point>svg>polyline.right[data-v-ca07199a]{display:none}.right-to-left.point>svg>polyline.left[data-v-ca07199a]{display:inline}.point>svg>polyline.left[data-v-ca07199a]{display:none}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--color-bg-base: #fff;--color-text-base: #000;--color-text-secondary: #333;--color-border-base: #000}.theme-default{--color-text-base: #222;--color-border-base: #666;--color-message-arrow: #000;--color-bg-occurrence: #dedede}.theme-mermaid{--color-bg-base: #fff;--color-text-base: #222;--color-border-base: #666;--color-bg-occurrence: #dedede}.theme-mermaid .footer{visibility:hidden}.theme-darcula{--color-bg-canvas: #ffffff;--color-bg-frame: #2b2b2b;--color-border-frame: #cccccc;--color-bg-title: #2b2b2b;--color-text-title: #f8f8f2;--color-bg-participant: #44475a;--color-text-participant: #f8f8f2;--color-border-participant: #cccccc;--color-text-message: #ffb86c;--color-message-arrow: #cccccc;--color-bg-message-hover: #a6d2ff;--color-text-message-hover: #174ad4;--color-text-comment: #666666;--color-bg-fragment-header: #44475a;--color-text-fragment: #8be9fd;--color-border-fragment: #cccccc;--color-bg-occurrence: #44475a;--color-border-occurrence: #555555;--color-text-link: #a6d2ff;--color-text-control: #e2ba88}.theme-sky{--color-bg-canvas: #ffffff;--color-bg-frame: #ffffff;--color-border-frame: #cccccc;--color-bg-title: #deecfb;--color-text-title: #032c72;--color-bg-participant: #deecfb;--color-text-participant: #032c72;--color-border-participant: #032c72;--color-text-message: #032c72;--color-message-arrow: #032c72;--color-bg-message-hover: #a6d2ff;--color-text-message-hover: #174ad4;--color-text-comment: #666666;--color-bg-fragment-header: #f0f0f0;--color-text-fragment: #032c72;--color-border-fragment: #032c72;--color-bg-occurrence: #deecfb;--color-border-occurrence: #555555;--color-text-link: #a6d2ff;--color-text-control: #a6d2ff}.theme-idle-afternoon{--color-bg-canvas: #d8dad9;--color-bg-frame: #d8dad9;--color-border-frame: #324939;--color-bg-title: #d8dad9;--color-text-title: #182e27;--color-bg-participant: #f3f5f7;--color-text-participant: #182e27;--color-border-participant: #182e27;--color-text-message: #030809;--color-message-arrow: #324939;--color-bg-message-hover: #aea690;--color-text-message-hover: #000000;--color-text-comment: #030809;--color-bg-fragment-header: #f0f0f0;--color-text-fragment: #182e27;--color-border-fragment: #344337;--color-bg-occurrence: #f3f5f7;--color-border-occurrence: #344337;--color-text-link: #344337;--color-text-control: #97a49b}.theme-coles{--color-bg-canvas: #ffffff;--color-bg-frame: #ffde00;--color-border-frame: #ee141f;--color-bg-title: #ffffff;--color-text-title: #182e27;--color-bg-participant: #f3f5f7;--color-text-participant: #000000;--color-border-participant: #344337;--color-text-message: #000000;--color-message-arrow: #000000;--color-bg-message-hover: #ee141f;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: #ee141f;--color-text-fragment: #ffffff;--color-border-fragment: #ee141f;--color-bg-occurrence: #f3f5f7;--color-border-occurrence: #344337;--color-text-link: #344337;--color-text-control: #97a49b}.theme-coles .footer{background-color:#fff}.theme-woolworths{--color-bg-canvas: #e6eaf3;--color-bg-frame: #e6eaf3;--color-border-frame: #049e50;--color-bg-title: #ffffff;--color-text-title: #12522f;--color-bg-participant: #aacb51;--color-text-participant: #000000;--color-border-participant: #344337;--color-text-message: #12522f;--color-message-arrow: #049e50;--color-bg-message-hover: #fffefb;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: #aacb51;--color-text-fragment: #12522f;--color-border-fragment: #049e50;--color-bg-occurrence: #aacb51;--color-border-occurrence: #344337;--color-text-link: #344337;--color-text-control: #335c80}.theme-anz{--color-bg-canvas: #ffffff;--color-bg-frame: #ffffff;--color-border-frame: #089fd8;--color-bg-title: #ffffff;--color-text-title: #006e9c;--color-bg-participant: #fcfdf8;--color-text-participant: #00abd8;--color-border-participant: #00abd8;--color-text-message: #42a4e0;--color-message-arrow: #089fd8;--color-bg-message-hover: #006e9c;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: #42a4e0;--color-text-fragment: #006e9c;--color-border-fragment: #089fd8;--color-bg-occurrence: #fcfdf8;--color-border-occurrence: #006e9c;--color-text-link: #c9d8e7;--color-text-control: #335c80}.theme-anz .fragment .header{color:#fff}.theme-nab{--color-bg-canvas: #f2f4f6;--color-bg-participant: #c30000;--color-text-participant: #ffffff;--color-border-participant: #c30000;--color-text-message: #c30000;--color-bg-fragment-header: #c30000;--color-text-fragment-header: #ffffff}.theme-google{--color-white: #ffffff;--color-red-google: #db4437;--color-blue-google: #4285f4;--color-green-google: #0f9d58;--color-yellow-google: #f4b400;--color-bg-canvas: var(--color-white);--color-bg-frame: #f2f4f6;--color-border-frame: #4285f4;--color-bg-title: #4285f4;--color-text-title: #ffffff;--color-bg-participant: var(--color-red-google);--color-text-participant: #ffffff;--color-border-participant: #4285f4;--color-text-message: var(--color-red-google);--color-message-arrow: var(--color-red-google);--color-bg-message-hover: #fffefb;--color-text-message-hover: #ffffff;--color-text-comment: #000000;--color-bg-fragment-header: var(--color-green-google);--color-text-fragment: #ffffff;--color-border-fragment: #4285f4;--color-bg-occurrence: #f4b400;--color-border-occurrence: #4285f4;--color-text-link: #c9d8e7;--color-text-control: #335c80}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.zenuml .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.zenuml .pointer-events-none{pointer-events:none}.zenuml .pointer-events-auto{pointer-events:auto}.zenuml .invisible{visibility:hidden}.zenuml .fixed{position:fixed}.zenuml .absolute{position:absolute}.zenuml .relative{position:relative}.zenuml .inset-0{top:0px;right:0px;bottom:0px;left:0px}.zenuml .bottom-1{bottom:.25rem}.zenuml .left-1{left:.25rem}.zenuml .right-1{right:.25rem}.zenuml .left-1\\/2{left:50%}.zenuml .right-0{right:0px}.zenuml .left-full{left:100%}.zenuml .z-40{z-index:40}.zenuml .z-10{z-index:10}.zenuml .col-span-2{grid-column:span 2 / span 2}.zenuml .col-span-1{grid-column:span 1 / span 1}.zenuml .col-span-4{grid-column:span 4 / span 4}.zenuml .float-right{float:right}.zenuml .m-1{margin:.25rem}.zenuml .m-2{margin:.5rem}.zenuml .m-auto{margin:auto}.zenuml .mx-auto{margin-left:auto;margin-right:auto}.zenuml .mx-2{margin-left:.5rem;margin-right:.5rem}.zenuml .-my-px{margin-top:-1px;margin-bottom:-1px}.zenuml .ml-4{margin-left:1rem}.zenuml .mt-3{margin-top:.75rem}.zenuml .mt-4{margin-top:1rem}.zenuml .mb-4{margin-bottom:1rem}.zenuml .mt-8{margin-top:2rem}.zenuml .-mt-12{margin-top:-3rem}.zenuml .mt-1{margin-top:.25rem}.zenuml .mt-2{margin-top:.5rem}.zenuml .box-border{box-sizing:border-box}.zenuml .block{display:block}.zenuml .inline-block{display:inline-block}.zenuml .inline{display:inline}.zenuml .flex{display:flex}.zenuml .inline-flex{display:inline-flex}.zenuml .table{display:table}.zenuml .grid{display:grid}.zenuml .contents{display:contents}.zenuml .hidden{display:none}.zenuml .h-10{height:2.5rem}.zenuml .h-5{height:1.25rem}.zenuml .h-0{height:0px}.zenuml .h-screen{height:100vh}.zenuml .h-full{height:100%}.zenuml .h-4{height:1rem}.zenuml .h-6{height:1.5rem}.zenuml .h-12{height:3rem}.zenuml .h-8{height:2rem}.zenuml .h-14{height:3.5rem}.zenuml .h-3{height:.75rem}.zenuml .min-h-screen{min-height:100vh}.zenuml .w-full{width:100%}.zenuml .w-96{width:24rem}.zenuml .w-28{width:7rem}.zenuml .w-4{width:1rem}.zenuml .w-6{width:1.5rem}.zenuml .w-8{width:2rem}.zenuml .w-11\\/12{width:91.666667%}.zenuml .w-px{width:1px}.zenuml .w-3{width:.75rem}.zenuml .min-w-\\[100px\\]{min-width:100px}.zenuml .max-w-full{max-width:100%}.zenuml .max-w-7xl{max-width:80rem}.zenuml .flex-shrink-0,.zenuml .shrink-0{flex-shrink:0}.zenuml .flex-grow,.zenuml .grow{flex-grow:1}.zenuml .origin-top-left{transform-origin:top left}.zenuml .-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-y-8{--tw-translate-y: -2rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .translate-y-1\\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.zenuml .resize{resize:both}.zenuml .grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.zenuml .grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.zenuml .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.zenuml .flex-row-reverse{flex-direction:row-reverse}.zenuml .flex-col{flex-direction:column}.zenuml .flex-nowrap{flex-wrap:nowrap}.zenuml .items-start{align-items:flex-start}.zenuml .items-end{align-items:flex-end}.zenuml .items-center{align-items:center}.zenuml .justify-center{justify-content:center}.zenuml .justify-between{justify-content:space-between}.zenuml .justify-around{justify-content:space-around}.zenuml .gap-5{gap:1.25rem}.zenuml .overflow-hidden{overflow:hidden}.zenuml .overflow-visible{overflow:visible}.zenuml .overflow-y-auto{overflow-y:auto}.zenuml .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zenuml .whitespace-normal{white-space:normal}.zenuml .whitespace-nowrap{white-space:nowrap}.zenuml .rounded{border-radius:.25rem}.zenuml .rounded-sm{border-radius:.125rem}.zenuml .rounded-md{border-radius:.375rem}.zenuml .rounded-lg{border-radius:.5rem}.zenuml .rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.zenuml .rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.zenuml .rounded-b-md{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.zenuml .border-2{border-width:2px}.zenuml .border{border-width:1px}.zenuml .border-b-2{border-bottom-width:2px}.zenuml .border-b{border-bottom-width:1px}.zenuml .border-t{border-top-width:1px}.zenuml .border-r{border-right-width:1px}.zenuml .border-solid{border-style:solid}.zenuml .border-dashed{border-style:dashed}.zenuml .border-red-900{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}.zenuml .border-skin-frame{border-color:var(--color-border-frame, var(--color-border-base, #000))}.zenuml .border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.zenuml .border-skin-participant{border-color:var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .border-transparent{border-color:transparent}.zenuml .border-skin-fragment{border-color:var(--color-border-fragment, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .border-skin-message-arrow{border-color:var(--color-message-arrow, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .border-skin-occurrence{border-color:var(--color-border-occurrence, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.zenuml .bg-skin-canvas{background-color:var(--color-bg-canvas, var(--color-bg-base, #fff))}.zenuml .bg-skin-frame{background-color:var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff)))}.zenuml .bg-skin-title{background-color:var(--color-bg-title, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff))))}.zenuml .bg-skin-base{background-color:var(--color-bg-base)}.zenuml .bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.zenuml .bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.zenuml .bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.zenuml .bg-skin-lifeline{background-color:var(--color-border-participant, var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000))))}.zenuml .bg-skin-participant{background-color:var(--color-bg-participant, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff))))}.zenuml .bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.zenuml .bg-skin-divider{background-color:var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .bg-skin-fragment-header{background-color:var(--color-bg-fragment-header, transparent)}.zenuml .bg-skin-occurrence{background-color:var(--color-bg-occurrence, var(--color-bg-participant, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff)))))}.zenuml .bg-opacity-75{--tw-bg-opacity: .75}.zenuml .fill-current{fill:currentColor}.zenuml .fill-none{fill:none}.zenuml .stroke-current{stroke:currentColor}.zenuml .stroke-2{stroke-width:2}.zenuml .object-contain{object-fit:contain}.zenuml .p-1{padding:.25rem}.zenuml .p-2{padding:.5rem}.zenuml .p-0{padding:0}.zenuml .px-1{padding-left:.25rem;padding-right:.25rem}.zenuml .px-3{padding-left:.75rem;padding-right:.75rem}.zenuml .py-1{padding-top:.25rem;padding-bottom:.25rem}.zenuml .px-2{padding-left:.5rem;padding-right:.5rem}.zenuml .py-2{padding-top:.5rem;padding-bottom:.5rem}.zenuml .px-4{padding-left:1rem;padding-right:1rem}.zenuml .py-5{padding-top:1.25rem;padding-bottom:1.25rem}.zenuml .px-px{padding-left:1px;padding-right:1px}.zenuml .pb-8{padding-bottom:2rem}.zenuml .pt-8{padding-top:2rem}.zenuml .pt-4{padding-top:1rem}.zenuml .pb-20{padding-bottom:5rem}.zenuml .pb-4{padding-bottom:1rem}.zenuml .pb-32{padding-bottom:8rem}.zenuml .pb-2{padding-bottom:.5rem}.zenuml .pr-24{padding-right:6rem}.zenuml .pt-24{padding-top:6rem}.zenuml .pb-10{padding-bottom:2.5rem}.zenuml .text-left{text-align:left}.zenuml .text-center{text-align:center}.zenuml .align-bottom{vertical-align:bottom}.zenuml .text-xs{font-size:.75rem;line-height:1rem}.zenuml .text-sm{font-size:.875rem;line-height:1.25rem}.zenuml .text-base{font-size:1rem;line-height:1.5rem}.zenuml .text-xl{font-size:1.25rem;line-height:1.75rem}.zenuml .text-lg{font-size:1.125rem;line-height:1.75rem}.zenuml .font-bold{font-weight:700}.zenuml .font-semibold{font-weight:600}.zenuml .font-medium{font-weight:500}.zenuml .italic{font-style:italic}.zenuml .leading-6{line-height:1.5rem}.zenuml .leading-4{line-height:1rem}.zenuml .text-skin-title{color:var(--color-text-title, var(--color-text-message, var(--color-text-base, #000)))}.zenuml .text-skin-control{color:var(--color-text-control, var(--color-text-secondary, var(--color-text-base, #000)))}.zenuml .text-skin-link{color:var(--color-text-link, var(--color-text-secondary, var(--color-text-base, #000)))}.zenuml .text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.zenuml .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.zenuml .text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.zenuml .text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.zenuml .text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.zenuml .text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.zenuml .text-skin-participant{color:var(--color-text-participant, var(--color-text-message, var(--color-text-base, #000)))}.zenuml .text-skin-base{color:var(--color-text-base)}.zenuml .text-skin-message{color:var(--color-text-message, var(--color-text-base, #000))}.zenuml .text-skin-comment{color:var(--color-text-comment, var(--color-text-secondary, var(--color-text-base, #000)))}.zenuml .text-skin-fragment-header{color:var(--color-text-fragment-header, var(--color-text-message, #000))}.zenuml .text-skin-fragment{color:var(--color-text-fragment, var(--color-text-message, #000))}.zenuml .text-skin-message-arrow{color:var(--color-message-arrow, var(--color-border-frame, var(--color-border-base, #000)))}.zenuml .opacity-50{opacity:.5}.zenuml .shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.zenuml .shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.zenuml .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.zenuml .shadow-slate-500\\/50{--tw-shadow-color: rgb(100 116 139 / .5);--tw-shadow: var(--tw-shadow-colored)}.zenuml .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.zenuml .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.zenuml .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.zenuml .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.zenuml .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.zenuml .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.zenuml .hover\\:whitespace-normal:hover{white-space:normal}.zenuml .hover\\:bg-yellow-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.zenuml .hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.zenuml .hover\\:bg-skin-message-hover:hover{background-color:var(--color-bg-message-hover, var(--color-text-base, #000))}.zenuml .hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.zenuml .hover\\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.zenuml .hover\\:text-skin-message-hover:hover{color:var(--color-text-message-hover, var(--color-bg-base, #fff))}.zenuml .hover\\:opacity-100:hover{opacity:1}.zenuml .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.zenuml .focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.zenuml .focus\\:ring-inset:focus{--tw-ring-inset: inset}.zenuml .focus\\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.zenuml .group:hover .group-hover\\:flex{display:flex}@media (min-width: 640px){.zenuml .sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.zenuml .sm\\:block{display:block}.zenuml .sm\\:inline-block{display:inline-block}.zenuml .sm\\:h-screen{height:100vh}.zenuml .sm\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.zenuml .sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.zenuml .sm\\:gap-6{gap:1.5rem}.zenuml .sm\\:p-2{padding:.5rem}.zenuml .sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.zenuml .sm\\:align-middle{vertical-align:middle}}@media (min-width: 1024px){.zenuml .lg\\:mx-auto{margin-left:auto;margin-right:auto}.zenuml .lg\\:mx-0{margin-left:0;margin-right:0}.zenuml .lg\\:max-w-none{max-width:none}.zenuml .lg\\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.zenuml .lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.zenuml .lg\\:px-8{padding-left:2rem;padding-right:2rem}}.zenuml .\\[\\&\\>svg\\]\\:h-full>svg{height:100%}.zenuml .\\[\\&\\>svg\\]\\:w-full>svg{width:100%}.zenuml{font-family:Helvetica,Verdana,serif;font-size:16px}.zenuml .frame .sequence-diagram .comments code{background-color:#f9f2f4;padding:2px;margin:1px 0;border-radius:2px}.zenuml .frame .sequence-diagram .comments .rest-api .http-method-post{color:#0d4b3b}.zenuml .frame .sequence-diagram .comments .rest-api .http-method-get{color:#2f3d89}.zenuml .frame .sequence-diagram .comments .rest-api .http-method-delete{color:#7e1e23}.zenuml .frame .sequence-diagram .comments ol,.zenuml .frame .sequence-diagram .comments ul{margin:0;padding-left:20px}.zenuml .frame .sequence-diagram .comments ul li{list-style-type:none}.zenuml .frame .sequence-diagram .comments ul li input[type=checkbox]{margin-left:-1em}.zenuml .frame .sequence-diagram .comments table{border-collapse:collapse;border-spacing:0;empty-cells:show;border-color:#cbcbcb}.zenuml .frame .sequence-diagram .comments table td,.zenuml .frame .sequence-diagram .comments table th{padding:.5em}.zenuml .frame .sequence-diagram .comments table thead{background-color:#e0e0e0}.zenuml .frame .sequence-diagram .comments table td{background-color:transparent}.theme-blue .sequence-diagram .divider .name{border-radius:4px;border:1px solid #e28553;color:#e28553}.theme-blue .sequence-diagram .divider .left,.theme-blue .sequence-diagram .divider .right{background:#e28553}.theme-blue .sequence-diagram .lifeline .participant{border-color:#032c72;background:rgba(146,192,240,.3)}.theme-blue .sequence-diagram .lifeline .participant label{color:#032c72}.theme-blue .sequence-diagram .lifeline .line{border-left-color:#032c72}.theme-blue .sequence-diagram .message{border-bottom-color:#032c72}.theme-blue .sequence-diagram .message .name{color:#032c72}.theme-blue .sequence-diagram .message svg polyline{stroke:#032c72}.theme-blue .sequence-diagram .message svg polyline.head{fill:#032c72}.theme-blue .sequence-diagram .occurrence{border-color:#032c72;background-color:#fff}.theme-blue .sequence-diagram .fragment{border-radius:4px;border-color:#042e6e4d}.theme-blue .sequence-diagram .fragment .header .name{background:rgba(4,46,110,.1)}.theme-blue .sequence-diagram .fragment .header label{color:#032c72}.theme-black-white .sequence-diagram .divider .name{border-radius:0;border-color:#000;box-shadow:2px 2px #000}.theme-black-white .sequence-diagram .divider .left,.theme-black-white .sequence-diagram .divider .right{background:#000}.theme-black-white .sequence-diagram .lifeline .participant{border-color:#000;background:#fff;box-shadow:2px 2px #000}.theme-black-white .sequence-diagram .lifeline .line{border-left-color:#0006}.theme-black-white .sequence-diagram .message{border-bottom-color:#000}.theme-black-white .sequence-diagram .message .name{color:#000}.theme-black-white .sequence-diagram .message svg polyline{stroke:#000}.theme-black-white .sequence-diagram .message svg polyline.head{fill:#000}.theme-black-white .sequence-diagram .occurrence{border-color:#000;background-color:#f5f5f5}.theme-black-white .sequence-diagram .fragment{border-color:#0000004d}.theme-black-white .sequence-diagram .fragment .header .name{background:rgba(0,0,0,.07)}.theme-star-uml .sequence-diagram .lifeline .participant{border-color:#b94065;background-color:#fffec8}.theme-star-uml .sequence-diagram .lifeline .line{border-left-color:#b94065}.theme-star-uml .sequence-diagram .message{border-bottom-color:#b94065}.theme-star-uml .sequence-diagram .message svg polyline{stroke:#b94065}.theme-star-uml .sequence-diagram .message svg polyline.head{fill:#b94065}.theme-star-uml .sequence-diagram .occurrence{background-color:#fffec8;border-color:#b94065}.blue-river .sequence-diagram{color:#5452f6}.blue-river .sequence-diagram .life-line-layer .lifeline.actor .participant:before{filter:invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%)}.blue-river .sequence-diagram .life-line-layer .participant{background:#2097f7;box-shadow:4px 4px #83c4f8;border-radius:9px;color:#fff}.blue-river .sequence-diagram .life-line-layer .participant .interface{font-size:.8em}.blue-river .sequence-diagram .life-line-layer .line{border-left-color:#2097f7}.blue-river .sequence-diagram .message-layer .message{border-bottom-color:#2097f7}.blue-river .sequence-diagram .message-layer .message svg.arrow polyline{stroke:#2097f7;fill:#2097f7}.blue-river .sequence-diagram .message-layer .message.self svg.arrow polyline{fill:none}.blue-river .sequence-diagram .message-layer .message.self svg.arrow polyline.head{fill:#2097f7}.blue-river .sequence-diagram .message-layer .occurrence{background:#e5fde8;border-color:#65bf73;box-shadow:4px 4px #93c69b}.blue-river .sequence-diagram .message-layer .fragment{border-color:#2097f7}.blue-river .sequence-diagram .message-layer .fragment .header .name label{display:inline-block;min-width:50px;background:#5452f6;color:#fff;padding:2px 0 2px 10px}.blue-river .sequence-diagram .message-layer .fragment .header .name:after{content:"SO";display:inline-block;background:#5452f6;margin-left:-23px;width:34px;transform:translateY(-2px);height:22px;-webkit-clip-path:polygon(66% 0,100% 0,100% 66%,66% 100%);clip-path:polygon(66% 0,100% 0,100% 66%,66% 100%)}.blue-river .sequence-diagram .message-layer .fragment .header>label{display:inline-block;min-width:50px;font-weight:700;color:#fff;background:#65bf73}.blue-river .sequence-diagram .message-layer .fragment .comments{border-color:inherit}.blue-river .sequence-diagram .message-layer .fragment .divider{border-bottom-color:inherit}:root{--background: #282a36;--hover: #2b2b2b;--occurance-border: #6e7191;--border: #585b74;--white: #f8f8f2;--current: #44475a;--comment: #6272a4;--cyan: #8be9fd;--green: #50fa7b;--orange: #ffb86c;--pink: #ff79c6;--purple: #bd93f9;--red: #ff5555;--yellow: #f1fa8c;--crayola: #a9b7c6}body .zenuml.theme-dark{background-color:var(--background)}.zenuml.theme-dark .header{color:var(--crayola);font-weight:700}.zenuml.theme-dark .sequence-diagram .lifeline-group:hover{background-color:#223049}.zenuml.theme-dark .sequence-diagram .lifeline .participant{border-color:var(--border);border-radius:2px;background:var(--background)}.zenuml.theme-dark .sequence-diagram .lifeline .participant label{color:var(--cyan)}.zenuml.theme-dark .sequence-diagram .lifeline .line{background:var(--border)}.zenuml.theme-dark .fragment>.header>.condition{color:var(--crayola);padding:6px}.zenuml.theme-dark .sequence-diagram .fragment .header label{color:var(--crayola);padding:6px}.zenuml.theme-dark .sequence-diagram .fragment .header .name{border-bottom-color:var(--border)}.zenuml.theme-dark .sequence-diagram .fragment .header .name label{color:var(--pink);font-weight:400}.zenuml.theme-dark .sequence-diagram .fragment{border-color:var(--border)}.zenuml.theme-dark .sequence-diagram .comments{border:none;background:transparent;color:var(--comment)}.zenuml.theme-dark .sequence-diagram .fragment .segment:not(:first-child){border-top-color:var(--border)}.zenuml.theme-dark .sequence-diagram .interaction{color:var(--orange)}.zenuml.theme-dark .sequence-diagram .message{border-bottom-color:var(--border)}.zenuml.theme-dark .sequence-diagram .message .name:hover{color:var(--crayola)}.zenuml.theme-dark .sequence-diagram .message svg polyline{fill:var(--border);stroke:var(--border)}.zenuml.theme-dark .sequence-diagram .message.self svg>polyline:not(.head){fill:none}.zenuml.theme-dark .sequence-diagram .occurrence{background-color:var(--current);box-shadow:0 0 0 1px var(--occurance-border);border-radius:2px}.zenuml.theme-dark .sequence-diagram .divider .left,.zenuml.theme-dark .sequence-diagram .divider .right{background:var(--border)}.zenuml.theme-dark .sequence-diagram .divider .name{color:var(--comment)}.zenuml.theme-dark .interaction .message>.name:hover{background-color:#228b22;color:#fff}p[data-v-15224042]{margin:0;line-height:1.25em}.occurrence[data-v-054f42d1]{width:15px;padding:16px 0 16px 5px}[data-v-054f42d1]>.statement-container:last-child>.interaction.return:last-of-type{margin-bottom:0;border-bottom:0;transform:translateY(1px)}[data-v-054f42d1]>.statement-container:last-child>.interaction.return:last-of-type>.message{bottom:-17px;height:0}.right-to-left.occurrence[data-v-054f42d1]{left:-14px}.occurrence{margin-top:-2px}.interaction .occurrence.source[data-v-86ce6a08]{position:absolute;height:calc(100% + 14px);left:-12px;display:none}.interaction .occurrence.source.right-to-left[data-v-86ce6a08]{left:unset;right:-13px}.message.self[data-v-25f755f6]{transform:translate(-5px)}.interaction .invisible-occurrence[data-v-4d783075]{height:20px}.interaction.async[data-v-4d783075] .message{width:100%}*[data-v-c5cae879],*[data-v-bc96f29d]{border-color:inherit}.fragment.par>.block>.statement-container:not(:first-child){border-top-color:inherit;border-top-width:1px;border-top-style:solid}*[data-v-62b3ca90],*[data-v-e9cc75db],*[data-v-107670fe]{border-color:inherit}.divider[data-v-9e567e69]{display:flex;align-items:center}.name[data-v-9e567e69]{margin:0;padding:2px 6px}.left[data-v-9e567e69],.right[data-v-9e567e69]{height:1px;flex-grow:1}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- (function(yt,rt){typeof exports=="object"&&typeof module<"u"?rt(exports):typeof define=="function"&&define.amd?define(["exports"],rt):(yt=typeof globalThis<"u"?globalThis:yt||self,rt(yt.zenuml={}))})(this,function(yt){"use strict";var rv=Object.defineProperty;var iv=(yt,rt,Nn)=>rt in yt?rv(yt,rt,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):yt[rt]=Nn;var U=(yt,rt,Nn)=>(iv(yt,typeof rt!="symbol"?rt+"":rt,Nn),Nn);var rt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nn(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}var N2=I2;function I2(n,e,t){var s=t&&t.stringify||Nn,r=1;if(typeof n=="object"&&n!==null){var i=e.length+r;if(i===1)return n;var o=new Array(i);o[0]=s(n);for(var a=1;a<i;a++)o[a]=s(e[a]);return o.join(" ")}if(typeof n!="string")return n;var l=e.length;if(l===0)return n;for(var c="",u=1-r,f=-1,p=n&&n.length||0,g=0;g<p;){if(n.charCodeAt(g)===37&&g+1<p){switch(f=f>-1?f:0,n.charCodeAt(g+1)){case 100:case 102:if(u>=l||e[u]==null)break;f<g&&(c+=n.slice(f,g)),c+=Number(e[u]),f=g+2,g++;break;case 105:if(u>=l||e[u]==null)break;f<g&&(c+=n.slice(f,g)),c+=Math.floor(Number(e[u])),f=g+2,g++;break;case 79:case 111:case 106:if(u>=l||e[u]===void 0)break;f<g&&(c+=n.slice(f,g));var T=typeof e[u];if(T==="string"){c+="'"+e[u]+"'",f=g+2,g++;break}if(T==="function"){c+=e[u].name||"<anonymous>",f=g+2,g++;break}c+=s(e[u]),f=g+2,g++;break;case 115:if(u>=l)break;f<g&&(c+=n.slice(f,g)),c+=String(e[u]),f=g+2,g++;break;case 37:f<g&&(c+=n.slice(f,g)),c+="%",f=g+2,g++,u--;break}++u}++g}return f===-1?n:(f<p&&(c+=n.slice(f)),c)}const pl=N2;var P2=Gt;const Us=j2().console||{},M2={mapHttpRequest:Ir,mapHttpResponse:Ir,wrapRequestSerializer:Lo,wrapResponseSerializer:Lo,wrapErrorSerializer:Lo,req:Ir,res:Ir,err:U2};function D2(n,e){return Array.isArray(n)?n.filter(function(s){return s!=="!stdSerializers.err"}):n===!0?Object.keys(e):!1}function Gt(n){n=n||{},n.browser=n.browser||{};const e=n.browser.transmit;if(e&&typeof e.send!="function")throw Error("pino: transmit option must have a send function");const t=n.browser.write||Us;n.browser.write&&(n.browser.asObject=!0);const s=n.serializers||{},r=D2(n.browser.serialize,s);let i=n.browser.serialize;Array.isArray(n.browser.serialize)&&n.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);const o=["error","fatal","warn","info","debug","trace"];typeof t=="function"&&(t.error=t.fatal=t.warn=t.info=t.debug=t.trace=t),(n.enabled===!1||n.browser.disabled)&&(n.level="silent");const a=n.level||"info",l=Object.create(t);l.log||(l.log=Vs),Object.defineProperty(l,"levelVal",{get:u}),Object.defineProperty(l,"level",{get:f,set:p});const c={transmit:e,serialize:r,asObject:n.browser.asObject,levels:o,timestamp:V2(n)};l.levels=Gt.levels,l.level=a,l.setMaxListeners=l.getMaxListeners=l.emit=l.addListener=l.on=l.prependListener=l.once=l.prependOnceListener=l.removeListener=l.removeAllListeners=l.listeners=l.listenerCount=l.eventNames=l.write=l.flush=Vs,l.serializers=s,l._serialize=r,l._stdErrSerialize=i,l.child=g,e&&(l._logEvent=mo());function u(){return this.level==="silent"?1/0:this.levels.values[this.level]}function f(){return this._level}function p(T){if(T!=="silent"&&!this.levels.values[T])throw Error("unknown level "+T);this._level=T,us(c,l,"error","log"),us(c,l,"fatal","error"),us(c,l,"warn","error"),us(c,l,"info","log"),us(c,l,"debug","log"),us(c,l,"trace","log")}function g(T,A){if(!T)throw new Error("missing bindings for child Pino");A=A||{},r&&T.serializers&&(A.serializers=T.serializers);const Y=A.serializers;if(r&&Y){var q=Object.assign({},s,Y),K=n.browser.serialize===!0?Object.keys(q):r;delete T.serializers,Nr([T],K,q,this._stdErrSerialize)}function se(B){this._childLevel=(B._childLevel|0)+1,this.error=hs(B,T,"error"),this.fatal=hs(B,T,"fatal"),this.warn=hs(B,T,"warn"),this.info=hs(B,T,"info"),this.debug=hs(B,T,"debug"),this.trace=hs(B,T,"trace"),q&&(this.serializers=q,this._serialize=K),e&&(this._logEvent=mo([].concat(B._logEvent.bindings,T)))}return se.prototype=this,new se(this)}return l}Gt.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},Gt.stdSerializers=M2,Gt.stdTimeFunctions=Object.assign({},{nullTime:gl,epochTime:xl,unixTime:H2,isoTime:G2});function us(n,e,t,s){const r=Object.getPrototypeOf(e);e[t]=e.levelVal>e.levels.values[t]?Vs:r[t]?r[t]:Us[t]||Us[s]||Vs,F2(n,e,t)}function F2(n,e,t){!n.transmit&&e[t]===Vs||(e[t]=function(s){return function(){const i=n.timestamp(),o=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===Us?Us:this;for(var l=0;l<o.length;l++)o[l]=arguments[l];if(n.serialize&&!n.asObject&&Nr(o,this._serialize,this.serializers,this._stdErrSerialize),n.asObject?s.call(a,$2(this,t,o,i)):s.apply(a,o),n.transmit){const c=n.transmit.level||e.level,u=Gt.levels.values[c],f=Gt.levels.values[t];if(f<u)return;B2(this,{ts:i,methodLevel:t,methodValue:f,transmitLevel:c,transmitValue:Gt.levels.values[n.transmit.level||e.level],send:n.transmit.send,val:e.levelVal},o)}}}(e[t]))}function $2(n,e,t,s){n._serialize&&Nr(t,n._serialize,n.serializers,n._stdErrSerialize);const r=t.slice();let i=r[0];const o={};s&&(o.time=s),o.level=Gt.levels.values[e];let a=(n._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof r[0]=="object";)Object.assign(o,r.shift());i=r.length?pl(r.shift(),r):void 0}else typeof i=="string"&&(i=pl(r.shift(),r));return i!==void 0&&(o.msg=i),o}function Nr(n,e,t,s){for(const r in n)if(s&&n[r]instanceof Error)n[r]=Gt.stdSerializers.err(n[r]);else if(typeof n[r]=="object"&&!Array.isArray(n[r]))for(const i in n[r])e&&e.indexOf(i)>-1&&i in t&&(n[r][i]=t[i](n[r][i]))}function hs(n,e,t){return function(){const s=new Array(1+arguments.length);s[0]=e;for(var r=1;r<s.length;r++)s[r]=arguments[r-1];return n[t].apply(this,s)}}function B2(n,e,t){const s=e.send,r=e.ts,i=e.methodLevel,o=e.methodValue,a=e.val,l=n._logEvent.bindings;Nr(t,n._serialize||Object.keys(n.serializers),n.serializers,n._stdErrSerialize===void 0?!0:n._stdErrSerialize),n._logEvent.ts=r,n._logEvent.messages=t.filter(function(c){return l.indexOf(c)===-1}),n._logEvent.level.label=i,n._logEvent.level.value=o,s(i,n._logEvent,a),n._logEvent=mo(l)}function mo(n){return{ts:0,messages:[],bindings:n||[],level:{label:"",value:0}}}function U2(n){const e={type:n.constructor.name,msg:n.message,stack:n.stack};for(const t in n)e[t]===void 0&&(e[t]=n[t]);return e}function V2(n){return typeof n.timestamp=="function"?n.timestamp:n.timestamp===!1?gl:xl}function Ir(){return{}}function Lo(n){return n}function Vs(){}function gl(){return!1}function xl(){return Date.now()}function H2(){return Math.round(Date.now()/1e3)}function G2(){return new Date(Date.now()).toISOString()}function j2(){function n(e){return typeof e<"u"&&e}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return n(self)||n(window)||n(this)||{}}}const z2=P2({level:"warn"}),ml=["log","trace","debug","info","warn","error"];function Z2(n,e){n[e]=(console[e]||console.log).bind(console)}function q2(n,e,t){n[e]=(console[e]||console.log).bind(console,t[0],t[1])}function W2(n){ml.forEach(t=>Z2(n,t));const e=n.child;return n.child=function(t){const s=e.call(n,t);return ml.forEach(r=>q2(s,r,["%c"+t.name||"","color: #00f"])),s},n}let Hs=W2(z2);function mn(n,e){const t=Object.create(null),s=n.split(",");for(let r=0;r<s.length;r++)t[s[r]]=!0;return e?r=>!!t[r.toLowerCase()]:r=>!!t[r]}function xe(n){if(ee(n)){const e={};for(let t=0;t<n.length;t++){const s=n[t],r=De(s)?Q2(s):xe(s);if(r)for(const i in r)e[i]=r[i]}return e}else{if(De(n))return n;if(Te(n))return n}}const K2=/;(?![^(]*\))/g,Y2=/:([^]+)/,X2=/\/\*.*?\*\//gs;function Q2(n){const e={};return n.replace(X2,"").split(K2).forEach(t=>{if(t){const s=t.split(Y2);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function lt(n){let e="";if(De(n))e=n;else if(ee(n))for(let t=0;t<n.length;t++){const s=lt(n[t]);s&&(e+=s+" ")}else if(Te(n))for(const t in n)n[t]&&(e+=t+" ");return e.trim()}const J2="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",ef="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",tf=mn(J2),nf=mn(ef),sf=mn("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Ll(n){return!!n||n===""}const qe=n=>De(n)?n:n==null?"":ee(n)||Te(n)&&(n.toString===El||!ne(n.toString))?JSON.stringify(n,_l,2):String(n),_l=(n,e)=>e&&e.__v_isRef?_l(n,e.value):In(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[s,r])=>(t[`${s} =>`]=r,t),{})}:Cl(e)?{[`Set(${e.size})`]:[...e.values()]}:Te(e)&&!ee(e)&&!bl(e)?String(e):e,we=process.env.NODE_ENV!=="production"?Object.freeze({}):{},fs=process.env.NODE_ENV!=="production"?Object.freeze([]):[],Qe=()=>{},yl=()=>!1,rf=/^on[^a-z]/,Gs=n=>rf.test(n),Pr=n=>n.startsWith("onUpdate:"),Ue=Object.assign,_o=(n,e)=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)},of=Object.prototype.hasOwnProperty,he=(n,e)=>of.call(n,e),ee=Array.isArray,In=n=>Mr(n)==="[object Map]",Cl=n=>Mr(n)==="[object Set]",ne=n=>typeof n=="function",De=n=>typeof n=="string",yo=n=>typeof n=="symbol",Te=n=>n!==null&&typeof n=="object",Co=n=>Te(n)&&ne(n.then)&&ne(n.catch),El=Object.prototype.toString,Mr=n=>El.call(n),Eo=n=>Mr(n).slice(8,-1),bl=n=>Mr(n)==="[object Object]",bo=n=>De(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,Dr=mn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),af=mn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Fr=n=>{const e=Object.create(null);return t=>e[t]||(e[t]=n(t))},lf=/-(\w)/g,jt=Fr(n=>n.replace(lf,(e,t)=>t?t.toUpperCase():"")),cf=/\B([A-Z])/g,Ln=Fr(n=>n.replace(cf,"-$1").toLowerCase()),Pn=Fr(n=>n.charAt(0).toUpperCase()+n.slice(1)),Mn=Fr(n=>n?`on${Pn(n)}`:""),$r=(n,e)=>!Object.is(n,e),js=(n,e)=>{for(let t=0;t<n.length;t++)n[t](e)},Br=(n,e,t)=>{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:t})},vl=n=>{const e=parseFloat(n);return isNaN(e)?n:e};let wl;const Tl=()=>wl||(wl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vo(n,...e){console.warn(`[Vue warn] ${n}`,...e)}let zt;class Al{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=zt,!e&&zt&&(this.index=(zt.scopes||(zt.scopes=[])).push(this)-1)}run(e){if(this.active){const t=zt;try{return zt=this,e()}finally{zt=t}}else process.env.NODE_ENV!=="production"&&vo("cannot run an inactive effect scope.")}on(){zt=this}off(){zt=this.parent}stop(e){if(this.active){let t,s;for(t=0,s=this.effects.length;t<s;t++)this.effects[t].stop();for(t=0,s=this.cleanups.length;t<s;t++)this.cleanups[t]();if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}}}function uf(n){return new Al(n)}function hf(n,e=zt){e&&e.active&&e.effects.push(n)}const zs=n=>{const e=new Set(n);return e.w=0,e.n=0,e},Sl=n=>(n.w&_n)>0,Rl=n=>(n.n&_n)>0,ff=({deps:n})=>{if(n.length)for(let e=0;e<n.length;e++)n[e].w|=_n},df=n=>{const{deps:e}=n;if(e.length){let t=0;for(let s=0;s<e.length;s++){const r=e[s];Sl(r)&&!Rl(r)?r.delete(n):e[t++]=r,r.w&=~_n,r.n&=~_n}e.length=t}},wo=new WeakMap;let Zs=0,_n=1;const To=30;let ct;const Dn=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),Ao=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");class So{constructor(e,t=null,s){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,hf(this,s)}run(){if(!this.active)return this.fn();let e=ct,t=yn;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=ct,ct=this,yn=!0,_n=1<<++Zs,Zs<=To?ff(this):kl(this),this.fn()}finally{Zs<=To&&df(this),_n=1<<--Zs,ct=this.parent,yn=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ct===this?this.deferStop=!0:this.active&&(kl(this),this.onStop&&this.onStop(),this.active=!1)}}function kl(n){const{deps:e}=n;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(n);e.length=0}}let yn=!0;const Ol=[];function Fn(){Ol.push(yn),yn=!1}function $n(){const n=Ol.pop();yn=n===void 0?!0:n}function pt(n,e,t){if(yn&&ct){let s=wo.get(n);s||wo.set(n,s=new Map);let r=s.get(t);r||s.set(t,r=zs());const i=process.env.NODE_ENV!=="production"?{effect:ct,target:n,type:e,key:t}:void 0;Ro(r,i)}}function Ro(n,e){let t=!1;Zs<=To?Rl(n)||(n.n|=_n,t=!Sl(n)):t=!n.has(ct),t&&(n.add(ct),ct.deps.push(n),process.env.NODE_ENV!=="production"&&ct.onTrack&&ct.onTrack(Object.assign({effect:ct},e)))}function on(n,e,t,s,r,i){const o=wo.get(n);if(!o)return;let a=[];if(e==="clear")a=[...o.values()];else if(t==="length"&&ee(n)){const c=vl(s);o.forEach((u,f)=>{(f==="length"||f>=c)&&a.push(u)})}else switch(t!==void 0&&a.push(o.get(t)),e){case"add":ee(n)?bo(t)&&a.push(o.get("length")):(a.push(o.get(Dn)),In(n)&&a.push(o.get(Ao)));break;case"delete":ee(n)||(a.push(o.get(Dn)),In(n)&&a.push(o.get(Ao)));break;case"set":In(n)&&a.push(o.get(Dn));break}const l=process.env.NODE_ENV!=="production"?{target:n,type:e,key:t,newValue:s,oldValue:r,oldTarget:i}:void 0;if(a.length===1)a[0]&&(process.env.NODE_ENV!=="production"?ds(a[0],l):ds(a[0]));else{const c=[];for(const u of a)u&&c.push(...u);process.env.NODE_ENV!=="production"?ds(zs(c),l):ds(zs(c))}}function ds(n,e){const t=ee(n)?n:[...n];for(const s of t)s.computed&&Nl(s,e);for(const s of t)s.computed||Nl(s,e)}function Nl(n,e){(n!==ct||n.allowRecurse)&&(process.env.NODE_ENV!=="production"&&n.onTrigger&&n.onTrigger(Ue({effect:n},e)),n.scheduler?n.scheduler():n.run())}const pf=mn("__proto__,__v_isRef,__isVue"),Il=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(yo)),gf=Ur(),xf=Ur(!1,!0),mf=Ur(!0),Lf=Ur(!0,!0),Pl=_f();function _f(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...t){const s=ce(this);for(let i=0,o=this.length;i<o;i++)pt(s,"get",i+"");const r=s[e](...t);return r===-1||r===!1?s[e](...t.map(ce)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{n[e]=function(...t){Fn();const s=ce(this)[e].apply(this,t);return $n(),s}}),n}function Ur(n=!1,e=!1){return function(s,r,i){if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return e;if(r==="__v_raw"&&i===(n?e?Zl:zl:e?jl:Gl).get(s))return s;const o=ee(s);if(!n&&o&&he(Pl,r))return Reflect.get(Pl,r,i);const a=Reflect.get(s,r,i);return(yo(r)?Il.has(r):pf(r))||(n||pt(s,"get",r),e)?a:Je(a)?o&&bo(r)?a:a.value:Te(a)?n?ql(a):Wr(a):a}}const yf=Ml(),Cf=Ml(!0);function Ml(n=!1){return function(t,s,r,i){let o=t[s];if(Un(o)&&Je(o)&&!Je(r))return!1;if(!n&&(!Oo(r)&&!Un(r)&&(o=ce(o),r=ce(r)),!ee(t)&&Je(o)&&!Je(r)))return o.value=r,!0;const a=ee(t)&&bo(s)?Number(s)<t.length:he(t,s),l=Reflect.set(t,s,r,i);return t===ce(i)&&(a?$r(r,o)&&on(t,"set",s,r,o):on(t,"add",s,r)),l}}function Ef(n,e){const t=he(n,e),s=n[e],r=Reflect.deleteProperty(n,e);return r&&t&&on(n,"delete",e,void 0,s),r}function bf(n,e){const t=Reflect.has(n,e);return(!yo(e)||!Il.has(e))&&pt(n,"has",e),t}function vf(n){return pt(n,"iterate",ee(n)?"length":Dn),Reflect.ownKeys(n)}const Dl={get:gf,set:yf,deleteProperty:Ef,has:bf,ownKeys:vf},Fl={get:mf,set(n,e){return process.env.NODE_ENV!=="production"&&vo(`Set operation on key "${String(e)}" failed: target is readonly.`,n),!0},deleteProperty(n,e){return process.env.NODE_ENV!=="production"&&vo(`Delete operation on key "${String(e)}" failed: target is readonly.`,n),!0}},wf=Ue({},Dl,{get:xf,set:Cf}),Tf=Ue({},Fl,{get:Lf}),ko=n=>n,Vr=n=>Reflect.getPrototypeOf(n);function Hr(n,e,t=!1,s=!1){n=n.__v_raw;const r=ce(n),i=ce(e);t||(e!==i&&pt(r,"get",e),pt(r,"get",i));const{has:o}=Vr(r),a=s?ko:t?Po:Io;if(o.call(r,e))return a(n.get(e));if(o.call(r,i))return a(n.get(i));n!==r&&n.get(e)}function Gr(n,e=!1){const t=this.__v_raw,s=ce(t),r=ce(n);return e||(n!==r&&pt(s,"has",n),pt(s,"has",r)),n===r?t.has(n):t.has(n)||t.has(r)}function jr(n,e=!1){return n=n.__v_raw,!e&&pt(ce(n),"iterate",Dn),Reflect.get(n,"size",n)}function $l(n){n=ce(n);const e=ce(this);return Vr(e).has.call(e,n)||(e.add(n),on(e,"add",n,n)),this}function Bl(n,e){e=ce(e);const t=ce(this),{has:s,get:r}=Vr(t);let i=s.call(t,n);i?process.env.NODE_ENV!=="production"&&Hl(t,s,n):(n=ce(n),i=s.call(t,n));const o=r.call(t,n);return t.set(n,e),i?$r(e,o)&&on(t,"set",n,e,o):on(t,"add",n,e),this}function Ul(n){const e=ce(this),{has:t,get:s}=Vr(e);let r=t.call(e,n);r?process.env.NODE_ENV!=="production"&&Hl(e,t,n):(n=ce(n),r=t.call(e,n));const i=s?s.call(e,n):void 0,o=e.delete(n);return r&&on(e,"delete",n,void 0,i),o}function Vl(){const n=ce(this),e=n.size!==0,t=process.env.NODE_ENV!=="production"?In(n)?new Map(n):new Set(n):void 0,s=n.clear();return e&&on(n,"clear",void 0,void 0,t),s}function zr(n,e){return function(s,r){const i=this,o=i.__v_raw,a=ce(o),l=e?ko:n?Po:Io;return!n&&pt(a,"iterate",Dn),o.forEach((c,u)=>s.call(r,l(c),l(u),i))}}function Zr(n,e,t){return function(...s){const r=this.__v_raw,i=ce(r),o=In(i),a=n==="entries"||n===Symbol.iterator&&o,l=n==="keys"&&o,c=r[n](...s),u=t?ko:e?Po:Io;return!e&&pt(i,"iterate",l?Ao:Dn),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:a?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function Cn(n){return function(...e){if(process.env.NODE_ENV!=="production"){const t=e[0]?`on key "${e[0]}" `:"";console.warn(`${Pn(n)} operation ${t}failed: target is readonly.`,ce(this))}return n==="delete"?!1:this}}function Af(){const n={get(i){return Hr(this,i)},get size(){return jr(this)},has:Gr,add:$l,set:Bl,delete:Ul,clear:Vl,forEach:zr(!1,!1)},e={get(i){return Hr(this,i,!1,!0)},get size(){return jr(this)},has:Gr,add:$l,set:Bl,delete:Ul,clear:Vl,forEach:zr(!1,!0)},t={get(i){return Hr(this,i,!0)},get size(){return jr(this,!0)},has(i){return Gr.call(this,i,!0)},add:Cn("add"),set:Cn("set"),delete:Cn("delete"),clear:Cn("clear"),forEach:zr(!0,!1)},s={get(i){return Hr(this,i,!0,!0)},get size(){return jr(this,!0)},has(i){return Gr.call(this,i,!0)},add:Cn("add"),set:Cn("set"),delete:Cn("delete"),clear:Cn("clear"),forEach:zr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Zr(i,!1,!1),t[i]=Zr(i,!0,!1),e[i]=Zr(i,!1,!0),s[i]=Zr(i,!0,!0)}),[n,t,e,s]}const[Sf,Rf,kf,Of]=Af();function qr(n,e){const t=e?n?Of:kf:n?Rf:Sf;return(s,r,i)=>r==="__v_isReactive"?!n:r==="__v_isReadonly"?n:r==="__v_raw"?s:Reflect.get(he(t,r)&&r in s?t:s,r,i)}const Nf={get:qr(!1,!1)},If={get:qr(!1,!0)},Pf={get:qr(!0,!1)},Mf={get:qr(!0,!0)};function Hl(n,e,t){const s=ce(t);if(s!==t&&e.call(n,s)){const r=Eo(n);console.warn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Gl=new WeakMap,jl=new WeakMap,zl=new WeakMap,Zl=new WeakMap;function Df(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ff(n){return n.__v_skip||!Object.isExtensible(n)?0:Df(Eo(n))}function Wr(n){return Un(n)?n:Kr(n,!1,Dl,Nf,Gl)}function $f(n){return Kr(n,!1,wf,If,jl)}function ql(n){return Kr(n,!0,Fl,Pf,zl)}function ps(n){return Kr(n,!0,Tf,Mf,Zl)}function Kr(n,e,t,s,r){if(!Te(n))return process.env.NODE_ENV!=="production"&&console.warn(`value cannot be made reactive: ${String(n)}`),n;if(n.__v_raw&&!(e&&n.__v_isReactive))return n;const i=r.get(n);if(i)return i;const o=Ff(n);if(o===0)return n;const a=new Proxy(n,o===2?s:t);return r.set(n,a),a}function Bn(n){return Un(n)?Bn(n.__v_raw):!!(n&&n.__v_isReactive)}function Un(n){return!!(n&&n.__v_isReadonly)}function Oo(n){return!!(n&&n.__v_isShallow)}function No(n){return Bn(n)||Un(n)}function ce(n){const e=n&&n.__v_raw;return e?ce(e):n}function Wl(n){return Br(n,"__v_skip",!0),n}const Io=n=>Te(n)?Wr(n):n,Po=n=>Te(n)?ql(n):n;function Bf(n){yn&&ct&&(n=ce(n),process.env.NODE_ENV!=="production"?Ro(n.dep||(n.dep=zs()),{target:n,type:"get",key:"value"}):Ro(n.dep||(n.dep=zs())))}function Uf(n,e){n=ce(n),n.dep&&(process.env.NODE_ENV!=="production"?ds(n.dep,{target:n,type:"set",key:"value",newValue:e}):ds(n.dep))}function Je(n){return!!(n&&n.__v_isRef===!0)}function Vf(n){return Je(n)?n.value:n}const Hf={get:(n,e,t)=>Vf(Reflect.get(n,e,t)),set:(n,e,t,s)=>{const r=n[e];return Je(r)&&!Je(t)?(r.value=t,!0):Reflect.set(n,e,t,s)}};function Kl(n){return Bn(n)?n:new Proxy(n,Hf)}var Yl;class Gf{constructor(e,t,s,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Yl]=!1,this._dirty=!0,this.effect=new So(e,()=>{this._dirty||(this._dirty=!0,Uf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const e=ce(this);return Bf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Yl="__v_isReadonly";function jf(n,e,t=!1){let s,r;const i=ne(n);i?(s=n,r=process.env.NODE_ENV!=="production"?()=>{console.warn("Write operation failed: computed value is readonly")}:Qe):(s=n.get,r=n.set);const o=new Gf(s,r,i||!r,t);return process.env.NODE_ENV!=="production"&&e&&!t&&(o.effect.onTrack=e.onTrack,o.effect.onTrigger=e.onTrigger),o}const Vn=[];function Yr(n){Vn.push(n)}function Xr(){Vn.pop()}function R(n,...e){if(process.env.NODE_ENV==="production")return;Fn();const t=Vn.length?Vn[Vn.length-1].component:null,s=t&&t.appContext.config.warnHandler,r=zf();if(s)an(s,t,11,[n+e.join(""),t&&t.proxy,r.map(({vnode:i})=>`at <${xi(t,i.type)}>`).join(`
3
- `),r]);else{const i=[`[Vue warn]: ${n}`,...e];r.length&&i.push(`
4
- `,...Zf(r)),console.warn(...i)}$n()}function zf(){let n=Vn[Vn.length-1];if(!n)return[];const e=[];for(;n;){const t=e[0];t&&t.vnode===n?t.recurseCount++:e.push({vnode:n,recurseCount:0});const s=n.component&&n.component.parent;n=s&&s.vnode}return e}function Zf(n){const e=[];return n.forEach((t,s)=>{e.push(...s===0?[]:[`
5
- `],...qf(t))}),e}function qf({vnode:n,recurseCount:e}){const t=e>0?`... (${e} recursive calls)`:"",s=n.component?n.component.parent==null:!1,r=` at <${xi(n.component,n.type,s)}`,i=">"+t;return n.props?[r,...Wf(n.props),i]:[r+i]}function Wf(n){const e=[],t=Object.keys(n);return t.slice(0,3).forEach(s=>{e.push(...Xl(s,n[s]))}),t.length>3&&e.push(" ..."),e}function Xl(n,e,t){return De(e)?(e=JSON.stringify(e),t?e:[`${n}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?t?e:[`${n}=${e}`]:Je(e)?(e=Xl(n,ce(e.value),!0),t?e:[`${n}=Ref<`,e,">"]):ne(e)?[`${n}=fn${e.name?`<${e.name}>`:""}`]:(e=ce(e),t?e:[`${n}=`,e])}const Mo={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function an(n,e,t,s){let r;try{r=s?n(...s):n()}catch(i){Qr(i,e,t)}return r}function St(n,e,t,s){if(ne(n)){const i=an(n,e,t,s);return i&&Co(i)&&i.catch(o=>{Qr(o,e,t)}),i}const r=[];for(let i=0;i<n.length;i++)r.push(St(n[i],e,t,s));return r}function Qr(n,e,t,s=!0){const r=e?e.vnode:null;if(e){let i=e.parent;const o=e.proxy,a=process.env.NODE_ENV!=="production"?Mo[t]:t;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](n,o,a)===!1)return}i=i.parent}const l=e.appContext.config.errorHandler;if(l){an(l,null,10,[n,o,a]);return}}Kf(n,t,r,s)}function Kf(n,e,t,s=!0){if(process.env.NODE_ENV!=="production"){const r=Mo[e];if(t&&Yr(t),R(`Unhandled error${r?` during execution of ${r}`:""}`),t&&Xr(),s)throw n;console.error(n)}else console.error(n)}let qs=!1,Do=!1;const it=[];let Zt=0;const gs=[];let qt=null,En=0;const Ql=Promise.resolve();let Fo=null;const Yf=100;function Xf(n){const e=Fo||Ql;return n?e.then(this?n.bind(this):n):e}function Qf(n){let e=Zt+1,t=it.length;for(;e<t;){const s=e+t>>>1;Ws(it[s])<n?e=s+1:t=s}return e}function Jr(n){(!it.length||!it.includes(n,qs&&n.allowRecurse?Zt+1:Zt))&&(n.id==null?it.push(n):it.splice(Qf(n.id),0,n),Jl())}function Jl(){!qs&&!Do&&(Do=!0,Fo=Ql.then(sc))}function Jf(n){const e=it.indexOf(n);e>Zt&&it.splice(e,1)}function ec(n){ee(n)?gs.push(...n):(!qt||!qt.includes(n,n.allowRecurse?En+1:En))&&gs.push(n),Jl()}function tc(n,e=qs?Zt+1:0){for(process.env.NODE_ENV!=="production"&&(n=n||new Map);e<it.length;e++){const t=it[e];if(t&&t.pre){if(process.env.NODE_ENV!=="production"&&$o(n,t))continue;it.splice(e,1),e--,t()}}}function nc(n){if(gs.length){const e=[...new Set(gs)];if(gs.length=0,qt){qt.push(...e);return}for(qt=e,process.env.NODE_ENV!=="production"&&(n=n||new Map),qt.sort((t,s)=>Ws(t)-Ws(s)),En=0;En<qt.length;En++)process.env.NODE_ENV!=="production"&&$o(n,qt[En])||qt[En]();qt=null,En=0}}const Ws=n=>n.id==null?1/0:n.id,ed=(n,e)=>{const t=Ws(n)-Ws(e);if(t===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return t};function sc(n){Do=!1,qs=!0,process.env.NODE_ENV!=="production"&&(n=n||new Map),it.sort(ed);const e=process.env.NODE_ENV!=="production"?t=>$o(n,t):Qe;try{for(Zt=0;Zt<it.length;Zt++){const t=it[Zt];if(t&&t.active!==!1){if(process.env.NODE_ENV!=="production"&&e(t))continue;an(t,null,14)}}}finally{Zt=0,it.length=0,nc(n),qs=!1,Fo=null,(it.length||gs.length)&&sc(n)}}function $o(n,e){if(!n.has(e))n.set(e,1);else{const t=n.get(e);if(t>Yf){const s=e.ownerInstance,r=s&&a1(s.type);return R(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else n.set(e,t+1)}}let Hn=!1;const xs=new Set;process.env.NODE_ENV!=="production"&&(Tl().__VUE_HMR_RUNTIME__={createRecord:Bo(rc),rerender:Bo(sd),reload:Bo(rd)});const Gn=new Map;function td(n){const e=n.type.__hmrId;let t=Gn.get(e);t||(rc(e,n.type),t=Gn.get(e)),t.instances.add(n)}function nd(n){Gn.get(n.type.__hmrId).instances.delete(n)}function rc(n,e){return Gn.has(n)?!1:(Gn.set(n,{initialDef:Ks(e),instances:new Set}),!0)}function Ks(n){return e0(n)?n.__vccOpts:n}function sd(n,e){const t=Gn.get(n);!t||(t.initialDef.render=e,[...t.instances].forEach(s=>{e&&(s.render=e,Ks(s.type).render=e),s.renderCache=[],Hn=!0,s.update(),Hn=!1}))}function rd(n,e){const t=Gn.get(n);if(!t)return;e=Ks(e),ic(t.initialDef,e);const s=[...t.instances];for(const r of s){const i=Ks(r.type);xs.has(i)||(i!==t.initialDef&&ic(i,e),xs.add(i)),r.appContext.optionsCache.delete(r.type),r.ceReload?(xs.add(i),r.ceReload(e.styles),xs.delete(i)):r.parent?Jr(r.parent.update):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}ec(()=>{for(const r of s)xs.delete(Ks(r.type))})}function ic(n,e){Ue(n,e);for(const t in n)t!=="__file"&&!(t in e)&&delete n[t]}function Bo(n){return(e,t)=>{try{return n(e,t)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Wt,Ys=[],Uo=!1;function Xs(n,...e){Wt?Wt.emit(n,...e):Uo||Ys.push({event:n,args:e})}function oc(n,e){var t,s;Wt=n,Wt?(Wt.enabled=!0,Ys.forEach(({event:r,args:i})=>Wt.emit(r,...i)),Ys=[]):typeof window<"u"&&window.HTMLElement&&!(!((s=(t=window.navigator)===null||t===void 0?void 0:t.userAgent)===null||s===void 0)&&s.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{oc(i,e)}),setTimeout(()=>{Wt||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Uo=!0,Ys=[])},3e3)):(Uo=!0,Ys=[])}function id(n,e){Xs("app:init",n,e,{Fragment:Ve,Text:nr,Comment:We,Static:sr})}function od(n){Xs("app:unmount",n)}const ad=Vo("component:added"),ac=Vo("component:updated"),ld=Vo("component:removed"),cd=n=>{Wt&&typeof Wt.cleanupBuffer=="function"&&!Wt.cleanupBuffer(n)&&ld(n)};function Vo(n){return e=>{Xs(n,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}const ud=lc("perf:start"),hd=lc("perf:end");function lc(n){return(e,t,s)=>{Xs(n,e.appContext.app,e.uid,e,t,s)}}function fd(n,e,t){Xs("component:emit",n.appContext.app,n,e,t)}function dd(n,e,...t){if(n.isUnmounted)return;const s=n.vnode.props||we;if(process.env.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=n;if(u)if(!(e in u))(!f||!(Mn(e)in f))&&R(`Component emitted event "${e}" but it is neither declared in the emits option nor as an "${Mn(e)}" prop.`);else{const p=u[e];ne(p)&&(p(...t)||R(`Invalid event arguments: event validation failed for event "${e}".`))}}let r=t;const i=e.startsWith("update:"),o=i&&e.slice(7);if(o&&o in s){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:p}=s[u]||we;p&&(r=t.map(g=>De(g)?g.trim():g)),f&&(r=t.map(vl))}if(process.env.NODE_ENV!=="production"&&fd(n,e,r),process.env.NODE_ENV!=="production"){const u=e.toLowerCase();u!==e&&s[Mn(u)]&&R(`Event "${u}" is emitted in component ${xi(n,n.type)} but the handler is registered for "${e}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Ln(e)}" instead of "${e}".`)}let a,l=s[a=Mn(e)]||s[a=Mn(jt(e))];!l&&i&&(l=s[a=Mn(Ln(e))]),l&&St(l,n,6,r);const c=s[a+"Once"];if(c){if(!n.emitted)n.emitted={};else if(n.emitted[a])return;n.emitted[a]=!0,St(c,n,6,r)}}function cc(n,e,t=!1){const s=e.emitsCache,r=s.get(n);if(r!==void 0)return r;const i=n.emits;let o={},a=!1;if(!ne(n)){const l=c=>{const u=cc(c,e,!0);u&&(a=!0,Ue(o,u))};!t&&e.mixins.length&&e.mixins.forEach(l),n.extends&&l(n.extends),n.mixins&&n.mixins.forEach(l)}return!i&&!a?(Te(n)&&s.set(n,null),null):(ee(i)?i.forEach(l=>o[l]=null):Ue(o,i),Te(n)&&s.set(n,o),o)}function ei(n,e){return!n||!Gs(e)?!1:(e=e.slice(2).replace(/Once$/,""),he(n,e[0].toLowerCase()+e.slice(1))||he(n,Ln(e))||he(n,e))}let je=null,ti=null;function ni(n){const e=je;return je=n,ti=n&&n.type.__scopeId||null,e}function Kt(n){ti=n}function Yt(){ti=null}function pd(n,e=je,t){if(!e||n._n)return n;const s=(...r)=>{s._d&&Gc(-1);const i=ni(e);let o;try{o=n(...r)}finally{ni(i),s._d&&Gc(1)}return process.env.NODE_ENV!=="production"&&ac(e),o};return s._n=!0,s._c=!0,s._d=!0,s}let Ho=!1;function si(){Ho=!0}function Go(n){const{type:e,vnode:t,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:p,setupState:g,ctx:T,inheritAttrs:A}=n;let Y,q;const K=ni(n);process.env.NODE_ENV!=="production"&&(Ho=!1);try{if(t.shapeFlag&4){const ae=r||s;Y=$t(u.call(ae,ae,f,i,g,p,T)),q=l}else{const ae=e;process.env.NODE_ENV!=="production"&&l===i&&si(),Y=$t(ae.length>1?ae(i,process.env.NODE_ENV!=="production"?{get attrs(){return si(),l},slots:a,emit:c}:{attrs:l,slots:a,emit:c}):ae(i,null)),q=e.props?l:xd(l)}}catch(ae){rr.length=0,Qr(ae,n,1),Y=fe(We)}let se=Y,B;if(process.env.NODE_ENV!=="production"&&Y.patchFlag>0&&Y.patchFlag&2048&&([se,B]=gd(Y)),q&&A!==!1){const ae=Object.keys(q),{shapeFlag:Ne}=se;if(ae.length){if(Ne&7)o&&ae.some(Pr)&&(q=md(q,o)),se=Xt(se,q);else if(process.env.NODE_ENV!=="production"&&!Ho&&se.type!==We){const He=Object.keys(l),te=[],Ee=[];for(let Ie=0,Ye=He.length;Ie<Ye;Ie++){const Ze=He[Ie];Gs(Ze)?Pr(Ze)||te.push(Ze[2].toLowerCase()+Ze.slice(3)):Ee.push(Ze)}Ee.length&&R(`Extraneous non-props attributes (${Ee.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),te.length&&R(`Extraneous non-emits event listeners (${te.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return t.dirs&&(process.env.NODE_ENV!=="production"&&!hc(se)&&R("Runtime directive used on component with non-element root node. The directives will not function as intended."),se=Xt(se),se.dirs=se.dirs?se.dirs.concat(t.dirs):t.dirs),t.transition&&(process.env.NODE_ENV!=="production"&&!hc(se)&&R("Component inside <Transition> renders non-element root node that cannot be animated."),se.transition=t.transition),process.env.NODE_ENV!=="production"&&B?B(se):Y=se,ni(K),Y}const gd=n=>{const e=n.children,t=n.dynamicChildren,s=uc(e);if(!s)return[n,void 0];const r=e.indexOf(s),i=t?t.indexOf(s):-1,o=a=>{e[r]=a,t&&(i>-1?t[i]=a:a.patchFlag>0&&(n.dynamicChildren=[...t,a]))};return[$t(s),o]};function uc(n){let e;for(let t=0;t<n.length;t++){const s=n[t];if(hi(s)){if(s.type!==We||s.children==="v-if"){if(e)return;e=s}}else return}return e}const xd=n=>{let e;for(const t in n)(t==="class"||t==="style"||Gs(t))&&((e||(e={}))[t]=n[t]);return e},md=(n,e)=>{const t={};for(const s in n)(!Pr(s)||!(s.slice(9)in e))&&(t[s]=n[s]);return t},hc=n=>n.shapeFlag&7||n.type===We;function Ld(n,e,t){const{props:s,children:r,component:i}=n,{props:o,children:a,patchFlag:l}=e,c=i.emitsOptions;if(process.env.NODE_ENV!=="production"&&(r||a)&&Hn||e.dirs||e.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return s?fc(s,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(o[p]!==s[p]&&!ei(c,p))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?fc(s,o,c):!0:!!o;return!1}function fc(n,e,t){const s=Object.keys(e);if(s.length!==Object.keys(n).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(e[i]!==n[i]&&!ei(t,i))return!0}return!1}function _d({vnode:n,parent:e},t){for(;e&&e.subTree===n;)(n=e.vnode).el=t,e=e.parent}const yd=n=>n.__isSuspense;function Cd(n,e){e&&e.pendingBranch?ee(n)?e.effects.push(...n):e.effects.push(n):ec(n)}function Ed(n,e){if(!ze)process.env.NODE_ENV!=="production"&&R("provide() can only be used inside setup().");else{let t=ze.provides;const s=ze.parent&&ze.parent.provides;s===t&&(t=ze.provides=Object.create(s)),t[n]=e}}function ri(n,e,t=!1){const s=ze||je;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&n in r)return r[n];if(arguments.length>1)return t&&ne(e)?e.call(s.proxy):e;process.env.NODE_ENV!=="production"&&R(`injection "${String(n)}" not found.`)}else process.env.NODE_ENV!=="production"&&R("inject() can only be used inside setup() or functional components.")}const ii={};function Qs(n,e,t){return process.env.NODE_ENV!=="production"&&!ne(e)&&R("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),dc(n,e,t)}function dc(n,e,{immediate:t,deep:s,flush:r,onTrack:i,onTrigger:o}=we){process.env.NODE_ENV!=="production"&&!e&&(t!==void 0&&R('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&R('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const a=B=>{R("Invalid watch source: ",B,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},l=ze;let c,u=!1,f=!1;if(Je(n)?(c=()=>n.value,u=Oo(n)):Bn(n)?(c=()=>n,s=!0):ee(n)?(f=!0,u=n.some(B=>Bn(B)||Oo(B)),c=()=>n.map(B=>{if(Je(B))return B.value;if(Bn(B))return jn(B);if(ne(B))return an(B,l,2);process.env.NODE_ENV!=="production"&&a(B)})):ne(n)?e?c=()=>an(n,l,2):c=()=>{if(!(l&&l.isUnmounted))return p&&p(),St(n,l,3,[g])}:(c=Qe,process.env.NODE_ENV!=="production"&&a(n)),e&&s){const B=c;c=()=>jn(B())}let p,g=B=>{p=K.onStop=()=>{an(B,l,4)}},T;if(or)if(g=Qe,e?t&&St(e,l,3,[c(),f?[]:void 0,g]):c(),r==="sync"){const B=T3();T=B.__watcherHandles||(B.__watcherHandles=[])}else return Qe;let A=f?new Array(n.length).fill(ii):ii;const Y=()=>{if(!!K.active)if(e){const B=K.run();(s||u||(f?B.some((ae,Ne)=>$r(ae,A[Ne])):$r(B,A)))&&(p&&p(),St(e,l,3,[B,A===ii?void 0:f&&A[0]===ii?[]:A,g]),A=B)}else K.run()};Y.allowRecurse=!!e;let q;r==="sync"?q=Y:r==="post"?q=()=>gt(Y,l&&l.suspense):(Y.pre=!0,l&&(Y.id=l.uid),q=()=>Jr(Y));const K=new So(c,q);process.env.NODE_ENV!=="production"&&(K.onTrack=i,K.onTrigger=o),e?t?Y():A=K.run():r==="post"?gt(K.run.bind(K),l&&l.suspense):K.run();const se=()=>{K.stop(),l&&l.scope&&_o(l.scope.effects,K)};return T&&T.push(se),se}function bd(n,e,t){const s=this.proxy,r=De(n)?n.includes(".")?pc(s,n):()=>s[n]:n.bind(s,s);let i;ne(e)?i=e:(i=e.handler,t=e);const o=ze;ms(this);const a=dc(r,i.bind(s),t);return o?ms(o):Xn(),a}function pc(n,e){const t=e.split(".");return()=>{let s=n;for(let r=0;r<t.length&&s;r++)s=s[t[r]];return s}}function jn(n,e){if(!Te(n)||n.__v_skip||(e=e||new Set,e.has(n)))return n;if(e.add(n),Je(n))jn(n.value,e);else if(ee(n))for(let t=0;t<n.length;t++)jn(n[t],e);else if(Cl(n)||In(n))n.forEach(t=>{jn(t,e)});else if(bl(n))for(const t in n)jn(n[t],e);return n}function vd(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _c(()=>{n.isMounted=!0}),yc(()=>{n.isUnmounting=!0}),n}const Rt=[Function,Array],wd={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Rt,onEnter:Rt,onAfterEnter:Rt,onEnterCancelled:Rt,onBeforeLeave:Rt,onLeave:Rt,onAfterLeave:Rt,onLeaveCancelled:Rt,onBeforeAppear:Rt,onAppear:Rt,onAfterAppear:Rt,onAppearCancelled:Rt},setup(n,{slots:e}){const t=L3(),s=vd();let r;return()=>{const i=e.default&&mc(e.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){let A=!1;for(const Y of i)if(Y.type!==We){if(process.env.NODE_ENV!=="production"&&A){R("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(o=Y,A=!0,process.env.NODE_ENV==="production")break}}const a=ce(n),{mode:l}=a;if(process.env.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&R(`invalid <transition> mode: ${l}`),s.isLeaving)return zo(o);const c=xc(o);if(!c)return zo(o);const u=jo(c,a,s,t);Zo(c,u);const f=t.subTree,p=f&&xc(f);let g=!1;const{getTransitionKey:T}=c.type;if(T){const A=T();r===void 0?r=A:A!==r&&(r=A,g=!0)}if(p&&p.type!==We&&(!Yn(c,p)||g)){const A=jo(p,a,s,t);if(Zo(p,A),l==="out-in")return s.isLeaving=!0,A.afterLeave=()=>{s.isLeaving=!1,t.update.active!==!1&&t.update()},zo(o);l==="in-out"&&c.type!==We&&(A.delayLeave=(Y,q,K)=>{const se=gc(s,p);se[String(p.key)]=p,Y._leaveCb=()=>{q(),Y._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=K})}return o}}};function gc(n,e){const{leavingVNodes:t}=n;let s=t.get(e.type);return s||(s=Object.create(null),t.set(e.type,s)),s}function jo(n,e,t,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:g,onLeaveCancelled:T,onBeforeAppear:A,onAppear:Y,onAfterAppear:q,onAppearCancelled:K}=e,se=String(n.key),B=gc(t,n),ae=(te,Ee)=>{te&&St(te,s,9,Ee)},Ne=(te,Ee)=>{const Ie=Ee[1];ae(te,Ee),ee(te)?te.every(Ye=>Ye.length<=1)&&Ie():te.length<=1&&Ie()},He={mode:i,persisted:o,beforeEnter(te){let Ee=a;if(!t.isMounted)if(r)Ee=A||a;else return;te._leaveCb&&te._leaveCb(!0);const Ie=B[se];Ie&&Yn(n,Ie)&&Ie.el._leaveCb&&Ie.el._leaveCb(),ae(Ee,[te])},enter(te){let Ee=l,Ie=c,Ye=u;if(!t.isMounted)if(r)Ee=Y||l,Ie=q||c,Ye=K||u;else return;let Ze=!1;const Ht=te._enterCb=Bs=>{Ze||(Ze=!0,Bs?ae(Ye,[te]):ae(Ie,[te]),He.delayedLeave&&He.delayedLeave(),te._enterCb=void 0)};Ee?Ne(Ee,[te,Ht]):Ht()},leave(te,Ee){const Ie=String(n.key);if(te._enterCb&&te._enterCb(!0),t.isUnmounting)return Ee();ae(f,[te]);let Ye=!1;const Ze=te._leaveCb=Ht=>{Ye||(Ye=!0,Ee(),Ht?ae(T,[te]):ae(g,[te]),te._leaveCb=void 0,B[Ie]===n&&delete B[Ie])};B[Ie]=n,p?Ne(p,[te,Ze]):Ze()},clone(te){return jo(te,e,t,s)}};return He}function zo(n){if(er(n))return n=Xt(n),n.children=null,n}function xc(n){return er(n)?n.children?n.children[0]:void 0:n}function Zo(n,e){n.shapeFlag&6&&n.component?Zo(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function mc(n,e=!1,t){let s=[],r=0;for(let i=0;i<n.length;i++){let o=n[i];const a=t==null?o.key:String(t)+String(o.key!=null?o.key:i);o.type===Ve?(o.patchFlag&128&&r++,s=s.concat(mc(o.children,e,a))):(e||o.type!==We)&&s.push(a!=null?Xt(o,{key:a}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}const Js=n=>!!n.type.__asyncLoader,er=n=>n.type.__isKeepAlive;function Td(n,e){Lc(n,"a",e)}function Ad(n,e){Lc(n,"da",e)}function Lc(n,e,t=ze){const s=n.__wdc||(n.__wdc=()=>{let r=t;for(;r;){if(r.isDeactivated)return;r=r.parent}return n()});if(oi(e,s,t),t){let r=t.parent;for(;r&&r.parent;)er(r.parent.vnode)&&Sd(s,e,t,r),r=r.parent}}function Sd(n,e,t,s){const r=oi(e,n,s,!0);Cc(()=>{_o(s[e],r)},t)}function oi(n,e,t=ze,s=!1){if(t){const r=t[n]||(t[n]=[]),i=e.__weh||(e.__weh=(...o)=>{if(t.isUnmounted)return;Fn(),ms(t);const a=St(e,t,n,o);return Xn(),$n(),a});return s?r.unshift(i):r.push(i),i}else if(process.env.NODE_ENV!=="production"){const r=Mn(Mo[n].replace(/ hook$/,""));R(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const ln=n=>(e,t=ze)=>(!or||n==="sp")&&oi(n,(...s)=>e(...s),t),Rd=ln("bm"),_c=ln("m"),kd=ln("bu"),Od=ln("u"),yc=ln("bum"),Cc=ln("um"),Nd=ln("sp"),Id=ln("rtg"),Pd=ln("rtc");function Md(n,e=ze){oi("ec",n,e)}function Ec(n){af(n)&&R("Do not use built-in directive ids as custom directive id: "+n)}function Dd(n,e){const t=je;if(t===null)return process.env.NODE_ENV!=="production"&&R("withDirectives can only be used inside render functions."),n;const s=gi(t)||t.proxy,r=n.dirs||(n.dirs=[]);for(let i=0;i<e.length;i++){let[o,a,l,c=we]=e[i];o&&(ne(o)&&(o={mounted:o,updated:o}),o.deep&&jn(a),r.push({dir:o,instance:s,value:a,oldValue:void 0,arg:l,modifiers:c}))}return n}function zn(n,e,t,s){const r=n.dirs,i=e&&e.dirs;for(let o=0;o<r.length;o++){const a=r[o];i&&(a.oldValue=i[o].value);let l=a.dir[s];l&&(Fn(),St(l,t,8,[n.el,a,n,e]),$n())}}const ai="components";function ue(n,e){return vc(ai,n,!0,e)||n}const bc=Symbol();function qo(n){return De(n)?vc(ai,n,!1)||n:n||bc}function vc(n,e,t=!0,s=!1){const r=je||ze;if(r){const i=r.type;if(n===ai){const a=a1(i,!1);if(a&&(a===e||a===jt(e)||a===Pn(jt(e))))return i}const o=wc(r[n]||i[n],e)||wc(r.appContext[n],e);if(!o&&s)return i;if(process.env.NODE_ENV!=="production"&&t&&!o){const a=n===ai?`
6
- If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";R(`Failed to resolve ${n.slice(0,-1)}: ${e}${a}`)}return o}else process.env.NODE_ENV!=="production"&&R(`resolve${Pn(n.slice(0,-1))} can only be used in render() or setup().`)}function wc(n,e){return n&&(n[e]||n[jt(e)]||n[Pn(jt(e))])}function Zn(n,e,t,s){let r;const i=t&&t[s];if(ee(n)||De(n)){r=new Array(n.length);for(let o=0,a=n.length;o<a;o++)r[o]=e(n[o],o,void 0,i&&i[o])}else if(typeof n=="number"){process.env.NODE_ENV!=="production"&&!Number.isInteger(n)&&R(`The v-for range expect an integer value but got ${n}.`),r=new Array(n);for(let o=0;o<n;o++)r[o]=e(o+1,o,void 0,i&&i[o])}else if(Te(n))if(n[Symbol.iterator])r=Array.from(n,(o,a)=>e(o,a,void 0,i&&i[a]));else{const o=Object.keys(n);r=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];r[a]=e(n[c],c,a,i&&i[a])}}else r=[];return t&&(t[s]=r),r}function Fd(n,e,t={},s,r){if(je.isCE||je.parent&&Js(je.parent)&&je.parent.isCE)return e!=="default"&&(t.name=e),fe("slot",t,s&&s());let i=n[e];process.env.NODE_ENV!=="production"&&i&&i.length>1&&(R("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),i=()=>[]),i&&i._c&&(i._d=!1),I();const o=i&&Tc(i(t)),a=Re(Ve,{key:t.key||o&&o.key||`_${e}`},o||(s?s():[]),o&&n._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Tc(n){return n.some(e=>hi(e)?!(e.type===We||e.type===Ve&&!Tc(e.children)):!0)?n:null}const Wo=n=>n?Kc(n)?gi(n)||n.proxy:Wo(n.parent):null,qn=Ue(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>process.env.NODE_ENV!=="production"?ps(n.props):n.props,$attrs:n=>process.env.NODE_ENV!=="production"?ps(n.attrs):n.attrs,$slots:n=>process.env.NODE_ENV!=="production"?ps(n.slots):n.slots,$refs:n=>process.env.NODE_ENV!=="production"?ps(n.refs):n.refs,$parent:n=>Wo(n.parent),$root:n=>Wo(n.root),$emit:n=>n.emit,$options:n=>Qo(n),$forceUpdate:n=>n.f||(n.f=()=>Jr(n.update)),$nextTick:n=>n.n||(n.n=Xf.bind(n.proxy)),$watch:n=>bd.bind(n)}),Ko=n=>n==="_"||n==="$",Yo=(n,e)=>n!==we&&!n.__isScriptSetup&&he(n,e),Ac={get({_:n},e){const{ctx:t,setupState:s,data:r,props:i,accessCache:o,type:a,appContext:l}=n;if(process.env.NODE_ENV!=="production"&&e==="__isVue")return!0;let c;if(e[0]!=="$"){const g=o[e];if(g!==void 0)switch(g){case 1:return s[e];case 2:return r[e];case 4:return t[e];case 3:return i[e]}else{if(Yo(s,e))return o[e]=1,s[e];if(r!==we&&he(r,e))return o[e]=2,r[e];if((c=n.propsOptions[0])&&he(c,e))return o[e]=3,i[e];if(t!==we&&he(t,e))return o[e]=4,t[e];Xo&&(o[e]=0)}}const u=qn[e];let f,p;if(u)return e==="$attrs"&&(pt(n,"get",e),process.env.NODE_ENV!=="production"&&si()),u(n);if((f=a.__cssModules)&&(f=f[e]))return f;if(t!==we&&he(t,e))return o[e]=4,t[e];if(p=l.config.globalProperties,he(p,e))return p[e];process.env.NODE_ENV!=="production"&&je&&(!De(e)||e.indexOf("__v")!==0)&&(r!==we&&Ko(e[0])&&he(r,e)?R(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):n===je&&R(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:n},e,t){const{data:s,setupState:r,ctx:i}=n;return Yo(r,e)?(r[e]=t,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&he(r,e)?(R(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):s!==we&&he(s,e)?(s[e]=t,!0):he(n.props,e)?(process.env.NODE_ENV!=="production"&&R(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in n?(process.env.NODE_ENV!=="production"&&R(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&e in n.appContext.config.globalProperties?Object.defineProperty(i,e,{enumerable:!0,configurable:!0,value:t}):i[e]=t,!0)},has({_:{data:n,setupState:e,accessCache:t,ctx:s,appContext:r,propsOptions:i}},o){let a;return!!t[o]||n!==we&&he(n,o)||Yo(e,o)||(a=i[0])&&he(a,o)||he(s,o)||he(qn,o)||he(r.config.globalProperties,o)},defineProperty(n,e,t){return t.get!=null?n._.accessCache[e]=0:he(t,"value")&&this.set(n,e,t.value,null),Reflect.defineProperty(n,e,t)}};process.env.NODE_ENV!=="production"&&(Ac.ownKeys=n=>(R("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(n)));function $d(n){const e={};return Object.defineProperty(e,"_",{configurable:!0,enumerable:!1,get:()=>n}),Object.keys(qn).forEach(t=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get:()=>qn[t](n),set:Qe})}),e}function Bd(n){const{ctx:e,propsOptions:[t]}=n;t&&Object.keys(t).forEach(s=>{Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>n.props[s],set:Qe})})}function Ud(n){const{ctx:e,setupState:t}=n;Object.keys(ce(t)).forEach(s=>{if(!t.__isScriptSetup){if(Ko(s[0])){R(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>t[s],set:Qe})}})}function Vd(){const n=Object.create(null);return(e,t)=>{n[t]?R(`${e} property "${t}" is already defined in ${n[t]}.`):n[t]=e}}let Xo=!0;function Hd(n){const e=Qo(n),t=n.proxy,s=n.ctx;Xo=!1,e.beforeCreate&&Sc(e.beforeCreate,n,"bc");const{data:r,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:p,beforeUpdate:g,updated:T,activated:A,deactivated:Y,beforeDestroy:q,beforeUnmount:K,destroyed:se,unmounted:B,render:ae,renderTracked:Ne,renderTriggered:He,errorCaptured:te,serverPrefetch:Ee,expose:Ie,inheritAttrs:Ye,components:Ze,directives:Ht,filters:Bs}=e,Xe=process.env.NODE_ENV!=="production"?Vd():null;if(process.env.NODE_ENV!=="production"){const[de]=n.propsOptions;if(de)for(const pe in de)Xe("Props",pe)}if(c&&Gd(c,s,Xe,n.appContext.config.unwrapInjectedRef),o)for(const de in o){const pe=o[de];ne(pe)?(process.env.NODE_ENV!=="production"?Object.defineProperty(s,de,{value:pe.bind(t),configurable:!0,enumerable:!0,writable:!0}):s[de]=pe.bind(t),process.env.NODE_ENV!=="production"&&Xe("Methods",de)):process.env.NODE_ENV!=="production"&&R(`Method "${de}" has type "${typeof pe}" in the component definition. Did you reference the function correctly?`)}if(r){process.env.NODE_ENV!=="production"&&!ne(r)&&R("The data option must be a function. Plain object usage is no longer supported.");const de=r.call(t,t);if(process.env.NODE_ENV!=="production"&&Co(de)&&R("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Te(de))process.env.NODE_ENV!=="production"&&R("data() should return an object.");else if(n.data=Wr(de),process.env.NODE_ENV!=="production")for(const pe in de)Xe("Data",pe),Ko(pe[0])||Object.defineProperty(s,pe,{configurable:!0,enumerable:!0,get:()=>de[pe],set:Qe})}if(Xo=!0,i)for(const de in i){const pe=i[de],Pt=ne(pe)?pe.bind(t,t):ne(pe.get)?pe.get.bind(t,t):Qe;process.env.NODE_ENV!=="production"&&Pt===Qe&&R(`Computed property "${de}" has no getter.`);const kn=!ne(pe)&&ne(pe.set)?pe.set.bind(t):process.env.NODE_ENV!=="production"?()=>{R(`Write operation failed: computed property "${de}" is readonly.`)}:Qe,ls=t0({get:Pt,set:kn});Object.defineProperty(s,de,{enumerable:!0,configurable:!0,get:()=>ls.value,set:On=>ls.value=On}),process.env.NODE_ENV!=="production"&&Xe("Computed",de)}if(a)for(const de in a)Rc(a[de],s,t,de);if(l){const de=ne(l)?l.call(t):l;Reflect.ownKeys(de).forEach(pe=>{Ed(pe,de[pe])})}u&&Sc(u,n,"c");function tt(de,pe){ee(pe)?pe.forEach(Pt=>de(Pt.bind(t))):pe&&de(pe.bind(t))}if(tt(Rd,f),tt(_c,p),tt(kd,g),tt(Od,T),tt(Td,A),tt(Ad,Y),tt(Md,te),tt(Pd,Ne),tt(Id,He),tt(yc,K),tt(Cc,B),tt(Nd,Ee),ee(Ie))if(Ie.length){const de=n.exposed||(n.exposed={});Ie.forEach(pe=>{Object.defineProperty(de,pe,{get:()=>t[pe],set:Pt=>t[pe]=Pt})})}else n.exposed||(n.exposed={});ae&&n.render===Qe&&(n.render=ae),Ye!=null&&(n.inheritAttrs=Ye),Ze&&(n.components=Ze),Ht&&(n.directives=Ht)}function Gd(n,e,t=Qe,s=!1){ee(n)&&(n=Jo(n));for(const r in n){const i=n[r];let o;Te(i)?"default"in i?o=ri(i.from||r,i.default,!0):o=ri(i.from||r):o=ri(i),Je(o)?s?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):(process.env.NODE_ENV!=="production"&&R(`injected property "${r}" is a ref and will be auto-unwrapped and no longer needs \`.value\` in the next minor release. To opt-in to the new behavior now, set \`app.config.unwrapInjectedRef = true\` (this config is temporary and will not be needed in the future.)`),e[r]=o):e[r]=o,process.env.NODE_ENV!=="production"&&t("Inject",r)}}function Sc(n,e,t){St(ee(n)?n.map(s=>s.bind(e.proxy)):n.bind(e.proxy),e,t)}function Rc(n,e,t,s){const r=s.includes(".")?pc(t,s):()=>t[s];if(De(n)){const i=e[n];ne(i)?Qs(r,i):process.env.NODE_ENV!=="production"&&R(`Invalid watch handler specified by key "${n}"`,i)}else if(ne(n))Qs(r,n.bind(t));else if(Te(n))if(ee(n))n.forEach(i=>Rc(i,e,t,s));else{const i=ne(n.handler)?n.handler.bind(t):e[n.handler];ne(i)?Qs(r,i,n):process.env.NODE_ENV!=="production"&&R(`Invalid watch handler specified by key "${n.handler}"`,i)}else process.env.NODE_ENV!=="production"&&R(`Invalid watch option: "${s}"`,n)}function Qo(n){const e=n.type,{mixins:t,extends:s}=e,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=n.appContext,a=i.get(e);let l;return a?l=a:!r.length&&!t&&!s?l=e:(l={},r.length&&r.forEach(c=>li(l,c,o,!0)),li(l,e,o)),Te(e)&&i.set(e,l),l}function li(n,e,t,s=!1){const{mixins:r,extends:i}=e;i&&li(n,i,t,!0),r&&r.forEach(o=>li(n,o,t,!0));for(const o in e)if(s&&o==="expose")process.env.NODE_ENV!=="production"&&R('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=jd[o]||t&&t[o];n[o]=a?a(n[o],e[o]):e[o]}return n}const jd={data:kc,props:Wn,emits:Wn,methods:Wn,computed:Wn,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:Wn,directives:Wn,watch:Zd,provide:kc,inject:zd};function kc(n,e){return e?n?function(){return Ue(ne(n)?n.call(this,this):n,ne(e)?e.call(this,this):e)}:e:n}function zd(n,e){return Wn(Jo(n),Jo(e))}function Jo(n){if(ee(n)){const e={};for(let t=0;t<n.length;t++)e[n[t]]=n[t];return e}return n}function ut(n,e){return n?[...new Set([].concat(n,e))]:e}function Wn(n,e){return n?Ue(Ue(Object.create(null),n),e):e}function Zd(n,e){if(!n)return e;if(!e)return n;const t=Ue(Object.create(null),n);for(const s in e)t[s]=ut(n[s],e[s]);return t}function qd(n,e,t,s=!1){const r={},i={};Br(i,fi,1),n.propsDefaults=Object.create(null),Oc(n,e,r,i);for(const o in n.propsOptions[0])o in r||(r[o]=void 0);process.env.NODE_ENV!=="production"&&Dc(e||{},r,n),t?n.props=s?r:$f(r):n.type.props?n.props=r:n.props=i,n.attrs=i}function Wd(n){for(;n;){if(n.type.__hmrId)return!0;n=n.parent}}function Kd(n,e,t,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=n,a=ce(r),[l]=n.propsOptions;let c=!1;if(!(process.env.NODE_ENV!=="production"&&Wd(n))&&(s||o>0)&&!(o&16)){if(o&8){const u=n.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(ei(n.emitsOptions,p))continue;const g=e[p];if(l)if(he(i,p))g!==i[p]&&(i[p]=g,c=!0);else{const T=jt(p);r[T]=e1(l,a,T,g,n,!1)}else g!==i[p]&&(i[p]=g,c=!0)}}}else{Oc(n,e,r,i)&&(c=!0);let u;for(const f in a)(!e||!he(e,f)&&((u=Ln(f))===f||!he(e,u)))&&(l?t&&(t[f]!==void 0||t[u]!==void 0)&&(r[f]=e1(l,a,f,void 0,n,!0)):delete r[f]);if(i!==a)for(const f in i)(!e||!he(e,f)&&!0)&&(delete i[f],c=!0)}c&&on(n,"set","$attrs"),process.env.NODE_ENV!=="production"&&Dc(e||{},r,n)}function Oc(n,e,t,s){const[r,i]=n.propsOptions;let o=!1,a;if(e)for(let l in e){if(Dr(l))continue;const c=e[l];let u;r&&he(r,u=jt(l))?!i||!i.includes(u)?t[u]=c:(a||(a={}))[u]=c:ei(n.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,o=!0)}if(i){const l=ce(t),c=a||we;for(let u=0;u<i.length;u++){const f=i[u];t[f]=e1(r,l,f,c[f],n,!he(c,f))}}return o}function e1(n,e,t,s,r,i){const o=n[t];if(o!=null){const a=he(o,"default");if(a&&s===void 0){const l=o.default;if(o.type!==Function&&ne(l)){const{propsDefaults:c}=r;t in c?s=c[t]:(ms(r),s=c[t]=l.call(null,e),Xn())}else s=l}o[0]&&(i&&!a?s=!1:o[1]&&(s===""||s===Ln(t))&&(s=!0))}return s}function Nc(n,e,t=!1){const s=e.propsCache,r=s.get(n);if(r)return r;const i=n.props,o={},a=[];let l=!1;if(!ne(n)){const u=f=>{l=!0;const[p,g]=Nc(f,e,!0);Ue(o,p),g&&a.push(...g)};!t&&e.mixins.length&&e.mixins.forEach(u),n.extends&&u(n.extends),n.mixins&&n.mixins.forEach(u)}if(!i&&!l)return Te(n)&&s.set(n,fs),fs;if(ee(i))for(let u=0;u<i.length;u++){process.env.NODE_ENV!=="production"&&!De(i[u])&&R("props must be strings when using array syntax.",i[u]);const f=jt(i[u]);Ic(f)&&(o[f]=we)}else if(i){process.env.NODE_ENV!=="production"&&!Te(i)&&R("invalid props options",i);for(const u in i){const f=jt(u);if(Ic(f)){const p=i[u],g=o[f]=ee(p)||ne(p)?{type:p}:Object.assign({},p);if(g){const T=Mc(Boolean,g.type),A=Mc(String,g.type);g[0]=T>-1,g[1]=A<0||T<A,(T>-1||he(g,"default"))&&a.push(f)}}}}const c=[o,a];return Te(n)&&s.set(n,c),c}function Ic(n){return n[0]!=="$"?!0:(process.env.NODE_ENV!=="production"&&R(`Invalid prop name: "${n}" is a reserved property.`),!1)}function t1(n){const e=n&&n.toString().match(/^\s*function (\w+)/);return e?e[1]:n===null?"null":""}function Pc(n,e){return t1(n)===t1(e)}function Mc(n,e){return ee(e)?e.findIndex(t=>Pc(t,n)):ne(e)&&Pc(e,n)?0:-1}function Dc(n,e,t){const s=ce(e),r=t.propsOptions[0];for(const i in r){let o=r[i];o!=null&&Yd(i,s[i],o,!he(n,i)&&!he(n,Ln(i)))}}function Yd(n,e,t,s){const{type:r,required:i,validator:o}=t;if(i&&s){R('Missing required prop: "'+n+'"');return}if(!(e==null&&!t.required)){if(r!=null&&r!==!0){let a=!1;const l=ee(r)?r:[r],c=[];for(let u=0;u<l.length&&!a;u++){const{valid:f,expectedType:p}=Qd(e,l[u]);c.push(p||""),a=f}if(!a){R(Jd(n,e,c));return}}o&&!o(e)&&R('Invalid prop: custom validator check failed for prop "'+n+'".')}}const Xd=mn("String,Number,Boolean,Function,Symbol,BigInt");function Qd(n,e){let t;const s=t1(e);if(Xd(s)){const r=typeof n;t=r===s.toLowerCase(),!t&&r==="object"&&(t=n instanceof e)}else s==="Object"?t=Te(n):s==="Array"?t=ee(n):s==="null"?t=n===null:t=n instanceof e;return{valid:t,expectedType:s}}function Jd(n,e,t){let s=`Invalid prop: type check failed for prop "${n}". Expected ${t.map(Pn).join(" | ")}`;const r=t[0],i=Eo(e),o=Fc(e,r),a=Fc(e,i);return t.length===1&&$c(r)&&!e3(r,i)&&(s+=` with value ${o}`),s+=`, got ${i} `,$c(i)&&(s+=`with value ${a}.`),s}function Fc(n,e){return e==="String"?`"${n}"`:e==="Number"?`${Number(n)}`:`${n}`}function $c(n){return["string","number","boolean"].some(t=>n.toLowerCase()===t)}function e3(...n){return n.some(e=>e.toLowerCase()==="boolean")}const Bc=n=>n[0]==="_"||n==="$stable",n1=n=>ee(n)?n.map($t):[$t(n)],t3=(n,e,t)=>{if(e._n)return e;const s=pd((...r)=>(process.env.NODE_ENV!=="production"&&ze&&R(`Slot "${n}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),n1(e(...r))),t);return s._c=!1,s},Uc=(n,e,t)=>{const s=n._ctx;for(const r in n){if(Bc(r))continue;const i=n[r];if(ne(i))e[r]=t3(r,i,s);else if(i!=null){process.env.NODE_ENV!=="production"&&R(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const o=n1(i);e[r]=()=>o}}},Vc=(n,e)=>{process.env.NODE_ENV!=="production"&&!er(n.vnode)&&R("Non-function value encountered for default slot. Prefer function slots for better performance.");const t=n1(e);n.slots.default=()=>t},n3=(n,e)=>{if(n.vnode.shapeFlag&32){const t=e._;t?(n.slots=ce(e),Br(e,"_",t)):Uc(e,n.slots={})}else n.slots={},e&&Vc(n,e);Br(n.slots,fi,1)},s3=(n,e,t)=>{const{vnode:s,slots:r}=n;let i=!0,o=we;if(s.shapeFlag&32){const a=e._;a?process.env.NODE_ENV!=="production"&&Hn?Ue(r,e):t&&a===1?i=!1:(Ue(r,e),!t&&a===1&&delete r._):(i=!e.$stable,Uc(e,r)),o=e}else e&&(Vc(n,e),o={default:1});if(i)for(const a in r)!Bc(a)&&!(a in o)&&delete r[a]};function Hc(){return{app:null,config:{isNativeTag:yl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let r3=0;function i3(n,e){return function(s,r=null){ne(s)||(s=Object.assign({},s)),r!=null&&!Te(r)&&(process.env.NODE_ENV!=="production"&&R("root props passed to app.mount() must be an object."),r=null);const i=Hc(),o=new Set;let a=!1;const l=i.app={_uid:r3++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:n0,get config(){return i.config},set config(c){process.env.NODE_ENV!=="production"&&R("app.config cannot be replaced. Modify individual options instead.")},use(c,...u){return o.has(c)?process.env.NODE_ENV!=="production"&&R("Plugin has already been applied to target app."):c&&ne(c.install)?(o.add(c),c.install(l,...u)):ne(c)?(o.add(c),c(l,...u)):process.env.NODE_ENV!=="production"&&R('A plugin must either be a function or an object with an "install" function.'),l},mixin(c){return i.mixins.includes(c)?process.env.NODE_ENV!=="production"&&R("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):i.mixins.push(c),l},component(c,u){return process.env.NODE_ENV!=="production"&&i1(c,i.config),u?(process.env.NODE_ENV!=="production"&&i.components[c]&&R(`Component "${c}" has already been registered in target app.`),i.components[c]=u,l):i.components[c]},directive(c,u){return process.env.NODE_ENV!=="production"&&Ec(c),u?(process.env.NODE_ENV!=="production"&&i.directives[c]&&R(`Directive "${c}" has already been registered in target app.`),i.directives[c]=u,l):i.directives[c]},mount(c,u,f){if(a)process.env.NODE_ENV!=="production"&&R("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&c.__vue_app__&&R("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const p=fe(s,r);return p.appContext=i,process.env.NODE_ENV!=="production"&&(i.reload=()=>{n(Xt(p),c,f)}),u&&e?e(p,c):n(p,c,f),a=!0,l._container=c,c.__vue_app__=l,process.env.NODE_ENV!=="production"&&(l._instance=p.component,id(l,n0)),gi(p.component)||p.component.proxy}},unmount(){a?(n(null,l._container),process.env.NODE_ENV!=="production"&&(l._instance=null,od(l)),delete l._container.__vue_app__):process.env.NODE_ENV!=="production"&&R("Cannot unmount an app that is not mounted.")},provide(c,u){return process.env.NODE_ENV!=="production"&&c in i.provides&&R(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`),i.provides[c]=u,l}};return l}}function s1(n,e,t,s,r=!1){if(ee(n)){n.forEach((p,g)=>s1(p,e&&(ee(e)?e[g]:e),t,s,r));return}if(Js(s)&&!r)return;const i=s.shapeFlag&4?gi(s.component)||s.component.proxy:s.el,o=r?null:i,{i:a,r:l}=n;if(process.env.NODE_ENV!=="production"&&!a){R("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=e&&e.r,u=a.refs===we?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(De(c)?(u[c]=null,he(f,c)&&(f[c]=null)):Je(c)&&(c.value=null)),ne(l))an(l,a,12,[o,u]);else{const p=De(l),g=Je(l);if(p||g){const T=()=>{if(n.f){const A=p?he(f,l)?f[l]:u[l]:l.value;r?ee(A)&&_o(A,i):ee(A)?A.includes(i)||A.push(i):p?(u[l]=[i],he(f,l)&&(f[l]=u[l])):(l.value=[i],n.k&&(u[n.k]=l.value))}else p?(u[l]=o,he(f,l)&&(f[l]=o)):g?(l.value=o,n.k&&(u[n.k]=o)):process.env.NODE_ENV!=="production"&&R("Invalid template ref type:",l,`(${typeof l})`)};o?(T.id=-1,gt(T,t)):T()}else process.env.NODE_ENV!=="production"&&R("Invalid template ref type:",l,`(${typeof l})`)}}let tr,bn;function cn(n,e){n.appContext.config.performance&&ci()&&bn.mark(`vue-${e}-${n.uid}`),process.env.NODE_ENV!=="production"&&ud(n,e,ci()?bn.now():Date.now())}function un(n,e){if(n.appContext.config.performance&&ci()){const t=`vue-${e}-${n.uid}`,s=t+":end";bn.mark(s),bn.measure(`<${xi(n,n.type)}> ${e}`,t,s),bn.clearMarks(t),bn.clearMarks(s)}process.env.NODE_ENV!=="production"&&hd(n,e,ci()?bn.now():Date.now())}function ci(){return tr!==void 0||(typeof window<"u"&&window.performance?(tr=!0,bn=window.performance):tr=!1),tr}function o3(){const n=[];if(process.env.NODE_ENV!=="production"&&n.length){const e=n.length>1;console.warn(`Feature flag${e?"s":""} ${n.join(", ")} ${e?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
7
-
8
- For more details, see https://link.vuejs.org/feature-flags.`)}}const gt=Cd;function a3(n){return l3(n)}function l3(n,e){o3();const t=Tl();t.__VUE__=!0,process.env.NODE_ENV!=="production"&&oc(t.__VUE_DEVTOOLS_GLOBAL_HOOK__,t);const{insert:s,remove:r,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:p,setScopeId:g=Qe,insertStaticContent:T}=n,A=(d,x,C,v=null,E=null,k=null,P=!1,S=null,N=process.env.NODE_ENV!=="production"&&Hn?!1:!!x.dynamicChildren)=>{if(d===x)return;d&&!Yn(d,x)&&(v=Mt(d),w(d,E,k,!0),d=null),x.patchFlag===-2&&(N=!1,x.dynamicChildren=null);const{type:y,ref:Z,shapeFlag:D}=x;switch(y){case nr:Y(d,x,C,v);break;case We:q(d,x,C,v);break;case sr:d==null?K(x,C,v,P):process.env.NODE_ENV!=="production"&&se(d,x,C,P);break;case Ve:Ht(d,x,C,v,E,k,P,S,N);break;default:D&1?Ne(d,x,C,v,E,k,P,S,N):D&6?Bs(d,x,C,v,E,k,P,S,N):D&64||D&128?y.process(d,x,C,v,E,k,P,S,N,nt):process.env.NODE_ENV!=="production"&&R("Invalid VNode type:",y,`(${typeof y})`)}Z!=null&&E&&s1(Z,d&&d.ref,k,x||d,!x)},Y=(d,x,C,v)=>{if(d==null)s(x.el=a(x.children),C,v);else{const E=x.el=d.el;x.children!==d.children&&c(E,x.children)}},q=(d,x,C,v)=>{d==null?s(x.el=l(x.children||""),C,v):x.el=d.el},K=(d,x,C,v)=>{[d.el,d.anchor]=T(d.children,x,C,v,d.el,d.anchor)},se=(d,x,C,v)=>{if(x.children!==d.children){const E=p(d.anchor);ae(d),[x.el,x.anchor]=T(x.children,C,E,v)}else x.el=d.el,x.anchor=d.anchor},B=({el:d,anchor:x},C,v)=>{let E;for(;d&&d!==x;)E=p(d),s(d,C,v),d=E;s(x,C,v)},ae=({el:d,anchor:x})=>{let C;for(;d&&d!==x;)C=p(d),r(d),d=C;r(x)},Ne=(d,x,C,v,E,k,P,S,N)=>{P=P||x.type==="svg",d==null?He(x,C,v,E,k,P,S,N):Ie(d,x,E,k,P,S,N)},He=(d,x,C,v,E,k,P,S)=>{let N,y;const{type:Z,props:D,shapeFlag:$,transition:J,dirs:oe}=d;if(N=d.el=o(d.type,k,D&&D.is,D),$&8?u(N,d.children):$&16&&Ee(d.children,N,null,v,E,k&&Z!=="foreignObject",P,S),oe&&zn(d,null,v,"created"),D){for(const _e in D)_e!=="value"&&!Dr(_e)&&i(N,_e,null,D[_e],k,d.children,v,E,Se);"value"in D&&i(N,"value",null,D.value),(y=D.onVnodeBeforeMount)&&Qt(y,v,d)}te(N,d,d.scopeId,P,v),process.env.NODE_ENV!=="production"&&(Object.defineProperty(N,"__vnode",{value:d,enumerable:!1}),Object.defineProperty(N,"__vueParentComponent",{value:v,enumerable:!1})),oe&&zn(d,null,v,"beforeMount");const be=(!E||E&&!E.pendingBranch)&&J&&!J.persisted;be&&J.beforeEnter(N),s(N,x,C),((y=D&&D.onVnodeMounted)||be||oe)&&gt(()=>{y&&Qt(y,v,d),be&&J.enter(N),oe&&zn(d,null,v,"mounted")},E)},te=(d,x,C,v,E)=>{if(C&&g(d,C),v)for(let k=0;k<v.length;k++)g(d,v[k]);if(E){let k=E.subTree;if(process.env.NODE_ENV!=="production"&&k.patchFlag>0&&k.patchFlag&2048&&(k=uc(k.children)||k),x===k){const P=E.vnode;te(d,P,P.scopeId,P.slotScopeIds,E.parent)}}},Ee=(d,x,C,v,E,k,P,S,N=0)=>{for(let y=N;y<d.length;y++){const Z=d[y]=S?vn(d[y]):$t(d[y]);A(null,Z,x,C,v,E,k,P,S)}},Ie=(d,x,C,v,E,k,P)=>{const S=x.el=d.el;let{patchFlag:N,dynamicChildren:y,dirs:Z}=x;N|=d.patchFlag&16;const D=d.props||we,$=x.props||we;let J;C&&Kn(C,!1),(J=$.onVnodeBeforeUpdate)&&Qt(J,C,x,d),Z&&zn(x,d,C,"beforeUpdate"),C&&Kn(C,!0),process.env.NODE_ENV!=="production"&&Hn&&(N=0,P=!1,y=null);const oe=E&&x.type!=="foreignObject";if(y?(Ye(d.dynamicChildren,y,S,C,v,oe,k),process.env.NODE_ENV!=="production"&&C&&C.type.__hmrId&&ui(d,x)):P||Pt(d,x,S,null,C,v,oe,k,!1),N>0){if(N&16)Ze(S,x,D,$,C,v,E);else if(N&2&&D.class!==$.class&&i(S,"class",null,$.class,E),N&4&&i(S,"style",D.style,$.style,E),N&8){const be=x.dynamicProps;for(let _e=0;_e<be.length;_e++){const F=be[_e],z=D[F],ie=$[F];(ie!==z||F==="value")&&i(S,F,z,ie,E,d.children,C,v,Se)}}N&1&&d.children!==x.children&&u(S,x.children)}else!P&&y==null&&Ze(S,x,D,$,C,v,E);((J=$.onVnodeUpdated)||Z)&&gt(()=>{J&&Qt(J,C,x,d),Z&&zn(x,d,C,"updated")},v)},Ye=(d,x,C,v,E,k,P)=>{for(let S=0;S<x.length;S++){const N=d[S],y=x[S],Z=N.el&&(N.type===Ve||!Yn(N,y)||N.shapeFlag&70)?f(N.el):C;A(N,y,Z,null,v,E,k,P,!0)}},Ze=(d,x,C,v,E,k,P)=>{if(C!==v){if(C!==we)for(const S in C)!Dr(S)&&!(S in v)&&i(d,S,C[S],null,P,x.children,E,k,Se);for(const S in v){if(Dr(S))continue;const N=v[S],y=C[S];N!==y&&S!=="value"&&i(d,S,y,N,P,x.children,E,k,Se)}"value"in v&&i(d,"value",C.value,v.value)}},Ht=(d,x,C,v,E,k,P,S,N)=>{const y=x.el=d?d.el:a(""),Z=x.anchor=d?d.anchor:a("");let{patchFlag:D,dynamicChildren:$,slotScopeIds:J}=x;process.env.NODE_ENV!=="production"&&(Hn||D&2048)&&(D=0,N=!1,$=null),J&&(S=S?S.concat(J):J),d==null?(s(y,C,v),s(Z,C,v),Ee(x.children,C,Z,E,k,P,S,N)):D>0&&D&64&&$&&d.dynamicChildren?(Ye(d.dynamicChildren,$,C,E,k,P,S),process.env.NODE_ENV!=="production"&&E&&E.type.__hmrId?ui(d,x):(x.key!=null||E&&x===E.subTree)&&ui(d,x,!0)):Pt(d,x,C,Z,E,k,P,S,N)},Bs=(d,x,C,v,E,k,P,S,N)=>{x.slotScopeIds=S,d==null?x.shapeFlag&512?E.ctx.activate(x,C,v,P,N):Xe(x,C,v,E,k,P,N):tt(d,x,N)},Xe=(d,x,C,v,E,k,P)=>{const S=d.component=m3(d,v,E);if(process.env.NODE_ENV!=="production"&&S.type.__hmrId&&td(S),process.env.NODE_ENV!=="production"&&(Yr(d),cn(S,"mount")),er(d)&&(S.ctx.renderer=nt),process.env.NODE_ENV!=="production"&&cn(S,"init"),y3(S),process.env.NODE_ENV!=="production"&&un(S,"init"),S.asyncDep){if(E&&E.registerDep(S,de),!d.el){const N=S.subTree=fe(We);q(null,N,x,C)}return}de(S,d,x,C,E,k,P),process.env.NODE_ENV!=="production"&&(Xr(),un(S,"mount"))},tt=(d,x,C)=>{const v=x.component=d.component;if(Ld(d,x,C))if(v.asyncDep&&!v.asyncResolved){process.env.NODE_ENV!=="production"&&Yr(x),pe(v,x,C),process.env.NODE_ENV!=="production"&&Xr();return}else v.next=x,Jf(v.update),v.update();else x.el=d.el,v.vnode=x},de=(d,x,C,v,E,k,P)=>{const S=()=>{if(d.isMounted){let{next:Z,bu:D,u:$,parent:J,vnode:oe}=d,be=Z,_e;process.env.NODE_ENV!=="production"&&Yr(Z||d.vnode),Kn(d,!1),Z?(Z.el=oe.el,pe(d,Z,P)):Z=oe,D&&js(D),(_e=Z.props&&Z.props.onVnodeBeforeUpdate)&&Qt(_e,J,Z,oe),Kn(d,!0),process.env.NODE_ENV!=="production"&&cn(d,"render");const F=Go(d);process.env.NODE_ENV!=="production"&&un(d,"render");const z=d.subTree;d.subTree=F,process.env.NODE_ENV!=="production"&&cn(d,"patch"),A(z,F,f(z.el),Mt(z),d,E,k),process.env.NODE_ENV!=="production"&&un(d,"patch"),Z.el=F.el,be===null&&_d(d,F.el),$&&gt($,E),(_e=Z.props&&Z.props.onVnodeUpdated)&&gt(()=>Qt(_e,J,Z,oe),E),process.env.NODE_ENV!=="production"&&ac(d),process.env.NODE_ENV!=="production"&&Xr()}else{let Z;const{el:D,props:$}=x,{bm:J,m:oe,parent:be}=d,_e=Js(x);if(Kn(d,!1),J&&js(J),!_e&&(Z=$&&$.onVnodeBeforeMount)&&Qt(Z,be,x),Kn(d,!0),D&&Dt){const F=()=>{process.env.NODE_ENV!=="production"&&cn(d,"render"),d.subTree=Go(d),process.env.NODE_ENV!=="production"&&un(d,"render"),process.env.NODE_ENV!=="production"&&cn(d,"hydrate"),Dt(D,d.subTree,d,E,null),process.env.NODE_ENV!=="production"&&un(d,"hydrate")};_e?x.type.__asyncLoader().then(()=>!d.isUnmounted&&F()):F()}else{process.env.NODE_ENV!=="production"&&cn(d,"render");const F=d.subTree=Go(d);process.env.NODE_ENV!=="production"&&un(d,"render"),process.env.NODE_ENV!=="production"&&cn(d,"patch"),A(null,F,C,v,d,E,k),process.env.NODE_ENV!=="production"&&un(d,"patch"),x.el=F.el}if(oe&&gt(oe,E),!_e&&(Z=$&&$.onVnodeMounted)){const F=x;gt(()=>Qt(Z,be,F),E)}(x.shapeFlag&256||be&&Js(be.vnode)&&be.vnode.shapeFlag&256)&&d.a&&gt(d.a,E),d.isMounted=!0,process.env.NODE_ENV!=="production"&&ad(d),x=C=v=null}},N=d.effect=new So(S,()=>Jr(y),d.scope),y=d.update=()=>N.run();y.id=d.uid,Kn(d,!0),process.env.NODE_ENV!=="production"&&(N.onTrack=d.rtc?Z=>js(d.rtc,Z):void 0,N.onTrigger=d.rtg?Z=>js(d.rtg,Z):void 0,y.ownerInstance=d),y()},pe=(d,x,C)=>{x.component=d;const v=d.vnode.props;d.vnode=x,d.next=null,Kd(d,x.props,v,C),s3(d,x.children,C),Fn(),tc(),$n()},Pt=(d,x,C,v,E,k,P,S,N=!1)=>{const y=d&&d.children,Z=d?d.shapeFlag:0,D=x.children,{patchFlag:$,shapeFlag:J}=x;if($>0){if($&128){ls(y,D,C,v,E,k,P,S,N);return}else if($&256){kn(y,D,C,v,E,k,P,S,N);return}}J&8?(Z&16&&Se(y,E,k),D!==y&&u(C,D)):Z&16?J&16?ls(y,D,C,v,E,k,P,S,N):Se(y,E,k,!0):(Z&8&&u(C,""),J&16&&Ee(D,C,v,E,k,P,S,N))},kn=(d,x,C,v,E,k,P,S,N)=>{d=d||fs,x=x||fs;const y=d.length,Z=x.length,D=Math.min(y,Z);let $;for($=0;$<D;$++){const J=x[$]=N?vn(x[$]):$t(x[$]);A(d[$],J,C,null,E,k,P,S,N)}y>Z?Se(d,E,k,!0,!1,D):Ee(x,C,v,E,k,P,S,N,D)},ls=(d,x,C,v,E,k,P,S,N)=>{let y=0;const Z=x.length;let D=d.length-1,$=Z-1;for(;y<=D&&y<=$;){const J=d[y],oe=x[y]=N?vn(x[y]):$t(x[y]);if(Yn(J,oe))A(J,oe,C,null,E,k,P,S,N);else break;y++}for(;y<=D&&y<=$;){const J=d[D],oe=x[$]=N?vn(x[$]):$t(x[$]);if(Yn(J,oe))A(J,oe,C,null,E,k,P,S,N);else break;D--,$--}if(y>D){if(y<=$){const J=$+1,oe=J<Z?x[J].el:v;for(;y<=$;)A(null,x[y]=N?vn(x[y]):$t(x[y]),C,oe,E,k,P,S,N),y++}}else if(y>$)for(;y<=D;)w(d[y],E,k,!0),y++;else{const J=y,oe=y,be=new Map;for(y=oe;y<=$;y++){const st=x[y]=N?vn(x[y]):$t(x[y]);st.key!=null&&(process.env.NODE_ENV!=="production"&&be.has(st.key)&&R("Duplicate keys found during update:",JSON.stringify(st.key),"Make sure keys are unique."),be.set(st.key,y))}let _e,F=0;const z=$-oe+1;let ie=!1,ve=0;const Ge=new Array(z);for(y=0;y<z;y++)Ge[y]=0;for(y=J;y<=D;y++){const st=d[y];if(F>=z){w(st,E,k,!0);continue}let rn;if(st.key!=null)rn=be.get(st.key);else for(_e=oe;_e<=$;_e++)if(Ge[_e-oe]===0&&Yn(st,x[_e])){rn=_e;break}rn===void 0?w(st,E,k,!0):(Ge[rn-oe]=y+1,rn>=ve?ve=rn:ie=!0,A(st,x[rn],C,null,E,k,P,S,N),F++)}const cs=ie?c3(Ge):fs;for(_e=cs.length-1,y=z-1;y>=0;y--){const st=oe+y,rn=x[st],O2=st+1<Z?x[st+1].el:v;Ge[y]===0?A(null,rn,C,O2,E,k,P,S,N):ie&&(_e<0||y!==cs[_e]?On(rn,C,O2,2):_e--)}}},On=(d,x,C,v,E=null)=>{const{el:k,type:P,transition:S,children:N,shapeFlag:y}=d;if(y&6){On(d.component.subTree,x,C,v);return}if(y&128){d.suspense.move(x,C,v);return}if(y&64){P.move(d,x,C,nt);return}if(P===Ve){s(k,x,C);for(let D=0;D<N.length;D++)On(N[D],x,C,v);s(d.anchor,x,C);return}if(P===sr){B(d,x,C);return}if(v!==2&&y&1&&S)if(v===0)S.beforeEnter(k),s(k,x,C),gt(()=>S.enter(k),E);else{const{leave:D,delayLeave:$,afterLeave:J}=S,oe=()=>s(k,x,C),be=()=>{D(k,()=>{oe(),J&&J()})};$?$(k,oe,be):be()}else s(k,x,C)},w=(d,x,C,v=!1,E=!1)=>{const{type:k,props:P,ref:S,children:N,dynamicChildren:y,shapeFlag:Z,patchFlag:D,dirs:$}=d;if(S!=null&&s1(S,null,C,d,!0),Z&256){x.ctx.deactivate(d);return}const J=Z&1&&$,oe=!Js(d);let be;if(oe&&(be=P&&P.onVnodeBeforeUnmount)&&Qt(be,x,d),Z&6)Ae(d.component,C,v);else{if(Z&128){d.suspense.unmount(C,v);return}J&&zn(d,null,x,"beforeUnmount"),Z&64?d.type.remove(d,x,C,E,nt,v):y&&(k!==Ve||D>0&&D&64)?Se(y,x,C,!1,!0):(k===Ve&&D&384||!E&&Z&16)&&Se(N,x,C),v&&j(d)}(oe&&(be=P&&P.onVnodeUnmounted)||J)&&gt(()=>{be&&Qt(be,x,d),J&&zn(d,null,x,"unmounted")},C)},j=d=>{const{type:x,el:C,anchor:v,transition:E}=d;if(x===Ve){process.env.NODE_ENV!=="production"&&d.patchFlag>0&&d.patchFlag&2048&&E&&!E.persisted?d.children.forEach(P=>{P.type===We?r(P.el):j(P)}):ge(C,v);return}if(x===sr){ae(d);return}const k=()=>{r(C),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(d.shapeFlag&1&&E&&!E.persisted){const{leave:P,delayLeave:S}=E,N=()=>P(C,k);S?S(d.el,k,N):N()}else k()},ge=(d,x)=>{let C;for(;d!==x;)C=p(d),r(d),d=C;r(x)},Ae=(d,x,C)=>{process.env.NODE_ENV!=="production"&&d.type.__hmrId&&nd(d);const{bum:v,scope:E,update:k,subTree:P,um:S}=d;v&&js(v),E.stop(),k&&(k.active=!1,w(P,d,x,C)),S&&gt(S,x),gt(()=>{d.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve()),process.env.NODE_ENV!=="production"&&cd(d)},Se=(d,x,C,v=!1,E=!1,k=0)=>{for(let P=k;P<d.length;P++)w(d[P],x,C,v,E)},Mt=d=>d.shapeFlag&6?Mt(d.component.subTree):d.shapeFlag&128?d.suspense.next():p(d.anchor||d.el),At=(d,x,C)=>{d==null?x._vnode&&w(x._vnode,null,null,!0):A(x._vnode||null,d,x,null,null,null,C),tc(),nc(),x._vnode=d},nt={p:A,um:w,m:On,r:j,mt:Xe,mc:Ee,pc:Pt,pbc:Ye,n:Mt,o:n};let _t,Dt;return e&&([_t,Dt]=e(nt)),{render:At,hydrate:_t,createApp:i3(At,_t)}}function Kn({effect:n,update:e},t){n.allowRecurse=e.allowRecurse=t}function ui(n,e,t=!1){const s=n.children,r=e.children;if(ee(s)&&ee(r))for(let i=0;i<s.length;i++){const o=s[i];let a=r[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[i]=vn(r[i]),a.el=o.el),t||ui(o,a)),a.type===nr&&(a.el=o.el),process.env.NODE_ENV!=="production"&&a.type===We&&!a.el&&(a.el=o.el)}}function c3(n){const e=n.slice(),t=[0];let s,r,i,o,a;const l=n.length;for(s=0;s<l;s++){const c=n[s];if(c!==0){if(r=t[t.length-1],n[r]<c){e[s]=r,t.push(s);continue}for(i=0,o=t.length-1;i<o;)a=i+o>>1,n[t[a]]<c?i=a+1:o=a;c<n[t[i]]&&(i>0&&(e[s]=t[i-1]),t[i]=s)}}for(i=t.length,o=t[i-1];i-- >0;)t[i]=o,o=e[o];return t}const u3=n=>n.__isTeleport,Ve=Symbol(process.env.NODE_ENV!=="production"?"Fragment":void 0),nr=Symbol(process.env.NODE_ENV!=="production"?"Text":void 0),We=Symbol(process.env.NODE_ENV!=="production"?"Comment":void 0),sr=Symbol(process.env.NODE_ENV!=="production"?"Static":void 0),rr=[];let Ft=null;function I(n=!1){rr.push(Ft=n?null:[])}function h3(){rr.pop(),Ft=rr[rr.length-1]||null}let ir=1;function Gc(n){ir+=n}function jc(n){return n.dynamicChildren=ir>0?Ft||fs:null,h3(),ir>0&&Ft&&Ft.push(n),n}function W(n,e,t,s,r,i){return jc(b(n,e,t,s,r,i,!0))}function Re(n,e,t,s,r){return jc(fe(n,e,t,s,r,!0))}function hi(n){return n?n.__v_isVNode===!0:!1}function Yn(n,e){return process.env.NODE_ENV!=="production"&&e.shapeFlag&6&&xs.has(e.type)?(n.shapeFlag&=-257,e.shapeFlag&=-513,!1):n.type===e.type&&n.key===e.key}const f3=(...n)=>Zc(...n),fi="__vInternal",zc=({key:n})=>n!=null?n:null,di=({ref:n,ref_key:e,ref_for:t})=>n!=null?De(n)||Je(n)||ne(n)?{i:je,r:n,k:e,f:!!t}:n:null;function b(n,e=null,t=null,s=0,r=null,i=n===Ve?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&zc(e),ref:e&&di(e),scopeId:ti,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:je};return a?(r1(l,t),i&128&&n.normalize(l)):t&&(l.shapeFlag|=De(t)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&R("VNode created with invalid key (NaN). VNode type:",l.type),ir>0&&!o&&Ft&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Ft.push(l),l}const fe=process.env.NODE_ENV!=="production"?f3:Zc;function Zc(n,e=null,t=null,s=0,r=null,i=!1){if((!n||n===bc)&&(process.env.NODE_ENV!=="production"&&!n&&R(`Invalid vnode type when creating vnode: ${n}.`),n=We),hi(n)){const a=Xt(n,e,!0);return t&&r1(a,t),ir>0&&!i&&Ft&&(a.shapeFlag&6?Ft[Ft.indexOf(n)]=a:Ft.push(a)),a.patchFlag|=-2,a}if(e0(n)&&(n=n.__vccOpts),e){e=d3(e);let{class:a,style:l}=e;a&&!De(a)&&(e.class=lt(a)),Te(l)&&(No(l)&&!ee(l)&&(l=Ue({},l)),e.style=xe(l))}const o=De(n)?1:yd(n)?128:u3(n)?64:Te(n)?4:ne(n)?2:0;return process.env.NODE_ENV!=="production"&&o&4&&No(n)&&(n=ce(n),R("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
9
- Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){return n?No(n)||fi in n?Ue({},n):n:null}function Xt(n,e,t=!1){const{props:s,ref:r,patchFlag:i,children:o}=n,a=e?p3(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:a,key:a&&zc(a),ref:e&&e.ref?t&&r?ee(r)?r.concat(di(e)):[r,di(e)]:di(e):r,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:process.env.NODE_ENV!=="production"&&i===-1&&ee(o)?o.map(qc):o,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Ve?i===-1?16:i|16:i,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&Xt(n.ssContent),ssFallback:n.ssFallback&&Xt(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx}}function qc(n){const e=Xt(n);return ee(n.children)&&(e.children=n.children.map(qc)),e}function pi(n=" ",e=0){return fe(nr,null,n,e)}function Wc(n,e){const t=fe(sr,null,n);return t.staticCount=e,t}function ye(n="",e=!1){return e?(I(),Re(We,null,n)):fe(We,null,n)}function $t(n){return n==null||typeof n=="boolean"?fe(We):ee(n)?fe(Ve,null,n.slice()):typeof n=="object"?vn(n):fe(nr,null,String(n))}function vn(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:Xt(n)}function r1(n,e){let t=0;const{shapeFlag:s}=n;if(e==null)e=null;else if(ee(e))t=16;else if(typeof e=="object")if(s&65){const r=e.default;r&&(r._c&&(r._d=!1),r1(n,r()),r._c&&(r._d=!0));return}else{t=32;const r=e._;!r&&!(fi in e)?e._ctx=je:r===3&&je&&(je.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else ne(e)?(e={default:e,_ctx:je},t=32):(e=String(e),s&64?(t=16,e=[pi(e)]):t=8);n.children=e,n.shapeFlag|=t}function p3(...n){const e={};for(let t=0;t<n.length;t++){const s=n[t];for(const r in s)if(r==="class")e.class!==s.class&&(e.class=lt([e.class,s.class]));else if(r==="style")e.style=xe([e.style,s.style]);else if(Gs(r)){const i=e[r],o=s[r];o&&i!==o&&!(ee(i)&&i.includes(o))&&(e[r]=i?[].concat(i,o):o)}else r!==""&&(e[r]=s[r])}return e}function Qt(n,e,t,s=null){St(n,e,7,[t,s])}const g3=Hc();let x3=0;function m3(n,e,t){const s=n.type,r=(e?e.appContext:n.appContext)||g3,i={uid:x3++,vnode:n,type:s,parent:e,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Al(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Nc(s,r),emitsOptions:cc(s,r),emit:null,emitted:null,propsDefaults:we,inheritAttrs:s.inheritAttrs,ctx:we,data:we,props:we,attrs:we,slots:we,refs:we,setupState:we,setupContext:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return process.env.NODE_ENV!=="production"?i.ctx=$d(i):i.ctx={_:i},i.root=e?e.root:i,i.emit=dd.bind(null,i),n.ce&&n.ce(i),i}let ze=null;const L3=()=>ze||je,ms=n=>{ze=n,n.scope.on()},Xn=()=>{ze&&ze.scope.off(),ze=null},_3=mn("slot,component");function i1(n,e){const t=e.isNativeTag||yl;(_3(n)||t(n))&&R("Do not use built-in or reserved HTML elements as component id: "+n)}function Kc(n){return n.vnode.shapeFlag&4}let or=!1;function y3(n,e=!1){or=e;const{props:t,children:s}=n.vnode,r=Kc(n);qd(n,t,r,e),n3(n,s);const i=r?C3(n,e):void 0;return or=!1,i}function C3(n,e){var t;const s=n.type;if(process.env.NODE_ENV!=="production"){if(s.name&&i1(s.name,n.appContext.config),s.components){const i=Object.keys(s.components);for(let o=0;o<i.length;o++)i1(i[o],n.appContext.config)}if(s.directives){const i=Object.keys(s.directives);for(let o=0;o<i.length;o++)Ec(i[o])}s.compilerOptions&&Xc()&&R('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}n.accessCache=Object.create(null),n.proxy=Wl(new Proxy(n.ctx,Ac)),process.env.NODE_ENV!=="production"&&Bd(n);const{setup:r}=s;if(r){const i=n.setupContext=r.length>1?E3(n):null;ms(n),Fn();const o=an(r,n,0,[process.env.NODE_ENV!=="production"?ps(n.props):n.props,i]);if($n(),Xn(),Co(o)){if(o.then(Xn,Xn),e)return o.then(a=>{Yc(n,a,e)}).catch(a=>{Qr(a,n,0)});if(n.asyncDep=o,process.env.NODE_ENV!=="production"&&!n.suspense){const a=(t=s.name)!==null&&t!==void 0?t:"Anonymous";R(`Component <${a}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Yc(n,o,e)}else Qc(n,e)}function Yc(n,e,t){ne(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:Te(e)?(process.env.NODE_ENV!=="production"&&hi(e)&&R("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(n.devtoolsRawSetupState=e),n.setupState=Kl(e),process.env.NODE_ENV!=="production"&&Ud(n)):process.env.NODE_ENV!=="production"&&e!==void 0&&R(`setup() should return an object. Received: ${e===null?"null":typeof e}`),Qc(n,t)}let o1;const Xc=()=>!o1;function Qc(n,e,t){const s=n.type;if(!n.render){if(!e&&o1&&!s.render){const r=s.template||Qo(n).template;if(r){process.env.NODE_ENV!=="production"&&cn(n,"compile");const{isCustomElement:i,compilerOptions:o}=n.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Ue(Ue({isCustomElement:i,delimiters:a},o),l);s.render=o1(r,c),process.env.NODE_ENV!=="production"&&un(n,"compile")}}n.render=s.render||Qe}ms(n),Fn(),Hd(n),$n(),Xn(),process.env.NODE_ENV!=="production"&&!s.render&&n.render===Qe&&!e&&(s.template?R('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):R("Component is missing template or render function."))}function Jc(n){return new Proxy(n.attrs,process.env.NODE_ENV!=="production"?{get(e,t){return si(),pt(n,"get","$attrs"),e[t]},set(){return R("setupContext.attrs is readonly."),!1},deleteProperty(){return R("setupContext.attrs is readonly."),!1}}:{get(e,t){return pt(n,"get","$attrs"),e[t]}})}function E3(n){const e=s=>{process.env.NODE_ENV!=="production"&&n.exposed&&R("expose() should be called only once per setup()."),n.exposed=s||{}};let t;return process.env.NODE_ENV!=="production"?Object.freeze({get attrs(){return t||(t=Jc(n))},get slots(){return ps(n.slots)},get emit(){return(s,...r)=>n.emit(s,...r)},expose:e}):{get attrs(){return t||(t=Jc(n))},slots:n.slots,emit:n.emit,expose:e}}function gi(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(Kl(Wl(n.exposed)),{get(e,t){if(t in e)return e[t];if(t in qn)return qn[t](n)},has(e,t){return t in e||t in qn}}))}const b3=/(?:^|[-_])(\w)/g,v3=n=>n.replace(b3,e=>e.toUpperCase()).replace(/[-_]/g,"");function a1(n,e=!0){return ne(n)?n.displayName||n.name:n.name||e&&n.__name}function xi(n,e,t=!1){let s=a1(e);if(!s&&e.__file){const r=e.__file.match(/([^/\\]+)\.\w+$/);r&&(s=r[1])}if(!s&&n&&n.parent){const r=i=>{for(const o in i)if(i[o]===e)return o};s=r(n.components||n.parent.type.components)||r(n.appContext.components)}return s?v3(s):t?"App":"Anonymous"}function e0(n){return ne(n)&&"__vccOpts"in n}const t0=(n,e)=>jf(n,e,or),w3=Symbol(process.env.NODE_ENV!=="production"?"ssrContext":""),T3=()=>{{const n=ri(w3);return n||process.env.NODE_ENV!=="production"&&R("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),n}};function l1(n){return!!(n&&n.__v_isShallow)}function A3(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const n={style:"color:#3ba776"},e={style:"color:#0b1bc9"},t={style:"color:#b62e24"},s={style:"color:#9d288c"},r={header(f){return Te(f)?f.__isVue?["div",n,"VueInstance"]:Je(f)?["div",{},["span",n,u(f)],"<",a(f.value),">"]:Bn(f)?["div",{},["span",n,l1(f)?"ShallowReactive":"Reactive"],"<",a(f),`>${Un(f)?" (readonly)":""}`]:Un(f)?["div",{},["span",n,l1(f)?"ShallowReadonly":"Readonly"],"<",a(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...i(f.$)]}};function i(f){const p=[];f.type.props&&f.props&&p.push(o("props",ce(f.props))),f.setupState!==we&&p.push(o("setup",f.setupState)),f.data!==we&&p.push(o("data",ce(f.data)));const g=l(f,"computed");g&&p.push(o("computed",g));const T=l(f,"inject");return T&&p.push(o("injected",T)),p.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),p}function o(f,p){return p=Ue({},p),Object.keys(p).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(p).map(g=>["div",{},["span",s,g+": "],a(p[g],!1)])]]:["span",{}]}function a(f,p=!0){return typeof f=="number"?["span",e,f]:typeof f=="string"?["span",t,JSON.stringify(f)]:typeof f=="boolean"?["span",s,f]:Te(f)?["object",{object:p?ce(f):f}]:["span",t,String(f)]}function l(f,p){const g=f.type;if(ne(g))return;const T={};for(const A in f.ctx)c(g,A,p)&&(T[A]=f.ctx[A]);return T}function c(f,p,g){const T=f[g];if(ee(T)&&T.includes(p)||Te(T)&&p in T||f.extends&&c(f.extends,p,g)||f.mixins&&f.mixins.some(A=>c(A,p,g)))return!0}function u(f){return l1(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const n0="3.2.45",S3="http://www.w3.org/2000/svg",Qn=typeof document<"u"?document:null,s0=Qn&&Qn.createElement("template"),R3={insert:(n,e,t)=>{e.insertBefore(n,t||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,t,s)=>{const r=e?Qn.createElementNS(S3,n):Qn.createElement(n,t?{is:t}:void 0);return n==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:n=>Qn.createTextNode(n),createComment:n=>Qn.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Qn.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,t,s,r,i){const o=t?t.previousSibling:e.lastChild;if(r&&(r===i||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),t),!(r===i||!(r=r.nextSibling)););else{s0.innerHTML=s?`<svg>${n}</svg>`:n;const a=s0.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,t)}return[o?o.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}};function k3(n,e,t){const s=n._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?n.removeAttribute("class"):t?n.setAttribute("class",e):n.className=e}function O3(n,e,t){const s=n.style,r=De(t);if(t&&!r){for(const i in t)c1(s,i,t[i]);if(e&&!De(e))for(const i in e)t[i]==null&&c1(s,i,"")}else{const i=s.display;r?e!==t&&(s.cssText=t):e&&n.removeAttribute("style"),"_vod"in n&&(s.display=i)}}const N3=/[^\\];\s*$/,r0=/\s*!important$/;function c1(n,e,t){if(ee(t))t.forEach(s=>c1(n,e,s));else if(t==null&&(t=""),process.env.NODE_ENV!=="production"&&N3.test(t)&&R(`Unexpected semicolon at the end of '${e}' style value: '${t}'`),e.startsWith("--"))n.setProperty(e,t);else{const s=I3(n,e);r0.test(t)?n.setProperty(Ln(s),t.replace(r0,""),"important"):n[s]=t}}const i0=["Webkit","Moz","ms"],u1={};function I3(n,e){const t=u1[e];if(t)return t;let s=jt(e);if(s!=="filter"&&s in n)return u1[e]=s;s=Pn(s);for(let r=0;r<i0.length;r++){const i=i0[r]+s;if(i in n)return u1[e]=i}return e}const o0="http://www.w3.org/1999/xlink";function P3(n,e,t,s,r){if(s&&e.startsWith("xlink:"))t==null?n.removeAttributeNS(o0,e.slice(6,e.length)):n.setAttributeNS(o0,e,t);else{const i=sf(e);t==null||i&&!Ll(t)?n.removeAttribute(e):n.setAttribute(e,i?"":t)}}function M3(n,e,t,s,r,i,o){if(e==="innerHTML"||e==="textContent"){s&&o(s,r,i),n[e]=t==null?"":t;return}if(e==="value"&&n.tagName!=="PROGRESS"&&!n.tagName.includes("-")){n._value=t;const l=t==null?"":t;(n.value!==l||n.tagName==="OPTION")&&(n.value=l),t==null&&n.removeAttribute(e);return}let a=!1;if(t===""||t==null){const l=typeof n[e];l==="boolean"?t=Ll(t):t==null&&l==="string"?(t="",a=!0):l==="number"&&(t=0,a=!0)}try{n[e]=t}catch(l){process.env.NODE_ENV!=="production"&&!a&&R(`Failed setting prop "${e}" on <${n.tagName.toLowerCase()}>: value ${t} is invalid.`,l)}a&&n.removeAttribute(e)}function D3(n,e,t,s){n.addEventListener(e,t,s)}function F3(n,e,t,s){n.removeEventListener(e,t,s)}function $3(n,e,t,s,r=null){const i=n._vei||(n._vei={}),o=i[e];if(s&&o)o.value=s;else{const[a,l]=B3(e);if(s){const c=i[e]=H3(s,r);D3(n,a,c,l)}else o&&(F3(n,a,o,l),i[e]=void 0)}}const a0=/(?:Once|Passive|Capture)$/;function B3(n){let e;if(a0.test(n)){e={};let s;for(;s=n.match(a0);)n=n.slice(0,n.length-s[0].length),e[s[0].toLowerCase()]=!0}return[n[2]===":"?n.slice(3):Ln(n.slice(2)),e]}let h1=0;const U3=Promise.resolve(),V3=()=>h1||(U3.then(()=>h1=0),h1=Date.now());function H3(n,e){const t=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=t.attached)return;St(G3(s,t.value),e,5,[s])};return t.value=n,t.attached=V3(),t}function G3(n,e){if(ee(e)){const t=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{t.call(n),n._stopped=!0},e.map(s=>r=>!r._stopped&&s&&s(r))}else return e}const l0=/^on[a-z]/,j3=(n,e,t,s,r=!1,i,o,a,l)=>{e==="class"?k3(n,s,r):e==="style"?O3(n,t,s):Gs(e)?Pr(e)||$3(n,e,t,s,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):z3(n,e,s,r))?M3(n,e,s,i,o,a,l):(e==="true-value"?n._trueValue=s:e==="false-value"&&(n._falseValue=s),P3(n,e,s,r))};function z3(n,e,t,s){return s?!!(e==="innerHTML"||e==="textContent"||e in n&&l0.test(e)&&ne(t)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||l0.test(e)&&De(t)?!1:e in n}const Z3={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};wd.props;const q3=["ctrl","shift","alt","meta"],W3={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>q3.some(t=>n[`${t}Key`]&&!e.includes(t))},mi=(n,e)=>(t,...s)=>{for(let r=0;r<e.length;r++){const i=W3[e[r]];if(i&&i(t,e))return}return n(t,...s)},K3={beforeMount(n,{value:e},{transition:t}){n._vod=n.style.display==="none"?"":n.style.display,t&&e?t.beforeEnter(n):ar(n,e)},mounted(n,{value:e},{transition:t}){t&&e&&t.enter(n)},updated(n,{value:e,oldValue:t},{transition:s}){!e!=!t&&(s?e?(s.beforeEnter(n),ar(n,!0),s.enter(n)):s.leave(n,()=>{ar(n,!1)}):ar(n,e))},beforeUnmount(n,{value:e}){ar(n,e)}};function ar(n,e){n.style.display=e?n._vod:"none"}const Y3=Ue({patchProp:j3},R3);let c0;function X3(){return c0||(c0=a3(Y3))}const u0=(...n)=>{const e=X3().createApp(...n);process.env.NODE_ENV!=="production"&&(Q3(e),J3(e));const{mount:t}=e;return e.mount=s=>{const r=e4(s);if(!r)return;const i=e._component;!ne(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=t(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e};function Q3(n){Object.defineProperty(n.config,"isNativeTag",{value:e=>tf(e)||nf(e),writable:!1})}function J3(n){if(Xc()){const e=n.config.isCustomElement;Object.defineProperty(n.config,"isCustomElement",{get(){return e},set(){R("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const t=n.config.compilerOptions,s='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom';Object.defineProperty(n.config,"compilerOptions",{get(){return R(s),t},set(){R(s)}})}}function e4(n){if(De(n)){const e=document.querySelector(n);return process.env.NODE_ENV!=="production"&&!e&&R(`Failed to mount app: mount target selector "${n}" returned null.`),e}return process.env.NODE_ENV!=="production"&&window.ShadowRoot&&n instanceof window.ShadowRoot&&n.mode==="closed"&&R('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),n}function t4(){A3()}process.env.NODE_ENV!=="production"&&t4();function n4(){return h0().__VUE_DEVTOOLS_GLOBAL_HOOK__}function h0(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const s4=typeof Proxy=="function",r4="devtools-plugin:setup",i4="plugin:settings:set";let Ls,f1;function o4(){var n;return Ls!==void 0||(typeof window<"u"&&window.performance?(Ls=!0,f1=window.performance):typeof global<"u"&&((n=global.perf_hooks)===null||n===void 0?void 0:n.performance)?(Ls=!0,f1=global.perf_hooks.performance):Ls=!1),Ls}function a4(){return o4()?f1.now():Date.now()}class l4{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const s={};if(e.settings)for(const o in e.settings){const a=e.settings[o];s[o]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let i=Object.assign({},s);try{const o=localStorage.getItem(r),a=JSON.parse(o);Object.assign(i,a)}catch{}this.fallbacks={getSettings(){return i},setSettings(o){try{localStorage.setItem(r,JSON.stringify(o))}catch{}i=o},now(){return a4()}},t&&t.on(i4,(o,a)=>{o===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(o,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(o,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function c4(n,e){const t=n,s=h0(),r=n4(),i=s4&&t.enableEarlyProxy;if(r&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))r.emit(r4,n,e);else{const o=i?new l4(t,r):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:t,setupFn:e,proxy:o}),o&&e(o.proxiedTarget)}}/*!
2
+ (function(ge,Xt){typeof exports=="object"&&typeof module<"u"?Xt(exports):typeof define=="function"&&define.amd?define(["exports"],Xt):(ge=typeof globalThis<"u"?globalThis:ge||self,Xt(ge.zenuml={}))})(this,function(ge){"use strict";var gE=Object.defineProperty;var xE=(ge,Xt,wn)=>Xt in ge?gE(ge,Xt,{enumerable:!0,configurable:!0,writable:!0,value:wn}):ge[Xt]=wn;var $=(ge,Xt,wn)=>(xE(ge,typeof Xt!="symbol"?Xt+"":Xt,wn),wn);var Xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wn(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}var w2=T2;function T2(n,t,e){var s=e&&e.stringify||wn,r=1;if(typeof n=="object"&&n!==null){var i=t.length+r;if(i===1)return n;var o=new Array(i);o[0]=s(n);for(var a=1;a<i;a++)o[a]=s(t[a]);return o.join(" ")}if(typeof n!="string")return n;var l=t.length;if(l===0)return n;for(var c="",u=1-r,f=-1,p=n&&n.length||0,g=0;g<p;){if(n.charCodeAt(g)===37&&g+1<p){switch(f=f>-1?f:0,n.charCodeAt(g+1)){case 100:case 102:if(u>=l||t[u]==null)break;f<g&&(c+=n.slice(f,g)),c+=Number(t[u]),f=g+2,g++;break;case 105:if(u>=l||t[u]==null)break;f<g&&(c+=n.slice(f,g)),c+=Math.floor(Number(t[u])),f=g+2,g++;break;case 79:case 111:case 106:if(u>=l||t[u]===void 0)break;f<g&&(c+=n.slice(f,g));var R=typeof t[u];if(R==="string"){c+="'"+t[u]+"'",f=g+2,g++;break}if(R==="function"){c+=t[u].name||"<anonymous>",f=g+2,g++;break}c+=s(t[u]),f=g+2,g++;break;case 115:if(u>=l)break;f<g&&(c+=n.slice(f,g)),c+=String(t[u]),f=g+2,g++;break;case 37:f<g&&(c+=n.slice(f,g)),c+="%",f=g+2,g++,u--;break}++u}++g}return f===-1?n:(f<p&&(c+=n.slice(f)),c)}const Aa=w2;var v2=Ue;const Es=F2().console||{},A2={mapHttpRequest:ar,mapHttpResponse:ar,wrapRequestSerializer:Fi,wrapResponseSerializer:Fi,wrapErrorSerializer:Fi,req:ar,res:ar,err:O2};function S2(n,t){return Array.isArray(n)?n.filter(function(s){return s!=="!stdSerializers.err"}):n===!0?Object.keys(t):!1}function Ue(n){n=n||{},n.browser=n.browser||{};const t=n.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");const e=n.browser.write||Es;n.browser.write&&(n.browser.asObject=!0);const s=n.serializers||{},r=S2(n.browser.serialize,s);let i=n.browser.serialize;Array.isArray(n.browser.serialize)&&n.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);const o=["error","fatal","warn","info","debug","trace"];typeof e=="function"&&(e.error=e.fatal=e.warn=e.info=e.debug=e.trace=e),(n.enabled===!1||n.browser.disabled)&&(n.level="silent");const a=n.level||"info",l=Object.create(e);l.log||(l.log=bs),Object.defineProperty(l,"levelVal",{get:u}),Object.defineProperty(l,"level",{get:f,set:p});const c={transmit:t,serialize:r,asObject:n.browser.asObject,levels:o,timestamp:N2(n)};l.levels=Ue.levels,l.level=a,l.setMaxListeners=l.getMaxListeners=l.emit=l.addListener=l.on=l.prependListener=l.once=l.prependOnceListener=l.removeListener=l.removeAllListeners=l.listeners=l.listenerCount=l.eventNames=l.write=l.flush=bs,l.serializers=s,l._serialize=r,l._stdErrSerialize=i,l.child=g,t&&(l._logEvent=Mi());function u(){return this.level==="silent"?1/0:this.levels.values[this.level]}function f(){return this._level}function p(R){if(R!=="silent"&&!this.levels.values[R])throw Error("unknown level "+R);this._level=R,Vn(c,l,"error","log"),Vn(c,l,"fatal","error"),Vn(c,l,"warn","error"),Vn(c,l,"info","log"),Vn(c,l,"debug","log"),Vn(c,l,"trace","log")}function g(R,I){if(!R)throw new Error("missing bindings for child Pino");I=I||{},r&&R.serializers&&(I.serializers=R.serializers);const et=I.serializers;if(r&&et){var H=Object.assign({},s,et),Q=n.browser.serialize===!0?Object.keys(H):r;delete R.serializers,or([R],Q,H,this._stdErrSerialize)}function Z(Y){this._childLevel=(Y._childLevel|0)+1,this.error=jn(Y,R,"error"),this.fatal=jn(Y,R,"fatal"),this.warn=jn(Y,R,"warn"),this.info=jn(Y,R,"info"),this.debug=jn(Y,R,"debug"),this.trace=jn(Y,R,"trace"),H&&(this.serializers=H,this._serialize=Q),t&&(this._logEvent=Mi([].concat(Y._logEvent.bindings,R)))}return Z.prototype=this,new Z(this)}return l}Ue.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},Ue.stdSerializers=A2,Ue.stdTimeFunctions=Object.assign({},{nullTime:Sa,epochTime:Ra,unixTime:P2,isoTime:M2});function Vn(n,t,e,s){const r=Object.getPrototypeOf(t);t[e]=t.levelVal>t.levels.values[e]?bs:r[e]?r[e]:Es[e]||Es[s]||bs,R2(n,t,e)}function R2(n,t,e){!n.transmit&&t[e]===bs||(t[e]=function(s){return function(){const i=n.timestamp(),o=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===Es?Es:this;for(var l=0;l<o.length;l++)o[l]=arguments[l];if(n.serialize&&!n.asObject&&or(o,this._serialize,this.serializers,this._stdErrSerialize),n.asObject?s.call(a,k2(this,e,o,i)):s.apply(a,o),n.transmit){const c=n.transmit.level||t.level,u=Ue.levels.values[c],f=Ue.levels.values[e];if(f<u)return;I2(this,{ts:i,methodLevel:e,methodValue:f,transmitLevel:c,transmitValue:Ue.levels.values[n.transmit.level||t.level],send:n.transmit.send,val:t.levelVal},o)}}}(t[e]))}function k2(n,t,e,s){n._serialize&&or(e,n._serialize,n.serializers,n._stdErrSerialize);const r=e.slice();let i=r[0];const o={};s&&(o.time=s),o.level=Ue.levels.values[t];let a=(n._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof r[0]=="object";)Object.assign(o,r.shift());i=r.length?Aa(r.shift(),r):void 0}else typeof i=="string"&&(i=Aa(r.shift(),r));return i!==void 0&&(o.msg=i),o}function or(n,t,e,s){for(const r in n)if(s&&n[r]instanceof Error)n[r]=Ue.stdSerializers.err(n[r]);else if(typeof n[r]=="object"&&!Array.isArray(n[r]))for(const i in n[r])t&&t.indexOf(i)>-1&&i in e&&(n[r][i]=e[i](n[r][i]))}function jn(n,t,e){return function(){const s=new Array(1+arguments.length);s[0]=t;for(var r=1;r<s.length;r++)s[r]=arguments[r-1];return n[e].apply(this,s)}}function I2(n,t,e){const s=t.send,r=t.ts,i=t.methodLevel,o=t.methodValue,a=t.val,l=n._logEvent.bindings;or(e,n._serialize||Object.keys(n.serializers),n.serializers,n._stdErrSerialize===void 0?!0:n._stdErrSerialize),n._logEvent.ts=r,n._logEvent.messages=e.filter(function(c){return l.indexOf(c)===-1}),n._logEvent.level.label=i,n._logEvent.level.value=o,s(i,n._logEvent,a),n._logEvent=Mi(l)}function Mi(n){return{ts:0,messages:[],bindings:n||[],level:{label:"",value:0}}}function O2(n){const t={type:n.constructor.name,msg:n.message,stack:n.stack};for(const e in n)t[e]===void 0&&(t[e]=n[e]);return t}function N2(n){return typeof n.timestamp=="function"?n.timestamp:n.timestamp===!1?Sa:Ra}function ar(){return{}}function Fi(n){return n}function bs(){}function Sa(){return!1}function Ra(){return Date.now()}function P2(){return Math.round(Date.now()/1e3)}function M2(){return new Date(Date.now()).toISOString()}function F2(){function n(t){return typeof t<"u"&&t}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return n(self)||n(window)||n(this)||{}}}const D2=v2({level:"warn"}),ka=["log","trace","debug","info","warn","error"];function $2(n,t){n[t]=(console[t]||console.log).bind(console)}function B2(n,t,e){n[t]=(console[t]||console.log).bind(console,e[0],e[1])}function U2(n){ka.forEach(e=>$2(n,e));const t=n.child;return n.child=function(e){const s=t.call(n,e);return ka.forEach(r=>B2(s,r,["%c"+e.name||"","color: #00f"])),s},n}let ws=U2(D2);function Di(n,t){const e=Object.create(null),s=n.split(",");for(let r=0;r<s.length;r++)e[s[r]]=!0;return t?r=>!!e[r.toLowerCase()]:r=>!!e[r]}function pt(n){if(nt(n)){const t={};for(let e=0;e<n.length;e++){const s=n[e],r=Bt(s)?V2(s):pt(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(Bt(n))return n;if(Ot(n))return n}}const H2=/;(?![^(]*\))/g,G2=/:([^]+)/,z2=/\/\*.*?\*\//gs;function V2(n){const t={};return n.replace(z2,"").split(H2).forEach(e=>{if(e){const s=e.split(G2);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ne(n){let t="";if(Bt(n))t=n;else if(nt(n))for(let e=0;e<n.length;e++){const s=ne(n[e]);s&&(t+=s+" ")}else if(Ot(n))for(const e in n)n[e]&&(t+=e+" ");return t.trim()}const j2=Di("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Ia(n){return!!n||n===""}const Gt=n=>Bt(n)?n:n==null?"":nt(n)||Ot(n)&&(n.toString===Ma||!rt(n.toString))?JSON.stringify(n,Oa,2):String(n),Oa=(n,t)=>t&&t.__v_isRef?Oa(n,t.value):qn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[s,r])=>(e[`${s} =>`]=r,e),{})}:Na(t)?{[`Set(${t.size})`]:[...t.values()]}:Ot(t)&&!nt(t)&&!Fa(t)?String(t):t,vt={},Zn=[],Pe=()=>{},Z2=()=>!1,q2=/^on[^a-z]/,lr=n=>q2.test(n),$i=n=>n.startsWith("onUpdate:"),Qt=Object.assign,Bi=(n,t)=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)},W2=Object.prototype.hasOwnProperty,ft=(n,t)=>W2.call(n,t),nt=Array.isArray,qn=n=>cr(n)==="[object Map]",Na=n=>cr(n)==="[object Set]",rt=n=>typeof n=="function",Bt=n=>typeof n=="string",Ui=n=>typeof n=="symbol",Ot=n=>n!==null&&typeof n=="object",Pa=n=>Ot(n)&&rt(n.then)&&rt(n.catch),Ma=Object.prototype.toString,cr=n=>Ma.call(n),K2=n=>cr(n).slice(8,-1),Fa=n=>cr(n)==="[object Object]",Hi=n=>Bt(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,ur=Di(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hr=n=>{const t=Object.create(null);return e=>t[e]||(t[e]=n(e))},Y2=/-(\w)/g,He=hr(n=>n.replace(Y2,(t,e)=>e?e.toUpperCase():"")),X2=/\B([A-Z])/g,Wn=hr(n=>n.replace(X2,"-$1").toLowerCase()),fr=hr(n=>n.charAt(0).toUpperCase()+n.slice(1)),Gi=hr(n=>n?`on${fr(n)}`:""),dr=(n,t)=>!Object.is(n,t),zi=(n,t)=>{for(let e=0;e<n.length;e++)n[e](t)},pr=(n,t,e)=>{Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value:e})},Da=n=>{const t=parseFloat(n);return isNaN(t)?n:t};let $a;const Q2=()=>$a||($a=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ge;class Ba{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ge,!t&&Ge&&(this.index=(Ge.scopes||(Ge.scopes=[])).push(this)-1)}run(t){if(this.active){const e=Ge;try{return Ge=this,t()}finally{Ge=e}}}on(){Ge=this}off(){Ge=this.parent}stop(t){if(this.active){let e,s;for(e=0,s=this.effects.length;e<s;e++)this.effects[e].stop();for(e=0,s=this.cleanups.length;e<s;e++)this.cleanups[e]();if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}}}function J2(n){return new Ba(n)}function th(n,t=Ge){t&&t.active&&t.effects.push(n)}const Vi=n=>{const t=new Set(n);return t.w=0,t.n=0,t},Ua=n=>(n.w&dn)>0,Ha=n=>(n.n&dn)>0,eh=({deps:n})=>{if(n.length)for(let t=0;t<n.length;t++)n[t].w|=dn},nh=n=>{const{deps:t}=n;if(t.length){let e=0;for(let s=0;s<t.length;s++){const r=t[s];Ua(r)&&!Ha(r)?r.delete(n):t[e++]=r,r.w&=~dn,r.n&=~dn}t.length=e}},ji=new WeakMap;let Ts=0,dn=1;const Zi=30;let Me;const Tn=Symbol(""),qi=Symbol("");class Wi{constructor(t,e=null,s){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],this.parent=void 0,th(this,s)}run(){if(!this.active)return this.fn();let t=Me,e=pn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Me,Me=this,pn=!0,dn=1<<++Ts,Ts<=Zi?eh(this):Ga(this),this.fn()}finally{Ts<=Zi&&nh(this),dn=1<<--Ts,Me=this.parent,pn=e,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Me===this?this.deferStop=!0:this.active&&(Ga(this),this.onStop&&this.onStop(),this.active=!1)}}function Ga(n){const{deps:t}=n;if(t.length){for(let e=0;e<t.length;e++)t[e].delete(n);t.length=0}}let pn=!0;const za=[];function Kn(){za.push(pn),pn=!1}function Yn(){const n=za.pop();pn=n===void 0?!0:n}function xe(n,t,e){if(pn&&Me){let s=ji.get(n);s||ji.set(n,s=new Map);let r=s.get(e);r||s.set(e,r=Vi()),Va(r)}}function Va(n,t){let e=!1;Ts<=Zi?Ha(n)||(n.n|=dn,e=!Ua(n)):e=!n.has(Me),e&&(n.add(Me),Me.deps.push(n))}function tn(n,t,e,s,r,i){const o=ji.get(n);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(e==="length"&&nt(n)){const l=Da(s);o.forEach((c,u)=>{(u==="length"||u>=l)&&a.push(c)})}else switch(e!==void 0&&a.push(o.get(e)),t){case"add":nt(n)?Hi(e)&&a.push(o.get("length")):(a.push(o.get(Tn)),qn(n)&&a.push(o.get(qi)));break;case"delete":nt(n)||(a.push(o.get(Tn)),qn(n)&&a.push(o.get(qi)));break;case"set":qn(n)&&a.push(o.get(Tn));break}if(a.length===1)a[0]&&Ki(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Ki(Vi(l))}}function Ki(n,t){const e=nt(n)?n:[...n];for(const s of e)s.computed&&ja(s);for(const s of e)s.computed||ja(s)}function ja(n,t){(n!==Me||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const sh=Di("__proto__,__v_isRef,__isVue"),Za=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Ui)),rh=Yi(),ih=Yi(!1,!0),oh=Yi(!0),qa=ah();function ah(){const n={};return["includes","indexOf","lastIndexOf"].forEach(t=>{n[t]=function(...e){const s=Ct(this);for(let i=0,o=this.length;i<o;i++)xe(s,"get",i+"");const r=s[t](...e);return r===-1||r===!1?s[t](...e.map(Ct)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{n[t]=function(...e){Kn();const s=Ct(this)[t].apply(this,e);return Yn(),s}}),n}function Yi(n=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(n?t?bh:nl:t?el:tl).get(s))return s;const o=nt(s);if(!n&&o&&ft(qa,r))return Reflect.get(qa,r,i);const a=Reflect.get(s,r,i);return(Ui(r)?Za.has(r):sh(r))||(n||xe(s,"get",r),t)?a:se(a)?o&&Hi(r)?a:a.value:Ot(a)?n?sl(a):Cr(a):a}}const lh=Wa(),ch=Wa(!0);function Wa(n=!1){return function(e,s,r,i){let o=e[s];if(vs(o)&&se(o)&&!se(r))return!1;if(!n&&(!t1(r)&&!vs(r)&&(o=Ct(o),r=Ct(r)),!nt(e)&&se(o)&&!se(r)))return o.value=r,!0;const a=nt(e)&&Hi(s)?Number(s)<e.length:ft(e,s),l=Reflect.set(e,s,r,i);return e===Ct(i)&&(a?dr(r,o)&&tn(e,"set",s,r):tn(e,"add",s,r)),l}}function uh(n,t){const e=ft(n,t);n[t];const s=Reflect.deleteProperty(n,t);return s&&e&&tn(n,"delete",t,void 0),s}function hh(n,t){const e=Reflect.has(n,t);return(!Ui(t)||!Za.has(t))&&xe(n,"has",t),e}function fh(n){return xe(n,"iterate",nt(n)?"length":Tn),Reflect.ownKeys(n)}const Ka={get:rh,set:lh,deleteProperty:uh,has:hh,ownKeys:fh},dh={get:oh,set(n,t){return!0},deleteProperty(n,t){return!0}},ph=Qt({},Ka,{get:ih,set:ch}),Xi=n=>n,gr=n=>Reflect.getPrototypeOf(n);function xr(n,t,e=!1,s=!1){n=n.__v_raw;const r=Ct(n),i=Ct(t);e||(t!==i&&xe(r,"get",t),xe(r,"get",i));const{has:o}=gr(r),a=s?Xi:e?n1:e1;if(o.call(r,t))return a(n.get(t));if(o.call(r,i))return a(n.get(i));n!==r&&n.get(t)}function mr(n,t=!1){const e=this.__v_raw,s=Ct(e),r=Ct(n);return t||(n!==r&&xe(s,"has",n),xe(s,"has",r)),n===r?e.has(n):e.has(n)||e.has(r)}function Lr(n,t=!1){return n=n.__v_raw,!t&&xe(Ct(n),"iterate",Tn),Reflect.get(n,"size",n)}function Ya(n){n=Ct(n);const t=Ct(this);return gr(t).has.call(t,n)||(t.add(n),tn(t,"add",n,n)),this}function Xa(n,t){t=Ct(t);const e=Ct(this),{has:s,get:r}=gr(e);let i=s.call(e,n);i||(n=Ct(n),i=s.call(e,n));const o=r.call(e,n);return e.set(n,t),i?dr(t,o)&&tn(e,"set",n,t):tn(e,"add",n,t),this}function Qa(n){const t=Ct(this),{has:e,get:s}=gr(t);let r=e.call(t,n);r||(n=Ct(n),r=e.call(t,n)),s&&s.call(t,n);const i=t.delete(n);return r&&tn(t,"delete",n,void 0),i}function Ja(){const n=Ct(this),t=n.size!==0,e=n.clear();return t&&tn(n,"clear",void 0,void 0),e}function _r(n,t){return function(s,r){const i=this,o=i.__v_raw,a=Ct(o),l=t?Xi:n?n1:e1;return!n&&xe(a,"iterate",Tn),o.forEach((c,u)=>s.call(r,l(c),l(u),i))}}function yr(n,t,e){return function(...s){const r=this.__v_raw,i=Ct(r),o=qn(i),a=n==="entries"||n===Symbol.iterator&&o,l=n==="keys"&&o,c=r[n](...s),u=e?Xi:t?n1:e1;return!t&&xe(i,"iterate",l?qi:Tn),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:a?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function gn(n){return function(...t){return n==="delete"?!1:this}}function gh(){const n={get(i){return xr(this,i)},get size(){return Lr(this)},has:mr,add:Ya,set:Xa,delete:Qa,clear:Ja,forEach:_r(!1,!1)},t={get(i){return xr(this,i,!1,!0)},get size(){return Lr(this)},has:mr,add:Ya,set:Xa,delete:Qa,clear:Ja,forEach:_r(!1,!0)},e={get(i){return xr(this,i,!0)},get size(){return Lr(this,!0)},has(i){return mr.call(this,i,!0)},add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear"),forEach:_r(!0,!1)},s={get(i){return xr(this,i,!0,!0)},get size(){return Lr(this,!0)},has(i){return mr.call(this,i,!0)},add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear"),forEach:_r(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=yr(i,!1,!1),e[i]=yr(i,!0,!1),t[i]=yr(i,!1,!0),s[i]=yr(i,!0,!0)}),[n,e,t,s]}const[xh,mh,Lh,_h]=gh();function Qi(n,t){const e=t?n?_h:Lh:n?mh:xh;return(s,r,i)=>r==="__v_isReactive"?!n:r==="__v_isReadonly"?n:r==="__v_raw"?s:Reflect.get(ft(e,r)&&r in s?e:s,r,i)}const yh={get:Qi(!1,!1)},Ch={get:Qi(!1,!0)},Eh={get:Qi(!0,!1)},tl=new WeakMap,el=new WeakMap,nl=new WeakMap,bh=new WeakMap;function wh(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Th(n){return n.__v_skip||!Object.isExtensible(n)?0:wh(K2(n))}function Cr(n){return vs(n)?n:Ji(n,!1,Ka,yh,tl)}function vh(n){return Ji(n,!1,ph,Ch,el)}function sl(n){return Ji(n,!0,dh,Eh,nl)}function Ji(n,t,e,s,r){if(!Ot(n)||n.__v_raw&&!(t&&n.__v_isReactive))return n;const i=r.get(n);if(i)return i;const o=Th(n);if(o===0)return n;const a=new Proxy(n,o===2?s:e);return r.set(n,a),a}function Xn(n){return vs(n)?Xn(n.__v_raw):!!(n&&n.__v_isReactive)}function vs(n){return!!(n&&n.__v_isReadonly)}function t1(n){return!!(n&&n.__v_isShallow)}function rl(n){return Xn(n)||vs(n)}function Ct(n){const t=n&&n.__v_raw;return t?Ct(t):n}function il(n){return pr(n,"__v_skip",!0),n}const e1=n=>Ot(n)?Cr(n):n,n1=n=>Ot(n)?sl(n):n;function Ah(n){pn&&Me&&(n=Ct(n),Va(n.dep||(n.dep=Vi())))}function Sh(n,t){n=Ct(n),n.dep&&Ki(n.dep)}function se(n){return!!(n&&n.__v_isRef===!0)}function Rh(n){return se(n)?n.value:n}const kh={get:(n,t,e)=>Rh(Reflect.get(n,t,e)),set:(n,t,e,s)=>{const r=n[t];return se(r)&&!se(e)?(r.value=e,!0):Reflect.set(n,t,e,s)}};function ol(n){return Xn(n)?n:new Proxy(n,kh)}var al;class Ih{constructor(t,e,s,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this[al]=!1,this._dirty=!0,this.effect=new Wi(t,()=>{this._dirty||(this._dirty=!0,Sh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Ct(this);return Ah(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}al="__v_isReadonly";function Oh(n,t,e=!1){let s,r;const i=rt(n);return i?(s=n,r=Pe):(s=n.get,r=n.set),new Ih(s,r,i||!r,e)}function LE(n,...t){}function xn(n,t,e,s){let r;try{r=s?n(...s):n()}catch(i){Er(i,t,e)}return r}function be(n,t,e,s){if(rt(n)){const i=xn(n,t,e,s);return i&&Pa(i)&&i.catch(o=>{Er(o,t,e)}),i}const r=[];for(let i=0;i<n.length;i++)r.push(be(n[i],t,e,s));return r}function Er(n,t,e,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,a=e;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](n,o,a)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){xn(l,null,10,[n,o,a]);return}}Nh(n,e,r,s)}function Nh(n,t,e,s=!0){console.error(n)}let As=!1,s1=!1;const Jt=[];let ze=0;const Qn=[];let en=null,vn=0;const ll=Promise.resolve();let r1=null;function Ph(n){const t=r1||ll;return n?t.then(this?n.bind(this):n):t}function Mh(n){let t=ze+1,e=Jt.length;for(;t<e;){const s=t+e>>>1;Ss(Jt[s])<n?t=s+1:e=s}return t}function i1(n){(!Jt.length||!Jt.includes(n,As&&n.allowRecurse?ze+1:ze))&&(n.id==null?Jt.push(n):Jt.splice(Mh(n.id),0,n),cl())}function cl(){!As&&!s1&&(s1=!0,r1=ll.then(fl))}function Fh(n){const t=Jt.indexOf(n);t>ze&&Jt.splice(t,1)}function Dh(n){nt(n)?Qn.push(...n):(!en||!en.includes(n,n.allowRecurse?vn+1:vn))&&Qn.push(n),cl()}function ul(n,t=As?ze+1:0){for(;t<Jt.length;t++){const e=Jt[t];e&&e.pre&&(Jt.splice(t,1),t--,e())}}function hl(n){if(Qn.length){const t=[...new Set(Qn)];if(Qn.length=0,en){en.push(...t);return}for(en=t,en.sort((e,s)=>Ss(e)-Ss(s)),vn=0;vn<en.length;vn++)en[vn]();en=null,vn=0}}const Ss=n=>n.id==null?1/0:n.id,$h=(n,t)=>{const e=Ss(n)-Ss(t);if(e===0){if(n.pre&&!t.pre)return-1;if(t.pre&&!n.pre)return 1}return e};function fl(n){s1=!1,As=!0,Jt.sort($h);const t=Pe;try{for(ze=0;ze<Jt.length;ze++){const e=Jt[ze];e&&e.active!==!1&&xn(e,null,14)}}finally{ze=0,Jt.length=0,hl(),As=!1,r1=null,(Jt.length||Qn.length)&&fl()}}function Bh(n,t,...e){if(n.isUnmounted)return;const s=n.vnode.props||vt;let r=e;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:p}=s[u]||vt;p&&(r=e.map(g=>Bt(g)?g.trim():g)),f&&(r=e.map(Da))}let a,l=s[a=Gi(t)]||s[a=Gi(He(t))];!l&&i&&(l=s[a=Gi(Wn(t))]),l&&be(l,n,6,r);const c=s[a+"Once"];if(c){if(!n.emitted)n.emitted={};else if(n.emitted[a])return;n.emitted[a]=!0,be(c,n,6,r)}}function dl(n,t,e=!1){const s=t.emitsCache,r=s.get(n);if(r!==void 0)return r;const i=n.emits;let o={},a=!1;if(!rt(n)){const l=c=>{const u=dl(c,t,!0);u&&(a=!0,Qt(o,u))};!e&&t.mixins.length&&t.mixins.forEach(l),n.extends&&l(n.extends),n.mixins&&n.mixins.forEach(l)}return!i&&!a?(Ot(n)&&s.set(n,null),null):(nt(i)?i.forEach(l=>o[l]=null):Qt(o,i),Ot(n)&&s.set(n,o),o)}function br(n,t){return!n||!lr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ft(n,t[0].toLowerCase()+t.slice(1))||ft(n,Wn(t))||ft(n,t))}let qt=null,wr=null;function Tr(n){const t=qt;return qt=n,wr=n&&n.type.__scopeId||null,t}function Ve(n){wr=n}function je(){wr=null}function Uh(n,t=qt,e){if(!t||n._n)return n;const s=(...r)=>{s._d&&Gl(-1);const i=Tr(t);let o;try{o=n(...r)}finally{Tr(i),s._d&&Gl(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function _E(){}function o1(n){const{type:t,vnode:e,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:p,setupState:g,ctx:R,inheritAttrs:I}=n;let et,H;const Q=Tr(n);try{if(e.shapeFlag&4){const Y=r||s;et=Ze(u.call(Y,Y,f,i,g,p,R)),H=l}else{const Y=t;et=Ze(Y.length>1?Y(i,{attrs:l,slots:a,emit:c}):Y(i,null)),H=t.props?l:Hh(l)}}catch(Y){Os.length=0,Er(Y,n,1),et=lt(Te)}let Z=et;if(H&&I!==!1){const Y=Object.keys(H),{shapeFlag:yt}=Z;Y.length&&yt&7&&(o&&Y.some($i)&&(H=Gh(H,o)),Z=mn(Z,H))}return e.dirs&&(Z=mn(Z),Z.dirs=Z.dirs?Z.dirs.concat(e.dirs):e.dirs),e.transition&&(Z.transition=e.transition),et=Z,Tr(Q),et}const Hh=n=>{let t;for(const e in n)(e==="class"||e==="style"||lr(e))&&((t||(t={}))[e]=n[e]);return t},Gh=(n,t)=>{const e={};for(const s in n)(!$i(s)||!(s.slice(9)in t))&&(e[s]=n[s]);return e};function zh(n,t,e){const{props:s,children:r,component:i}=n,{props:o,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return s?pl(s,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(o[p]!==s[p]&&!br(c,p))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?pl(s,o,c):!0:!!o;return!1}function pl(n,t,e){const s=Object.keys(t);if(s.length!==Object.keys(n).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==n[i]&&!br(e,i))return!0}return!1}function Vh({vnode:n,parent:t},e){for(;t&&t.subTree===n;)(n=t.vnode).el=e,t=t.parent}const jh=n=>n.__isSuspense;function Zh(n,t){t&&t.pendingBranch?nt(n)?t.effects.push(...n):t.effects.push(n):Dh(n)}function qh(n,t){if(zt){let e=zt.provides;const s=zt.parent&&zt.parent.provides;s===e&&(e=zt.provides=Object.create(s)),e[n]=t}}function vr(n,t,e=!1){const s=zt||qt;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&n in r)return r[n];if(arguments.length>1)return e&&rt(t)?t.call(s.proxy):t}}const Ar={};function Rs(n,t,e){return gl(n,t,e)}function gl(n,t,{immediate:e,deep:s,flush:r,onTrack:i,onTrigger:o}=vt){const a=zt;let l,c=!1,u=!1;if(se(n)?(l=()=>n.value,c=t1(n)):Xn(n)?(l=()=>n,s=!0):nt(n)?(u=!0,c=n.some(Z=>Xn(Z)||t1(Z)),l=()=>n.map(Z=>{if(se(Z))return Z.value;if(Xn(Z))return An(Z);if(rt(Z))return xn(Z,a,2)})):rt(n)?t?l=()=>xn(n,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),be(n,a,3,[p])}:l=Pe,t&&s){const Z=l;l=()=>An(Z())}let f,p=Z=>{f=H.onStop=()=>{xn(Z,a,4)}},g;if(Ps)if(p=Pe,t?e&&be(t,a,3,[l(),u?[]:void 0,p]):l(),r==="sync"){const Z=Gf();g=Z.__watcherHandles||(Z.__watcherHandles=[])}else return Pe;let R=u?new Array(n.length).fill(Ar):Ar;const I=()=>{if(!!H.active)if(t){const Z=H.run();(s||c||(u?Z.some((Y,yt)=>dr(Y,R[yt])):dr(Z,R)))&&(f&&f(),be(t,a,3,[Z,R===Ar?void 0:u&&R[0]===Ar?[]:R,p]),R=Z)}else H.run()};I.allowRecurse=!!t;let et;r==="sync"?et=I:r==="post"?et=()=>ce(I,a&&a.suspense):(I.pre=!0,a&&(I.id=a.uid),et=()=>i1(I));const H=new Wi(l,et);t?e?I():R=H.run():r==="post"?ce(H.run.bind(H),a&&a.suspense):H.run();const Q=()=>{H.stop(),a&&a.scope&&Bi(a.scope.effects,H)};return g&&g.push(Q),Q}function Wh(n,t,e){const s=this.proxy,r=Bt(n)?n.includes(".")?xl(s,n):()=>s[n]:n.bind(s,s);let i;rt(t)?i=t:(i=t.handler,e=t);const o=zt;Jn(this);const a=gl(r,i.bind(s),e);return o?Jn(o):Nn(),a}function xl(n,t){const e=t.split(".");return()=>{let s=n;for(let r=0;r<e.length&&s;r++)s=s[e[r]];return s}}function An(n,t){if(!Ot(n)||n.__v_skip||(t=t||new Set,t.has(n)))return n;if(t.add(n),se(n))An(n.value,t);else if(nt(n))for(let e=0;e<n.length;e++)An(n[e],t);else if(Na(n)||qn(n))n.forEach(e=>{An(e,t)});else if(Fa(n))for(const e in n)An(n[e],t);return n}function Kh(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Cl(()=>{n.isMounted=!0}),El(()=>{n.isUnmounting=!0}),n}const we=[Function,Array],Yh={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:we,onEnter:we,onAfterEnter:we,onEnterCancelled:we,onBeforeLeave:we,onLeave:we,onAfterLeave:we,onLeaveCancelled:we,onBeforeAppear:we,onAppear:we,onAfterAppear:we,onAppearCancelled:we},setup(n,{slots:t}){const e=Pf(),s=Kh();let r;return()=>{const i=t.default&&_l(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const I of i)if(I.type!==Te){o=I;break}}const a=Ct(n),{mode:l}=a;if(s.isLeaving)return l1(o);const c=Ll(o);if(!c)return l1(o);const u=a1(c,a,s,e);c1(c,u);const f=e.subTree,p=f&&Ll(f);let g=!1;const{getTransitionKey:R}=c.type;if(R){const I=R();r===void 0?r=I:I!==r&&(r=I,g=!0)}if(p&&p.type!==Te&&(!On(c,p)||g)){const I=a1(p,a,s,e);if(c1(p,I),l==="out-in")return s.isLeaving=!0,I.afterLeave=()=>{s.isLeaving=!1,e.update.active!==!1&&e.update()},l1(o);l==="in-out"&&c.type!==Te&&(I.delayLeave=(et,H,Q)=>{const Z=ml(s,p);Z[String(p.key)]=p,et._leaveCb=()=>{H(),et._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=Q})}return o}}};function ml(n,t){const{leavingVNodes:e}=n;let s=e.get(t.type);return s||(s=Object.create(null),e.set(t.type,s)),s}function a1(n,t,e,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:g,onLeaveCancelled:R,onBeforeAppear:I,onAppear:et,onAfterAppear:H,onAppearCancelled:Q}=t,Z=String(n.key),Y=ml(e,n),yt=(J,Ft)=>{J&&be(J,s,9,Ft)},Mt=(J,Ft)=>{const kt=Ft[1];yt(J,Ft),nt(J)?J.every(le=>le.length<=1)&&kt():J.length<=1&&kt()},Ht={mode:i,persisted:o,beforeEnter(J){let Ft=a;if(!e.isMounted)if(r)Ft=I||a;else return;J._leaveCb&&J._leaveCb(!0);const kt=Y[Z];kt&&On(n,kt)&&kt.el._leaveCb&&kt.el._leaveCb(),yt(Ft,[J])},enter(J){let Ft=l,kt=c,le=u;if(!e.isMounted)if(r)Ft=et||l,kt=H||c,le=Q||u;else return;let ke=!1;const Be=J._enterCb=zn=>{ke||(ke=!0,zn?yt(le,[J]):yt(kt,[J]),Ht.delayedLeave&&Ht.delayedLeave(),J._enterCb=void 0)};Ft?Mt(Ft,[J,Be]):Be()},leave(J,Ft){const kt=String(n.key);if(J._enterCb&&J._enterCb(!0),e.isUnmounting)return Ft();yt(f,[J]);let le=!1;const ke=J._leaveCb=Be=>{le||(le=!0,Ft(),Be?yt(R,[J]):yt(g,[J]),J._leaveCb=void 0,Y[kt]===n&&delete Y[kt])};Y[kt]=n,p?Mt(p,[J,ke]):ke()},clone(J){return a1(J,t,e,s)}};return Ht}function l1(n){if(Sr(n))return n=mn(n),n.children=null,n}function Ll(n){return Sr(n)?n.children?n.children[0]:void 0:n}function c1(n,t){n.shapeFlag&6&&n.component?c1(n.component.subTree,t):n.shapeFlag&128?(n.ssContent.transition=t.clone(n.ssContent),n.ssFallback.transition=t.clone(n.ssFallback)):n.transition=t}function _l(n,t=!1,e){let s=[],r=0;for(let i=0;i<n.length;i++){let o=n[i];const a=e==null?o.key:String(e)+String(o.key!=null?o.key:i);o.type===Ut?(o.patchFlag&128&&r++,s=s.concat(_l(o.children,t,a))):(t||o.type!==Te)&&s.push(a!=null?mn(o,{key:a}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}const ks=n=>!!n.type.__asyncLoader,Sr=n=>n.type.__isKeepAlive;function Xh(n,t){yl(n,"a",t)}function Qh(n,t){yl(n,"da",t)}function yl(n,t,e=zt){const s=n.__wdc||(n.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return n()});if(Rr(t,s,e),e){let r=e.parent;for(;r&&r.parent;)Sr(r.parent.vnode)&&Jh(s,t,e,r),r=r.parent}}function Jh(n,t,e,s){const r=Rr(t,n,s,!0);bl(()=>{Bi(s[t],r)},e)}function Rr(n,t,e=zt,s=!1){if(e){const r=e[n]||(e[n]=[]),i=t.__weh||(t.__weh=(...o)=>{if(e.isUnmounted)return;Kn(),Jn(e);const a=be(t,e,n,o);return Nn(),Yn(),a});return s?r.unshift(i):r.push(i),i}}const nn=n=>(t,e=zt)=>(!Ps||n==="sp")&&Rr(n,(...s)=>t(...s),e),tf=nn("bm"),Cl=nn("m"),ef=nn("bu"),nf=nn("u"),El=nn("bum"),bl=nn("um"),sf=nn("sp"),rf=nn("rtg"),of=nn("rtc");function af(n,t=zt){Rr("ec",n,t)}function lf(n,t){const e=qt;if(e===null)return n;const s=Fr(e)||e.proxy,r=n.dirs||(n.dirs=[]);for(let i=0;i<t.length;i++){let[o,a,l,c=vt]=t[i];o&&(rt(o)&&(o={mounted:o,updated:o}),o.deep&&An(a),r.push({dir:o,instance:s,value:a,oldValue:void 0,arg:l,modifiers:c}))}return n}function Sn(n,t,e,s){const r=n.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const a=r[o];i&&(a.oldValue=i[o].value);let l=a.dir[s];l&&(Kn(),be(l,e,8,[n.el,a,n,t]),Yn())}}const u1="components";function at(n,t){return Tl(u1,n,!0,t)||n}const wl=Symbol();function h1(n){return Bt(n)?Tl(u1,n,!1)||n:n||wl}function Tl(n,t,e=!0,s=!1){const r=qt||zt;if(r){const i=r.type;if(n===u1){const a=Bf(i,!1);if(a&&(a===t||a===He(t)||a===fr(He(t))))return i}const o=vl(r[n]||i[n],t)||vl(r.appContext[n],t);return!o&&s?i:o}}function vl(n,t){return n&&(n[t]||n[He(t)]||n[fr(He(t))])}function Rn(n,t,e,s){let r;const i=e&&e[s];if(nt(n)||Bt(n)){r=new Array(n.length);for(let o=0,a=n.length;o<a;o++)r[o]=t(n[o],o,void 0,i&&i[o])}else if(typeof n=="number"){r=new Array(n);for(let o=0;o<n;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(Ot(n))if(n[Symbol.iterator])r=Array.from(n,(o,a)=>t(o,a,void 0,i&&i[a]));else{const o=Object.keys(n);r=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];r[a]=t(n[c],c,a,i&&i[a])}}else r=[];return e&&(e[s]=r),r}function cf(n,t,e={},s,r){if(qt.isCE||qt.parent&&ks(qt.parent)&&qt.parent.isCE)return t!=="default"&&(e.name=t),lt("slot",e,s&&s());let i=n[t];i&&i._c&&(i._d=!1),O();const o=i&&Al(i(e)),a=bt(Ut,{key:e.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&n._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Al(n){return n.some(t=>Vl(t)?!(t.type===Te||t.type===Ut&&!Al(t.children)):!0)?n:null}const f1=n=>n?ql(n)?Fr(n)||n.proxy:f1(n.parent):null,Is=Qt(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>f1(n.parent),$root:n=>f1(n.root),$emit:n=>n.emit,$options:n=>g1(n),$forceUpdate:n=>n.f||(n.f=()=>i1(n.update)),$nextTick:n=>n.n||(n.n=Ph.bind(n.proxy)),$watch:n=>Wh.bind(n)}),d1=(n,t)=>n!==vt&&!n.__isScriptSetup&&ft(n,t),uf={get({_:n},t){const{ctx:e,setupState:s,data:r,props:i,accessCache:o,type:a,appContext:l}=n;let c;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return e[t];case 3:return i[t]}else{if(d1(s,t))return o[t]=1,s[t];if(r!==vt&&ft(r,t))return o[t]=2,r[t];if((c=n.propsOptions[0])&&ft(c,t))return o[t]=3,i[t];if(e!==vt&&ft(e,t))return o[t]=4,e[t];p1&&(o[t]=0)}}const u=Is[t];let f,p;if(u)return t==="$attrs"&&xe(n,"get",t),u(n);if((f=a.__cssModules)&&(f=f[t]))return f;if(e!==vt&&ft(e,t))return o[t]=4,e[t];if(p=l.config.globalProperties,ft(p,t))return p[t]},set({_:n},t,e){const{data:s,setupState:r,ctx:i}=n;return d1(r,t)?(r[t]=e,!0):s!==vt&&ft(s,t)?(s[t]=e,!0):ft(n.props,t)||t[0]==="$"&&t.slice(1)in n?!1:(i[t]=e,!0)},has({_:{data:n,setupState:t,accessCache:e,ctx:s,appContext:r,propsOptions:i}},o){let a;return!!e[o]||n!==vt&&ft(n,o)||d1(t,o)||(a=i[0])&&ft(a,o)||ft(s,o)||ft(Is,o)||ft(r.config.globalProperties,o)},defineProperty(n,t,e){return e.get!=null?n._.accessCache[t]=0:ft(e,"value")&&this.set(n,t,e.value,null),Reflect.defineProperty(n,t,e)}};let p1=!0;function hf(n){const t=g1(n),e=n.proxy,s=n.ctx;p1=!1,t.beforeCreate&&Sl(t.beforeCreate,n,"bc");const{data:r,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:p,beforeUpdate:g,updated:R,activated:I,deactivated:et,beforeDestroy:H,beforeUnmount:Q,destroyed:Z,unmounted:Y,render:yt,renderTracked:Mt,renderTriggered:Ht,errorCaptured:J,serverPrefetch:Ft,expose:kt,inheritAttrs:le,components:ke,directives:Be,filters:zn}=t;if(c&&ff(c,s,null,n.appContext.config.unwrapInjectedRef),o)for(const St in o){const Et=o[St];rt(Et)&&(s[St]=Et.bind(e))}if(r){const St=r.call(e,e);Ot(St)&&(n.data=Cr(St))}if(p1=!0,i)for(const St in i){const Et=i[St],un=rt(Et)?Et.bind(e,e):rt(Et.get)?Et.get.bind(e,e):Pe,hn=!rt(Et)&&rt(Et.set)?Et.set.bind(e):Pe,fn=Xl({get:un,set:hn});Object.defineProperty(s,St,{enumerable:!0,configurable:!0,get:()=>fn.value,set:Oe=>fn.value=Oe})}if(a)for(const St in a)Rl(a[St],s,e,St);if(l){const St=rt(l)?l.call(e):l;Reflect.ownKeys(St).forEach(Et=>{qh(Et,St[Et])})}u&&Sl(u,n,"c");function jt(St,Et){nt(Et)?Et.forEach(un=>St(un.bind(e))):Et&&St(Et.bind(e))}if(jt(tf,f),jt(Cl,p),jt(ef,g),jt(nf,R),jt(Xh,I),jt(Qh,et),jt(af,J),jt(of,Mt),jt(rf,Ht),jt(El,Q),jt(bl,Y),jt(sf,Ft),nt(kt))if(kt.length){const St=n.exposed||(n.exposed={});kt.forEach(Et=>{Object.defineProperty(St,Et,{get:()=>e[Et],set:un=>e[Et]=un})})}else n.exposed||(n.exposed={});yt&&n.render===Pe&&(n.render=yt),le!=null&&(n.inheritAttrs=le),ke&&(n.components=ke),Be&&(n.directives=Be)}function ff(n,t,e=Pe,s=!1){nt(n)&&(n=x1(n));for(const r in n){const i=n[r];let o;Ot(i)?"default"in i?o=vr(i.from||r,i.default,!0):o=vr(i.from||r):o=vr(i),se(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function Sl(n,t,e){be(nt(n)?n.map(s=>s.bind(t.proxy)):n.bind(t.proxy),t,e)}function Rl(n,t,e,s){const r=s.includes(".")?xl(e,s):()=>e[s];if(Bt(n)){const i=t[n];rt(i)&&Rs(r,i)}else if(rt(n))Rs(r,n.bind(e));else if(Ot(n))if(nt(n))n.forEach(i=>Rl(i,t,e,s));else{const i=rt(n.handler)?n.handler.bind(e):t[n.handler];rt(i)&&Rs(r,i,n)}}function g1(n){const t=n.type,{mixins:e,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=n.appContext,a=i.get(t);let l;return a?l=a:!r.length&&!e&&!s?l=t:(l={},r.length&&r.forEach(c=>kr(l,c,o,!0)),kr(l,t,o)),Ot(t)&&i.set(t,l),l}function kr(n,t,e,s=!1){const{mixins:r,extends:i}=t;i&&kr(n,i,e,!0),r&&r.forEach(o=>kr(n,o,e,!0));for(const o in t)if(!(s&&o==="expose")){const a=df[o]||e&&e[o];n[o]=a?a(n[o],t[o]):t[o]}return n}const df={data:kl,props:kn,emits:kn,methods:kn,computed:kn,beforeCreate:re,created:re,beforeMount:re,mounted:re,beforeUpdate:re,updated:re,beforeDestroy:re,beforeUnmount:re,destroyed:re,unmounted:re,activated:re,deactivated:re,errorCaptured:re,serverPrefetch:re,components:kn,directives:kn,watch:gf,provide:kl,inject:pf};function kl(n,t){return t?n?function(){return Qt(rt(n)?n.call(this,this):n,rt(t)?t.call(this,this):t)}:t:n}function pf(n,t){return kn(x1(n),x1(t))}function x1(n){if(nt(n)){const t={};for(let e=0;e<n.length;e++)t[n[e]]=n[e];return t}return n}function re(n,t){return n?[...new Set([].concat(n,t))]:t}function kn(n,t){return n?Qt(Qt(Object.create(null),n),t):t}function gf(n,t){if(!n)return t;if(!t)return n;const e=Qt(Object.create(null),n);for(const s in t)e[s]=re(n[s],t[s]);return e}function xf(n,t,e,s=!1){const r={},i={};pr(i,Nr,1),n.propsDefaults=Object.create(null),Il(n,t,r,i);for(const o in n.propsOptions[0])o in r||(r[o]=void 0);e?n.props=s?r:vh(r):n.type.props?n.props=r:n.props=i,n.attrs=i}function mf(n,t,e,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=n,a=Ct(r),[l]=n.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=n.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(br(n.emitsOptions,p))continue;const g=t[p];if(l)if(ft(i,p))g!==i[p]&&(i[p]=g,c=!0);else{const R=He(p);r[R]=m1(l,a,R,g,n,!1)}else g!==i[p]&&(i[p]=g,c=!0)}}}else{Il(n,t,r,i)&&(c=!0);let u;for(const f in a)(!t||!ft(t,f)&&((u=Wn(f))===f||!ft(t,u)))&&(l?e&&(e[f]!==void 0||e[u]!==void 0)&&(r[f]=m1(l,a,f,void 0,n,!0)):delete r[f]);if(i!==a)for(const f in i)(!t||!ft(t,f)&&!0)&&(delete i[f],c=!0)}c&&tn(n,"set","$attrs")}function Il(n,t,e,s){const[r,i]=n.propsOptions;let o=!1,a;if(t)for(let l in t){if(ur(l))continue;const c=t[l];let u;r&&ft(r,u=He(l))?!i||!i.includes(u)?e[u]=c:(a||(a={}))[u]=c:br(n.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,o=!0)}if(i){const l=Ct(e),c=a||vt;for(let u=0;u<i.length;u++){const f=i[u];e[f]=m1(r,l,f,c[f],n,!ft(c,f))}}return o}function m1(n,t,e,s,r,i){const o=n[e];if(o!=null){const a=ft(o,"default");if(a&&s===void 0){const l=o.default;if(o.type!==Function&&rt(l)){const{propsDefaults:c}=r;e in c?s=c[e]:(Jn(r),s=c[e]=l.call(null,t),Nn())}else s=l}o[0]&&(i&&!a?s=!1:o[1]&&(s===""||s===Wn(e))&&(s=!0))}return s}function Ol(n,t,e=!1){const s=t.propsCache,r=s.get(n);if(r)return r;const i=n.props,o={},a=[];let l=!1;if(!rt(n)){const u=f=>{l=!0;const[p,g]=Ol(f,t,!0);Qt(o,p),g&&a.push(...g)};!e&&t.mixins.length&&t.mixins.forEach(u),n.extends&&u(n.extends),n.mixins&&n.mixins.forEach(u)}if(!i&&!l)return Ot(n)&&s.set(n,Zn),Zn;if(nt(i))for(let u=0;u<i.length;u++){const f=He(i[u]);Nl(f)&&(o[f]=vt)}else if(i)for(const u in i){const f=He(u);if(Nl(f)){const p=i[u],g=o[f]=nt(p)||rt(p)?{type:p}:Object.assign({},p);if(g){const R=Fl(Boolean,g.type),I=Fl(String,g.type);g[0]=R>-1,g[1]=I<0||R<I,(R>-1||ft(g,"default"))&&a.push(f)}}}const c=[o,a];return Ot(n)&&s.set(n,c),c}function Nl(n){return n[0]!=="$"}function Pl(n){const t=n&&n.toString().match(/^\s*function (\w+)/);return t?t[1]:n===null?"null":""}function Ml(n,t){return Pl(n)===Pl(t)}function Fl(n,t){return nt(t)?t.findIndex(e=>Ml(e,n)):rt(t)&&Ml(t,n)?0:-1}const Dl=n=>n[0]==="_"||n==="$stable",L1=n=>nt(n)?n.map(Ze):[Ze(n)],Lf=(n,t,e)=>{if(t._n)return t;const s=Uh((...r)=>L1(t(...r)),e);return s._c=!1,s},$l=(n,t,e)=>{const s=n._ctx;for(const r in n){if(Dl(r))continue;const i=n[r];if(rt(i))t[r]=Lf(r,i,s);else if(i!=null){const o=L1(i);t[r]=()=>o}}},Bl=(n,t)=>{const e=L1(t);n.slots.default=()=>e},_f=(n,t)=>{if(n.vnode.shapeFlag&32){const e=t._;e?(n.slots=Ct(t),pr(t,"_",e)):$l(t,n.slots={})}else n.slots={},t&&Bl(n,t);pr(n.slots,Nr,1)},yf=(n,t,e)=>{const{vnode:s,slots:r}=n;let i=!0,o=vt;if(s.shapeFlag&32){const a=t._;a?e&&a===1?i=!1:(Qt(r,t),!e&&a===1&&delete r._):(i=!t.$stable,$l(t,r)),o=t}else t&&(Bl(n,t),o={default:1});if(i)for(const a in r)!Dl(a)&&!(a in o)&&delete r[a]};function Ul(){return{app:null,config:{isNativeTag:Z2,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Cf=0;function Ef(n,t){return function(s,r=null){rt(s)||(s=Object.assign({},s)),r!=null&&!Ot(r)&&(r=null);const i=Ul(),o=new Set;let a=!1;const l=i.app={_uid:Cf++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:zf,get config(){return i.config},set config(c){},use(c,...u){return o.has(c)||(c&&rt(c.install)?(o.add(c),c.install(l,...u)):rt(c)&&(o.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,f){if(!a){const p=lt(s,r);return p.appContext=i,u&&t?t(p,c):n(p,c,f),a=!0,l._container=c,c.__vue_app__=l,Fr(p.component)||p.component.proxy}},unmount(){a&&(n(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l}};return l}}function _1(n,t,e,s,r=!1){if(nt(n)){n.forEach((p,g)=>_1(p,t&&(nt(t)?t[g]:t),e,s,r));return}if(ks(s)&&!r)return;const i=s.shapeFlag&4?Fr(s.component)||s.component.proxy:s.el,o=r?null:i,{i:a,r:l}=n,c=t&&t.r,u=a.refs===vt?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Bt(c)?(u[c]=null,ft(f,c)&&(f[c]=null)):se(c)&&(c.value=null)),rt(l))xn(l,a,12,[o,u]);else{const p=Bt(l),g=se(l);if(p||g){const R=()=>{if(n.f){const I=p?ft(f,l)?f[l]:u[l]:l.value;r?nt(I)&&Bi(I,i):nt(I)?I.includes(i)||I.push(i):p?(u[l]=[i],ft(f,l)&&(f[l]=u[l])):(l.value=[i],n.k&&(u[n.k]=l.value))}else p?(u[l]=o,ft(f,l)&&(f[l]=o)):g&&(l.value=o,n.k&&(u[n.k]=o))};o?(R.id=-1,ce(R,e)):R()}}}const ce=Zh;function bf(n){return wf(n)}function wf(n,t){const e=Q2();e.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:p,setScopeId:g=Pe,insertStaticContent:R}=n,I=(d,x,y,b=null,E=null,k=null,M=!1,v=null,P=!!x.dynamicChildren)=>{if(d===x)return;d&&!On(d,x)&&(b=Dt(d),Oe(d,E,k,!0),d=null),x.patchFlag===-2&&(P=!1,x.dynamicChildren=null);const{type:T,ref:A,shapeFlag:V}=x;switch(T){case Ir:et(d,x,y,b);break;case Te:H(d,x,y,b);break;case Or:d==null&&Q(x,y,b,M);break;case Ut:ke(d,x,y,b,E,k,M,v,P);break;default:V&1?yt(d,x,y,b,E,k,M,v,P):V&6?Be(d,x,y,b,E,k,M,v,P):(V&64||V&128)&&T.process(d,x,y,b,E,k,M,v,P,Kt)}A!=null&&E&&_1(A,d&&d.ref,k,x||d,!x)},et=(d,x,y,b)=>{if(d==null)s(x.el=a(x.children),y,b);else{const E=x.el=d.el;x.children!==d.children&&c(E,x.children)}},H=(d,x,y,b)=>{d==null?s(x.el=l(x.children||""),y,b):x.el=d.el},Q=(d,x,y,b)=>{[d.el,d.anchor]=R(d.children,x,y,b,d.el,d.anchor)},Z=({el:d,anchor:x},y,b)=>{let E;for(;d&&d!==x;)E=p(d),s(d,y,b),d=E;s(x,y,b)},Y=({el:d,anchor:x})=>{let y;for(;d&&d!==x;)y=p(d),r(d),d=y;r(x)},yt=(d,x,y,b,E,k,M,v,P)=>{M=M||x.type==="svg",d==null?Mt(x,y,b,E,k,M,v,P):Ft(d,x,E,k,M,v,P)},Mt=(d,x,y,b,E,k,M,v)=>{let P,T;const{type:A,props:V,shapeFlag:F,transition:G,dirs:st}=d;if(P=d.el=o(d.type,k,V&&V.is,V),F&8?u(P,d.children):F&16&&J(d.children,P,null,b,E,k&&A!=="foreignObject",M,v),st&&Sn(d,null,b,"created"),V){for(const mt in V)mt!=="value"&&!ur(mt)&&i(P,mt,null,V[mt],k,d.children,b,E,ut);"value"in V&&i(P,"value",null,V.value),(T=V.onVnodeBeforeMount)&&qe(T,b,d)}Ht(P,d,d.scopeId,M,b),st&&Sn(d,null,b,"beforeMount");const dt=(!E||E&&!E.pendingBranch)&&G&&!G.persisted;dt&&G.beforeEnter(P),s(P,x,y),((T=V&&V.onVnodeMounted)||dt||st)&&ce(()=>{T&&qe(T,b,d),dt&&G.enter(P),st&&Sn(d,null,b,"mounted")},E)},Ht=(d,x,y,b,E)=>{if(y&&g(d,y),b)for(let k=0;k<b.length;k++)g(d,b[k]);if(E){let k=E.subTree;if(x===k){const M=E.vnode;Ht(d,M,M.scopeId,M.slotScopeIds,E.parent)}}},J=(d,x,y,b,E,k,M,v,P=0)=>{for(let T=P;T<d.length;T++){const A=d[T]=v?Ln(d[T]):Ze(d[T]);I(null,A,x,y,b,E,k,M,v)}},Ft=(d,x,y,b,E,k,M)=>{const v=x.el=d.el;let{patchFlag:P,dynamicChildren:T,dirs:A}=x;P|=d.patchFlag&16;const V=d.props||vt,F=x.props||vt;let G;y&&In(y,!1),(G=F.onVnodeBeforeUpdate)&&qe(G,y,x,d),A&&Sn(x,d,y,"beforeUpdate"),y&&In(y,!0);const st=E&&x.type!=="foreignObject";if(T?kt(d.dynamicChildren,T,v,y,b,st,k):M||Et(d,x,v,null,y,b,st,k,!1),P>0){if(P&16)le(v,x,V,F,y,b,E);else if(P&2&&V.class!==F.class&&i(v,"class",null,F.class,E),P&4&&i(v,"style",V.style,F.style,E),P&8){const dt=x.dynamicProps;for(let mt=0;mt<dt.length;mt++){const It=dt[mt],D=V[It],W=F[It];(W!==D||It==="value")&&i(v,It,D,W,E,d.children,y,b,ut)}}P&1&&d.children!==x.children&&u(v,x.children)}else!M&&T==null&&le(v,x,V,F,y,b,E);((G=F.onVnodeUpdated)||A)&&ce(()=>{G&&qe(G,y,x,d),A&&Sn(x,d,y,"updated")},b)},kt=(d,x,y,b,E,k,M)=>{for(let v=0;v<x.length;v++){const P=d[v],T=x[v],A=P.el&&(P.type===Ut||!On(P,T)||P.shapeFlag&70)?f(P.el):y;I(P,T,A,null,b,E,k,M,!0)}},le=(d,x,y,b,E,k,M)=>{if(y!==b){if(y!==vt)for(const v in y)!ur(v)&&!(v in b)&&i(d,v,y[v],null,M,x.children,E,k,ut);for(const v in b){if(ur(v))continue;const P=b[v],T=y[v];P!==T&&v!=="value"&&i(d,v,T,P,M,x.children,E,k,ut)}"value"in b&&i(d,"value",y.value,b.value)}},ke=(d,x,y,b,E,k,M,v,P)=>{const T=x.el=d?d.el:a(""),A=x.anchor=d?d.anchor:a("");let{patchFlag:V,dynamicChildren:F,slotScopeIds:G}=x;G&&(v=v?v.concat(G):G),d==null?(s(T,y,b),s(A,y,b),J(x.children,y,A,E,k,M,v,P)):V>0&&V&64&&F&&d.dynamicChildren?(kt(d.dynamicChildren,F,y,E,k,M,v),(x.key!=null||E&&x===E.subTree)&&Hl(d,x,!0)):Et(d,x,y,A,E,k,M,v,P)},Be=(d,x,y,b,E,k,M,v,P)=>{x.slotScopeIds=v,d==null?x.shapeFlag&512?E.ctx.activate(x,y,b,M,P):zn(x,y,b,E,k,M,P):Ie(d,x,P)},zn=(d,x,y,b,E,k,M)=>{const v=d.component=Nf(d,b,E);if(Sr(d)&&(v.ctx.renderer=Kt),Mf(v),v.asyncDep){if(E&&E.registerDep(v,jt),!d.el){const P=v.subTree=lt(Te);H(null,P,x,y)}return}jt(v,d,x,y,E,k,M)},Ie=(d,x,y)=>{const b=x.component=d.component;if(zh(d,x,y))if(b.asyncDep&&!b.asyncResolved){St(b,x,y);return}else b.next=x,Fh(b.update),b.update();else x.el=d.el,b.vnode=x},jt=(d,x,y,b,E,k,M)=>{const v=()=>{if(d.isMounted){let{next:A,bu:V,u:F,parent:G,vnode:st}=d,dt=A,mt;In(d,!1),A?(A.el=st.el,St(d,A,M)):A=st,V&&zi(V),(mt=A.props&&A.props.onVnodeBeforeUpdate)&&qe(mt,G,A,st),In(d,!0);const It=o1(d),D=d.subTree;d.subTree=It,I(D,It,f(D.el),Dt(D),d,E,k),A.el=It.el,dt===null&&Vh(d,It.el),F&&ce(F,E),(mt=A.props&&A.props.onVnodeUpdated)&&ce(()=>qe(mt,G,A,st),E)}else{let A;const{el:V,props:F}=x,{bm:G,m:st,parent:dt}=d,mt=ks(x);if(In(d,!1),G&&zi(G),!mt&&(A=F&&F.onVnodeBeforeMount)&&qe(A,dt,x),In(d,!0),V&&pe){const It=()=>{d.subTree=o1(d),pe(V,d.subTree,d,E,null)};mt?x.type.__asyncLoader().then(()=>!d.isUnmounted&&It()):It()}else{const It=d.subTree=o1(d);I(null,It,y,b,d,E,k),x.el=It.el}if(st&&ce(st,E),!mt&&(A=F&&F.onVnodeMounted)){const It=x;ce(()=>qe(A,dt,It),E)}(x.shapeFlag&256||dt&&ks(dt.vnode)&&dt.vnode.shapeFlag&256)&&d.a&&ce(d.a,E),d.isMounted=!0,x=y=b=null}},P=d.effect=new Wi(v,()=>i1(T),d.scope),T=d.update=()=>P.run();T.id=d.uid,In(d,!0),T()},St=(d,x,y)=>{x.component=d;const b=d.vnode.props;d.vnode=x,d.next=null,mf(d,x.props,b,y),yf(d,x.children,y),Kn(),ul(),Yn()},Et=(d,x,y,b,E,k,M,v,P=!1)=>{const T=d&&d.children,A=d?d.shapeFlag:0,V=x.children,{patchFlag:F,shapeFlag:G}=x;if(F>0){if(F&128){hn(T,V,y,b,E,k,M,v,P);return}else if(F&256){un(T,V,y,b,E,k,M,v,P);return}}G&8?(A&16&&ut(T,E,k),V!==T&&u(y,V)):A&16?G&16?hn(T,V,y,b,E,k,M,v,P):ut(T,E,k,!0):(A&8&&u(y,""),G&16&&J(V,y,b,E,k,M,v,P))},un=(d,x,y,b,E,k,M,v,P)=>{d=d||Zn,x=x||Zn;const T=d.length,A=x.length,V=Math.min(T,A);let F;for(F=0;F<V;F++){const G=x[F]=P?Ln(x[F]):Ze(x[F]);I(d[F],G,y,null,E,k,M,v,P)}T>A?ut(d,E,k,!0,!1,V):J(x,y,b,E,k,M,v,P,V)},hn=(d,x,y,b,E,k,M,v,P)=>{let T=0;const A=x.length;let V=d.length-1,F=A-1;for(;T<=V&&T<=F;){const G=d[T],st=x[T]=P?Ln(x[T]):Ze(x[T]);if(On(G,st))I(G,st,y,null,E,k,M,v,P);else break;T++}for(;T<=V&&T<=F;){const G=d[V],st=x[F]=P?Ln(x[F]):Ze(x[F]);if(On(G,st))I(G,st,y,null,E,k,M,v,P);else break;V--,F--}if(T>V){if(T<=F){const G=F+1,st=G<A?x[G].el:b;for(;T<=F;)I(null,x[T]=P?Ln(x[T]):Ze(x[T]),y,st,E,k,M,v,P),T++}}else if(T>F)for(;T<=V;)Oe(d[T],E,k,!0),T++;else{const G=T,st=T,dt=new Map;for(T=st;T<=F;T++){const Zt=x[T]=P?Ln(x[T]):Ze(x[T]);Zt.key!=null&&dt.set(Zt.key,T)}let mt,It=0;const D=F-st+1;let W=!1,ot=0;const ht=new Array(D);for(T=0;T<D;T++)ht[T]=0;for(T=G;T<=V;T++){const Zt=d[T];if(It>=D){Oe(Zt,E,k,!0);continue}let Ne;if(Zt.key!=null)Ne=dt.get(Zt.key);else for(mt=st;mt<=F;mt++)if(ht[mt-st]===0&&On(Zt,x[mt])){Ne=mt;break}Ne===void 0?Oe(Zt,E,k,!0):(ht[Ne-st]=T+1,Ne>=ot?ot=Ne:W=!0,I(Zt,x[Ne],y,null,E,k,M,v,P),It++)}const Yt=W?Tf(ht):Zn;for(mt=Yt.length-1,T=D-1;T>=0;T--){const Zt=st+T,Ne=x[Zt],b2=Zt+1<A?x[Zt+1].el:b;ht[T]===0?I(null,Ne,y,b2,E,k,M,v,P):W&&(mt<0||T!==Yt[mt]?fn(Ne,y,b2,2):mt--)}}},fn=(d,x,y,b,E=null)=>{const{el:k,type:M,transition:v,children:P,shapeFlag:T}=d;if(T&6){fn(d.component.subTree,x,y,b);return}if(T&128){d.suspense.move(x,y,b);return}if(T&64){M.move(d,x,y,Kt);return}if(M===Ut){s(k,x,y);for(let V=0;V<P.length;V++)fn(P[V],x,y,b);s(d.anchor,x,y);return}if(M===Or){Z(d,x,y);return}if(b!==2&&T&1&&v)if(b===0)v.beforeEnter(k),s(k,x,y),ce(()=>v.enter(k),E);else{const{leave:V,delayLeave:F,afterLeave:G}=v,st=()=>s(k,x,y),dt=()=>{V(k,()=>{st(),G&&G()})};F?F(k,st,dt):dt()}else s(k,x,y)},Oe=(d,x,y,b=!1,E=!1)=>{const{type:k,props:M,ref:v,children:P,dynamicChildren:T,shapeFlag:A,patchFlag:V,dirs:F}=d;if(v!=null&&_1(v,null,y,d,!0),A&256){x.ctx.deactivate(d);return}const G=A&1&&F,st=!ks(d);let dt;if(st&&(dt=M&&M.onVnodeBeforeUnmount)&&qe(dt,x,d),A&6)ct(d.component,y,b);else{if(A&128){d.suspense.unmount(y,b);return}G&&Sn(d,null,x,"beforeUnmount"),A&64?d.type.remove(d,x,y,E,Kt,b):T&&(k!==Ut||V>0&&V&64)?ut(T,x,y,!1,!0):(k===Ut&&V&384||!E&&A&16)&&ut(P,x,y),b&&w(d)}(st&&(dt=M&&M.onVnodeUnmounted)||G)&&ce(()=>{dt&&qe(dt,x,d),G&&Sn(d,null,x,"unmounted")},y)},w=d=>{const{type:x,el:y,anchor:b,transition:E}=d;if(x===Ut){j(y,b);return}if(x===Or){Y(d);return}const k=()=>{r(y),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(d.shapeFlag&1&&E&&!E.persisted){const{leave:M,delayLeave:v}=E,P=()=>M(y,k);v?v(d.el,k,P):P()}else k()},j=(d,x)=>{let y;for(;d!==x;)y=p(d),r(d),d=y;r(x)},ct=(d,x,y)=>{const{bum:b,scope:E,update:k,subTree:M,um:v}=d;b&&zi(b),E.stop(),k&&(k.active=!1,Oe(M,d,x,y)),v&&ce(v,x),ce(()=>{d.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},ut=(d,x,y,b=!1,E=!1,k=0)=>{for(let M=k;M<d.length;M++)Oe(d[M],x,y,b,E)},Dt=d=>d.shapeFlag&6?Dt(d.component.subTree):d.shapeFlag&128?d.suspense.next():p(d.anchor||d.el),Je=(d,x,y)=>{d==null?x._vnode&&Oe(x._vnode,null,null,!0):I(x._vnode||null,d,x,null,null,null,y),ul(),hl(),x._vnode=d},Kt={p:I,um:Oe,m:fn,r:w,mt:zn,mc:J,pc:Et,pbc:kt,n:Dt,o:n};let de,pe;return t&&([de,pe]=t(Kt)),{render:Je,hydrate:de,createApp:Ef(Je,de)}}function In({effect:n,update:t},e){n.allowRecurse=t.allowRecurse=e}function Hl(n,t,e=!1){const s=n.children,r=t.children;if(nt(s)&&nt(r))for(let i=0;i<s.length;i++){const o=s[i];let a=r[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[i]=Ln(r[i]),a.el=o.el),e||Hl(o,a)),a.type===Ir&&(a.el=o.el)}}function Tf(n){const t=n.slice(),e=[0];let s,r,i,o,a;const l=n.length;for(s=0;s<l;s++){const c=n[s];if(c!==0){if(r=e[e.length-1],n[r]<c){t[s]=r,e.push(s);continue}for(i=0,o=e.length-1;i<o;)a=i+o>>1,n[e[a]]<c?i=a+1:o=a;c<n[e[i]]&&(i>0&&(t[s]=e[i-1]),e[i]=s)}}for(i=e.length,o=e[i-1];i-- >0;)e[i]=o,o=t[o];return e}const vf=n=>n.__isTeleport,Ut=Symbol(void 0),Ir=Symbol(void 0),Te=Symbol(void 0),Or=Symbol(void 0),Os=[];let Fe=null;function O(n=!1){Os.push(Fe=n?null:[])}function Af(){Os.pop(),Fe=Os[Os.length-1]||null}let Ns=1;function Gl(n){Ns+=n}function zl(n){return n.dynamicChildren=Ns>0?Fe||Zn:null,Af(),Ns>0&&Fe&&Fe.push(n),n}function q(n,t,e,s,r,i){return zl(C(n,t,e,s,r,i,!0))}function bt(n,t,e,s,r){return zl(lt(n,t,e,s,r,!0))}function Vl(n){return n?n.__v_isVNode===!0:!1}function On(n,t){return n.type===t.type&&n.key===t.key}const Nr="__vInternal",jl=({key:n})=>n!=null?n:null,Pr=({ref:n,ref_key:t,ref_for:e})=>n!=null?Bt(n)||se(n)||rt(n)?{i:qt,r:n,k:t,f:!!e}:n:null;function C(n,t=null,e=null,s=0,r=null,i=n===Ut?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:n,props:t,key:t&&jl(t),ref:t&&Pr(t),scopeId:wr,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:qt};return a?(y1(l,e),i&128&&n.normalize(l)):e&&(l.shapeFlag|=Bt(e)?8:16),Ns>0&&!o&&Fe&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Fe.push(l),l}const lt=Sf;function Sf(n,t=null,e=null,s=0,r=null,i=!1){if((!n||n===wl)&&(n=Te),Vl(n)){const a=mn(n,t,!0);return e&&y1(a,e),Ns>0&&!i&&Fe&&(a.shapeFlag&6?Fe[Fe.indexOf(n)]=a:Fe.push(a)),a.patchFlag|=-2,a}if(Uf(n)&&(n=n.__vccOpts),t){t=Rf(t);let{class:a,style:l}=t;a&&!Bt(a)&&(t.class=ne(a)),Ot(l)&&(rl(l)&&!nt(l)&&(l=Qt({},l)),t.style=pt(l))}const o=Bt(n)?1:jh(n)?128:vf(n)?64:Ot(n)?4:rt(n)?2:0;return C(n,t,e,s,r,o,i,!0)}function Rf(n){return n?rl(n)||Nr in n?Qt({},n):n:null}function mn(n,t,e=!1){const{props:s,ref:r,patchFlag:i,children:o}=n,a=t?kf(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:a,key:a&&jl(a),ref:t&&t.ref?e&&r?nt(r)?r.concat(Pr(t)):[r,Pr(t)]:Pr(t):r,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:o,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:t&&n.type!==Ut?i===-1?16:i|16:i,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&mn(n.ssContent),ssFallback:n.ssFallback&&mn(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx}}function Mr(n=" ",t=0){return lt(Ir,null,n,t)}function Zl(n,t){const e=lt(Or,null,n);return e.staticCount=t,e}function Lt(n="",t=!1){return t?(O(),bt(Te,null,n)):lt(Te,null,n)}function Ze(n){return n==null||typeof n=="boolean"?lt(Te):nt(n)?lt(Ut,null,n.slice()):typeof n=="object"?Ln(n):lt(Ir,null,String(n))}function Ln(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:mn(n)}function y1(n,t){let e=0;const{shapeFlag:s}=n;if(t==null)t=null;else if(nt(t))e=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),y1(n,r()),r._c&&(r._d=!0));return}else{e=32;const r=t._;!r&&!(Nr in t)?t._ctx=qt:r===3&&qt&&(qt.slots._===1?t._=1:(t._=2,n.patchFlag|=1024))}else rt(t)?(t={default:t,_ctx:qt},e=32):(t=String(t),s&64?(e=16,t=[Mr(t)]):e=8);n.children=t,n.shapeFlag|=e}function kf(...n){const t={};for(let e=0;e<n.length;e++){const s=n[e];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=ne([t.class,s.class]));else if(r==="style")t.style=pt([t.style,s.style]);else if(lr(r)){const i=t[r],o=s[r];o&&i!==o&&!(nt(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function qe(n,t,e,s=null){be(n,t,7,[e,s])}const If=Ul();let Of=0;function Nf(n,t,e){const s=n.type,r=(t?t.appContext:n.appContext)||If,i={uid:Of++,vnode:n,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ba(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ol(s,r),emitsOptions:dl(s,r),emit:null,emitted:null,propsDefaults:vt,inheritAttrs:s.inheritAttrs,ctx:vt,data:vt,props:vt,attrs:vt,slots:vt,refs:vt,setupState:vt,setupContext:null,suspense:e,suspenseId:e?e.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Bh.bind(null,i),n.ce&&n.ce(i),i}let zt=null;const Pf=()=>zt||qt,Jn=n=>{zt=n,n.scope.on()},Nn=()=>{zt&&zt.scope.off(),zt=null};function ql(n){return n.vnode.shapeFlag&4}let Ps=!1;function Mf(n,t=!1){Ps=t;const{props:e,children:s}=n.vnode,r=ql(n);xf(n,e,r,t),_f(n,s);const i=r?Ff(n,t):void 0;return Ps=!1,i}function Ff(n,t){const e=n.type;n.accessCache=Object.create(null),n.proxy=il(new Proxy(n.ctx,uf));const{setup:s}=e;if(s){const r=n.setupContext=s.length>1?$f(n):null;Jn(n),Kn();const i=xn(s,n,0,[n.props,r]);if(Yn(),Nn(),Pa(i)){if(i.then(Nn,Nn),t)return i.then(o=>{Wl(n,o,t)}).catch(o=>{Er(o,n,0)});n.asyncDep=i}else Wl(n,i,t)}else Yl(n,t)}function Wl(n,t,e){rt(t)?n.type.__ssrInlineRender?n.ssrRender=t:n.render=t:Ot(t)&&(n.setupState=ol(t)),Yl(n,e)}let Kl;function Yl(n,t,e){const s=n.type;if(!n.render){if(!t&&Kl&&!s.render){const r=s.template||g1(n).template;if(r){const{isCustomElement:i,compilerOptions:o}=n.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Qt(Qt({isCustomElement:i,delimiters:a},o),l);s.render=Kl(r,c)}}n.render=s.render||Pe}Jn(n),Kn(),hf(n),Yn(),Nn()}function Df(n){return new Proxy(n.attrs,{get(t,e){return xe(n,"get","$attrs"),t[e]}})}function $f(n){const t=s=>{n.exposed=s||{}};let e;return{get attrs(){return e||(e=Df(n))},slots:n.slots,emit:n.emit,expose:t}}function Fr(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(ol(il(n.exposed)),{get(t,e){if(e in t)return t[e];if(e in Is)return Is[e](n)},has(t,e){return e in t||e in Is}}))}function Bf(n,t=!0){return rt(n)?n.displayName||n.name:n.name||t&&n.__name}function Uf(n){return rt(n)&&"__vccOpts"in n}const Xl=(n,t)=>Oh(n,t,Ps),Hf=Symbol(""),Gf=()=>vr(Hf),zf="3.2.45",Vf="http://www.w3.org/2000/svg",Pn=typeof document<"u"?document:null,Ql=Pn&&Pn.createElement("template"),jf={insert:(n,t,e)=>{t.insertBefore(n,e||null)},remove:n=>{const t=n.parentNode;t&&t.removeChild(n)},createElement:(n,t,e,s)=>{const r=t?Pn.createElementNS(Vf,n):Pn.createElement(n,e?{is:e}:void 0);return n==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:n=>Pn.createTextNode(n),createComment:n=>Pn.createComment(n),setText:(n,t)=>{n.nodeValue=t},setElementText:(n,t)=>{n.textContent=t},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Pn.querySelector(n),setScopeId(n,t){n.setAttribute(t,"")},insertStaticContent(n,t,e,s,r,i){const o=e?e.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),e),!(r===i||!(r=r.nextSibling)););else{Ql.innerHTML=s?`<svg>${n}</svg>`:n;const a=Ql.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,e)}return[o?o.nextSibling:t.firstChild,e?e.previousSibling:t.lastChild]}};function Zf(n,t,e){const s=n._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?n.removeAttribute("class"):e?n.setAttribute("class",t):n.className=t}function qf(n,t,e){const s=n.style,r=Bt(e);if(e&&!r){for(const i in e)C1(s,i,e[i]);if(t&&!Bt(t))for(const i in t)e[i]==null&&C1(s,i,"")}else{const i=s.display;r?t!==e&&(s.cssText=e):t&&n.removeAttribute("style"),"_vod"in n&&(s.display=i)}}const Jl=/\s*!important$/;function C1(n,t,e){if(nt(e))e.forEach(s=>C1(n,t,s));else if(e==null&&(e=""),t.startsWith("--"))n.setProperty(t,e);else{const s=Wf(n,t);Jl.test(e)?n.setProperty(Wn(s),e.replace(Jl,""),"important"):n[s]=e}}const tc=["Webkit","Moz","ms"],E1={};function Wf(n,t){const e=E1[t];if(e)return e;let s=He(t);if(s!=="filter"&&s in n)return E1[t]=s;s=fr(s);for(let r=0;r<tc.length;r++){const i=tc[r]+s;if(i in n)return E1[t]=i}return t}const ec="http://www.w3.org/1999/xlink";function Kf(n,t,e,s,r){if(s&&t.startsWith("xlink:"))e==null?n.removeAttributeNS(ec,t.slice(6,t.length)):n.setAttributeNS(ec,t,e);else{const i=j2(t);e==null||i&&!Ia(e)?n.removeAttribute(t):n.setAttribute(t,i?"":e)}}function Yf(n,t,e,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),n[t]=e==null?"":e;return}if(t==="value"&&n.tagName!=="PROGRESS"&&!n.tagName.includes("-")){n._value=e;const l=e==null?"":e;(n.value!==l||n.tagName==="OPTION")&&(n.value=l),e==null&&n.removeAttribute(t);return}let a=!1;if(e===""||e==null){const l=typeof n[t];l==="boolean"?e=Ia(e):e==null&&l==="string"?(e="",a=!0):l==="number"&&(e=0,a=!0)}try{n[t]=e}catch{}a&&n.removeAttribute(t)}function Xf(n,t,e,s){n.addEventListener(t,e,s)}function Qf(n,t,e,s){n.removeEventListener(t,e,s)}function Jf(n,t,e,s,r=null){const i=n._vei||(n._vei={}),o=i[t];if(s&&o)o.value=s;else{const[a,l]=t3(t);if(s){const c=i[t]=s3(s,r);Xf(n,a,c,l)}else o&&(Qf(n,a,o,l),i[t]=void 0)}}const nc=/(?:Once|Passive|Capture)$/;function t3(n){let t;if(nc.test(n)){t={};let s;for(;s=n.match(nc);)n=n.slice(0,n.length-s[0].length),t[s[0].toLowerCase()]=!0}return[n[2]===":"?n.slice(3):Wn(n.slice(2)),t]}let b1=0;const e3=Promise.resolve(),n3=()=>b1||(e3.then(()=>b1=0),b1=Date.now());function s3(n,t){const e=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=e.attached)return;be(r3(s,e.value),t,5,[s])};return e.value=n,e.attached=n3(),e}function r3(n,t){if(nt(t)){const e=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{e.call(n),n._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const sc=/^on[a-z]/,i3=(n,t,e,s,r=!1,i,o,a,l)=>{t==="class"?Zf(n,s,r):t==="style"?qf(n,e,s):lr(t)?$i(t)||Jf(n,t,e,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):o3(n,t,s,r))?Yf(n,t,s,i,o,a,l):(t==="true-value"?n._trueValue=s:t==="false-value"&&(n._falseValue=s),Kf(n,t,s,r))};function o3(n,t,e,s){return s?!!(t==="innerHTML"||t==="textContent"||t in n&&sc.test(t)&&rt(e)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&n.tagName==="INPUT"||t==="type"&&n.tagName==="TEXTAREA"||sc.test(t)&&Bt(e)?!1:t in n}const a3={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Yh.props;const l3=["ctrl","shift","alt","meta"],c3={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,t)=>l3.some(e=>n[`${e}Key`]&&!t.includes(e))},Dr=(n,t)=>(e,...s)=>{for(let r=0;r<t.length;r++){const i=c3[t[r]];if(i&&i(e,t))return}return n(e,...s)},u3={beforeMount(n,{value:t},{transition:e}){n._vod=n.style.display==="none"?"":n.style.display,e&&t?e.beforeEnter(n):Ms(n,t)},mounted(n,{value:t},{transition:e}){e&&t&&e.enter(n)},updated(n,{value:t,oldValue:e},{transition:s}){!t!=!e&&(s?t?(s.beforeEnter(n),Ms(n,!0),s.enter(n)):s.leave(n,()=>{Ms(n,!1)}):Ms(n,t))},beforeUnmount(n,{value:t}){Ms(n,t)}};function Ms(n,t){n.style.display=t?n._vod:"none"}const h3=Qt({patchProp:i3},jf);let rc;function f3(){return rc||(rc=bf(h3))}const ic=(...n)=>{const t=f3().createApp(...n),{mount:e}=t;return t.mount=s=>{const r=d3(s);if(!r)return;const i=t._component;!rt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=e(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function d3(n){return Bt(n)?document.querySelector(n):n}function p3(){return oc().__VUE_DEVTOOLS_GLOBAL_HOOK__}function oc(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const g3=typeof Proxy=="function",x3="devtools-plugin:setup",m3="plugin:settings:set";let ts,w1;function L3(){var n;return ts!==void 0||(typeof window<"u"&&window.performance?(ts=!0,w1=window.performance):typeof global<"u"&&((n=global.perf_hooks)===null||n===void 0?void 0:n.performance)?(ts=!0,w1=global.perf_hooks.performance):ts=!1),ts}function _3(){return L3()?w1.now():Date.now()}class y3{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const s={};if(t.settings)for(const o in t.settings){const a=t.settings[o];s[o]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},s);try{const o=localStorage.getItem(r),a=JSON.parse(o);Object.assign(i,a)}catch{}this.fallbacks={getSettings(){return i},setSettings(o){try{localStorage.setItem(r,JSON.stringify(o))}catch{}i=o},now(){return _3()}},e&&e.on(m3,(o,a)=>{o===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(o,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(o,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function C3(n,t){const e=n,s=oc(),r=p3(),i=g3&&e.enableEarlyProxy;if(r&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))r.emit(x3,n,t);else{const o=i?new y3(e,r):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:o}),o&&t(o.proxiedTarget)}}/*!
10
3
  * vuex v4.1.0
11
4
  * (c) 2022 Evan You
12
5
  * @license MIT
13
- */var u4="store";function Jn(n,e){Object.keys(n).forEach(function(t){return e(n[t],t)})}function f0(n){return n!==null&&typeof n=="object"}function h4(n){return n&&typeof n.then=="function"}function Bt(n,e){if(!n)throw new Error("[vuex] "+e)}function f4(n,e){return function(){return n(e)}}function d0(n,e,t){return e.indexOf(n)<0&&(t&&t.prepend?e.unshift(n):e.push(n)),function(){var s=e.indexOf(n);s>-1&&e.splice(s,1)}}function p0(n,e){n._actions=Object.create(null),n._mutations=Object.create(null),n._wrappedGetters=Object.create(null),n._modulesNamespaceMap=Object.create(null);var t=n.state;Li(n,t,[],n._modules.root,!0),d1(n,t,e)}function d1(n,e,t){var s=n._state,r=n._scope;n.getters={},n._makeLocalGettersCache=Object.create(null);var i=n._wrappedGetters,o={},a={},l=uf(!0);l.run(function(){Jn(i,function(c,u){o[u]=f4(c,n),a[u]=t0(function(){return o[u]()}),Object.defineProperty(n.getters,u,{get:function(){return a[u].value},enumerable:!0})})}),n._state=Wr({data:e}),n._scope=l,n.strict&&m4(n),s&&t&&n._withCommit(function(){s.data=null}),r&&r.stop()}function Li(n,e,t,s,r){var i=!t.length,o=n._modules.getNamespace(t);if(s.namespaced&&(n._modulesNamespaceMap[o]&&process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate namespace "+o+" for the namespaced module "+t.join("/")),n._modulesNamespaceMap[o]=s),!i&&!r){var a=p1(e,t.slice(0,-1)),l=t[t.length-1];n._withCommit(function(){process.env.NODE_ENV!=="production"&&l in a&&console.warn('[vuex] state field "'+l+'" was overridden by a module with the same name at "'+t.join(".")+'"'),a[l]=s.state})}var c=s.context=d4(n,o,t);s.forEachMutation(function(u,f){var p=o+f;p4(n,p,u,c)}),s.forEachAction(function(u,f){var p=u.root?f:o+f,g=u.handler||u;g4(n,p,g,c)}),s.forEachGetter(function(u,f){var p=o+f;x4(n,p,u,c)}),s.forEachChild(function(u,f){Li(n,e,t.concat(f),u,r)})}function d4(n,e,t){var s=e==="",r={dispatch:s?n.dispatch:function(i,o,a){var l=_i(i,o,a),c=l.payload,u=l.options,f=l.type;if((!u||!u.root)&&(f=e+f,process.env.NODE_ENV!=="production"&&!n._actions[f])){console.error("[vuex] unknown local action type: "+l.type+", global type: "+f);return}return n.dispatch(f,c)},commit:s?n.commit:function(i,o,a){var l=_i(i,o,a),c=l.payload,u=l.options,f=l.type;if((!u||!u.root)&&(f=e+f,process.env.NODE_ENV!=="production"&&!n._mutations[f])){console.error("[vuex] unknown local mutation type: "+l.type+", global type: "+f);return}n.commit(f,c,u)}};return Object.defineProperties(r,{getters:{get:s?function(){return n.getters}:function(){return g0(n,e)}},state:{get:function(){return p1(n.state,t)}}}),r}function g0(n,e){if(!n._makeLocalGettersCache[e]){var t={},s=e.length;Object.keys(n.getters).forEach(function(r){if(r.slice(0,s)===e){var i=r.slice(s);Object.defineProperty(t,i,{get:function(){return n.getters[r]},enumerable:!0})}}),n._makeLocalGettersCache[e]=t}return n._makeLocalGettersCache[e]}function p4(n,e,t,s){var r=n._mutations[e]||(n._mutations[e]=[]);r.push(function(o){t.call(n,s.state,o)})}function g4(n,e,t,s){var r=n._actions[e]||(n._actions[e]=[]);r.push(function(o){var a=t.call(n,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:n.getters,rootState:n.state},o);return h4(a)||(a=Promise.resolve(a)),n._devtoolHook?a.catch(function(l){throw n._devtoolHook.emit("vuex:error",l),l}):a})}function x4(n,e,t,s){if(n._wrappedGetters[e]){process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate getter key: "+e);return}n._wrappedGetters[e]=function(i){return t(s.state,s.getters,i.state,i.getters)}}function m4(n){Qs(function(){return n._state.data},function(){process.env.NODE_ENV!=="production"&&Bt(n._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,flush:"sync"})}function p1(n,e){return e.reduce(function(t,s){return t[s]},n)}function _i(n,e,t){return f0(n)&&n.type&&(t=e,e=n,n=n.type),process.env.NODE_ENV!=="production"&&Bt(typeof n=="string","expects string as the type, but found "+typeof n+"."),{type:n,payload:e,options:t}}var L4="vuex bindings",x0="vuex:mutations",g1="vuex:actions",_s="vuex",_4=0;function y4(n,e){c4({id:"org.vuejs.vuex",app:n,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[L4]},function(t){t.addTimelineLayer({id:x0,label:"Vuex Mutations",color:m0}),t.addTimelineLayer({id:g1,label:"Vuex Actions",color:m0}),t.addInspector({id:_s,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),t.on.getInspectorTree(function(s){if(s.app===n&&s.inspectorId===_s)if(s.filter){var r=[];C0(r,e._modules.root,s.filter,""),s.rootNodes=r}else s.rootNodes=[y0(e._modules.root,"")]}),t.on.getInspectorState(function(s){if(s.app===n&&s.inspectorId===_s){var r=s.nodeId;g0(e,r),s.state=b4(w4(e._modules,r),r==="root"?e.getters:e._makeLocalGettersCache,r)}}),t.on.editInspectorState(function(s){if(s.app===n&&s.inspectorId===_s){var r=s.nodeId,i=s.path;r!=="root"&&(i=r.split("/").filter(Boolean).concat(i)),e._withCommit(function(){s.set(e._state.data,i,s.state.value)})}}),e.subscribe(function(s,r){var i={};s.payload&&(i.payload=s.payload),i.state=r,t.notifyComponentUpdate(),t.sendInspectorTree(_s),t.sendInspectorState(_s),t.addTimelineEvent({layerId:x0,event:{time:Date.now(),title:s.type,data:i}})}),e.subscribeAction({before:function(s,r){var i={};s.payload&&(i.payload=s.payload),s._id=_4++,s._time=Date.now(),i.state=r,t.addTimelineEvent({layerId:g1,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:i}})},after:function(s,r){var i={},o=Date.now()-s._time;i.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},s.payload&&(i.payload=s.payload),i.state=r,t.addTimelineEvent({layerId:g1,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:i}})}})})}var m0=8702998,C4=6710886,E4=16777215,L0={label:"namespaced",textColor:E4,backgroundColor:C4};function _0(n){return n&&n!=="root"?n.split("/").slice(-2,-1)[0]:"Root"}function y0(n,e){return{id:e||"root",label:_0(e),tags:n.namespaced?[L0]:[],children:Object.keys(n._children).map(function(t){return y0(n._children[t],e+t+"/")})}}function C0(n,e,t,s){s.includes(t)&&n.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:e.namespaced?[L0]:[]}),Object.keys(e._children).forEach(function(r){C0(n,e._children[r],t,s+r+"/")})}function b4(n,e,t){e=t==="root"?e:e[t];var s=Object.keys(e),r={state:Object.keys(n.state).map(function(o){return{key:o,editable:!0,value:n.state[o]}})};if(s.length){var i=v4(e);r.getters=Object.keys(i).map(function(o){return{key:o.endsWith("/")?_0(o):o,editable:!1,value:x1(function(){return i[o]})}})}return r}function v4(n){var e={};return Object.keys(n).forEach(function(t){var s=t.split("/");if(s.length>1){var r=e,i=s.pop();s.forEach(function(o){r[o]||(r[o]={_custom:{value:{},display:o,tooltip:"Module",abstract:!0}}),r=r[o]._custom.value}),r[i]=x1(function(){return n[t]})}else e[t]=x1(function(){return n[t]})}),e}function w4(n,e){var t=e.split("/").filter(function(s){return s});return t.reduce(function(s,r,i){var o=s[r];if(!o)throw new Error('Missing module "'+r+'" for path "'+e+'".');return i===t.length-1?o:o._children},e==="root"?n:n.root._children)}function x1(n){try{return n()}catch(e){return e}}var Ut=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var s=e.state;this.state=(typeof s=="function"?s():s)||{}},E0={namespaced:{configurable:!0}};E0.namespaced.get=function(){return!!this._rawModule.namespaced},Ut.prototype.addChild=function(e,t){this._children[e]=t},Ut.prototype.removeChild=function(e){delete this._children[e]},Ut.prototype.getChild=function(e){return this._children[e]},Ut.prototype.hasChild=function(e){return e in this._children},Ut.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Ut.prototype.forEachChild=function(e){Jn(this._children,e)},Ut.prototype.forEachGetter=function(e){this._rawModule.getters&&Jn(this._rawModule.getters,e)},Ut.prototype.forEachAction=function(e){this._rawModule.actions&&Jn(this._rawModule.actions,e)},Ut.prototype.forEachMutation=function(e){this._rawModule.mutations&&Jn(this._rawModule.mutations,e)},Object.defineProperties(Ut.prototype,E0);var es=function(e){this.register([],e,!1)};es.prototype.get=function(e){return e.reduce(function(t,s){return t.getChild(s)},this.root)},es.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(s,r){return t=t.getChild(r),s+(t.namespaced?r+"/":"")},"")},es.prototype.update=function(e){b0([],this.root,e)},es.prototype.register=function(e,t,s){var r=this;s===void 0&&(s=!0),process.env.NODE_ENV!=="production"&&T0(e,t);var i=new Ut(t,s);if(e.length===0)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&Jn(t.modules,function(a,l){r.register(e.concat(l),a,s)})},es.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),s=e[e.length-1],r=t.getChild(s);if(!r){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to unregister module '"+s+"', which is not registered");return}!r.runtime||t.removeChild(s)},es.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),s=e[e.length-1];return t?t.hasChild(s):!1};function b0(n,e,t){if(process.env.NODE_ENV!=="production"&&T0(n,t),e.update(t),t.modules)for(var s in t.modules){if(!e.getChild(s)){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to add a new module '"+s+"' on hot reloading, manual reload is needed");return}b0(n.concat(s),e.getChild(s),t.modules[s])}}var v0={assert:function(n){return typeof n=="function"},expected:"function"},T4={assert:function(n){return typeof n=="function"||typeof n=="object"&&typeof n.handler=="function"},expected:'function or object with "handler" function'},w0={getters:v0,mutations:v0,actions:T4};function T0(n,e){Object.keys(w0).forEach(function(t){if(!!e[t]){var s=w0[t];Jn(e[t],function(r,i){Bt(s.assert(r),A4(n,t,i,r,s.expected))})}})}function A4(n,e,t,s,r){var i=e+" should be "+r+' but "'+e+"."+t+'"';return n.length>0&&(i+=' in module "'+n.join(".")+'"'),i+=" is "+JSON.stringify(s)+".",i}function A0(n){return new xt(n)}var xt=function n(e){var t=this;e===void 0&&(e={}),process.env.NODE_ENV!=="production"&&(Bt(typeof Promise<"u","vuex requires a Promise polyfill in this browser."),Bt(this instanceof n,"store must be called with the new operator."));var s=e.plugins;s===void 0&&(s=[]);var r=e.strict;r===void 0&&(r=!1);var i=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new es(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=i;var o=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(p,g){return l.call(o,p,g)},this.commit=function(p,g,T){return c.call(o,p,g,T)},this.strict=r;var u=this._modules.root.state;Li(this,u,[],this._modules.root),d1(this,u),s.forEach(function(f){return f(t)})},m1={state:{configurable:!0}};xt.prototype.install=function(e,t){e.provide(t||u4,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:process.env.NODE_ENV!=="production"||!1;s&&y4(e,this)},m1.state.get=function(){return this._state.data},m1.state.set=function(n){process.env.NODE_ENV!=="production"&&Bt(!1,"use store.replaceState() to explicit replace store state.")},xt.prototype.commit=function(e,t,s){var r=this,i=_i(e,t,s),o=i.type,a=i.payload,l=i.options,c={type:o,payload:a},u=this._mutations[o];if(!u){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown mutation type: "+o);return}this._withCommit(function(){u.forEach(function(p){p(a)})}),this._subscribers.slice().forEach(function(f){return f(c,r.state)}),process.env.NODE_ENV!=="production"&&l&&l.silent&&console.warn("[vuex] mutation type: "+o+". Silent option has been removed. Use the filter functionality in the vue-devtools")},xt.prototype.dispatch=function(e,t){var s=this,r=_i(e,t),i=r.type,o=r.payload,a={type:i,payload:o},l=this._actions[i];if(!l){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown action type: "+i);return}try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch(u){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in before action subscribers: "),console.error(u))}var c=l.length>1?Promise.all(l.map(function(u){return u(o)})):l[0](o);return new Promise(function(u,f){c.then(function(p){try{s._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(a,s.state)})}catch(g){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in after action subscribers: "),console.error(g))}u(p)},function(p){try{s._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(a,s.state,p)})}catch(g){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in error action subscribers: "),console.error(g))}f(p)})})},xt.prototype.subscribe=function(e,t){return d0(e,this._subscribers,t)},xt.prototype.subscribeAction=function(e,t){var s=typeof e=="function"?{before:e}:e;return d0(s,this._actionSubscribers,t)},xt.prototype.watch=function(e,t,s){var r=this;return process.env.NODE_ENV!=="production"&&Bt(typeof e=="function","store.watch only accepts a function."),Qs(function(){return e(r.state,r.getters)},t,Object.assign({},s))},xt.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._state.data=e})},xt.prototype.registerModule=function(e,t,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),process.env.NODE_ENV!=="production"&&(Bt(Array.isArray(e),"module path must be a string or an Array."),Bt(e.length>0,"cannot register the root module by using registerModule.")),this._modules.register(e,t),Li(this,this.state,e,this._modules.get(e),s.preserveState),d1(this,this.state)},xt.prototype.unregisterModule=function(e){var t=this;typeof e=="string"&&(e=[e]),process.env.NODE_ENV!=="production"&&Bt(Array.isArray(e),"module path must be a string or an Array."),this._modules.unregister(e),this._withCommit(function(){var s=p1(t.state,e.slice(0,-1));delete s[e[e.length-1]]}),p0(this)},xt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),process.env.NODE_ENV!=="production"&&Bt(Array.isArray(e),"module path must be a string or an Array."),this._modules.isRegistered(e)},xt.prototype.hotUpdate=function(e){this._modules.update(e),p0(this,!0)},xt.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(xt.prototype,m1);var L1=C1(function(n,e){var t={};return process.env.NODE_ENV!=="production"&&!yi(e)&&console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),y1(e).forEach(function(s){var r=s.key,i=s.val;t[r]=function(){var a=this.$store.state,l=this.$store.getters;if(n){var c=E1(this.$store,"mapState",n);if(!c)return;a=c.context.state,l=c.context.getters}return typeof i=="function"?i.call(this,a,l):a[i]},t[r].vuex=!0}),t}),_1=C1(function(n,e){var t={};return process.env.NODE_ENV!=="production"&&!yi(e)&&console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),y1(e).forEach(function(s){var r=s.key,i=s.val;t[r]=function(){for(var a=[],l=arguments.length;l--;)a[l]=arguments[l];var c=this.$store.commit;if(n){var u=E1(this.$store,"mapMutations",n);if(!u)return;c=u.context.commit}return typeof i=="function"?i.apply(this,[c].concat(a)):c.apply(this.$store,[i].concat(a))}}),t}),Ct=C1(function(n,e){var t={};return process.env.NODE_ENV!=="production"&&!yi(e)&&console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"),y1(e).forEach(function(s){var r=s.key,i=s.val;i=n+i,t[r]=function(){if(!(n&&!E1(this.$store,"mapGetters",n))){if(process.env.NODE_ENV!=="production"&&!(i in this.$store.getters)){console.error("[vuex] unknown getter: "+i);return}return this.$store.getters[i]}},t[r].vuex=!0}),t});function y1(n){return yi(n)?Array.isArray(n)?n.map(function(e){return{key:e,val:e}}):Object.keys(n).map(function(e){return{key:e,val:n[e]}}):[]}function yi(n){return Array.isArray(n)||f0(n)}function C1(n){return function(e,t){return typeof e!="string"?(t=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),n(e,t)}}function E1(n,e,t){var s=n._modulesNamespaceMap[t];return process.env.NODE_ENV!=="production"&&!s&&console.error("[vuex] module namespace not found in "+e+"(): "+t),s}var S4=typeof rt=="object"&&rt&&rt.Object===Object&&rt,S0=S4,R4=S0,k4=typeof self=="object"&&self&&self.Object===Object&&self,O4=R4||k4||Function("return this")(),ts=O4,N4=ts,I4=function(){return N4.Date.now()},P4=I4;String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const n=this.toString();let e,t;const s=n.length&3,r=n.length-s;let i=String.prototype.seed;const o=3432918353,a=461845907;let l=0;for(;l<r;)t=n.charCodeAt(l)&255|(n.charCodeAt(++l)&255)<<8|(n.charCodeAt(++l)&255)<<16|(n.charCodeAt(++l)&255)<<24,++l,t=(t&65535)*o+(((t>>>16)*o&65535)<<16)&4294967295,t=t<<15|t>>>17,t=(t&65535)*a+(((t>>>16)*a&65535)<<16)&4294967295,i^=t,i=i<<13|i>>>19,e=(i&65535)*5+(((i>>>16)*5&65535)<<16)&4294967295,i=(e&65535)+27492+(((e>>>16)+58964&65535)<<16);switch(t=0,s){case 3:t^=(n.charCodeAt(l+2)&255)<<16;case 2:t^=(n.charCodeAt(l+1)&255)<<8;case 1:t^=n.charCodeAt(l)&255,t=(t&65535)*o+(((t>>>16)*o&65535)<<16)&4294967295,t=t<<15|t>>>17,t=(t&65535)*a+(((t>>>16)*a&65535)<<16)&4294967295,i^=t}return i^=n.length,i^=i>>>16,i=(i&65535)*2246822507+(((i>>>16)*2246822507&65535)<<16)&4294967295,i^=i>>>13,i=(i&65535)*3266489909+(((i>>>16)*3266489909&65535)<<16)&4294967295,i^=i>>>16,i>>>0};/*! https://mths.be/codepointat v0.2.0 by @mathias */String.prototype.codePointAt||function(){var n=function(){let t;try{const s={},r=Object.defineProperty;t=r(s,s,s)&&r}catch{}return t}();const e=function(t){if(this==null)throw TypeError();const s=String(this),r=s.length;let i=t?Number(t):0;if(i!==i&&(i=0),i<0||i>=r)return;const o=s.charCodeAt(i);let a;return o>=55296&&o<=56319&&r>i+1&&(a=s.charCodeAt(i+1),a>=56320&&a<=57343)?(o-55296)*1024+a-56320+65536:o};n?n(String.prototype,"codePointAt",{value:e,configurable:!0,writable:!0}):String.prototype.codePointAt=e}();/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */String.fromCodePoint||function(){const n=function(){let r;try{const i={},o=Object.defineProperty;r=o(i,i,i)&&o}catch{}return r}(),e=String.fromCharCode,t=Math.floor,s=function(r){const o=[];let a,l,c=-1;const u=arguments.length;if(!u)return"";let f="";for(;++c<u;){let p=Number(arguments[c]);if(!isFinite(p)||p<0||p>1114111||t(p)!==p)throw RangeError("Invalid code point: "+p);p<=65535?o.push(p):(p-=65536,a=(p>>10)+55296,l=p%1024+56320,o.push(a,l)),(c+1===u||o.length>16384)&&(f+=e.apply(null,o),o.length=0)}return f};n?n(String,"fromCodePoint",{value:s,configurable:!0,writable:!0}):String.fromCodePoint=s}();class O{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(e){this._text=e}}O.INVALID_TYPE=0,O.EPSILON=-2,O.MIN_USER_TOKEN_TYPE=1,O.EOF=-1,O.DEFAULT_CHANNEL=0,O.HIDDEN_CHANNEL=1;function ys(n,e){if(!Array.isArray(n)||!Array.isArray(e))return!1;if(n===e)return!0;if(n.length!==e.length)return!1;for(let t=0;t<n.length;t++)if(n[t]!==e[t]&&(!n[t].equals||!n[t].equals(e[t])))return!1;return!0}class Et{constructor(){this.count=0,this.hash=0}update(){for(let e=0;e<arguments.length;e++){const t=arguments[e];if(t!=null)if(Array.isArray(t))this.update.apply(this,t);else{let s=0;switch(typeof t){case"undefined":case"function":continue;case"number":case"boolean":s=t;break;case"string":s=t.hashCode();break;default:t.updateHashCode?t.updateHashCode(this):console.log("No updateHashCode for "+t.toString());continue}s=s*3432918353,s=s<<15|s>>>32-15,s=s*461845907,this.count=this.count+1;let r=this.hash^s;r=r<<13|r>>>32-13,r=r*5+3864292196,this.hash=r}}}finish(){let e=this.hash^this.count*4;return e=e^e>>>16,e=e*2246822507,e=e^e>>>13,e=e*3266489909,e=e^e>>>16,e}static hashStuff(){const e=new Et;return e.update.apply(e,arguments),e.finish()}}function R0(n){return n?n.hashCode():-1}function k0(n,e){return n?n.equals(e):n===e}function M4(n){return n===null?"null":n}function wn(n){return Array.isArray(n)?"["+n.map(M4).join(", ")+"]":"null"}const Ci="h-";class bt{constructor(e,t){this.data={},this.hashFunction=e||R0,this.equalsFunction=t||k0}add(e){const t=Ci+this.hashFunction(e);if(t in this.data){const s=this.data[t];for(let r=0;r<s.length;r++)if(this.equalsFunction(e,s[r]))return s[r];return s.push(e),e}else return this.data[t]=[e],e}has(e){return this.get(e)!=null}get(e){const t=Ci+this.hashFunction(e);if(t in this.data){const s=this.data[t];for(let r=0;r<s.length;r++)if(this.equalsFunction(e,s[r]))return s[r]}return null}values(){return Object.keys(this.data).filter(e=>e.startsWith(Ci)).flatMap(e=>this.data[e],this)}toString(){return wn(this.values())}get length(){return Object.keys(this.data).filter(e=>e.startsWith(Ci)).map(e=>this.data[e].length,this).reduce((e,t)=>e+t,0)}}class me{hashCode(){const e=new Et;return this.updateHashCode(e),e.finish()}evaluate(e,t){}evalPrecedence(e,t){return this}static andContext(e,t){if(e===null||e===me.NONE)return t;if(t===null||t===me.NONE)return e;const s=new lr(e,t);return s.opnds.length===1?s.opnds[0]:s}static orContext(e,t){if(e===null)return t;if(t===null)return e;if(e===me.NONE||t===me.NONE)return me.NONE;const s=new cr(e,t);return s.opnds.length===1?s.opnds[0]:s}}class lr extends me{constructor(e,t){super();const s=new bt;e instanceof lr?e.opnds.map(function(i){s.add(i)}):s.add(e),t instanceof lr?t.opnds.map(function(i){s.add(i)}):s.add(t);const r=O0(s);if(r.length>0){let i=null;r.map(function(o){(i===null||o.precedence<i.precedence)&&(i=o)}),s.add(i)}this.opnds=Array.from(s.values())}equals(e){return this===e?!0:e instanceof lr?ys(this.opnds,e.opnds):!1}updateHashCode(e){e.update(this.opnds,"AND")}evaluate(e,t){for(let s=0;s<this.opnds.length;s++)if(!this.opnds[s].evaluate(e,t))return!1;return!0}evalPrecedence(e,t){let s=!1;const r=[];for(let o=0;o<this.opnds.length;o++){const a=this.opnds[o],l=a.evalPrecedence(e,t);if(s|=l!==a,l===null)return null;l!==me.NONE&&r.push(l)}if(!s)return this;if(r.length===0)return me.NONE;let i=null;return r.map(function(o){i=i===null?o:me.andContext(i,o)}),i}toString(){const e=this.opnds.map(t=>t.toString());return(e.length>3?e.slice(3):e).join("&&")}}class cr extends me{constructor(e,t){super();const s=new bt;e instanceof cr?e.opnds.map(function(i){s.add(i)}):s.add(e),t instanceof cr?t.opnds.map(function(i){s.add(i)}):s.add(t);const r=O0(s);if(r.length>0){const i=r.sort(function(a,l){return a.compareTo(l)}),o=i[i.length-1];s.add(o)}this.opnds=Array.from(s.values())}equals(e){return this===e?!0:e instanceof cr?ys(this.opnds,e.opnds):!1}updateHashCode(e){e.update(this.opnds,"OR")}evaluate(e,t){for(let s=0;s<this.opnds.length;s++)if(this.opnds[s].evaluate(e,t))return!0;return!1}evalPrecedence(e,t){let s=!1;const r=[];for(let o=0;o<this.opnds.length;o++){const a=this.opnds[o],l=a.evalPrecedence(e,t);if(s|=l!==a,l===me.NONE)return me.NONE;l!==null&&r.push(l)}return s?(r.length===0,null):this}toString(){const e=this.opnds.map(t=>t.toString());return(e.length>3?e.slice(3):e).join("||")}}function O0(n){const e=[];return n.values().map(function(t){t instanceof me.PrecedencePredicate&&e.push(t)}),e}function N0(n,e){if(n===null){const t={state:null,alt:null,context:null,semanticContext:null};return e&&(t.reachesIntoOuterContext=0),t}else{const t={};return t.state=n.state||null,t.alt=n.alt===void 0?null:n.alt,t.context=n.context||null,t.semanticContext=n.semanticContext||null,e&&(t.reachesIntoOuterContext=n.reachesIntoOuterContext||0,t.precedenceFilterSuppressed=n.precedenceFilterSuppressed||!1),t}}class Be{constructor(e,t){this.checkContext(e,t),e=N0(e),t=N0(t,!0),this.state=e.state!==null?e.state:t.state,this.alt=e.alt!==null?e.alt:t.alt,this.context=e.context!==null?e.context:t.context,this.semanticContext=e.semanticContext!==null?e.semanticContext:t.semanticContext!==null?t.semanticContext:me.NONE,this.reachesIntoOuterContext=t.reachesIntoOuterContext,this.precedenceFilterSuppressed=t.precedenceFilterSuppressed}checkContext(e,t){(e.context===null||e.context===void 0)&&(t===null||t.context===null||t.context===void 0)&&(this.context=null)}hashCode(){const e=new Et;return this.updateHashCode(e),e.finish()}updateHashCode(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(e){return this===e?!0:e instanceof Be?this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&(this.context===null?e.context===null:this.context.equals(e.context))&&this.semanticContext.equals(e.semanticContext)&&this.precedenceFilterSuppressed===e.precedenceFilterSuppressed:!1}hashCodeForConfigSet(){const e=new Et;return e.update(this.state.stateNumber,this.alt,this.semanticContext),e.finish()}equalsForConfigSet(e){return this===e?!0:e instanceof Be?this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&this.semanticContext.equals(e.semanticContext):!1}toString(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==me.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class Le{constructor(e,t){this.start=e,this.stop=t}clone(){return new Le(this.start,this.stop)}contains(e){return e>=this.start&&e<this.stop}toString(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}get length(){return this.stop-this.start}}Le.INVALID_INTERVAL=new Le(-1,-2);class kt{constructor(){this.intervals=null,this.readOnly=!1}first(e){return this.intervals===null||this.intervals.length===0?O.INVALID_TYPE:this.intervals[0].start}addOne(e){this.addInterval(new Le(e,e+1))}addRange(e,t){this.addInterval(new Le(e,t+1))}addInterval(e){if(this.intervals===null)this.intervals=[],this.intervals.push(e.clone());else{for(let t=0;t<this.intervals.length;t++){const s=this.intervals[t];if(e.stop<s.start){this.intervals.splice(t,0,e);return}else if(e.stop===s.start){this.intervals[t]=new Le(e.start,s.stop);return}else if(e.start<=s.stop){this.intervals[t]=new Le(Math.min(s.start,e.start),Math.max(s.stop,e.stop)),this.reduce(t);return}}this.intervals.push(e.clone())}}addSet(e){return e.intervals!==null&&e.intervals.forEach(t=>this.addInterval(t),this),this}reduce(e){if(e<this.intervals.length-1){const t=this.intervals[e],s=this.intervals[e+1];t.stop>=s.stop?(this.intervals.splice(e+1,1),this.reduce(e)):t.stop>=s.start&&(this.intervals[e]=new Le(t.start,s.stop),this.intervals.splice(e+1,1))}}complement(e,t){const s=new kt;return s.addInterval(new Le(e,t+1)),this.intervals!==null&&this.intervals.forEach(r=>s.removeRange(r)),s}contains(e){if(this.intervals===null)return!1;for(let t=0;t<this.intervals.length;t++)if(this.intervals[t].contains(e))return!0;return!1}removeRange(e){if(e.start===e.stop-1)this.removeOne(e.start);else if(this.intervals!==null){let t=0;for(let s=0;s<this.intervals.length;s++){const r=this.intervals[t];if(e.stop<=r.start)return;if(e.start>r.start&&e.stop<r.stop){this.intervals[t]=new Le(r.start,e.start);const i=new Le(e.stop,r.stop);this.intervals.splice(t,0,i);return}else e.start<=r.start&&e.stop>=r.stop?(this.intervals.splice(t,1),t=t-1):e.start<r.stop?this.intervals[t]=new Le(r.start,e.start):e.stop<r.stop&&(this.intervals[t]=new Le(e.stop,r.stop));t+=1}}}removeOne(e){if(this.intervals!==null)for(let t=0;t<this.intervals.length;t++){const s=this.intervals[t];if(e<s.start)return;if(e===s.start&&e===s.stop-1){this.intervals.splice(t,1);return}else if(e===s.start){this.intervals[t]=new Le(s.start+1,s.stop);return}else if(e===s.stop-1){this.intervals[t]=new Le(s.start,s.stop-1);return}else if(e<s.stop-1){const r=new Le(s.start,e);s.start=e+1,this.intervals.splice(t,0,r);return}}}toString(e,t,s){return e=e||null,t=t||null,s=s||!1,this.intervals===null?"{}":e!==null||t!==null?this.toTokenString(e,t):s?this.toCharString():this.toIndexString()}toCharString(){const e=[];for(let t=0;t<this.intervals.length;t++){const s=this.intervals[t];s.stop===s.start+1?s.start===O.EOF?e.push("<EOF>"):e.push("'"+String.fromCharCode(s.start)+"'"):e.push("'"+String.fromCharCode(s.start)+"'..'"+String.fromCharCode(s.stop-1)+"'")}return e.length>1?"{"+e.join(", ")+"}":e[0]}toIndexString(){const e=[];for(let t=0;t<this.intervals.length;t++){const s=this.intervals[t];s.stop===s.start+1?s.start===O.EOF?e.push("<EOF>"):e.push(s.start.toString()):e.push(s.start.toString()+".."+(s.stop-1).toString())}return e.length>1?"{"+e.join(", ")+"}":e[0]}toTokenString(e,t){const s=[];for(let r=0;r<this.intervals.length;r++){const i=this.intervals[r];for(let o=i.start;o<i.stop;o++)s.push(this.elementName(e,t,o))}return s.length>1?"{"+s.join(", ")+"}":s[0]}elementName(e,t,s){return s===O.EOF?"<EOF>":s===O.EPSILON?"<EPSILON>":e[s]||t[s]}get length(){return this.intervals.map(e=>e.length).reduce((e,t)=>e+t)}}class G{constructor(){this.atn=null,this.stateNumber=G.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(e){return e instanceof G?this.stateNumber===e.stateNumber:!1}isNonGreedyExitState(){return!1}addTransition(e,t){t===void 0&&(t=-1),this.transitions.length===0?this.epsilonOnlyTransitions=e.isEpsilon:this.epsilonOnlyTransitions!==e.isEpsilon&&(this.epsilonOnlyTransitions=!1),t===-1?this.transitions.push(e):this.transitions.splice(t,1,e)}}G.INVALID_TYPE=0,G.BASIC=1,G.RULE_START=2,G.BLOCK_START=3,G.PLUS_BLOCK_START=4,G.STAR_BLOCK_START=5,G.TOKEN_START=6,G.RULE_STOP=7,G.BLOCK_END=8,G.STAR_LOOP_BACK=9,G.STAR_LOOP_ENTRY=10,G.PLUS_LOOP_BACK=11,G.LOOP_END=12,G.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],G.INVALID_STATE_NUMBER=-1;class ht extends G{constructor(){return super(),this.stateType=G.RULE_STOP,this}}class V{constructor(e){if(e==null)throw"target cannot be null.";this.target=e,this.isEpsilon=!1,this.label=null}}V.EPSILON=1,V.RANGE=2,V.RULE=3,V.PREDICATE=4,V.ATOM=5,V.ACTION=6,V.SET=7,V.NOT_SET=8,V.WILDCARD=9,V.PRECEDENCE=10,V.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],V.serializationTypes={EpsilonTransition:V.EPSILON,RangeTransition:V.RANGE,RuleTransition:V.RULE,PredicateTransition:V.PREDICATE,AtomTransition:V.ATOM,ActionTransition:V.ACTION,SetTransition:V.SET,NotSetTransition:V.NOT_SET,WildcardTransition:V.WILDCARD,PrecedencePredicateTransition:V.PRECEDENCE};class Ei extends V{constructor(e,t,s,r){super(e),this.ruleIndex=t,this.precedence=s,this.followState=r,this.serializationType=V.RULE,this.isEpsilon=!0}matches(e,t,s){return!1}}class b1 extends V{constructor(e,t){super(e),this.serializationType=V.SET,t!=null?this.label=t:(this.label=new kt,this.label.addOne(O.INVALID_TYPE))}matches(e,t,s){return this.label.contains(e)}toString(){return this.label.toString()}}class v1 extends b1{constructor(e,t){super(e,t),this.serializationType=V.NOT_SET}matches(e,t,s){return e>=t&&e<=s&&!super.matches(e,t,s)}toString(){return"~"+super.toString()}}class I0 extends V{constructor(e){super(e),this.serializationType=V.WILDCARD}matches(e,t,s){return e>=t&&e<=s}toString(){return"."}}class w1 extends V{constructor(e){super(e)}}class D4{}class F4 extends D4{}class P0 extends F4{}class bi extends P0{getRuleContext(){throw new Error("missing interface implementation")}}class hn extends P0{}class vi extends hn{}function $4(n,e){return n=n.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),e&&(n=n.replace(/ /g,"\xB7")),n}const Jt={toStringTree:function(n,e,t){e=e||null,t=t||null,t!==null&&(e=t.ruleNames);let s=Jt.getNodeText(n,e);s=$4(s,!1);const r=n.getChildCount();if(r===0)return s;let i="("+s+" ";r>0&&(s=Jt.toStringTree(n.getChild(0),e),i=i.concat(s));for(let o=1;o<r;o++)s=Jt.toStringTree(n.getChild(o),e),i=i.concat(" "+s);return i=i.concat(")"),i},getNodeText:function(n,e,t){if(e=e||null,t=t||null,t!==null&&(e=t.ruleNames),e!==null)if(n instanceof bi){const i=n.getRuleContext().getAltNumber();return i!=0?e[n.ruleIndex]+":"+i:e[n.ruleIndex]}else{if(n instanceof vi)return n.toString();if(n instanceof hn&&n.symbol!==null)return n.symbol.text}const s=n.getPayload();return s instanceof O?s.text:n.getPayload().toString()},getChildren:function(n){const e=[];for(let t=0;t<n.getChildCount();t++)e.push(n.getChild(t));return e},getAncestors:function(n){let e=[];for(n=n.getParent();n!==null;)e=[n].concat(e),n=n.getParent();return e},findAllTokenNodes:function(n,e){return Jt.findAllNodes(n,e,!0)},findAllRuleNodes:function(n,e){return Jt.findAllNodes(n,e,!1)},findAllNodes:function(n,e,t){const s=[];return Jt._findAllNodes(n,e,t,s),s},_findAllNodes:function(n,e,t,s){t&&n instanceof hn?n.symbol.type===e&&s.push(n):!t&&n instanceof bi&&n.ruleIndex===e&&s.push(n);for(let r=0;r<n.getChildCount();r++)Jt._findAllNodes(n.getChild(r),e,t,s)},descendants:function(n){let e=[n];for(let t=0;t<n.getChildCount();t++)e=e.concat(Jt.descendants(n.getChild(t)));return e}};class Cs extends bi{constructor(e,t){super(),this.parentCtx=e||null,this.invokingState=t||-1}depth(){let e=0,t=this;for(;t!==null;)t=t.parentCtx,e+=1;return e}isEmpty(){return this.invokingState===-1}getSourceInterval(){return Le.INVALID_INTERVAL}getRuleContext(){return this}getPayload(){return this}getText(){return this.getChildCount()===0?"":this.children.map(function(e){return e.getText()}).join("")}getAltNumber(){return 0}setAltNumber(e){}getChild(e){return null}getChildCount(){return 0}accept(e){return e.visitChildren(this)}toStringTree(e,t){return Jt.toStringTree(this,e,t)}toString(e,t){e=e||null,t=t||null;let s=this,r="[";for(;s!==null&&s!==t;){if(e===null)s.isEmpty()||(r+=s.invokingState);else{const i=s.ruleIndex,o=i>=0&&i<e.length?e[i]:""+i;r+=o}s.parentCtx!==null&&(e!==null||!s.parentCtx.isEmpty())&&(r+=" "),s=s.parentCtx}return r+="]",r}}class le{constructor(e){this.cachedHashCode=e}isEmpty(){return this===le.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===le.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(e){e.update(this.cachedHashCode)}}le.EMPTY=null,le.EMPTY_RETURN_STATE=2147483647,le.globalNodeCount=1,le.id=le.globalNodeCount;class en extends le{constructor(e,t){const s=new Et;s.update(e,t);const r=s.finish();return super(r),this.parents=e,this.returnStates=t,this}isEmpty(){return this.returnStates[0]===le.EMPTY_RETURN_STATE}getParent(e){return this.parents[e]}getReturnState(e){return this.returnStates[e]}equals(e){return this===e?!0:e instanceof en?this.hashCode()!==e.hashCode()?!1:ys(this.returnStates,e.returnStates)&&ys(this.parents,e.parents):!1}toString(){if(this.isEmpty())return"[]";{let e="[";for(let t=0;t<this.returnStates.length;t++){if(t>0&&(e=e+", "),this.returnStates[t]===le.EMPTY_RETURN_STATE){e=e+"$";continue}e=e+this.returnStates[t],this.parents[t]!==null?e=e+" "+this.parents[t]:e=e+"null"}return e+"]"}}get length(){return this.returnStates.length}}class ft extends le{constructor(e,t){let s=0;const r=new Et;e!==null?r.update(e,t):r.update(1),s=r.finish(),super(s),this.parentCtx=e,this.returnState=t}getParent(e){return this.parentCtx}getReturnState(e){return this.returnState}equals(e){return this===e?!0:e instanceof ft?this.hashCode()!==e.hashCode()||this.returnState!==e.returnState?!1:this.parentCtx==null?e.parentCtx==null:this.parentCtx.equals(e.parentCtx):!1}toString(){const e=this.parentCtx===null?"":this.parentCtx.toString();return e.length===0?this.returnState===le.EMPTY_RETURN_STATE?"$":""+this.returnState:""+this.returnState+" "+e}get length(){return 1}static create(e,t){return t===le.EMPTY_RETURN_STATE&&e===null?le.EMPTY:new ft(e,t)}}class T1 extends ft{constructor(){super(null,le.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(e){return null}getReturnState(e){return this.returnState}equals(e){return this===e}toString(){return"$"}}le.EMPTY=new T1;const ur="h-";class hr{constructor(e,t){this.data={},this.hashFunction=e||R0,this.equalsFunction=t||k0}set(e,t){const s=ur+this.hashFunction(e);if(s in this.data){const r=this.data[s];for(let i=0;i<r.length;i++){const o=r[i];if(this.equalsFunction(e,o.key)){const a=o.value;return o.value=t,a}}return r.push({key:e,value:t}),t}else return this.data[s]=[{key:e,value:t}],t}containsKey(e){const t=ur+this.hashFunction(e);if(t in this.data){const s=this.data[t];for(let r=0;r<s.length;r++){const i=s[r];if(this.equalsFunction(e,i.key))return!0}}return!1}get(e){const t=ur+this.hashFunction(e);if(t in this.data){const s=this.data[t];for(let r=0;r<s.length;r++){const i=s[r];if(this.equalsFunction(e,i.key))return i.value}}return null}entries(){return Object.keys(this.data).filter(e=>e.startsWith(ur)).flatMap(e=>this.data[e],this)}getKeys(){return this.entries().map(e=>e.key)}getValues(){return this.entries().map(e=>e.value)}toString(){return"["+this.entries().map(t=>"{"+t.key+":"+t.value+"}").join(", ")+"]"}get length(){return Object.keys(this.data).filter(e=>e.startsWith(ur)).map(e=>this.data[e].length,this).reduce((e,t)=>e+t,0)}}function A1(n,e){if(e==null&&(e=Cs.EMPTY),e.parentCtx===null||e===Cs.EMPTY)return le.EMPTY;const t=A1(n,e.parentCtx),r=n.states[e.invokingState].transitions[0];return ft.create(t,r.followState.stateNumber)}function M0(n,e,t){if(n.isEmpty())return n;let s=t.get(n)||null;if(s!==null)return s;if(s=e.get(n),s!==null)return t.set(n,s),s;let r=!1,i=[];for(let a=0;a<i.length;a++){const l=M0(n.getParent(a),e,t);if(r||l!==n.getParent(a)){if(!r){i=[];for(let c=0;c<n.length;c++)i[c]=n.getParent(c);r=!0}i[a]=l}}if(!r)return e.add(n),t.set(n,n),n;let o=null;return i.length===0?o=le.EMPTY:i.length===1?o=ft.create(i[0],n.getReturnState(0)):o=new en(i,n.returnStates),e.add(o),t.set(o,o),t.set(n,o),o}function S1(n,e,t,s){if(n===e)return n;if(n instanceof ft&&e instanceof ft)return V4(n,e,t,s);if(t){if(n instanceof T1)return n;if(e instanceof T1)return e}return n instanceof ft&&(n=new en([n.getParent()],[n.returnState])),e instanceof ft&&(e=new en([e.getParent()],[e.returnState])),B4(n,e,t,s)}function B4(n,e,t,s){if(s!==null){let u=s.get(n,e);if(u!==null||(u=s.get(e,n),u!==null))return u}let r=0,i=0,o=0,a=[],l=[];for(;r<n.returnStates.length&&i<e.returnStates.length;){const u=n.parents[r],f=e.parents[i];if(n.returnStates[r]===e.returnStates[i]){const p=n.returnStates[r];p===le.EMPTY_RETURN_STATE&&u===null&&f===null||u!==null&&f!==null&&u===f?(l[o]=u,a[o]=p):(l[o]=S1(u,f,t,s),a[o]=p),r+=1,i+=1}else n.returnStates[r]<e.returnStates[i]?(l[o]=u,a[o]=n.returnStates[r],r+=1):(l[o]=f,a[o]=e.returnStates[i],i+=1);o+=1}if(r<n.returnStates.length)for(let u=r;u<n.returnStates.length;u++)l[o]=n.parents[u],a[o]=n.returnStates[u],o+=1;else for(let u=i;u<e.returnStates.length;u++)l[o]=e.parents[u],a[o]=e.returnStates[u],o+=1;if(o<l.length){if(o===1){const u=ft.create(l[0],a[0]);return s!==null&&s.set(n,e,u),u}l=l.slice(0,o),a=a.slice(0,o)}const c=new en(l,a);return c===n?(s!==null&&s.set(n,e,n),n):c===e?(s!==null&&s.set(n,e,e),e):(U4(l),s!==null&&s.set(n,e,c),c)}function U4(n){const e=new hr;for(let t=0;t<n.length;t++){const s=n[t];e.containsKey(s)||e.set(s,s)}for(let t=0;t<n.length;t++)n[t]=e.get(n[t])}function V4(n,e,t,s){if(s!==null){let i=s.get(n,e);if(i!==null||(i=s.get(e,n),i!==null))return i}const r=H4(n,e,t);if(r!==null)return s!==null&&s.set(n,e,r),r;if(n.returnState===e.returnState){const i=S1(n.parentCtx,e.parentCtx,t,s);if(i===n.parentCtx)return n;if(i===e.parentCtx)return e;const o=ft.create(i,n.returnState);return s!==null&&s.set(n,e,o),o}else{let i=null;if((n===e||n.parentCtx!==null&&n.parentCtx===e.parentCtx)&&(i=n.parentCtx),i!==null){const c=[n.returnState,e.returnState];n.returnState>e.returnState&&(c[0]=e.returnState,c[1]=n.returnState);const u=[i,i],f=new en(u,c);return s!==null&&s.set(n,e,f),f}const o=[n.returnState,e.returnState];let a=[n.parentCtx,e.parentCtx];n.returnState>e.returnState&&(o[0]=e.returnState,o[1]=n.returnState,a=[e.parentCtx,n.parentCtx]);const l=new en(a,o);return s!==null&&s.set(n,e,l),l}}function H4(n,e,t){if(t){if(n===le.EMPTY||e===le.EMPTY)return le.EMPTY}else{if(n===le.EMPTY&&e===le.EMPTY)return le.EMPTY;if(n===le.EMPTY){const s=[e.returnState,le.EMPTY_RETURN_STATE],r=[e.parentCtx,null];return new en(r,s)}else if(e===le.EMPTY){const s=[n.returnState,le.EMPTY_RETURN_STATE],r=[n.parentCtx,null];return new en(r,s)}}return null}class tn{constructor(){this.data=[]}add(e){this.data[e]=!0}or(e){Object.keys(e.data).map(t=>this.add(t),this)}remove(e){delete this.data[e]}has(e){return this.data[e]===!0}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){return Et.hashStuff(this.values())}equals(e){return e instanceof tn&&ys(this.data,e.data)}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class Es{constructor(e){this.atn=e}getDecisionLookahead(e){if(e===null)return null;const t=e.transitions.length,s=[];for(let r=0;r<t;r++){s[r]=new kt;const i=new bt,o=!1;this._LOOK(e.transition(r).target,null,le.EMPTY,s[r],i,new tn,o,!1),(s[r].length===0||s[r].contains(Es.HIT_PRED))&&(s[r]=null)}return s}LOOK(e,t,s){const r=new kt,i=!0;s=s||null;const o=s!==null?A1(e.atn,s):null;return this._LOOK(e,t,o,r,new bt,new tn,i,!0),r}_LOOK(e,t,s,r,i,o,a,l){const c=new Be({state:e,alt:0,context:s},null);if(!i.has(c)){if(i.add(c),e===t){if(s===null){r.addOne(O.EPSILON);return}else if(s.isEmpty()&&l){r.addOne(O.EOF);return}}if(e instanceof ht){if(s===null){r.addOne(O.EPSILON);return}else if(s.isEmpty()&&l){r.addOne(O.EOF);return}if(s!==le.EMPTY){const u=o.has(e.ruleIndex);try{o.remove(e.ruleIndex);for(let f=0;f<s.length;f++){const p=this.atn.states[s.getReturnState(f)];this._LOOK(p,t,s.getParent(f),r,i,o,a,l)}}finally{u&&o.add(e.ruleIndex)}return}}for(let u=0;u<e.transitions.length;u++){const f=e.transitions[u];if(f.constructor===Ei){if(o.has(f.target.ruleIndex))continue;const p=ft.create(s,f.followState.stateNumber);try{o.add(f.target.ruleIndex),this._LOOK(f.target,t,p,r,i,o,a,l)}finally{o.remove(f.target.ruleIndex)}}else if(f instanceof w1)a?this._LOOK(f.target,t,s,r,i,o,a,l):r.addOne(Es.HIT_PRED);else if(f.isEpsilon)this._LOOK(f.target,t,s,r,i,o,a,l);else if(f.constructor===I0)r.addRange(O.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{let p=f.label;p!==null&&(f instanceof v1&&(p=p.complement(O.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),r.addSet(p))}}}}}Es.HIT_PRED=O.INVALID_TYPE;class Me{constructor(e,t){this.grammarType=e,this.maxTokenType=t,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(e,t){return new Es(this).LOOK(e,null,t)}nextTokensNoContext(e){return e.nextTokenWithinRule!==null||(e.nextTokenWithinRule=this.nextTokensInContext(e,null),e.nextTokenWithinRule.readOnly=!0),e.nextTokenWithinRule}nextTokens(e,t){return t===void 0?this.nextTokensNoContext(e):this.nextTokensInContext(e,t)}addState(e){e!==null&&(e.atn=this,e.stateNumber=this.states.length),this.states.push(e)}removeState(e){this.states[e.stateNumber]=null}defineDecisionState(e){return this.decisionToState.push(e),e.decision=this.decisionToState.length-1,e.decision}getDecisionState(e){return this.decisionToState.length===0?null:this.decisionToState[e]}getExpectedTokens(e,t){if(e<0||e>=this.states.length)throw"Invalid state number.";const s=this.states[e];let r=this.nextTokens(s);if(!r.contains(O.EPSILON))return r;const i=new kt;for(i.addSet(r),i.removeOne(O.EPSILON);t!==null&&t.invokingState>=0&&r.contains(O.EPSILON);){const a=this.states[t.invokingState].transitions[0];r=this.nextTokens(a.followState),i.addSet(r),i.removeOne(O.EPSILON),t=t.parentCtx}return r.contains(O.EPSILON)&&i.addOne(O.EOF),i}}Me.INVALID_ALT_NUMBER=0;const wi={LEXER:0,PARSER:1};class D0 extends G{constructor(){super(),this.stateType=G.BASIC}}class bs extends G{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class vs extends bs{constructor(){return super(),this.endState=null,this}}class R1 extends G{constructor(){return super(),this.stateType=G.BLOCK_END,this.startState=null,this}}class ws extends G{constructor(){return super(),this.stateType=G.LOOP_END,this.loopBackState=null,this}}class F0 extends G{constructor(){return super(),this.stateType=G.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}}class G4 extends bs{constructor(){return super(),this.stateType=G.TOKEN_START,this}}class $0 extends bs{constructor(){return super(),this.stateType=G.PLUS_LOOP_BACK,this}}class k1 extends G{constructor(){return super(),this.stateType=G.STAR_LOOP_BACK,this}}class ns extends bs{constructor(){return super(),this.stateType=G.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}}class O1 extends vs{constructor(){return super(),this.stateType=G.PLUS_BLOCK_START,this.loopBackState=null,this}}class N1 extends vs{constructor(){return super(),this.stateType=G.STAR_BLOCK_START,this}}class B0 extends vs{constructor(){return super(),this.stateType=G.BLOCK_START,this}}class Ti extends V{constructor(e,t){super(e),this.label_=t,this.label=this.makeLabel(),this.serializationType=V.ATOM}makeLabel(){const e=new kt;return e.addOne(this.label_),e}matches(e,t,s){return this.label_===e}toString(){return this.label_}}class U0 extends V{constructor(e,t,s){super(e),this.serializationType=V.RANGE,this.start=t,this.stop=s,this.label=this.makeLabel()}makeLabel(){const e=new kt;return e.addRange(this.start,this.stop),e}matches(e,t,s){return e>=this.start&&e<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}class V0 extends V{constructor(e,t,s,r){super(e),this.serializationType=V.ACTION,this.ruleIndex=t,this.actionIndex=s===void 0?-1:s,this.isCtxDependent=r===void 0?!1:r,this.isEpsilon=!0}matches(e,t,s){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}}class fr extends V{constructor(e,t){super(e),this.serializationType=V.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=t}matches(e,t,s){return!1}toString(){return"epsilon"}}class Ai extends me{constructor(e,t,s){super(),this.ruleIndex=e===void 0?-1:e,this.predIndex=t===void 0?-1:t,this.isCtxDependent=s===void 0?!1:s}evaluate(e,t){const s=this.isCtxDependent?t:null;return e.sempred(s,this.ruleIndex,this.predIndex)}updateHashCode(e){e.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(e){return this===e?!0:e instanceof Ai?this.ruleIndex===e.ruleIndex&&this.predIndex===e.predIndex&&this.isCtxDependent===e.isCtxDependent:!1}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}me.NONE=new Ai;class H0 extends w1{constructor(e,t,s,r){super(e),this.serializationType=V.PREDICATE,this.ruleIndex=t,this.predIndex=s,this.isCtxDependent=r,this.isEpsilon=!0}matches(e,t,s){return!1}getPredicate(){return new Ai(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}}class Si extends me{constructor(e){super(),this.precedence=e===void 0?0:e}evaluate(e,t){return e.precpred(t,this.precedence)}evalPrecedence(e,t){return e.precpred(t,this.precedence)?me.NONE:null}compareTo(e){return this.precedence-e.precedence}updateHashCode(e){e.update(this.precedence)}equals(e){return this===e?!0:e instanceof Si?this.precedence===e.precedence:!1}toString(){return"{"+this.precedence+">=prec}?"}}me.PrecedencePredicate=Si;class j4 extends w1{constructor(e,t){super(e),this.serializationType=V.PRECEDENCE,this.precedence=t,this.isEpsilon=!0}matches(e,t,s){return!1}getPredicate(){return new Si(this.precedence)}toString(){return this.precedence+" >= _p"}}class dr{constructor(e){e===void 0&&(e=null),this.readOnly=!1,this.verifyATN=e===null?!0:e.verifyATN,this.generateRuleBypassTransitions=e===null?!1:e.generateRuleBypassTransitions}}dr.defaultOptions=new dr,dr.defaultOptions.readOnly=!0;const ot={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class fn{constructor(e){this.actionType=e,this.isPositionDependent=!1}hashCode(){const e=new Et;return this.updateHashCode(e),e.finish()}updateHashCode(e){e.update(this.actionType)}equals(e){return this===e}}class I1 extends fn{constructor(){super(ot.SKIP)}execute(e){e.skip()}toString(){return"skip"}}I1.INSTANCE=new I1;class P1 extends fn{constructor(e){super(ot.CHANNEL),this.channel=e}execute(e){e._channel=this.channel}updateHashCode(e){e.update(this.actionType,this.channel)}equals(e){return this===e?!0:e instanceof P1?this.channel===e.channel:!1}toString(){return"channel("+this.channel+")"}}class M1 extends fn{constructor(e,t){super(ot.CUSTOM),this.ruleIndex=e,this.actionIndex=t,this.isPositionDependent=!0}execute(e){e.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(e){e.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(e){return this===e?!0:e instanceof M1?this.ruleIndex===e.ruleIndex&&this.actionIndex===e.actionIndex:!1}}class D1 extends fn{constructor(){super(ot.MORE)}execute(e){e.more()}toString(){return"more"}}D1.INSTANCE=new D1;class F1 extends fn{constructor(e){super(ot.TYPE),this.type=e}execute(e){e.type=this.type}updateHashCode(e){e.update(this.actionType,this.type)}equals(e){return this===e?!0:e instanceof F1?this.type===e.type:!1}toString(){return"type("+this.type+")"}}class $1 extends fn{constructor(e){super(ot.PUSH_MODE),this.mode=e}execute(e){e.pushMode(this.mode)}updateHashCode(e){e.update(this.actionType,this.mode)}equals(e){return this===e?!0:e instanceof $1?this.mode===e.mode:!1}toString(){return"pushMode("+this.mode+")"}}class B1 extends fn{constructor(){super(ot.POP_MODE)}execute(e){e.popMode()}toString(){return"popMode"}}B1.INSTANCE=new B1;class U1 extends fn{constructor(e){super(ot.MODE),this.mode=e}execute(e){e.mode(this.mode)}updateHashCode(e){e.update(this.actionType,this.mode)}equals(e){return this===e?!0:e instanceof U1?this.mode===e.mode:!1}toString(){return"mode("+this.mode+")"}}const V1=4;function Ri(n,e){const t=[];return t[n-1]=e,t.map(function(s){return e})}class G0{constructor(e){e==null&&(e=dr.defaultOptions),this.deserializationOptions=e,this.stateFactories=null,this.actionFactories=null}deserialize(e){const t=this.reset(e);this.checkVersion(t),t&&this.skipUUID();const s=this.readATN();this.readStates(s,t),this.readRules(s,t),this.readModes(s);const r=[];return this.readSets(s,r,this.readInt.bind(this)),t&&this.readSets(s,r,this.readInt32.bind(this)),this.readEdges(s,r),this.readDecisions(s),this.readLexerActions(s,t),this.markPrecedenceDecisions(s),this.verifyATN(s),this.deserializationOptions.generateRuleBypassTransitions&&s.grammarType===wi.PARSER&&(this.generateRuleBypassTransitions(s),this.verifyATN(s)),s}reset(e){if((e.charCodeAt?e.charCodeAt(0):e[0])===V1-1){const s=function(i){const o=i.charCodeAt(0);return o>1?o-2:o+65534},r=e.split("").map(s);return r[0]=e.charCodeAt(0),this.data=r,this.pos=0,!0}else return this.data=e,this.pos=0,!1}skipUUID(){let e=0;for(;e++<8;)this.readInt()}checkVersion(e){const t=this.readInt();if(!e&&t!==V1)throw"Could not deserialize ATN with version "+t+" (expected "+V1+")."}readATN(){const e=this.readInt(),t=this.readInt();return new Me(e,t)}readStates(e,t){let s,r,i;const o=[],a=[],l=this.readInt();for(let f=0;f<l;f++){const p=this.readInt();if(p===G.INVALID_TYPE){e.addState(null);continue}let g=this.readInt();t&&g===65535&&(g=-1);const T=this.stateFactory(p,g);if(p===G.LOOP_END){const A=this.readInt();o.push([T,A])}else if(T instanceof vs){const A=this.readInt();a.push([T,A])}e.addState(T)}for(s=0;s<o.length;s++)r=o[s],r[0].loopBackState=e.states[r[1]];for(s=0;s<a.length;s++)r=a[s],r[0].endState=e.states[r[1]];let c=this.readInt();for(s=0;s<c;s++)i=this.readInt(),e.states[i].nonGreedy=!0;let u=this.readInt();for(s=0;s<u;s++)i=this.readInt(),e.states[i].isPrecedenceRule=!0}readRules(e,t){let s;const r=this.readInt();for(e.grammarType===wi.LEXER&&(e.ruleToTokenType=Ri(r,0)),e.ruleToStartState=Ri(r,0),s=0;s<r;s++){const i=this.readInt();if(e.ruleToStartState[s]=e.states[i],e.grammarType===wi.LEXER){let o=this.readInt();t&&o===65535&&(o=O.EOF),e.ruleToTokenType[s]=o}}for(e.ruleToStopState=Ri(r,0),s=0;s<e.states.length;s++){const i=e.states[s];i instanceof ht&&(e.ruleToStopState[i.ruleIndex]=i,e.ruleToStartState[i.ruleIndex].stopState=i)}}readModes(e){const t=this.readInt();for(let s=0;s<t;s++){let r=this.readInt();e.modeToStartState.push(e.states[r])}}readSets(e,t,s){const r=this.readInt();for(let i=0;i<r;i++){const o=new kt;t.push(o);const a=this.readInt();this.readInt()!==0&&o.addOne(-1);for(let c=0;c<a;c++){const u=s(),f=s();o.addRange(u,f)}}}readEdges(e,t){let s,r,i,o,a;const l=this.readInt();for(s=0;s<l;s++){const c=this.readInt(),u=this.readInt(),f=this.readInt(),p=this.readInt(),g=this.readInt(),T=this.readInt();o=this.edgeFactory(e,f,c,u,p,g,T,t),e.states[c].addTransition(o)}for(s=0;s<e.states.length;s++)for(i=e.states[s],r=0;r<i.transitions.length;r++){const c=i.transitions[r];if(!(c instanceof Ei))continue;let u=-1;e.ruleToStartState[c.target.ruleIndex].isPrecedenceRule&&c.precedence===0&&(u=c.target.ruleIndex),o=new fr(c.followState,u),e.ruleToStopState[c.target.ruleIndex].addTransition(o)}for(s=0;s<e.states.length;s++){if(i=e.states[s],i instanceof vs){if(i.endState===null||i.endState.startState!==null)throw"IllegalState";i.endState.startState=i}if(i instanceof $0)for(r=0;r<i.transitions.length;r++)a=i.transitions[r].target,a instanceof O1&&(a.loopBackState=i);else if(i instanceof k1)for(r=0;r<i.transitions.length;r++)a=i.transitions[r].target,a instanceof ns&&(a.loopBackState=i)}}readDecisions(e){const t=this.readInt();for(let s=0;s<t;s++){const r=this.readInt(),i=e.states[r];e.decisionToState.push(i),i.decision=s}}readLexerActions(e,t){if(e.grammarType===wi.LEXER){const s=this.readInt();e.lexerActions=Ri(s,null);for(let r=0;r<s;r++){const i=this.readInt();let o=this.readInt();t&&o===65535&&(o=-1);let a=this.readInt();t&&a===65535&&(a=-1),e.lexerActions[r]=this.lexerActionFactory(i,o,a)}}}generateRuleBypassTransitions(e){let t;const s=e.ruleToStartState.length;for(t=0;t<s;t++)e.ruleToTokenType[t]=e.maxTokenType+t+1;for(t=0;t<s;t++)this.generateRuleBypassTransition(e,t)}generateRuleBypassTransition(e,t){let s,r;const i=new B0;i.ruleIndex=t,e.addState(i);const o=new R1;o.ruleIndex=t,e.addState(o),i.endState=o,e.defineDecisionState(i),o.startState=i;let a=null,l=null;if(e.ruleToStartState[t].isPrecedenceRule){for(l=null,s=0;s<e.states.length;s++)if(r=e.states[s],this.stateIsEndStateFor(r,t)){l=r,a=r.loopBackState.transitions[0];break}if(a===null)throw"Couldn't identify final state of the precedence rule prefix section."}else l=e.ruleToStopState[t];for(s=0;s<e.states.length;s++){r=e.states[s];for(let p=0;p<r.transitions.length;p++){const g=r.transitions[p];g!==a&&g.target===l&&(g.target=o)}}const c=e.ruleToStartState[t],u=c.transitions.length;for(;u>0;)i.addTransition(c.transitions[u-1]),c.transitions=c.transitions.slice(-1);e.ruleToStartState[t].addTransition(new fr(i)),o.addTransition(new fr(l));const f=new D0;e.addState(f),f.addTransition(new Ti(o,e.ruleToTokenType[t])),i.addTransition(new fr(f))}stateIsEndStateFor(e,t){if(e.ruleIndex!==t||!(e instanceof ns))return null;const s=e.transitions[e.transitions.length-1].target;return s instanceof ws&&s.epsilonOnlyTransitions&&s.transitions[0].target instanceof ht?e:null}markPrecedenceDecisions(e){for(let t=0;t<e.states.length;t++){const s=e.states[t];if(s instanceof ns&&e.ruleToStartState[s.ruleIndex].isPrecedenceRule){const r=s.transitions[s.transitions.length-1].target;r instanceof ws&&r.epsilonOnlyTransitions&&r.transitions[0].target instanceof ht&&(s.isPrecedenceDecision=!0)}}}verifyATN(e){if(!!this.deserializationOptions.verifyATN)for(let t=0;t<e.states.length;t++){const s=e.states[t];if(s!==null)if(this.checkCondition(s.epsilonOnlyTransitions||s.transitions.length<=1),s instanceof O1)this.checkCondition(s.loopBackState!==null);else if(s instanceof ns)if(this.checkCondition(s.loopBackState!==null),this.checkCondition(s.transitions.length===2),s.transitions[0].target instanceof N1)this.checkCondition(s.transitions[1].target instanceof ws),this.checkCondition(!s.nonGreedy);else if(s.transitions[0].target instanceof ws)this.checkCondition(s.transitions[1].target instanceof N1),this.checkCondition(s.nonGreedy);else throw"IllegalState";else s instanceof k1?(this.checkCondition(s.transitions.length===1),this.checkCondition(s.transitions[0].target instanceof ns)):s instanceof ws?this.checkCondition(s.loopBackState!==null):s instanceof F0?this.checkCondition(s.stopState!==null):s instanceof vs?this.checkCondition(s.endState!==null):s instanceof R1?this.checkCondition(s.startState!==null):s instanceof bs?this.checkCondition(s.transitions.length<=1||s.decision>=0):this.checkCondition(s.transitions.length<=1||s instanceof ht)}}checkCondition(e,t){if(!e)throw t==null&&(t="IllegalState"),t}readInt(){return this.data[this.pos++]}readInt32(){const e=this.readInt(),t=this.readInt();return e|t<<16}edgeFactory(e,t,s,r,i,o,a,l){const c=e.states[r];switch(t){case V.EPSILON:return new fr(c);case V.RANGE:return a!==0?new U0(c,O.EOF,o):new U0(c,i,o);case V.RULE:return new Ei(e.states[i],o,a,c);case V.PREDICATE:return new H0(c,i,o,a!==0);case V.PRECEDENCE:return new j4(c,i);case V.ATOM:return a!==0?new Ti(c,O.EOF):new Ti(c,i);case V.ACTION:return new V0(c,i,o,a!==0);case V.SET:return new b1(c,l[i]);case V.NOT_SET:return new v1(c,l[i]);case V.WILDCARD:return new I0(c);default:throw"The specified transition type: "+t+" is not valid."}}stateFactory(e,t){if(this.stateFactories===null){const s=[];s[G.INVALID_TYPE]=null,s[G.BASIC]=()=>new D0,s[G.RULE_START]=()=>new F0,s[G.BLOCK_START]=()=>new B0,s[G.PLUS_BLOCK_START]=()=>new O1,s[G.STAR_BLOCK_START]=()=>new N1,s[G.TOKEN_START]=()=>new G4,s[G.RULE_STOP]=()=>new ht,s[G.BLOCK_END]=()=>new R1,s[G.STAR_LOOP_BACK]=()=>new k1,s[G.STAR_LOOP_ENTRY]=()=>new ns,s[G.PLUS_LOOP_BACK]=()=>new $0,s[G.LOOP_END]=()=>new ws,this.stateFactories=s}if(e>this.stateFactories.length||this.stateFactories[e]===null)throw"The specified state type "+e+" is not valid.";{const s=this.stateFactories[e]();if(s!==null)return s.ruleIndex=t,s}}lexerActionFactory(e,t,s){if(this.actionFactories===null){const r=[];r[ot.CHANNEL]=(i,o)=>new P1(i),r[ot.CUSTOM]=(i,o)=>new M1(i,o),r[ot.MODE]=(i,o)=>new U1(i),r[ot.MORE]=(i,o)=>D1.INSTANCE,r[ot.POP_MODE]=(i,o)=>B1.INSTANCE,r[ot.PUSH_MODE]=(i,o)=>new $1(i),r[ot.SKIP]=(i,o)=>I1.INSTANCE,r[ot.TYPE]=(i,o)=>new F1(i),this.actionFactories=r}if(e>this.actionFactories.length||this.actionFactories[e]===null)throw"The specified lexer action type "+e+" is not valid.";return this.actionFactories[e](t,s)}}class ki{syntaxError(e,t,s,r,i,o){}reportAmbiguity(e,t,s,r,i,o,a){}reportAttemptingFullContext(e,t,s,r,i,o){}reportContextSensitivity(e,t,s,r,i,o){}}class H1 extends ki{constructor(){super()}syntaxError(e,t,s,r,i,o){console.error("line "+s+":"+r+" "+i)}}H1.INSTANCE=new H1;class z4 extends ki{constructor(e){if(super(),e===null)throw"delegates";return this.delegates=e,this}syntaxError(e,t,s,r,i,o){this.delegates.map(a=>a.syntaxError(e,t,s,r,i,o))}reportAmbiguity(e,t,s,r,i,o,a){this.delegates.map(l=>l.reportAmbiguity(e,t,s,r,i,o,a))}reportAttemptingFullContext(e,t,s,r,i,o){this.delegates.map(a=>a.reportAttemptingFullContext(e,t,s,r,i,o))}reportContextSensitivity(e,t,s,r,i,o){this.delegates.map(a=>a.reportContextSensitivity(e,t,s,r,i,o))}}class Oi{constructor(){this._listeners=[H1.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(e){const t="4.11.0";t!==e&&console.log("ANTLR runtime and generated code versions disagree: "+t+"!="+e)}addErrorListener(e){this._listeners.push(e)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const e=this.getLiteralNames(),t=this.getSymbolicNames(),s=e.length>t.length?e.length:t.length;this.tokenNames=[];for(let r=0;r<s;r++)this.tokenNames[r]=e[r]||t[r]||"<INVALID"}return this.tokenNames}getTokenTypeMap(){const e=this.getTokenNames();if(e===null)throw"The current recognizer does not provide a list of token names.";let t=this.tokenTypeMapCache[e];return t===void 0&&(t=e.reduce(function(s,r,i){s[r]=i}),t.EOF=O.EOF,this.tokenTypeMapCache[e]=t),t}getRuleIndexMap(){const e=this.ruleNames;if(e===null)throw"The current recognizer does not provide a list of rule names.";let t=this.ruleIndexMapCache[e];return t===void 0&&(t=e.reduce(function(s,r,i){s[r]=i}),this.ruleIndexMapCache[e]=t),t}getTokenType(e){const t=this.getTokenTypeMap()[e];return t!==void 0?t:O.INVALID_TYPE}getErrorHeader(e){const t=e.getOffendingToken().line,s=e.getOffendingToken().column;return"line "+t+":"+s}getTokenErrorDisplay(e){if(e===null)return"<no token>";let t=e.text;return t===null&&(e.type===O.EOF?t="<EOF>":t="<"+e.type+">"),t=t.replace(`
14
- `,"\\n").replace("\r","\\r").replace(" ","\\t"),"'"+t+"'"}getErrorListenerDispatch(){return new z4(this._listeners)}sempred(e,t,s){return!0}precpred(e,t){return!0}get state(){return this._stateNumber}set state(e){this._stateNumber=e}}Oi.tokenTypeMapCache={},Oi.ruleIndexMapCache={};class ss extends O{constructor(e,t,s,r,i){super(),this.source=e!==void 0?e:ss.EMPTY_SOURCE,this.type=t!==void 0?t:null,this.channel=s!==void 0?s:O.DEFAULT_CHANNEL,this.start=r!==void 0?r:-1,this.stop=i!==void 0?i:-1,this.tokenIndex=-1,this.source[0]!==null?(this.line=e[0].line,this.column=e[0].column):this.column=-1}clone(){const e=new ss(this.source,this.type,this.channel,this.start,this.stop);return e.tokenIndex=this.tokenIndex,e.line=this.line,e.column=this.column,e.text=this.text,e}toString(){let e=this.text;return e!==null?e=e.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):e="<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+e+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(this._text!==null)return this._text;const e=this.getInputStream();if(e===null)return null;const t=e.size;return this.start<t&&this.stop<t?e.getText(this.start,this.stop):"<EOF>"}set text(e){this._text=e}}ss.EMPTY_SOURCE=[null,null];class Z4{}class G1 extends Z4{constructor(e){super(),this.copyText=e===void 0?!1:e}create(e,t,s,r,i,o,a,l){const c=new ss(e,t,r,i,o);return c.line=a,c.column=l,s!==null?c.text=s:this.copyText&&e[1]!==null&&(c.text=e[1].getText(i,o)),c}createThin(e,t){const s=new ss(null,e);return s.text=t,s}}G1.DEFAULT=new G1;class Tn extends Error{constructor(e){super(e.message),Error.captureStackTrace&&Error.captureStackTrace(this,Tn),this.message=e.message,this.recognizer=e.recognizer,this.input=e.input,this.ctx=e.ctx,this.offendingToken=null,this.offendingState=-1,this.recognizer!==null&&(this.offendingState=this.recognizer.state)}getExpectedTokens(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}toString(){return this.message}}class j1 extends Tn{constructor(e,t,s,r){super({message:"",recognizer:e,input:t,ctx:null}),this.startIndex=s,this.deadEndConfigs=r}toString(){let e="";return this.startIndex>=0&&this.startIndex<this.input.size&&(e=this.input.getText(new Le(this.startIndex,this.startIndex))),"LexerNoViableAltException"+e}}class Fe extends Oi{constructor(e){super(),this._input=e,this._factory=G1.DEFAULT,this._tokenFactorySourcePair=[this,e],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=O.DEFAULT_CHANNEL,this._type=O.INVALID_TYPE,this._modeStack=[],this._mode=Fe.DEFAULT_MODE,this._text=null}reset(){this._input!==null&&this._input.seek(0),this._token=null,this._type=O.INVALID_TYPE,this._channel=O.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=Fe.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(this._input===null)throw"nextToken requires a non-null input stream.";const e=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=O.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let t=!1;for(;;){this._type=O.INVALID_TYPE;let s=Fe.SKIP;try{s=this._interp.match(this._input,this._mode)}catch(r){if(r instanceof Tn)this.notifyListeners(r),this.recover(r);else throw console.log(r.stack),r}if(this._input.LA(1)===O.EOF&&(this._hitEOF=!0),this._type===O.INVALID_TYPE&&(this._type=s),this._type===Fe.SKIP){t=!0;break}if(this._type!==Fe.MORE)break}if(!t)return this._token===null&&this.emit(),this._token}}finally{this._input.release(e)}}skip(){this._type=Fe.SKIP}more(){this._type=Fe.MORE}mode(e){this._mode=e}pushMode(e){this._interp.debug&&console.log("pushMode "+e),this._modeStack.push(this._mode),this.mode(e)}popMode(){if(this._modeStack.length===0)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}emitToken(e){this._token=e}emit(){const e=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(e),e}emitEOF(){const e=this.column,t=this.line,s=this._factory.create(this._tokenFactorySourcePair,O.EOF,null,O.DEFAULT_CHANNEL,this._input.index,this._input.index-1,t,e);return this.emitToken(s),s}getCharIndex(){return this._input.index}getAllTokens(){const e=[];let t=this.nextToken();for(;t.type!==O.EOF;)e.push(t),t=this.nextToken();return e}notifyListeners(e){const t=this._tokenStartCharIndex,s=this._input.index,r=this._input.getText(t,s),i="token recognition error at: '"+this.getErrorDisplay(r)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,i,e)}getErrorDisplay(e){const t=[];for(let s=0;s<e.length;s++)t.push(e[s]);return t.join("")}getErrorDisplayForChar(e){return e.charCodeAt(0)===O.EOF?"<EOF>":e===`
15
- `?"\\n":e===" "?"\\t":e==="\r"?"\\r":e}getCharErrorDisplay(e){return"'"+this.getErrorDisplayForChar(e)+"'"}recover(e){this._input.LA(1)!==O.EOF&&(e instanceof j1?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(e){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=e,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(e){this._type=e}get line(){return this._interp.line}set line(e){this._interp.line=e}get column(){return this._interp.column}set column(e){this._interp.column=e}get text(){return this._text!==null?this._text:this._interp.getText(this._input)}set text(e){this._text=e}}Fe.DEFAULT_MODE=0,Fe.MORE=-2,Fe.SKIP=-3,Fe.DEFAULT_TOKEN_CHANNEL=O.DEFAULT_CHANNEL,Fe.HIDDEN=O.HIDDEN_CHANNEL,Fe.MIN_CHAR_VALUE=0,Fe.MAX_CHAR_VALUE=1114111;function q4(n){return n.hashCodeForConfigSet()}function W4(n,e){return n===e?!0:n===null||e===null?!1:n.equalsForConfigSet(e)}class dt{constructor(e){this.configLookup=new bt(q4,W4),this.fullCtx=e===void 0?!0:e,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(e,t){if(t===void 0&&(t=null),this.readOnly)throw"This set is readonly";e.semanticContext!==me.NONE&&(this.hasSemanticContext=!0),e.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const s=this.configLookup.add(e);if(s===e)return this.cachedHashCode=-1,this.configs.push(e),!0;const r=!this.fullCtx,i=S1(s.context,e.context,r,t);return s.reachesIntoOuterContext=Math.max(s.reachesIntoOuterContext,e.reachesIntoOuterContext),e.precedenceFilterSuppressed&&(s.precedenceFilterSuppressed=!0),s.context=i,!0}getStates(){const e=new bt;for(let t=0;t<this.configs.length;t++)e.add(this.configs[t].state);return e}getPredicates(){const e=[];for(let t=0;t<this.configs.length;t++){const s=this.configs[t].semanticContext;s!==me.NONE&&e.push(s.semanticContext)}return e}optimizeConfigs(e){if(this.readOnly)throw"This set is readonly";if(this.configLookup.length!==0)for(let t=0;t<this.configs.length;t++){const s=this.configs[t];s.context=e.getCachedContext(s.context)}}addAll(e){for(let t=0;t<e.length;t++)this.add(e[t]);return!1}equals(e){return this===e||e instanceof dt&&ys(this.configs,e.configs)&&this.fullCtx===e.fullCtx&&this.uniqueAlt===e.uniqueAlt&&this.conflictingAlts===e.conflictingAlts&&this.hasSemanticContext===e.hasSemanticContext&&this.dipsIntoOuterContext===e.dipsIntoOuterContext}hashCode(){const e=new Et;return e.update(this.configs),e.finish()}updateHashCode(e){this.readOnly?(this.cachedHashCode===-1&&(this.cachedHashCode=this.hashCode()),e.update(this.cachedHashCode)):e.update(this.hashCode())}isEmpty(){return this.configs.length===0}contains(e){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(e)}containsFast(e){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(e)}clear(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new bt}setReadonly(e){this.readOnly=e,e&&(this.configLookup=null)}toString(){return wn(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==Me.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(this.conflictingAlts!==null?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")}get items(){return this.configs}get length(){return this.configs.length}}class dn{constructor(e,t){return e===null&&(e=-1),t===null&&(t=new dt),this.stateNumber=e,this.configs=t,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const e=new bt;if(this.configs!==null)for(let t=0;t<this.configs.length;t++){const s=this.configs[t];e.add(s.alt)}return e.length===0?null:e}equals(e){return this===e||e instanceof dn&&this.configs.equals(e.configs)}toString(){let e=""+this.stateNumber+":"+this.configs;return this.isAcceptState&&(e=e+"=>",this.predicates!==null?e=e+this.predicates:e=e+this.prediction),e}hashCode(){const e=new Et;return e.update(this.configs),e.finish()}}class nn{constructor(e,t){return this.atn=e,this.sharedContextCache=t,this}getCachedContext(e){if(this.sharedContextCache===null)return e;const t=new hr;return M0(e,this.sharedContextCache,t)}}nn.ERROR=new dn(2147483647,new dt);class j0 extends dt{constructor(){super(),this.configLookup=new bt}}class mt extends Be{constructor(e,t){super(e,t);const s=e.lexerActionExecutor||null;return this.lexerActionExecutor=s||(t!==null?t.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=t!==null?this.checkNonGreedyDecision(t,this.state):!1,this.hashCodeForConfigSet=mt.prototype.hashCode,this.equalsForConfigSet=mt.prototype.equals,this}updateHashCode(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(e){return this===e||e instanceof mt&&this.passedThroughNonGreedyDecision===e.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(e.lexerActionExecutor):!e.lexerActionExecutor)&&super.equals(e)}checkNonGreedyDecision(e,t){return e.passedThroughNonGreedyDecision||t instanceof bs&&t.nonGreedy}}class pr extends fn{constructor(e,t){super(t.actionType),this.offset=e,this.action=t,this.isPositionDependent=!0}execute(e){this.action.execute(e)}updateHashCode(e){e.update(this.actionType,this.offset,this.action)}equals(e){return this===e?!0:e instanceof pr?this.offset===e.offset&&this.action===e.action:!1}}class Ts{constructor(e){return this.lexerActions=e===null?[]:e,this.cachedHashCode=Et.hashStuff(e),this}fixOffsetBeforeMatch(e){let t=null;for(let s=0;s<this.lexerActions.length;s++)this.lexerActions[s].isPositionDependent&&!(this.lexerActions[s]instanceof pr)&&(t===null&&(t=this.lexerActions.concat([])),t[s]=new pr(e,this.lexerActions[s]));return t===null?this:new Ts(t)}execute(e,t,s){let r=!1;const i=t.index;try{for(let o=0;o<this.lexerActions.length;o++){let a=this.lexerActions[o];if(a instanceof pr){const l=a.offset;t.seek(s+l),a=a.action,r=s+l!==i}else a.isPositionDependent&&(t.seek(i),r=!1);a.execute(e)}}finally{r&&t.seek(i)}}hashCode(){return this.cachedHashCode}updateHashCode(e){e.update(this.cachedHashCode)}equals(e){if(this===e)return!0;if(e instanceof Ts){if(this.cachedHashCode!=e.cachedHashCode)return!1;if(this.lexerActions.length!=e.lexerActions.length)return!1;{const t=this.lexerActions.length;for(let s=0;s<t;++s)if(!this.lexerActions[s].equals(e.lexerActions[s]))return!1;return!0}}else return!1}static append(e,t){if(e===null)return new Ts([t]);const s=e.lexerActions.concat([t]);return new Ts(s)}}function z0(n){n.index=-1,n.line=0,n.column=-1,n.dfaState=null}class K4{constructor(){z0(this)}reset(){z0(this)}}class $e extends nn{constructor(e,t,s,r){super(t,r),this.decisionToDFA=s,this.recog=e,this.startIndex=-1,this.line=1,this.column=0,this.mode=Fe.DEFAULT_MODE,this.prevAccept=new K4}copyState(e){this.column=e.column,this.line=e.line,this.mode=e.mode,this.startIndex=e.startIndex}match(e,t){this.mode=t;const s=e.mark();try{this.startIndex=e.index,this.prevAccept.reset();const r=this.decisionToDFA[t];return r.s0===null?this.matchATN(e):this.execATN(e,r.s0)}finally{e.release(s)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=Fe.DEFAULT_MODE}matchATN(e){const t=this.atn.modeToStartState[this.mode];$e.debug&&console.log("matchATN mode "+this.mode+" start: "+t);const s=this.mode,r=this.computeStartState(e,t),i=r.hasSemanticContext;r.hasSemanticContext=!1;const o=this.addDFAState(r);i||(this.decisionToDFA[this.mode].s0=o);const a=this.execATN(e,o);return $e.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[s].toLexerString()),a}execATN(e,t){$e.debug&&console.log("start state closure="+t.configs),t.isAcceptState&&this.captureSimState(this.prevAccept,e,t);let s=e.LA(1),r=t;for(;;){$e.debug&&console.log("execATN loop starting closure: "+r.configs);let i=this.getExistingTargetState(r,s);if(i===null&&(i=this.computeTargetState(e,r,s)),i===nn.ERROR||(s!==O.EOF&&this.consume(e),i.isAcceptState&&(this.captureSimState(this.prevAccept,e,i),s===O.EOF)))break;s=e.LA(1),r=i}return this.failOrAccept(this.prevAccept,e,r.configs,s)}getExistingTargetState(e,t){if(e.edges===null||t<$e.MIN_DFA_EDGE||t>$e.MAX_DFA_EDGE)return null;let s=e.edges[t-$e.MIN_DFA_EDGE];return s===void 0&&(s=null),$e.debug&&s!==null&&console.log("reuse state "+e.stateNumber+" edge to "+s.stateNumber),s}computeTargetState(e,t,s){const r=new j0;return this.getReachableConfigSet(e,t.configs,r,s),r.items.length===0?(r.hasSemanticContext||this.addDFAEdge(t,s,nn.ERROR),nn.ERROR):this.addDFAEdge(t,s,null,r)}failOrAccept(e,t,s,r){if(this.prevAccept.dfaState!==null){const i=e.dfaState.lexerActionExecutor;return this.accept(t,i,this.startIndex,e.index,e.line,e.column),e.dfaState.prediction}else{if(r===O.EOF&&t.index===this.startIndex)return O.EOF;throw new j1(this.recog,t,this.startIndex,s)}}getReachableConfigSet(e,t,s,r){let i=Me.INVALID_ALT_NUMBER;for(let o=0;o<t.items.length;o++){const a=t.items[o],l=a.alt===i;if(!(l&&a.passedThroughNonGreedyDecision)){$e.debug&&console.log(`testing %s at %s
16
- `,this.getTokenName(r),a.toString(this.recog,!0));for(let c=0;c<a.state.transitions.length;c++){const u=a.state.transitions[c],f=this.getReachableTarget(u,r);if(f!==null){let p=a.lexerActionExecutor;p!==null&&(p=p.fixOffsetBeforeMatch(e.index-this.startIndex));const g=r===O.EOF,T=new mt({state:f,lexerActionExecutor:p},a);this.closure(e,T,s,l,!0,g)&&(i=a.alt)}}}}}accept(e,t,s,r,i,o){$e.debug&&console.log(`ACTION %s
17
- `,t),e.seek(r),this.line=i,this.column=o,t!==null&&this.recog!==null&&t.execute(this.recog,e,s)}getReachableTarget(e,t){return e.matches(t,0,Fe.MAX_CHAR_VALUE)?e.target:null}computeStartState(e,t){const s=le.EMPTY,r=new j0;for(let i=0;i<t.transitions.length;i++){const o=t.transitions[i].target,a=new mt({state:o,alt:i+1,context:s},null);this.closure(e,a,r,!1,!1,!1)}return r}closure(e,t,s,r,i,o){let a=null;if($e.debug&&console.log("closure("+t.toString(this.recog,!0)+")"),t.state instanceof ht){if($e.debug&&(this.recog!==null?console.log(`closure at %s rule stop %s
18
- `,this.recog.ruleNames[t.state.ruleIndex],t):console.log(`closure at rule stop %s
19
- `,t)),t.context===null||t.context.hasEmptyPath()){if(t.context===null||t.context.isEmpty())return s.add(t),!0;s.add(new mt({state:t.state,context:le.EMPTY},t)),r=!0}if(t.context!==null&&!t.context.isEmpty()){for(let l=0;l<t.context.length;l++)if(t.context.getReturnState(l)!==le.EMPTY_RETURN_STATE){const c=t.context.getParent(l),u=this.atn.states[t.context.getReturnState(l)];a=new mt({state:u,context:c},t),r=this.closure(e,a,s,r,i,o)}}return r}t.state.epsilonOnlyTransitions||(!r||!t.passedThroughNonGreedyDecision)&&s.add(t);for(let l=0;l<t.state.transitions.length;l++){const c=t.state.transitions[l];a=this.getEpsilonTarget(e,t,c,s,i,o),a!==null&&(r=this.closure(e,a,s,r,i,o))}return r}getEpsilonTarget(e,t,s,r,i,o){let a=null;if(s.serializationType===V.RULE){const l=ft.create(t.context,s.followState.stateNumber);a=new mt({state:s.target,context:l},t)}else{if(s.serializationType===V.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(s.serializationType===V.PREDICATE)$e.debug&&console.log("EVAL rule "+s.ruleIndex+":"+s.predIndex),r.hasSemanticContext=!0,this.evaluatePredicate(e,s.ruleIndex,s.predIndex,i)&&(a=new mt({state:s.target},t));else if(s.serializationType===V.ACTION)if(t.context===null||t.context.hasEmptyPath()){const l=Ts.append(t.lexerActionExecutor,this.atn.lexerActions[s.actionIndex]);a=new mt({state:s.target,lexerActionExecutor:l},t)}else a=new mt({state:s.target},t);else s.serializationType===V.EPSILON?a=new mt({state:s.target},t):(s.serializationType===V.ATOM||s.serializationType===V.RANGE||s.serializationType===V.SET)&&o&&s.matches(O.EOF,0,Fe.MAX_CHAR_VALUE)&&(a=new mt({state:s.target},t))}return a}evaluatePredicate(e,t,s,r){if(this.recog===null)return!0;if(!r)return this.recog.sempred(null,t,s);const i=this.column,o=this.line,a=e.index,l=e.mark();try{return this.consume(e),this.recog.sempred(null,t,s)}finally{this.column=i,this.line=o,e.seek(a),e.release(l)}}captureSimState(e,t,s){e.index=t.index,e.line=this.line,e.column=this.column,e.dfaState=s}addDFAEdge(e,t,s,r){if(s===void 0&&(s=null),r===void 0&&(r=null),s===null&&r!==null){const i=r.hasSemanticContext;if(r.hasSemanticContext=!1,s=this.addDFAState(r),i)return s}return t<$e.MIN_DFA_EDGE||t>$e.MAX_DFA_EDGE||($e.debug&&console.log("EDGE "+e+" -> "+s+" upon "+t),e.edges===null&&(e.edges=[]),e.edges[t-$e.MIN_DFA_EDGE]=s),s}addDFAState(e){const t=new dn(null,e);let s=null;for(let a=0;a<e.items.length;a++){const l=e.items[a];if(l.state instanceof ht){s=l;break}}s!==null&&(t.isAcceptState=!0,t.lexerActionExecutor=s.lexerActionExecutor,t.prediction=this.atn.ruleToTokenType[s.state.ruleIndex]);const r=this.decisionToDFA[this.mode],i=r.states.get(t);if(i!==null)return i;const o=t;return o.stateNumber=r.states.length,e.setReadonly(!0),o.configs=e,r.states.add(o),o}getDFA(e){return this.decisionToDFA[e]}getText(e){return e.getText(this.startIndex,e.index-1)}consume(e){e.LA(1)===`
20
- `.charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,e.consume()}getTokenName(e){return e===-1?"EOF":"'"+String.fromCharCode(e)+"'"}}$e.debug=!1,$e.dfa_debug=!1,$e.MIN_DFA_EDGE=0,$e.MAX_DFA_EDGE=127;class Z0{constructor(e,t){this.alt=t,this.pred=e}toString(){return"("+this.pred+", "+this.alt+")"}}class Y4{constructor(){this.data={}}get(e){return this.data["k-"+e]||null}set(e,t){this.data["k-"+e]=t}values(){return Object.keys(this.data).filter(e=>e.startsWith("k-")).map(e=>this.data[e],this)}}const ke={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(n,e){if(ke.allConfigsInRuleStopStates(e))return!0;if(n===ke.SLL&&e.hasSemanticContext){const s=new dt;for(let r=0;r<e.items.length;r++){let i=e.items[r];i=new Be({semanticContext:me.NONE},i),s.add(i)}e=s}const t=ke.getConflictingAltSubsets(e);return ke.hasConflictingAltSet(t)&&!ke.hasStateAssociatedWithOneAlt(e)},hasConfigInRuleStopState:function(n){for(let e=0;e<n.items.length;e++)if(n.items[e].state instanceof ht)return!0;return!1},allConfigsInRuleStopStates:function(n){for(let e=0;e<n.items.length;e++)if(!(n.items[e].state instanceof ht))return!1;return!0},resolvesToJustOneViableAlt:function(n){return ke.getSingleViableAlt(n)},allSubsetsConflict:function(n){return!ke.hasNonConflictingAltSet(n)},hasNonConflictingAltSet:function(n){for(let e=0;e<n.length;e++)if(n[e].length===1)return!0;return!1},hasConflictingAltSet:function(n){for(let e=0;e<n.length;e++)if(n[e].length>1)return!0;return!1},allSubsetsEqual:function(n){let e=null;for(let t=0;t<n.length;t++){const s=n[t];if(e===null)e=s;else if(s!==e)return!1}return!0},getUniqueAlt:function(n){const e=ke.getAlts(n);return e.length===1?e.minValue():Me.INVALID_ALT_NUMBER},getAlts:function(n){const e=new tn;return n.map(function(t){e.or(t)}),e},getConflictingAltSubsets:function(n){const e=new hr;return e.hashFunction=function(t){Et.hashStuff(t.state.stateNumber,t.context)},e.equalsFunction=function(t,s){return t.state.stateNumber===s.state.stateNumber&&t.context.equals(s.context)},n.items.map(function(t){let s=e.get(t);s===null&&(s=new tn,e.set(t,s)),s.add(t.alt)}),e.getValues()},getStateToAltMap:function(n){const e=new Y4;return n.items.map(function(t){let s=e.get(t.state);s===null&&(s=new tn,e.set(t.state,s)),s.add(t.alt)}),e},hasStateAssociatedWithOneAlt:function(n){const e=ke.getStateToAltMap(n).values();for(let t=0;t<e.length;t++)if(e[t].length===1)return!0;return!1},getSingleViableAlt:function(n){let e=null;for(let t=0;t<n.length;t++){const r=n[t].minValue();if(e===null)e=r;else if(e!==r)return Me.INVALID_ALT_NUMBER}return e}};class z1 extends Tn{constructor(e,t,s,r,i,o){o=o||e._ctx,r=r||e.getCurrentToken(),s=s||e.getCurrentToken(),t=t||e.getInputStream(),super({message:"",recognizer:e,input:t,ctx:o}),this.deadEndConfigs=i,this.startToken=s,this.offendingToken=r}}class X4{constructor(e){this.defaultMapCtor=e||hr,this.cacheMap=new this.defaultMapCtor}get(e,t){const s=this.cacheMap.get(e)||null;return s===null?null:s.get(t)||null}set(e,t,s){let r=this.cacheMap.get(e)||null;r===null&&(r=new this.defaultMapCtor,this.cacheMap.set(e,r)),r.set(t,s)}}class Q4 extends nn{constructor(e,t,s,r){super(t,r),this.parser=e,this.decisionToDFA=s,this.predictionMode=ke.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(e,t,s){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+t+" exec LA(1)=="+this.getLookaheadName(e)+" line "+e.LT(1).line+":"+e.LT(1).column),this._input=e,this._startIndex=e.index,this._outerContext=s;const r=this.decisionToDFA[t];this._dfa=r;const i=e.mark(),o=e.index;try{let a;if(r.precedenceDfa?a=r.getPrecedenceStartState(this.parser.getPrecedence()):a=r.s0,a===null){s===null&&(s=Cs.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+r.decision+" exec LA(1)=="+this.getLookaheadName(e)+", outerContext="+s.toString(this.parser.ruleNames));const c=!1;let u=this.computeStartState(r.atnStartState,Cs.EMPTY,c);r.precedenceDfa?(r.s0.configs=u,u=this.applyPrecedenceFilter(u),a=this.addDFAState(r,new dn(null,u)),r.setPrecedenceStartState(this.parser.getPrecedence(),a)):(a=this.addDFAState(r,new dn(null,u)),r.s0=a)}const l=this.execATN(r,a,e,o,s);return this.debug&&console.log("DFA after predictATN: "+r.toString(this.parser.literalNames,this.parser.symbolicNames)),l}finally{this._dfa=null,this.mergeCache=null,e.seek(o),e.release(i)}}execATN(e,t,s,r,i){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+e.decision+" exec LA(1)=="+this.getLookaheadName(s)+" line "+s.LT(1).line+":"+s.LT(1).column);let o,a=t;this.debug&&console.log("s0 = "+t);let l=s.LA(1);for(;;){let c=this.getExistingTargetState(a,l);if(c===null&&(c=this.computeTargetState(e,a,l)),c===nn.ERROR){const u=this.noViableAlt(s,i,a.configs,r);if(s.seek(r),o=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(a.configs,i),o!==Me.INVALID_ALT_NUMBER)return o;throw u}if(c.requiresFullContext&&this.predictionMode!==ke.SLL){let u=null;if(c.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const g=s.index;if(g!==r&&s.seek(r),u=this.evalSemanticContext(c.predicates,i,!0),u.length===1)return this.debug&&console.log("Full LL avoided"),u.minValue();g!==r&&s.seek(g)}this.dfa_debug&&console.log("ctx sensitive state "+i+" in "+c);const f=!0,p=this.computeStartState(e.atnStartState,i,f);return this.reportAttemptingFullContext(e,u,c.configs,r,s.index),o=this.execATNWithFullContext(e,c,p,s,r,i),o}if(c.isAcceptState){if(c.predicates===null)return c.prediction;const u=s.index;s.seek(r);const f=this.evalSemanticContext(c.predicates,i,!0);if(f.length===0)throw this.noViableAlt(s,i,c.configs,r);return f.length===1||this.reportAmbiguity(e,c,r,u,!1,f,c.configs),f.minValue()}a=c,l!==O.EOF&&(s.consume(),l=s.LA(1))}}getExistingTargetState(e,t){const s=e.edges;return s===null?null:s[t+1]||null}computeTargetState(e,t,s){const r=this.computeReachSet(t.configs,s,!1);if(r===null)return this.addDFAEdge(e,t,s,nn.ERROR),nn.ERROR;let i=new dn(null,r);const o=this.getUniqueAlt(r);if(this.debug){const a=ke.getConflictingAltSubsets(r);console.log("SLL altSubSets="+wn(a)+", configs="+r+", predict="+o+", allSubsetsConflict="+ke.allSubsetsConflict(a)+", conflictingAlts="+this.getConflictingAlts(r))}return o!==Me.INVALID_ALT_NUMBER?(i.isAcceptState=!0,i.configs.uniqueAlt=o,i.prediction=o):ke.hasSLLConflictTerminatingPrediction(this.predictionMode,r)&&(i.configs.conflictingAlts=this.getConflictingAlts(r),i.requiresFullContext=!0,i.isAcceptState=!0,i.prediction=i.configs.conflictingAlts.minValue()),i.isAcceptState&&i.configs.hasSemanticContext&&(this.predicateDFAState(i,this.atn.getDecisionState(e.decision)),i.predicates!==null&&(i.prediction=Me.INVALID_ALT_NUMBER)),i=this.addDFAEdge(e,t,s,i),i}predicateDFAState(e,t){const s=t.transitions.length,r=this.getConflictingAltsOrUniqueAlt(e.configs),i=this.getPredsForAmbigAlts(r,e.configs,s);i!==null?(e.predicates=this.getPredicatePredictions(r,i),e.prediction=Me.INVALID_ALT_NUMBER):e.prediction=r.minValue()}execATNWithFullContext(e,t,s,r,i,o){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+s);const a=!0;let l=!1,c,u=s;r.seek(i);let f=r.LA(1),p=-1;for(;;){if(c=this.computeReachSet(u,f,a),c===null){const T=this.noViableAlt(r,o,u,i);r.seek(i);const A=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(u,o);if(A!==Me.INVALID_ALT_NUMBER)return A;throw T}const g=ke.getConflictingAltSubsets(c);if(this.debug&&console.log("LL altSubSets="+g+", predict="+ke.getUniqueAlt(g)+", resolvesToJustOneViableAlt="+ke.resolvesToJustOneViableAlt(g)),c.uniqueAlt=this.getUniqueAlt(c),c.uniqueAlt!==Me.INVALID_ALT_NUMBER){p=c.uniqueAlt;break}else if(this.predictionMode!==ke.LL_EXACT_AMBIG_DETECTION){if(p=ke.resolvesToJustOneViableAlt(g),p!==Me.INVALID_ALT_NUMBER)break}else if(ke.allSubsetsConflict(g)&&ke.allSubsetsEqual(g)){l=!0,p=ke.getSingleViableAlt(g);break}u=c,f!==O.EOF&&(r.consume(),f=r.LA(1))}return c.uniqueAlt!==Me.INVALID_ALT_NUMBER?(this.reportContextSensitivity(e,p,c,i,r.index),p):(this.reportAmbiguity(e,t,i,r.index,l,null,c),p)}computeReachSet(e,t,s){this.debug&&console.log("in computeReachSet, starting closure: "+e),this.mergeCache===null&&(this.mergeCache=new X4);const r=new dt(s);let i=null;for(let a=0;a<e.items.length;a++){const l=e.items[a];if(this.debug&&console.log("testing "+this.getTokenName(t)+" at "+l),l.state instanceof ht){(s||t===O.EOF)&&(i===null&&(i=[]),i.push(l),this.debug_add&&console.log("added "+l+" to skippedStopStates"));continue}for(let c=0;c<l.state.transitions.length;c++){const u=l.state.transitions[c],f=this.getReachableTarget(u,t);if(f!==null){const p=new Be({state:f},l);r.add(p,this.mergeCache),this.debug_add&&console.log("added "+p+" to intermediate")}}}let o=null;if(i===null&&t!==O.EOF&&(r.items.length===1||this.getUniqueAlt(r)!==Me.INVALID_ALT_NUMBER)&&(o=r),o===null){o=new dt(s);const a=new bt,l=t===O.EOF;for(let c=0;c<r.items.length;c++)this.closure(r.items[c],o,a,!1,s,l)}if(t===O.EOF&&(o=this.removeAllConfigsNotInRuleStopState(o,o===r)),i!==null&&(!s||!ke.hasConfigInRuleStopState(o)))for(let a=0;a<i.length;a++)o.add(i[a],this.mergeCache);return o.items.length===0?null:o}removeAllConfigsNotInRuleStopState(e,t){if(ke.allConfigsInRuleStopStates(e))return e;const s=new dt(e.fullCtx);for(let r=0;r<e.items.length;r++){const i=e.items[r];if(i.state instanceof ht){s.add(i,this.mergeCache);continue}if(t&&i.state.epsilonOnlyTransitions&&this.atn.nextTokens(i.state).contains(O.EPSILON)){const a=this.atn.ruleToStopState[i.state.ruleIndex];s.add(new Be({state:a},i),this.mergeCache)}}return s}computeStartState(e,t,s){const r=A1(this.atn,t),i=new dt(s);for(let o=0;o<e.transitions.length;o++){const a=e.transitions[o].target,l=new Be({state:a,alt:o+1,context:r},null),c=new bt;this.closure(l,i,c,!0,s,!1)}return i}applyPrecedenceFilter(e){let t;const s=[],r=new dt(e.fullCtx);for(let i=0;i<e.items.length;i++){if(t=e.items[i],t.alt!==1)continue;const o=t.semanticContext.evalPrecedence(this.parser,this._outerContext);o!==null&&(s[t.state.stateNumber]=t.context,o!==t.semanticContext?r.add(new Be({semanticContext:o},t),this.mergeCache):r.add(t,this.mergeCache))}for(let i=0;i<e.items.length;i++)if(t=e.items[i],t.alt!==1){if(!t.precedenceFilterSuppressed){const o=s[t.state.stateNumber]||null;if(o!==null&&o.equals(t.context))continue}r.add(t,this.mergeCache)}return r}getReachableTarget(e,t){return e.matches(t,0,this.atn.maxTokenType)?e.target:null}getPredsForAmbigAlts(e,t,s){let r=[];for(let o=0;o<t.items.length;o++){const a=t.items[o];e.has(a.alt)&&(r[a.alt]=me.orContext(r[a.alt]||null,a.semanticContext))}let i=0;for(let o=1;o<s+1;o++){const a=r[o]||null;a===null?r[o]=me.NONE:a!==me.NONE&&(i+=1)}return i===0&&(r=null),this.debug&&console.log("getPredsForAmbigAlts result "+wn(r)),r}getPredicatePredictions(e,t){const s=[];let r=!1;for(let i=1;i<t.length;i++){const o=t[i];e!==null&&e.has(i)&&s.push(new Z0(o,i)),o!==me.NONE&&(r=!0)}return r?s:null}getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(e,t){const s=this.splitAccordingToSemanticValidity(e,t),r=s[0],i=s[1];let o=this.getAltThatFinishedDecisionEntryRule(r);return o!==Me.INVALID_ALT_NUMBER||i.items.length>0&&(o=this.getAltThatFinishedDecisionEntryRule(i),o!==Me.INVALID_ALT_NUMBER)?o:Me.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(e){const t=[];for(let s=0;s<e.items.length;s++){const r=e.items[s];(r.reachesIntoOuterContext>0||r.state instanceof ht&&r.context.hasEmptyPath())&&t.indexOf(r.alt)<0&&t.push(r.alt)}return t.length===0?Me.INVALID_ALT_NUMBER:Math.min.apply(null,t)}splitAccordingToSemanticValidity(e,t){const s=new dt(e.fullCtx),r=new dt(e.fullCtx);for(let i=0;i<e.items.length;i++){const o=e.items[i];o.semanticContext!==me.NONE?o.semanticContext.evaluate(this.parser,t)?s.add(o):r.add(o):s.add(o)}return[s,r]}evalSemanticContext(e,t,s){const r=new tn;for(let i=0;i<e.length;i++){const o=e[i];if(o.pred===me.NONE){if(r.add(o.alt),!s)break;continue}const a=o.pred.evaluate(this.parser,t);if((this.debug||this.dfa_debug)&&console.log("eval pred "+o+"="+a),a&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+o.alt),r.add(o.alt),!s))break}return r}closure(e,t,s,r,i,o){this.closureCheckingStopState(e,t,s,r,i,0,o)}closureCheckingStopState(e,t,s,r,i,o,a){if((this.debug||this.debug_closure)&&(console.log("closure("+e.toString(this.parser,!0)+")"),e.reachesIntoOuterContext>50))throw"problem";if(e.state instanceof ht)if(e.context.isEmpty())if(i){t.add(e,this.mergeCache);return}else this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex));else{for(let l=0;l<e.context.length;l++){if(e.context.getReturnState(l)===le.EMPTY_RETURN_STATE){if(i){t.add(new Be({state:e.state,context:le.EMPTY},e),this.mergeCache);continue}else this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex)),this.closure_(e,t,s,r,i,o,a);continue}const c=this.atn.states[e.context.getReturnState(l)],u=e.context.getParent(l),f={state:c,alt:e.alt,context:u,semanticContext:e.semanticContext},p=new Be(f,null);p.reachesIntoOuterContext=e.reachesIntoOuterContext,this.closureCheckingStopState(p,t,s,r,i,o-1,a)}return}this.closure_(e,t,s,r,i,o,a)}closure_(e,t,s,r,i,o,a){const l=e.state;l.epsilonOnlyTransitions||t.add(e,this.mergeCache);for(let c=0;c<l.transitions.length;c++){if(c===0&&this.canDropLoopEntryEdgeInLeftRecursiveRule(e))continue;const u=l.transitions[c],f=r&&!(u instanceof V0),p=this.getEpsilonTarget(e,u,f,o===0,i,a);if(p!==null){let g=o;if(e.state instanceof ht){if(this._dfa!==null&&this._dfa.precedenceDfa&&u.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(p.precedenceFilterSuppressed=!0),p.reachesIntoOuterContext+=1,s.add(p)!==p)continue;t.dipsIntoOuterContext=!0,g-=1,this.debug&&console.log("dips into outer ctx: "+p)}else{if(!u.isEpsilon&&s.add(p)!==p)continue;u instanceof Ei&&g>=0&&(g+=1)}this.closureCheckingStopState(p,t,s,f,i,g,a)}}}canDropLoopEntryEdgeInLeftRecursiveRule(e){const t=e.state;if(t.stateType!==G.STAR_LOOP_ENTRY||t.stateType!==G.STAR_LOOP_ENTRY||!t.isPrecedenceDecision||e.context.isEmpty()||e.context.hasEmptyPath())return!1;const s=e.context.length;for(let a=0;a<s;a++)if(this.atn.states[e.context.getReturnState(a)].ruleIndex!==t.ruleIndex)return!1;const i=t.transitions[0].target.endState.stateNumber,o=this.atn.states[i];for(let a=0;a<s;a++){const l=e.context.getReturnState(a),c=this.atn.states[l];if(c.transitions.length!==1||!c.transitions[0].isEpsilon)return!1;const u=c.transitions[0].target;if(!(c.stateType===G.BLOCK_END&&u===t)&&c!==o&&u!==o&&!(u.stateType===G.BLOCK_END&&u.transitions.length===1&&u.transitions[0].isEpsilon&&u.transitions[0].target===t))return!1}return!0}getRuleName(e){return this.parser!==null&&e>=0?this.parser.ruleNames[e]:"<rule "+e+">"}getEpsilonTarget(e,t,s,r,i,o){switch(t.serializationType){case V.RULE:return this.ruleTransition(e,t);case V.PRECEDENCE:return this.precedenceTransition(e,t,s,r,i);case V.PREDICATE:return this.predTransition(e,t,s,r,i);case V.ACTION:return this.actionTransition(e,t);case V.EPSILON:return new Be({state:t.target},e);case V.ATOM:case V.RANGE:case V.SET:return o&&t.matches(O.EOF,0,1)?new Be({state:t.target},e):null;default:return null}}actionTransition(e,t){if(this.debug){const s=t.actionIndex===-1?65535:t.actionIndex;console.log("ACTION edge "+t.ruleIndex+":"+s)}return new Be({state:t.target},e)}precedenceTransition(e,t,s,r,i){this.debug&&(console.log("PRED (collectPredicates="+s+") "+t.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+wn(this.parser.getRuleInvocationStack())));let o=null;if(s&&r)if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=t.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new Be({state:t.target},e))}else{const a=me.andContext(e.semanticContext,t.getPredicate());o=new Be({state:t.target,semanticContext:a},e)}else o=new Be({state:t.target},e);return this.debug&&console.log("config from pred transition="+o),o}predTransition(e,t,s,r,i){this.debug&&(console.log("PRED (collectPredicates="+s+") "+t.ruleIndex+":"+t.predIndex+", ctx dependent="+t.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+wn(this.parser.getRuleInvocationStack())));let o=null;if(s&&(t.isCtxDependent&&r||!t.isCtxDependent))if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=t.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new Be({state:t.target},e))}else{const a=me.andContext(e.semanticContext,t.getPredicate());o=new Be({state:t.target,semanticContext:a},e)}else o=new Be({state:t.target},e);return this.debug&&console.log("config from pred transition="+o),o}ruleTransition(e,t){this.debug&&console.log("CALL rule "+this.getRuleName(t.target.ruleIndex)+", ctx="+e.context);const s=t.followState,r=ft.create(e.context,s.stateNumber);return new Be({state:t.target,context:r},e)}getConflictingAlts(e){const t=ke.getConflictingAltSubsets(e);return ke.getAlts(t)}getConflictingAltsOrUniqueAlt(e){let t=null;return e.uniqueAlt!==Me.INVALID_ALT_NUMBER?(t=new tn,t.add(e.uniqueAlt)):t=e.conflictingAlts,t}getTokenName(e){if(e===O.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null)if(e>=this.parser.literalNames.length&&e>=this.parser.symbolicNames.length)console.log(""+e+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens());else return(this.parser.literalNames[e]||this.parser.symbolicNames[e])+"<"+e+">";return""+e}getLookaheadName(e){return this.getTokenName(e.LA(1))}dumpDeadEndConfigs(e){console.log("dead end configs: ");const t=e.getDeadEndConfigs();for(let s=0;s<t.length;s++){const r=t[s];let i="no edges";if(r.state.transitions.length>0){const o=r.state.transitions[0];o instanceof Ti?i="Atom "+this.getTokenName(o.label):o instanceof b1&&(i=(o instanceof v1?"~":"")+"Set "+o.set)}console.error(r.toString(this.parser,!0)+":"+i)}}noViableAlt(e,t,s,r){return new z1(this.parser,e,e.get(r),e.LT(1),s,t)}getUniqueAlt(e){let t=Me.INVALID_ALT_NUMBER;for(let s=0;s<e.items.length;s++){const r=e.items[s];if(t===Me.INVALID_ALT_NUMBER)t=r.alt;else if(r.alt!==t)return Me.INVALID_ALT_NUMBER}return t}addDFAEdge(e,t,s,r){if(this.debug&&console.log("EDGE "+t+" -> "+r+" upon "+this.getTokenName(s)),r===null)return null;if(r=this.addDFAState(e,r),t===null||s<-1||s>this.atn.maxTokenType)return r;if(t.edges===null&&(t.edges=[]),t.edges[s+1]=r,this.debug){const i=this.parser===null?null:this.parser.literalNames,o=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
21
- `+e.toString(i,o))}return r}addDFAState(e,t){if(t===nn.ERROR)return t;const s=e.states.get(t);return s!==null?s:(t.stateNumber=e.states.length,t.configs.readOnly||(t.configs.optimizeConfigs(this),t.configs.setReadonly(!0)),e.states.add(t),this.debug&&console.log("adding new DFA state: "+t),t)}reportAttemptingFullContext(e,t,s,r,i){if(this.debug||this.retry_debug){const o=new Le(r,i+1);console.log("reportAttemptingFullContext decision="+e.decision+":"+s+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,e,r,i,t,s)}reportContextSensitivity(e,t,s,r,i){if(this.debug||this.retry_debug){const o=new Le(r,i+1);console.log("reportContextSensitivity decision="+e.decision+":"+s+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,e,r,i,t,s)}reportAmbiguity(e,t,s,r,i,o,a){if(this.debug||this.retry_debug){const l=new Le(s,r+1);console.log("reportAmbiguity "+o+":"+a+", input="+this.parser.getTokenStream().getText(l))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,e,s,r,i,o,a)}}const J4={ATN:Me,ATNDeserializer:G0,LexerATNSimulator:$e,ParserATNSimulator:Q4,PredictionMode:ke};class Z1{constructor(e,t,s){this.dfa=e,this.literalNames=t||[],this.symbolicNames=s||[]}toString(){if(this.dfa.s0===null)return null;let e="";const t=this.dfa.sortedStates();for(let s=0;s<t.length;s++){const r=t[s];if(r.edges!==null){const i=r.edges.length;for(let o=0;o<i;o++){const a=r.edges[o]||null;a!==null&&a.stateNumber!==2147483647&&(e=e.concat(this.getStateString(r)),e=e.concat("-"),e=e.concat(this.getEdgeLabel(o)),e=e.concat("->"),e=e.concat(this.getStateString(a)),e=e.concat(`
22
- `))}}}return e.length===0?null:e}getEdgeLabel(e){return e===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[e-1]||this.symbolicNames[e-1]:String.fromCharCode(e-1)}getStateString(e){const t=(e.isAcceptState?":":"")+"s"+e.stateNumber+(e.requiresFullContext?"^":"");return e.isAcceptState?e.predicates!==null?t+"=>"+wn(e.predicates):t+"=>"+e.prediction.toString():t}}class q0 extends Z1{constructor(e){super(e,null)}getEdgeLabel(e){return"'"+String.fromCharCode(e)+"'"}}class e5{constructor(e,t){if(t===void 0&&(t=0),this.atnStartState=e,this.decision=t,this._states=new bt,this.s0=null,this.precedenceDfa=!1,e instanceof ns&&e.isPrecedenceDecision){this.precedenceDfa=!0;const s=new dn(null,new dt);s.edges=[],s.isAcceptState=!1,s.requiresFullContext=!1,this.s0=s}}getPrecedenceStartState(e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return e<0||e>=this.s0.edges.length?null:this.s0.edges[e]||null}setPrecedenceStartState(e,t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";e<0||(this.s0.edges[e]=t)}setPrecedenceDfa(e){if(this.precedenceDfa!==e){if(this._states=new bt,e){const t=new dn(null,new dt);t.edges=[],t.isAcceptState=!1,t.requiresFullContext=!1,this.s0=t}else this.s0=null;this.precedenceDfa=e}}sortedStates(){return this._states.values().sort(function(t,s){return t.stateNumber-s.stateNumber})}toString(e,t){return e=e||null,t=t||null,this.s0===null?"":new Z1(this,e,t).toString()}toLexerString(){return this.s0===null?"":new q0(this).toString()}get states(){return this._states}}const t5={DFA:e5,DFASerializer:Z1,LexerDFASerializer:q0,PredPrediction:Z0};class W0{visitTerminal(e){}visitErrorNode(e){}enterEveryRule(e){}exitEveryRule(e){}}class n5{visit(e){return Array.isArray(e)?e.map(function(t){return t.accept(this)},this):e.accept(this)}visitChildren(e){return e.children?this.visit(e.children):null}visitTerminal(e){}visitErrorNode(e){}}class q1{walk(e,t){if(t instanceof vi||t.isErrorNode!==void 0&&t.isErrorNode())e.visitErrorNode(t);else if(t instanceof hn)e.visitTerminal(t);else{this.enterRule(e,t);for(let r=0;r<t.getChildCount();r++){const i=t.getChild(r);this.walk(e,i)}this.exitRule(e,t)}}enterRule(e,t){const s=t.getRuleContext();e.enterEveryRule(s),s.enterRule(e)}exitRule(e,t){const s=t.getRuleContext();s.exitRule(e),e.exitEveryRule(s)}}q1.DEFAULT=new q1;const s5={Trees:Jt,RuleNode:bi,ErrorNode:vi,TerminalNode:hn,ParseTreeListener:W0,ParseTreeVisitor:n5,ParseTreeWalker:q1};class gr extends Tn{constructor(e){super({message:"",recognizer:e,input:e.getInputStream(),ctx:e._ctx}),this.offendingToken=e.getCurrentToken()}}class K0 extends Tn{constructor(e,t,s){super({message:r5(t,s||null),recognizer:e,input:e.getInputStream(),ctx:e._ctx});const i=e._interp.atn.states[e.state].transitions[0];i instanceof H0?(this.ruleIndex=i.ruleIndex,this.predicateIndex=i.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=t,this.offendingToken=e.getCurrentToken()}}function r5(n,e){return e!==null?e:"failed predicate: {"+n+"}?"}class i5 extends ki{constructor(e){super(),e=e||!0,this.exactOnly=e}reportAmbiguity(e,t,s,r,i,o,a){if(this.exactOnly&&!i)return;const l="reportAmbiguity d="+this.getDecisionDescription(e,t)+": ambigAlts="+this.getConflictingAlts(o,a)+", input='"+e.getTokenStream().getText(new Le(s,r))+"'";e.notifyErrorListeners(l)}reportAttemptingFullContext(e,t,s,r,i,o){const a="reportAttemptingFullContext d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new Le(s,r))+"'";e.notifyErrorListeners(a)}reportContextSensitivity(e,t,s,r,i,o){const a="reportContextSensitivity d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new Le(s,r))+"'";e.notifyErrorListeners(a)}getDecisionDescription(e,t){const s=t.decision,r=t.atnStartState.ruleIndex,i=e.ruleNames;if(r<0||r>=i.length)return""+s;const o=i[r]||null;return o===null||o.length===0?""+s:`${s} (${o})`}getConflictingAlts(e,t){if(e!==null)return e;const s=new tn;for(let r=0;r<t.items.length;r++)s.add(t.items[r].alt);return`{${s.values().join(", ")}}`}}class W1 extends Error{constructor(){super(),Error.captureStackTrace(this,W1)}}class o5{reset(e){}recoverInline(e){}recover(e,t){}sync(e){}inErrorRecoveryMode(e){}reportError(e){}}class K1 extends o5{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(e){this.endErrorCondition(e)}beginErrorCondition(e){this.errorRecoveryMode=!0}inErrorRecoveryMode(e){return this.errorRecoveryMode}endErrorCondition(e){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(e){this.endErrorCondition(e)}reportError(e,t){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),t instanceof z1?this.reportNoViableAlternative(e,t):t instanceof gr?this.reportInputMismatch(e,t):t instanceof K0?this.reportFailedPredicate(e,t):(console.log("unknown recognition error type: "+t.constructor.name),console.log(t.stack),e.notifyErrorListeners(t.getOffendingToken(),t.getMessage(),t)))}recover(e,t){this.lastErrorIndex===e.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(e.state)>=0&&e.consume(),this.lastErrorIndex=e._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(e.state);const s=this.getErrorRecoverySet(e);this.consumeUntil(e,s)}sync(e){if(this.inErrorRecoveryMode(e))return;const t=e._interp.atn.states[e.state],s=e.getTokenStream().LA(1),r=e.atn.nextTokens(t);if(r.contains(s)){this.nextTokensContext=null,this.nextTokenState=G.INVALID_STATE_NUMBER;return}else if(r.contains(O.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=e._ctx,this.nextTokensState=e._stateNumber);return}switch(t.stateType){case G.BLOCK_START:case G.STAR_BLOCK_START:case G.PLUS_BLOCK_START:case G.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(e)!==null)return;throw new gr(e);case G.PLUS_LOOP_BACK:case G.STAR_LOOP_BACK:{this.reportUnwantedToken(e);const i=new kt;i.addSet(e.getExpectedTokens());const o=i.addSet(this.getErrorRecoverySet(e));this.consumeUntil(e,o)}break}}reportNoViableAlternative(e,t){const s=e.getTokenStream();let r;s!==null?t.startToken.type===O.EOF?r="<EOF>":r=s.getText(new Le(t.startToken.tokenIndex,t.offendingToken.tokenIndex)):r="<unknown input>";const i="no viable alternative at input "+this.escapeWSAndQuote(r);e.notifyErrorListeners(i,t.offendingToken,t)}reportInputMismatch(e,t){const s="mismatched input "+this.getTokenErrorDisplay(t.offendingToken)+" expecting "+t.getExpectedTokens().toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(s,t.offendingToken,t)}reportFailedPredicate(e,t){const r="rule "+e.ruleNames[e._ctx.ruleIndex]+" "+t.message;e.notifyErrorListeners(r,t.offendingToken,t)}reportUnwantedToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const t=e.getCurrentToken(),s=this.getTokenErrorDisplay(t),r=this.getExpectedTokens(e),i="extraneous input "+s+" expecting "+r.toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(i,t,null)}reportMissingToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const t=e.getCurrentToken(),r="missing "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames)+" at "+this.getTokenErrorDisplay(t);e.notifyErrorListeners(r,t,null)}recoverInline(e){const t=this.singleTokenDeletion(e);if(t!==null)return e.consume(),t;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw new gr(e)}singleTokenInsertion(e){const t=e.getTokenStream().LA(1),s=e._interp.atn,i=s.states[e.state].transitions[0].target;return s.nextTokens(i,e._ctx).contains(t)?(this.reportMissingToken(e),!0):!1}singleTokenDeletion(e){const t=e.getTokenStream().LA(2);if(this.getExpectedTokens(e).contains(t)){this.reportUnwantedToken(e),e.consume();const r=e.getCurrentToken();return this.reportMatch(e),r}else return null}getMissingSymbol(e){const t=e.getCurrentToken(),r=this.getExpectedTokens(e).first();let i;r===O.EOF?i="<missing EOF>":i="<missing "+e.literalNames[r]+">";let o=t;const a=e.getTokenStream().LT(-1);return o.type===O.EOF&&a!==null&&(o=a),e.getTokenFactory().create(o.source,r,i,O.DEFAULT_CHANNEL,-1,-1,o.line,o.column)}getExpectedTokens(e){return e.getExpectedTokens()}getTokenErrorDisplay(e){if(e===null)return"<no token>";let t=e.text;return t===null&&(e.type===O.EOF?t="<EOF>":t="<"+e.type+">"),this.escapeWSAndQuote(t)}escapeWSAndQuote(e){return e=e.replace(/\n/g,"\\n"),e=e.replace(/\r/g,"\\r"),e=e.replace(/\t/g,"\\t"),"'"+e+"'"}getErrorRecoverySet(e){const t=e._interp.atn;let s=e._ctx;const r=new kt;for(;s!==null&&s.invokingState>=0;){const o=t.states[s.invokingState].transitions[0],a=t.nextTokens(o.followState);r.addSet(a),s=s.parentCtx}return r.removeOne(O.EPSILON),r}consumeUntil(e,t){let s=e.getTokenStream().LA(1);for(;s!==O.EOF&&!t.contains(s);)e.consume(),s=e.getTokenStream().LA(1)}}class a5 extends K1{constructor(){super()}recover(e,t){let s=e._ctx;for(;s!==null;)s.exception=t,s=s.parentCtx;throw new W1(t)}recoverInline(e){this.recover(e,new gr(e))}sync(e){}}const l5={RecognitionException:Tn,NoViableAltException:z1,LexerNoViableAltException:j1,InputMismatchException:gr,FailedPredicateException:K0,DiagnosticErrorListener:i5,BailErrorStrategy:a5,DefaultErrorStrategy:K1,ErrorListener:ki};class rs{constructor(e,t){if(this.name="<empty>",this.strdata=e,this.decodeToUnicodeCodePoints=t||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let s=0;s<this.strdata.length;){const r=this.strdata.codePointAt(s);this.data.push(r),s+=r<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let s=0;s<this.strdata.length;s++){const r=this.strdata.charCodeAt(s);this.data[s]=r}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(e){if(e===0)return 0;e<0&&(e+=1);const t=this._index+e-1;return t<0||t>=this._size?O.EOF:this.data[t]}LT(e){return this.LA(e)}mark(){return-1}release(e){}seek(e){if(e<=this._index){this._index=e;return}this._index=Math.min(e,this._size)}getText(e,t){if(t>=this._size&&(t=this._size-1),e>=this._size)return"";if(this.decodeToUnicodeCodePoints){let s="";for(let r=e;r<=t;r++)s+=String.fromCodePoint(this.data[r]);return s}else return this.strdata.slice(e,t+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const Y1={},c5={fromString:function(n){return new rs(n,!0)},fromBlob:function(n,e,t,s){const r=new window.FileReader;r.onload=function(i){const o=new rs(i.target.result,!0);t(o)},r.onerror=s,r.readAsText(n,e)},fromBuffer:function(n,e){return new rs(n.toString(e),!0)},fromPath:function(n,e,t){Y1.readFile(n,e,function(s,r){let i=null;r!==null&&(i=new rs(r,!0)),t(s,i)})},fromPathSync:function(n,e){const t=Y1.readFileSync(n,e);return new rs(t,!0)}};class u5 extends rs{constructor(e,t){const s=Y1.readFileSync(e,"utf8");super(s,t),this.fileName=e}}class h5{}class f5 extends h5{constructor(e){super(),this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(e){}reset(){this.seek(0)}seek(e){this.lazyInit(),this.index=this.adjustSeekIndex(e)}get(e){return this.lazyInit(),this.tokens[e]}consume(){let e=!1;if(this.index>=0?this.fetchedEOF?e=this.index<this.tokens.length-1:e=this.index<this.tokens.length:e=!1,!e&&this.LA(1)===O.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(e){const t=e-this.tokens.length+1;return t>0?this.fetch(t)>=t:!0}fetch(e){if(this.fetchedEOF)return 0;for(let t=0;t<e;t++){const s=this.tokenSource.nextToken();if(s.tokenIndex=this.tokens.length,this.tokens.push(s),s.type===O.EOF)return this.fetchedEOF=!0,t+1}return e}getTokens(e,t,s){if(s===void 0&&(s=null),e<0||t<0)return null;this.lazyInit();const r=[];t>=this.tokens.length&&(t=this.tokens.length-1);for(let i=e;i<t;i++){const o=this.tokens[i];if(o.type===O.EOF)break;(s===null||s.contains(o.type))&&r.push(o)}return r}LA(e){return this.LT(e).type}LB(e){return this.index-e<0?null:this.tokens[this.index-e]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);const t=this.index+e-1;return this.sync(t),t>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[t]}adjustSeekIndex(e){return e}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(e){this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(e,t){if(this.sync(e),e>=this.tokens.length)return-1;let s=this.tokens[e];for(;s.channel!==this.channel;){if(s.type===O.EOF)return-1;e+=1,this.sync(e),s=this.tokens[e]}return e}previousTokenOnChannel(e,t){for(;e>=0&&this.tokens[e].channel!==t;)e-=1;return e}getHiddenTokensToRight(e,t){if(t===void 0&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const s=this.nextTokenOnChannel(e+1,Fe.DEFAULT_TOKEN_CHANNEL),r=e+1,i=s===-1?this.tokens.length-1:s;return this.filterForChannel(r,i,t)}getHiddenTokensToLeft(e,t){if(t===void 0&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const s=this.previousTokenOnChannel(e-1,Fe.DEFAULT_TOKEN_CHANNEL);if(s===e-1)return null;const r=s+1,i=e-1;return this.filterForChannel(r,i,t)}filterForChannel(e,t,s){const r=[];for(let i=e;i<t+1;i++){const o=this.tokens[i];s===-1?o.channel!==Fe.DEFAULT_TOKEN_CHANNEL&&r.push(o):o.channel===s&&r.push(o)}return r.length===0?null:r}getSourceName(){return this.tokenSource.getSourceName()}getText(e){this.lazyInit(),this.fill(),e==null&&(e=new Le(0,this.tokens.length-1));let t=e.start;t instanceof O&&(t=t.tokenIndex);let s=e.stop;if(s instanceof O&&(s=s.tokenIndex),t===null||s===null||t<0||s<0)return"";s>=this.tokens.length&&(s=this.tokens.length-1);let r="";for(let i=t;i<s+1;i++){const o=this.tokens[i];if(o.type===O.EOF)break;r=r+o.text}return r}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class d5 extends f5{constructor(e,t){super(e),this.channel=t===void 0?O.DEFAULT_CHANNEL:t}adjustSeekIndex(e){return this.nextTokenOnChannel(e,this.channel)}LB(e){if(e===0||this.index-e<0)return null;let t=this.index,s=1;for(;s<=e;)t=this.previousTokenOnChannel(t-1,this.channel),s+=1;return t<0?null:this.tokens[t]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);let t=this.index,s=1;for(;s<e;)this.sync(t+1)&&(t=this.nextTokenOnChannel(t+1,this.channel)),s+=1;return this.tokens[t]}getNumberOfOnChannelTokens(){let e=0;this.fill();for(let t=0;t<this.tokens.length;t++){const s=this.tokens[t];if(s.channel===this.channel&&(e+=1),s.type===O.EOF)break}return e}}class p5 extends W0{constructor(e){super(),this.parser=e}enterEveryRule(e){console.log("enter "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(e){console.log("consume "+e.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(e){console.log("exit "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}class Y0 extends Oi{constructor(e){super(),this._input=null,this._errHandler=new K1,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(e)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(e){let t=this.getCurrentToken();return t.type===e?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this.buildParseTrees&&t.tokenIndex===-1&&this._ctx.addErrorNode(t)),t}matchWildcard(){let e=this.getCurrentToken();return e.type>0?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}getParseListeners(){return this._parseListeners||[]}addParseListener(e){if(e===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(e)}removeParseListener(e){if(this._parseListeners!==null){const t=this._parseListeners.indexOf(e);t>=0&&this._parseListeners.splice(t,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.forEach(function(t){t.enterEveryRule(e),e.enterRule(t)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(t){e.exitRule(t),t.exitEveryRule(e)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(e){this._input.tokenSource._factory=e}getATNWithBypassAlts(){const e=this.getSerializedATN();if(e===null)throw"The current parser does not support an ATN with bypass alternatives.";let t=this.bypassAltsAtnCache[e];if(t===null){const s=new dr;s.generateRuleBypassTransitions=!0,t=new G0(s).deserialize(e),this.bypassAltsAtnCache[e]=t}return t}getInputStream(){return this.getTokenStream()}setInputStream(e){this.setTokenStream(e)}getTokenStream(){return this._input}setTokenStream(e){this._input=null,this.reset(),this._input=e}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(e,t,s){t=t||null,s=s||null,t===null&&(t=this.getCurrentToken()),this._syntaxErrors+=1;const r=t.line,i=t.column;this.getErrorListenerDispatch().syntaxError(this,t,r,i,e,s)}consume(){const e=this.getCurrentToken();e.type!==O.EOF&&this.getInputStream().consume();const t=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||t){let s;this._errHandler.inErrorRecoveryMode(this)?s=this._ctx.addErrorNode(e):s=this._ctx.addTokenNode(e),s.invokingState=this.state,t&&this._parseListeners.forEach(function(r){s instanceof vi||s.isErrorNode!==void 0&&s.isErrorNode()?r.visitErrorNode(s):s instanceof hn&&r.visitTerminal(s)})}return e}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(e,t,s){this.state=t,this._ctx=e,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(e,t){e.setAltNumber(t),this.buildParseTrees&&this._ctx!==e&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(e)),this._ctx=e}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(e,t,s,r){this.state=t,this._precedenceStack.push(r),this._ctx=e,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(e,t,s){const r=this._ctx;r.parentCtx=e,r.invokingState=t,r.stop=this._input.LT(-1),this._ctx=e,this._ctx.start=r.start,this.buildParseTrees&&this._ctx.addChild(r),this.triggerEnterRuleEvent()}unrollRecursionContexts(e){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const t=this._ctx,s=this.getParseListeners();if(s!==null&&s.length>0)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=e;t.parentCtx=e,this.buildParseTrees&&e!==null&&e.addChild(t)}getInvokingContext(e){let t=this._ctx;for(;t!==null;){if(t.ruleIndex===e)return t;t=t.parentCtx}return null}precpred(e,t){return t>=this._precedenceStack[this._precedenceStack.length-1]}inContext(e){return!1}isExpectedToken(e){const t=this._interp.atn;let s=this._ctx;const r=t.states[this.state];let i=t.nextTokens(r);if(i.contains(e))return!0;if(!i.contains(O.EPSILON))return!1;for(;s!==null&&s.invokingState>=0&&i.contains(O.EPSILON);){const a=t.states[s.invokingState].transitions[0];if(i=t.nextTokens(a.followState),i.contains(e))return!0;s=s.parentCtx}return!!(i.contains(O.EPSILON)&&e===O.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const e=this._interp.atn,t=e.states[this.state];return e.nextTokens(t)}getRuleIndex(e){const t=this.getRuleIndexMap()[e];return t!==null?t:-1}getRuleInvocationStack(e){e=e||null,e===null&&(e=this._ctx);const t=[];for(;e!==null;){const s=e.ruleIndex;s<0?t.push("n/a"):t.push(this.ruleNames[s]),e=e.parentCtx}return t}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let e=!1;for(let t=0;t<this._interp.decisionToDFA.length;t++){const s=this._interp.decisionToDFA[t];s.states.length>0&&(e&&console.log(),this.printer.println("Decision "+s.decision+":"),this.printer.print(s.toString(this.literalNames,this.symbolicNames)),e=!0)}}getSourceName(){return this._input.sourceName}setTrace(e){e?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new p5(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}Y0.bypassAltsAtnCache={};class g5{constructor(){this.cache=new hr}add(e){if(e===le.EMPTY)return le.EMPTY;const t=this.cache.get(e)||null;return t!==null?t:(this.cache.set(e,e),e)}get(e){return this.cache.get(e)||null}get length(){return this.cache.length}}class X0 extends hn{constructor(e){super(),this.parentCtx=null,this.symbol=e}getChild(e){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return Le.INVALID_INTERVAL;const e=this.symbol.tokenIndex;return new Le(e,e)}getChildCount(){return 0}accept(e){return e.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===O.EOF?"<EOF>":this.symbol.text}}class Q0 extends X0{constructor(e){super(e)}isErrorNode(){return!0}accept(e){return e.visitErrorNode(this)}}class J0 extends Cs{constructor(e,t){e=e||null,t=t||null,super(e,t),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(e){this.parentCtx=e.parentCtx,this.invokingState=e.invokingState,this.children=null,this.start=e.start,this.stop=e.stop,e.children&&(this.children=[],e.children.map(function(t){t instanceof Q0&&(this.children.push(t),t.parentCtx=this)},this))}enterRule(e){}exitRule(e){}addChild(e){return this.children===null&&(this.children=[]),this.children.push(e),e}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(e){const t=new X0(e);return this.addChild(t),t.parentCtx=this,t}addErrorNode(e){const t=new Q0(e);return this.addChild(t),t.parentCtx=this,t}getChild(e,t){if(t=t||null,this.children===null||e<0||e>=this.children.length)return null;if(t===null)return this.children[e];for(let s=0;s<this.children.length;s++){const r=this.children[s];if(r instanceof t){if(e===0)return r;e-=1}}return null}getToken(e,t){if(this.children===null||t<0||t>=this.children.length)return null;for(let s=0;s<this.children.length;s++){const r=this.children[s];if(r instanceof hn&&r.symbol.type===e){if(t===0)return r;t-=1}}return null}getTokens(e){if(this.children===null)return[];{const t=[];for(let s=0;s<this.children.length;s++){const r=this.children[s];r instanceof hn&&r.symbol.type===e&&t.push(r)}return t}}getTypedRuleContext(e,t){return this.getChild(t,e)}getTypedRuleContexts(e){if(this.children===null)return[];{const t=[];for(let s=0;s<this.children.length;s++){const r=this.children[s];r instanceof e&&t.push(r)}return t}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?Le.INVALID_INTERVAL:new Le(this.start.tokenIndex,this.stop.tokenIndex)}}Cs.EMPTY=new J0;const L={atn:J4,dfa:t5,tree:s5,error:l5,Token:O,CommonToken:ss,CharStreams:c5,InputStream:rs,FileStream:u5,CommonTokenStream:d5,Lexer:Fe,Parser:Y0,PredictionContextCache:g5,ParserRuleContext:J0,Interval:Le,IntervalSet:kt,LL1Analyzer:Es,Utils:{arrayToString:wn}},x5=[4,0,65,511,6,-1,6,-1,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,11,1,11,4,11,201,8,11,11,11,12,11,202,1,12,1,12,1,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,3,36,273,8,36,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,309,8,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,376,8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,404,8,51,1,52,1,52,5,52,408,8,52,10,52,12,52,411,9,52,1,53,1,53,1,54,1,54,5,54,417,8,54,10,54,12,54,420,9,54,1,55,4,55,423,8,55,11,55,12,55,424,1,56,4,56,428,8,56,11,56,12,56,429,1,56,1,56,5,56,434,8,56,10,56,12,56,437,9,56,1,56,1,56,4,56,441,8,56,11,56,12,56,442,3,56,445,8,56,1,57,1,57,1,57,1,57,5,57,451,8,57,10,57,12,57,454,9,57,1,57,3,57,457,8,57,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,467,8,59,10,59,12,59,470,9,59,1,59,1,59,1,59,1,59,1,60,1,60,1,61,1,61,5,61,480,8,61,10,61,12,61,483,9,61,1,61,1,61,1,61,1,61,5,61,489,8,61,10,61,12,61,492,9,61,1,62,4,62,495,8,62,11,62,12,62,496,1,63,1,63,1,63,1,63,1,64,4,64,504,8,64,11,64,12,64,505,1,65,1,65,1,65,1,65,1,468,0,66,3,1,5,2,7,3,9,4,11,5,13,6,15,7,17,8,19,9,21,10,23,0,25,11,27,12,29,13,31,14,33,15,35,16,37,17,39,18,41,19,43,20,45,21,47,22,49,23,51,24,53,25,55,26,57,27,59,28,61,29,63,30,65,31,67,32,69,33,71,34,73,35,75,36,77,37,79,38,81,39,83,40,85,41,87,42,89,43,91,44,93,45,95,46,97,47,99,48,101,49,103,50,105,51,107,52,109,53,111,54,113,55,115,56,117,57,119,58,121,59,123,60,125,61,127,62,129,63,131,64,133,65,3,0,1,2,7,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,3,0,65,90,95,95,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,532,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,1,127,1,0,0,0,1,129,1,0,0,0,2,131,1,0,0,0,2,133,1,0,0,0,3,135,1,0,0,0,5,139,1,0,0,0,7,147,1,0,0,0,9,158,1,0,0,0,11,167,1,0,0,0,13,175,1,0,0,0,15,183,1,0,0,0,17,187,1,0,0,0,19,190,1,0,0,0,21,193,1,0,0,0,23,196,1,0,0,0,25,198,1,0,0,0,27,204,1,0,0,0,29,207,1,0,0,0,31,210,1,0,0,0,33,213,1,0,0,0,35,216,1,0,0,0,37,218,1,0,0,0,39,220,1,0,0,0,41,223,1,0,0,0,43,226,1,0,0,0,45,228,1,0,0,0,47,230,1,0,0,0,49,232,1,0,0,0,51,234,1,0,0,0,53,236,1,0,0,0,55,238,1,0,0,0,57,240,1,0,0,0,59,242,1,0,0,0,61,244,1,0,0,0,63,246,1,0,0,0,65,248,1,0,0,0,67,250,1,0,0,0,69,252,1,0,0,0,71,254,1,0,0,0,73,259,1,0,0,0,75,272,1,0,0,0,77,274,1,0,0,0,79,277,1,0,0,0,81,308,1,0,0,0,83,310,1,0,0,0,85,317,1,0,0,0,87,321,1,0,0,0,89,325,1,0,0,0,91,331,1,0,0,0,93,335,1,0,0,0,95,338,1,0,0,0,97,342,1,0,0,0,99,348,1,0,0,0,101,356,1,0,0,0,103,375,1,0,0,0,105,403,1,0,0,0,107,405,1,0,0,0,109,412,1,0,0,0,111,414,1,0,0,0,113,422,1,0,0,0,115,444,1,0,0,0,117,446,1,0,0,0,119,458,1,0,0,0,121,462,1,0,0,0,123,475,1,0,0,0,125,477,1,0,0,0,127,494,1,0,0,0,129,498,1,0,0,0,131,503,1,0,0,0,133,507,1,0,0,0,135,136,7,0,0,0,136,137,1,0,0,0,137,138,6,0,0,0,138,4,1,0,0,0,139,140,5,99,0,0,140,141,5,111,0,0,141,142,5,110,0,0,142,143,5,115,0,0,143,144,5,116,0,0,144,145,1,0,0,0,145,146,6,1,1,0,146,6,1,0,0,0,147,148,5,114,0,0,148,149,5,101,0,0,149,150,5,97,0,0,150,151,5,100,0,0,151,152,5,111,0,0,152,153,5,110,0,0,153,154,5,108,0,0,154,155,5,121,0,0,155,156,1,0,0,0,156,157,6,2,1,0,157,8,1,0,0,0,158,159,5,115,0,0,159,160,5,116,0,0,160,161,5,97,0,0,161,162,5,116,0,0,162,163,5,105,0,0,163,164,5,99,0,0,164,165,1,0,0,0,165,166,6,3,1,0,166,10,1,0,0,0,167,168,5,97,0,0,168,169,5,119,0,0,169,170,5,97,0,0,170,171,5,105,0,0,171,172,5,116,0,0,172,173,1,0,0,0,173,174,6,4,1,0,174,12,1,0,0,0,175,176,5,116,0,0,176,177,5,105,0,0,177,178,5,116,0,0,178,179,5,108,0,0,179,180,5,101,0,0,180,181,1,0,0,0,181,182,6,5,2,0,182,14,1,0,0,0,183,184,5,58,0,0,184,185,1,0,0,0,185,186,6,6,3,0,186,16,1,0,0,0,187,188,5,60,0,0,188,189,5,60,0,0,189,18,1,0,0,0,190,191,5,62,0,0,191,192,5,62,0,0,192,20,1,0,0,0,193,194,5,45,0,0,194,195,5,62,0,0,195,22,1,0,0,0,196,197,7,1,0,0,197,24,1,0,0,0,198,200,5,35,0,0,199,201,3,23,10,0,200,199,1,0,0,0,201,202,1,0,0,0,202,200,1,0,0,0,202,203,1,0,0,0,203,26,1,0,0,0,204,205,5,124,0,0,205,206,5,124,0,0,206,28,1,0,0,0,207,208,5,38,0,0,208,209,5,38,0,0,209,30,1,0,0,0,210,211,5,61,0,0,211,212,5,61,0,0,212,32,1,0,0,0,213,214,5,33,0,0,214,215,5,61,0,0,215,34,1,0,0,0,216,217,5,62,0,0,217,36,1,0,0,0,218,219,5,60,0,0,219,38,1,0,0,0,220,221,5,62,0,0,221,222,5,61,0,0,222,40,1,0,0,0,223,224,5,60,0,0,224,225,5,61,0,0,225,42,1,0,0,0,226,227,5,43,0,0,227,44,1,0,0,0,228,229,5,45,0,0,229,46,1,0,0,0,230,231,5,42,0,0,231,48,1,0,0,0,232,233,5,47,0,0,233,50,1,0,0,0,234,235,5,37,0,0,235,52,1,0,0,0,236,237,5,94,0,0,237,54,1,0,0,0,238,239,5,33,0,0,239,56,1,0,0,0,240,241,5,59,0,0,241,58,1,0,0,0,242,243,5,44,0,0,243,60,1,0,0,0,244,245,5,61,0,0,245,62,1,0,0,0,246,247,5,40,0,0,247,64,1,0,0,0,248,249,5,41,0,0,249,66,1,0,0,0,250,251,5,123,0,0,251,68,1,0,0,0,252,253,5,125,0,0,253,70,1,0,0,0,254,255,5,116,0,0,255,256,5,114,0,0,256,257,5,117,0,0,257,258,5,101,0,0,258,72,1,0,0,0,259,260,5,102,0,0,260,261,5,97,0,0,261,262,5,108,0,0,262,263,5,115,0,0,263,264,5,101,0,0,264,74,1,0,0,0,265,266,5,110,0,0,266,267,5,105,0,0,267,273,5,108,0,0,268,269,5,110,0,0,269,270,5,117,0,0,270,271,5,108,0,0,271,273,5,108,0,0,272,265,1,0,0,0,272,268,1,0,0,0,273,76,1,0,0,0,274,275,5,105,0,0,275,276,5,102,0,0,276,78,1,0,0,0,277,278,5,101,0,0,278,279,5,108,0,0,279,280,5,115,0,0,280,281,5,101,0,0,281,80,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,309,5,101,0,0,287,288,5,102,0,0,288,289,5,111,0,0,289,309,5,114,0,0,290,291,5,102,0,0,291,292,5,111,0,0,292,293,5,114,0,0,293,294,5,101,0,0,294,295,5,97,0,0,295,296,5,99,0,0,296,309,5,104,0,0,297,298,5,102,0,0,298,299,5,111,0,0,299,300,5,114,0,0,300,301,5,69,0,0,301,302,5,97,0,0,302,303,5,99,0,0,303,309,5,104,0,0,304,305,5,108,0,0,305,306,5,111,0,0,306,307,5,111,0,0,307,309,5,112,0,0,308,282,1,0,0,0,308,287,1,0,0,0,308,290,1,0,0,0,308,297,1,0,0,0,308,304,1,0,0,0,309,82,1,0,0,0,310,311,5,114,0,0,311,312,5,101,0,0,312,313,5,116,0,0,313,314,5,117,0,0,314,315,5,114,0,0,315,316,5,110,0,0,316,84,1,0,0,0,317,318,5,110,0,0,318,319,5,101,0,0,319,320,5,119,0,0,320,86,1,0,0,0,321,322,5,112,0,0,322,323,5,97,0,0,323,324,5,114,0,0,324,88,1,0,0,0,325,326,5,103,0,0,326,327,5,114,0,0,327,328,5,111,0,0,328,329,5,117,0,0,329,330,5,112,0,0,330,90,1,0,0,0,331,332,5,111,0,0,332,333,5,112,0,0,333,334,5,116,0,0,334,92,1,0,0,0,335,336,5,97,0,0,336,337,5,115,0,0,337,94,1,0,0,0,338,339,5,116,0,0,339,340,5,114,0,0,340,341,5,121,0,0,341,96,1,0,0,0,342,343,5,99,0,0,343,344,5,97,0,0,344,345,5,116,0,0,345,346,5,99,0,0,346,347,5,104,0,0,347,98,1,0,0,0,348,349,5,102,0,0,349,350,5,105,0,0,350,351,5,110,0,0,351,352,5,97,0,0,352,353,5,108,0,0,353,354,5,108,0,0,354,355,5,121,0,0,355,100,1,0,0,0,356,357,5,105,0,0,357,358,5,110,0,0,358,102,1,0,0,0,359,360,5,64,0,0,360,361,5,83,0,0,361,362,5,116,0,0,362,363,5,97,0,0,363,364,5,114,0,0,364,365,5,116,0,0,365,366,5,101,0,0,366,376,5,114,0,0,367,368,5,64,0,0,368,369,5,115,0,0,369,370,5,116,0,0,370,371,5,97,0,0,371,372,5,114,0,0,372,373,5,116,0,0,373,374,5,101,0,0,374,376,5,114,0,0,375,359,1,0,0,0,375,367,1,0,0,0,376,104,1,0,0,0,377,378,5,64,0,0,378,379,5,82,0,0,379,380,5,101,0,0,380,381,5,116,0,0,381,382,5,117,0,0,382,383,5,114,0,0,383,404,5,110,0,0,384,385,5,64,0,0,385,386,5,114,0,0,386,387,5,101,0,0,387,388,5,116,0,0,388,389,5,117,0,0,389,390,5,114,0,0,390,404,5,110,0,0,391,392,5,64,0,0,392,393,5,82,0,0,393,394,5,101,0,0,394,395,5,112,0,0,395,396,5,108,0,0,396,404,5,121,0,0,397,398,5,64,0,0,398,399,5,114,0,0,399,400,5,101,0,0,400,401,5,112,0,0,401,402,5,108,0,0,402,404,5,121,0,0,403,377,1,0,0,0,403,384,1,0,0,0,403,391,1,0,0,0,403,397,1,0,0,0,404,106,1,0,0,0,405,409,5,64,0,0,406,408,7,2,0,0,407,406,1,0,0,0,408,411,1,0,0,0,409,407,1,0,0,0,409,410,1,0,0,0,410,108,1,0,0,0,411,409,1,0,0,0,412,413,5,46,0,0,413,110,1,0,0,0,414,418,7,3,0,0,415,417,7,2,0,0,416,415,1,0,0,0,417,420,1,0,0,0,418,416,1,0,0,0,418,419,1,0,0,0,419,112,1,0,0,0,420,418,1,0,0,0,421,423,7,4,0,0,422,421,1,0,0,0,423,424,1,0,0,0,424,422,1,0,0,0,424,425,1,0,0,0,425,114,1,0,0,0,426,428,7,4,0,0,427,426,1,0,0,0,428,429,1,0,0,0,429,427,1,0,0,0,429,430,1,0,0,0,430,431,1,0,0,0,431,435,5,46,0,0,432,434,7,4,0,0,433,432,1,0,0,0,434,437,1,0,0,0,435,433,1,0,0,0,435,436,1,0,0,0,436,445,1,0,0,0,437,435,1,0,0,0,438,440,5,46,0,0,439,441,7,4,0,0,440,439,1,0,0,0,441,442,1,0,0,0,442,440,1,0,0,0,442,443,1,0,0,0,443,445,1,0,0,0,444,427,1,0,0,0,444,438,1,0,0,0,445,116,1,0,0,0,446,452,5,34,0,0,447,451,8,5,0,0,448,449,5,34,0,0,449,451,5,34,0,0,450,447,1,0,0,0,450,448,1,0,0,0,451,454,1,0,0,0,452,450,1,0,0,0,452,453,1,0,0,0,453,456,1,0,0,0,454,452,1,0,0,0,455,457,7,5,0,0,456,455,1,0,0,0,456,457,1,0,0,0,457,118,1,0,0,0,458,459,7,6,0,0,459,460,1,0,0,0,460,461,6,58,0,0,461,120,1,0,0,0,462,463,5,47,0,0,463,464,5,47,0,0,464,468,1,0,0,0,465,467,9,0,0,0,466,465,1,0,0,0,467,470,1,0,0,0,468,469,1,0,0,0,468,466,1,0,0,0,469,471,1,0,0,0,470,468,1,0,0,0,471,472,5,10,0,0,472,473,1,0,0,0,473,474,6,59,4,0,474,122,1,0,0,0,475,476,9,0,0,0,476,124,1,0,0,0,477,481,4,61,0,0,478,480,3,3,0,0,479,478,1,0,0,0,480,483,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,484,1,0,0,0,483,481,1,0,0,0,484,485,5,61,0,0,485,486,5,61,0,0,486,490,1,0,0,0,487,489,8,6,0,0,488,487,1,0,0,0,489,492,1,0,0,0,490,488,1,0,0,0,490,491,1,0,0,0,491,126,1,0,0,0,492,490,1,0,0,0,493,495,8,6,0,0,494,493,1,0,0,0,495,496,1,0,0,0,496,494,1,0,0,0,496,497,1,0,0,0,497,128,1,0,0,0,498,499,7,6,0,0,499,500,1,0,0,0,500,501,6,63,5,0,501,130,1,0,0,0,502,504,8,6,0,0,503,502,1,0,0,0,504,505,1,0,0,0,505,503,1,0,0,0,505,506,1,0,0,0,506,132,1,0,0,0,507,508,7,6,0,0,508,509,1,0,0,0,509,510,6,65,5,0,510,134,1,0,0,0,23,0,1,2,202,272,308,375,403,409,418,424,429,435,442,444,450,452,456,468,481,490,496,505,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],X1=new L.atn.ATNDeserializer().deserialize(x5),m5=X1.decisionToState.map((n,e)=>new L.dfa.DFA(n,e));class M extends L.Lexer{constructor(e){super(e),this._interp=new L.atn.LexerATNSimulator(this,X1,m5,new L.PredictionContextCache)}get atn(){return X1}}U(M,"grammarFileName","sequenceLexer.g4"),U(M,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),U(M,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),U(M,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),U(M,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),U(M,"ruleNames",["WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),M.EOF=L.Token.EOF,M.WS=1,M.CONSTANT=2,M.READONLY=3,M.STATIC=4,M.AWAIT=5,M.TITLE=6,M.COL=7,M.SOPEN=8,M.SCLOSE=9,M.ARROW=10,M.COLOR=11,M.OR=12,M.AND=13,M.EQ=14,M.NEQ=15,M.GT=16,M.LT=17,M.GTEQ=18,M.LTEQ=19,M.PLUS=20,M.MINUS=21,M.MULT=22,M.DIV=23,M.MOD=24,M.POW=25,M.NOT=26,M.SCOL=27,M.COMMA=28,M.ASSIGN=29,M.OPAR=30,M.CPAR=31,M.OBRACE=32,M.CBRACE=33,M.TRUE=34,M.FALSE=35,M.NIL=36,M.IF=37,M.ELSE=38,M.WHILE=39,M.RETURN=40,M.NEW=41,M.PAR=42,M.GROUP=43,M.OPT=44,M.AS=45,M.TRY=46,M.CATCH=47,M.FINALLY=48,M.IN=49,M.STARTER_LXR=50,M.ANNOTATION_RET=51,M.ANNOTATION=52,M.DOT=53,M.ID=54,M.INT=55,M.FLOAT=56,M.STRING=57,M.CR=58,M.COMMENT=59,M.OTHER=60,M.DIVIDER=61,M.EVENT_PAYLOAD_LXR=62,M.EVENT_END=63,M.TITLE_CONTENT=64,M.TITLE_END=65,M.COMMENT_CHANNEL=2,M.MODIFIER_CHANNEL=3,M.EVENT=1,M.TITLE_MODE=2,M.prototype.sempred=function(n,e,t){switch(e){case 61:return this.DIVIDER_sempred(n,t);default:throw"No registered predicate for:"+e}},M.prototype.DIVIDER_sempred=function(n,e){switch(e){case 0:return this.column===0;default:throw"No predicate with index:"+e}};class _ extends L.tree.ParseTreeListener{enterProg(e){}exitProg(e){}enterTitle(e){}exitTitle(e){}enterHead(e){}exitHead(e){}enterGroup(e){}exitGroup(e){}enterStarterExp(e){}exitStarterExp(e){}enterStarter(e){}exitStarter(e){}enterParticipant(e){}exitParticipant(e){}enterStereotype(e){}exitStereotype(e){}enterLabel(e){}exitLabel(e){}enterParticipantType(e){}exitParticipantType(e){}enterName(e){}exitName(e){}enterWidth(e){}exitWidth(e){}enterBlock(e){}exitBlock(e){}enterRet(e){}exitRet(e){}enterDivider(e){}exitDivider(e){}enterDividerNote(e){}exitDividerNote(e){}enterStat(e){}exitStat(e){}enterPar(e){}exitPar(e){}enterOpt(e){}exitOpt(e){}enterCreation(e){}exitCreation(e){}enterCreationBody(e){}exitCreationBody(e){}enterMessage(e){}exitMessage(e){}enterMessageBody(e){}exitMessageBody(e){}enterFunc(e){}exitFunc(e){}enterFrom(e){}exitFrom(e){}enterTo(e){}exitTo(e){}enterSignature(e){}exitSignature(e){}enterInvocation(e){}exitInvocation(e){}enterAssignment(e){}exitAssignment(e){}enterAsyncMessage(e){}exitAsyncMessage(e){}enterContent(e){}exitContent(e){}enterConstruct(e){}exitConstruct(e){}enterType(e){}exitType(e){}enterAssignee(e){}exitAssignee(e){}enterMethodName(e){}exitMethodName(e){}enterParameters(e){}exitParameters(e){}enterParameter(e){}exitParameter(e){}enterDeclaration(e){}exitDeclaration(e){}enterTcf(e){}exitTcf(e){}enterTryBlock(e){}exitTryBlock(e){}enterCatchBlock(e){}exitCatchBlock(e){}enterFinallyBlock(e){}exitFinallyBlock(e){}enterAlt(e){}exitAlt(e){}enterIfBlock(e){}exitIfBlock(e){}enterElseIfBlock(e){}exitElseIfBlock(e){}enterElseBlock(e){}exitElseBlock(e){}enterBraceBlock(e){}exitBraceBlock(e){}enterLoop(e){}exitLoop(e){}enterAssignmentExpr(e){}exitAssignmentExpr(e){}enterFuncExpr(e){}exitFuncExpr(e){}enterAtomExpr(e){}exitAtomExpr(e){}enterOrExpr(e){}exitOrExpr(e){}enterAdditiveExpr(e){}exitAdditiveExpr(e){}enterRelationalExpr(e){}exitRelationalExpr(e){}enterPlusExpr(e){}exitPlusExpr(e){}enterNotExpr(e){}exitNotExpr(e){}enterUnaryMinusExpr(e){}exitUnaryMinusExpr(e){}enterCreationExpr(e){}exitCreationExpr(e){}enterParenthesizedExpr(e){}exitParenthesizedExpr(e){}enterMultiplicationExpr(e){}exitMultiplicationExpr(e){}enterEqualityExpr(e){}exitEqualityExpr(e){}enterAndExpr(e){}exitAndExpr(e){}enterNumberAtom(e){}exitNumberAtom(e){}enterBooleanAtom(e){}exitBooleanAtom(e){}enterIdAtom(e){}exitIdAtom(e){}enterStringAtom(e){}exitStringAtom(e){}enterNilAtom(e){}exitNilAtom(e){}enterParExpr(e){}exitParExpr(e){}enterCondition(e){}exitCondition(e){}enterInExpr(e){}exitInExpr(e){}}const L5=[4,1,65,550,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,1,0,3,0,108,8,0,1,0,1,0,3,0,112,8,0,1,0,1,0,1,0,1,0,3,0,118,8,0,1,0,3,0,121,8,0,1,0,1,0,1,0,3,0,126,8,0,1,1,1,1,1,1,3,1,131,8,1,1,2,1,2,4,2,135,8,2,11,2,12,2,136,1,2,1,2,5,2,141,8,2,10,2,12,2,144,9,2,1,2,3,2,147,8,2,1,3,1,3,3,3,151,8,3,1,3,1,3,5,3,155,8,3,10,3,12,3,158,9,3,1,3,1,3,1,3,3,3,163,8,3,1,3,1,3,1,3,3,3,168,8,3,3,3,170,8,3,1,4,1,4,1,4,3,4,175,8,4,1,4,3,4,178,8,4,1,4,3,4,181,8,4,1,5,1,5,1,6,3,6,186,8,6,1,6,3,6,189,8,6,1,6,1,6,3,6,193,8,6,1,6,3,6,196,8,6,1,6,3,6,199,8,6,1,6,1,6,3,6,203,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,212,8,7,1,7,1,7,3,7,216,8,7,3,7,218,8,7,1,8,1,8,1,8,3,8,223,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,232,8,12,11,12,12,12,233,1,13,1,13,3,13,238,8,13,1,13,3,13,241,8,13,1,13,1,13,1,13,3,13,246,8,13,3,13,248,8,13,1,14,1,14,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,3,16,262,8,16,1,16,1,16,1,16,1,16,1,16,3,16,269,8,16,1,17,1,17,1,17,3,17,274,8,17,1,18,1,18,1,18,3,18,279,8,18,1,19,1,19,1,19,3,19,284,8,19,1,20,3,20,287,8,20,1,20,1,20,1,20,1,20,3,20,293,8,20,1,20,3,20,296,8,20,1,20,3,20,299,8,20,1,20,3,20,302,8,20,1,21,1,21,1,21,3,21,307,8,21,1,22,3,22,310,8,22,1,22,1,22,1,22,3,22,315,8,22,1,22,1,22,1,22,3,22,320,8,22,1,22,1,22,1,22,1,22,1,22,3,22,327,8,22,1,22,1,22,1,22,3,22,332,8,22,1,23,1,23,1,23,5,23,337,8,23,10,23,12,23,340,9,23,1,24,1,24,1,25,1,25,1,26,1,26,3,26,348,8,26,1,27,1,27,3,27,352,8,27,1,27,1,27,1,28,3,28,357,8,28,1,28,1,28,1,28,1,29,1,29,1,29,3,29,365,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,374,8,29,3,29,376,8,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,33,1,33,5,33,388,8,33,10,33,12,33,391,9,33,1,33,3,33,394,8,33,1,34,1,34,1,35,1,35,1,35,5,35,401,8,35,10,35,12,35,404,9,35,1,35,3,35,407,8,35,1,36,1,36,3,36,411,8,36,1,37,1,37,1,37,1,38,1,38,5,38,418,8,38,10,38,12,38,421,9,38,1,38,3,38,424,8,38,1,39,1,39,1,39,1,40,1,40,3,40,431,8,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,5,42,440,8,42,10,42,12,42,443,9,42,1,42,3,42,446,8,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,3,46,462,8,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,473,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,484,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,495,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,5,48,518,8,48,10,48,12,48,521,9,48,1,49,1,49,1,49,1,49,1,49,3,49,528,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,539,8,50,1,51,1,51,1,51,3,51,544,8,51,1,52,1,52,1,52,1,52,1,52,0,1,96,53,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,0,10,2,0,54,54,57,57,2,0,8,8,17,17,2,0,9,9,16,16,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,55,56,1,0,34,35,606,0,125,1,0,0,0,2,127,1,0,0,0,4,146,1,0,0,0,6,169,1,0,0,0,8,180,1,0,0,0,10,182,1,0,0,0,12,202,1,0,0,0,14,217,1,0,0,0,16,222,1,0,0,0,18,224,1,0,0,0,20,226,1,0,0,0,22,228,1,0,0,0,24,231,1,0,0,0,26,247,1,0,0,0,28,249,1,0,0,0,30,251,1,0,0,0,32,268,1,0,0,0,34,273,1,0,0,0,36,278,1,0,0,0,38,280,1,0,0,0,40,301,1,0,0,0,42,303,1,0,0,0,44,331,1,0,0,0,46,333,1,0,0,0,48,341,1,0,0,0,50,343,1,0,0,0,52,345,1,0,0,0,54,349,1,0,0,0,56,356,1,0,0,0,58,375,1,0,0,0,60,377,1,0,0,0,62,379,1,0,0,0,64,381,1,0,0,0,66,393,1,0,0,0,68,395,1,0,0,0,70,397,1,0,0,0,72,410,1,0,0,0,74,412,1,0,0,0,76,415,1,0,0,0,78,425,1,0,0,0,80,428,1,0,0,0,82,434,1,0,0,0,84,437,1,0,0,0,86,447,1,0,0,0,88,451,1,0,0,0,90,456,1,0,0,0,92,459,1,0,0,0,94,472,1,0,0,0,96,494,1,0,0,0,98,527,1,0,0,0,100,538,1,0,0,0,102,543,1,0,0,0,104,545,1,0,0,0,106,108,3,2,1,0,107,106,1,0,0,0,107,108,1,0,0,0,108,109,1,0,0,0,109,126,5,0,0,1,110,112,3,2,1,0,111,110,1,0,0,0,111,112,1,0,0,0,112,113,1,0,0,0,113,114,3,4,2,0,114,115,5,0,0,1,115,126,1,0,0,0,116,118,3,2,1,0,117,116,1,0,0,0,117,118,1,0,0,0,118,120,1,0,0,0,119,121,3,4,2,0,120,119,1,0,0,0,120,121,1,0,0,0,121,122,1,0,0,0,122,123,3,24,12,0,123,124,5,0,0,1,124,126,1,0,0,0,125,107,1,0,0,0,125,111,1,0,0,0,125,117,1,0,0,0,126,1,1,0,0,0,127,128,5,6,0,0,128,130,5,64,0,0,129,131,5,65,0,0,130,129,1,0,0,0,130,131,1,0,0,0,131,3,1,0,0,0,132,135,3,6,3,0,133,135,3,12,6,0,134,132,1,0,0,0,134,133,1,0,0,0,135,136,1,0,0,0,136,134,1,0,0,0,136,137,1,0,0,0,137,147,1,0,0,0,138,141,3,6,3,0,139,141,3,12,6,0,140,138,1,0,0,0,140,139,1,0,0,0,141,144,1,0,0,0,142,140,1,0,0,0,142,143,1,0,0,0,143,145,1,0,0,0,144,142,1,0,0,0,145,147,3,8,4,0,146,134,1,0,0,0,146,142,1,0,0,0,147,5,1,0,0,0,148,150,5,43,0,0,149,151,3,20,10,0,150,149,1,0,0,0,150,151,1,0,0,0,151,152,1,0,0,0,152,156,5,32,0,0,153,155,3,12,6,0,154,153,1,0,0,0,155,158,1,0,0,0,156,154,1,0,0,0,156,157,1,0,0,0,157,159,1,0,0,0,158,156,1,0,0,0,159,170,5,33,0,0,160,162,5,43,0,0,161,163,3,20,10,0,162,161,1,0,0,0,162,163,1,0,0,0,163,164,1,0,0,0,164,170,5,32,0,0,165,167,5,43,0,0,166,168,3,20,10,0,167,166,1,0,0,0,167,168,1,0,0,0,168,170,1,0,0,0,169,148,1,0,0,0,169,160,1,0,0,0,169,165,1,0,0,0,170,7,1,0,0,0,171,177,5,50,0,0,172,174,5,30,0,0,173,175,3,10,5,0,174,173,1,0,0,0,174,175,1,0,0,0,175,176,1,0,0,0,176,178,5,31,0,0,177,172,1,0,0,0,177,178,1,0,0,0,178,181,1,0,0,0,179,181,5,52,0,0,180,171,1,0,0,0,180,179,1,0,0,0,181,9,1,0,0,0,182,183,7,0,0,0,183,11,1,0,0,0,184,186,3,18,9,0,185,184,1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,189,3,14,7,0,188,187,1,0,0,0,188,189,1,0,0,0,189,190,1,0,0,0,190,192,3,20,10,0,191,193,3,22,11,0,192,191,1,0,0,0,192,193,1,0,0,0,193,195,1,0,0,0,194,196,3,16,8,0,195,194,1,0,0,0,195,196,1,0,0,0,196,198,1,0,0,0,197,199,5,11,0,0,198,197,1,0,0,0,198,199,1,0,0,0,199,203,1,0,0,0,200,203,3,14,7,0,201,203,3,18,9,0,202,185,1,0,0,0,202,200,1,0,0,0,202,201,1,0,0,0,203,13,1,0,0,0,204,205,5,8,0,0,205,206,3,20,10,0,206,207,5,9,0,0,207,218,1,0,0,0,208,209,5,8,0,0,209,211,3,20,10,0,210,212,5,16,0,0,211,210,1,0,0,0,211,212,1,0,0,0,212,218,1,0,0,0,213,215,7,1,0,0,214,216,7,2,0,0,215,214,1,0,0,0,215,216,1,0,0,0,216,218,1,0,0,0,217,204,1,0,0,0,217,208,1,0,0,0,217,213,1,0,0,0,218,15,1,0,0,0,219,220,5,45,0,0,220,223,3,20,10,0,221,223,5,45,0,0,222,219,1,0,0,0,222,221,1,0,0,0,223,17,1,0,0,0,224,225,5,52,0,0,225,19,1,0,0,0,226,227,7,0,0,0,227,21,1,0,0,0,228,229,5,55,0,0,229,23,1,0,0,0,230,232,3,32,16,0,231,230,1,0,0,0,232,233,1,0,0,0,233,231,1,0,0,0,233,234,1,0,0,0,234,25,1,0,0,0,235,237,5,40,0,0,236,238,3,96,48,0,237,236,1,0,0,0,237,238,1,0,0,0,238,240,1,0,0,0,239,241,5,27,0,0,240,239,1,0,0,0,240,241,1,0,0,0,241,248,1,0,0,0,242,243,5,51,0,0,243,245,3,58,29,0,244,246,5,63,0,0,245,244,1,0,0,0,245,246,1,0,0,0,246,248,1,0,0,0,247,235,1,0,0,0,247,242,1,0,0,0,248,27,1,0,0,0,249,250,3,30,15,0,250,29,1,0,0,0,251,252,5,61,0,0,252,31,1,0,0,0,253,269,3,84,42,0,254,269,3,34,17,0,255,269,3,36,18,0,256,269,3,94,47,0,257,269,3,38,19,0,258,269,3,42,21,0,259,261,3,58,29,0,260,262,5,63,0,0,261,260,1,0,0,0,261,262,1,0,0,0,262,269,1,0,0,0,263,269,3,26,13,0,264,269,3,28,14,0,265,269,3,76,38,0,266,267,5,60,0,0,267,269,6,16,-1,0,268,253,1,0,0,0,268,254,1,0,0,0,268,255,1,0,0,0,268,256,1,0,0,0,268,257,1,0,0,0,268,258,1,0,0,0,268,259,1,0,0,0,268,263,1,0,0,0,268,264,1,0,0,0,268,265,1,0,0,0,268,266,1,0,0,0,269,33,1,0,0,0,270,271,5,42,0,0,271,274,3,92,46,0,272,274,5,42,0,0,273,270,1,0,0,0,273,272,1,0,0,0,274,35,1,0,0,0,275,276,5,44,0,0,276,279,3,92,46,0,277,279,5,44,0,0,278,275,1,0,0,0,278,277,1,0,0,0,279,37,1,0,0,0,280,283,3,40,20,0,281,284,5,27,0,0,282,284,3,92,46,0,283,281,1,0,0,0,283,282,1,0,0,0,283,284,1,0,0,0,284,39,1,0,0,0,285,287,3,56,28,0,286,285,1,0,0,0,286,287,1,0,0,0,287,288,1,0,0,0,288,289,5,41,0,0,289,295,3,62,31,0,290,292,5,30,0,0,291,293,3,70,35,0,292,291,1,0,0,0,292,293,1,0,0,0,293,294,1,0,0,0,294,296,5,31,0,0,295,290,1,0,0,0,295,296,1,0,0,0,296,302,1,0,0,0,297,299,3,56,28,0,298,297,1,0,0,0,298,299,1,0,0,0,299,300,1,0,0,0,300,302,5,41,0,0,301,286,1,0,0,0,301,298,1,0,0,0,302,41,1,0,0,0,303,306,3,44,22,0,304,307,5,27,0,0,305,307,3,92,46,0,306,304,1,0,0,0,306,305,1,0,0,0,306,307,1,0,0,0,307,43,1,0,0,0,308,310,3,56,28,0,309,308,1,0,0,0,309,310,1,0,0,0,310,319,1,0,0,0,311,312,3,48,24,0,312,313,5,10,0,0,313,315,1,0,0,0,314,311,1,0,0,0,314,315,1,0,0,0,315,316,1,0,0,0,316,317,3,50,25,0,317,318,5,53,0,0,318,320,1,0,0,0,319,314,1,0,0,0,319,320,1,0,0,0,320,321,1,0,0,0,321,332,3,46,23,0,322,332,3,56,28,0,323,324,3,48,24,0,324,325,5,10,0,0,325,327,1,0,0,0,326,323,1,0,0,0,326,327,1,0,0,0,327,328,1,0,0,0,328,329,3,50,25,0,329,330,5,53,0,0,330,332,1,0,0,0,331,309,1,0,0,0,331,322,1,0,0,0,331,326,1,0,0,0,332,45,1,0,0,0,333,338,3,52,26,0,334,335,5,53,0,0,335,337,3,52,26,0,336,334,1,0,0,0,337,340,1,0,0,0,338,336,1,0,0,0,338,339,1,0,0,0,339,47,1,0,0,0,340,338,1,0,0,0,341,342,7,0,0,0,342,49,1,0,0,0,343,344,7,0,0,0,344,51,1,0,0,0,345,347,3,68,34,0,346,348,3,54,27,0,347,346,1,0,0,0,347,348,1,0,0,0,348,53,1,0,0,0,349,351,5,30,0,0,350,352,3,70,35,0,351,350,1,0,0,0,351,352,1,0,0,0,352,353,1,0,0,0,353,354,5,31,0,0,354,55,1,0,0,0,355,357,3,64,32,0,356,355,1,0,0,0,356,357,1,0,0,0,357,358,1,0,0,0,358,359,3,66,33,0,359,360,5,29,0,0,360,57,1,0,0,0,361,362,3,48,24,0,362,363,5,10,0,0,363,365,1,0,0,0,364,361,1,0,0,0,364,365,1,0,0,0,365,366,1,0,0,0,366,367,3,50,25,0,367,368,5,7,0,0,368,369,3,60,30,0,369,376,1,0,0,0,370,371,3,48,24,0,371,373,7,3,0,0,372,374,3,50,25,0,373,372,1,0,0,0,373,374,1,0,0,0,374,376,1,0,0,0,375,364,1,0,0,0,375,370,1,0,0,0,376,59,1,0,0,0,377,378,5,62,0,0,378,61,1,0,0,0,379,380,7,0,0,0,380,63,1,0,0,0,381,382,7,0,0,0,382,65,1,0,0,0,383,394,3,98,49,0,384,389,5,54,0,0,385,386,5,28,0,0,386,388,5,54,0,0,387,385,1,0,0,0,388,391,1,0,0,0,389,387,1,0,0,0,389,390,1,0,0,0,390,394,1,0,0,0,391,389,1,0,0,0,392,394,5,57,0,0,393,383,1,0,0,0,393,384,1,0,0,0,393,392,1,0,0,0,394,67,1,0,0,0,395,396,7,0,0,0,396,69,1,0,0,0,397,402,3,72,36,0,398,399,5,28,0,0,399,401,3,72,36,0,400,398,1,0,0,0,401,404,1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,406,1,0,0,0,404,402,1,0,0,0,405,407,5,28,0,0,406,405,1,0,0,0,406,407,1,0,0,0,407,71,1,0,0,0,408,411,3,74,37,0,409,411,3,96,48,0,410,408,1,0,0,0,410,409,1,0,0,0,411,73,1,0,0,0,412,413,3,64,32,0,413,414,5,54,0,0,414,75,1,0,0,0,415,419,3,78,39,0,416,418,3,80,40,0,417,416,1,0,0,0,418,421,1,0,0,0,419,417,1,0,0,0,419,420,1,0,0,0,420,423,1,0,0,0,421,419,1,0,0,0,422,424,3,82,41,0,423,422,1,0,0,0,423,424,1,0,0,0,424,77,1,0,0,0,425,426,5,46,0,0,426,427,3,92,46,0,427,79,1,0,0,0,428,430,5,47,0,0,429,431,3,54,27,0,430,429,1,0,0,0,430,431,1,0,0,0,431,432,1,0,0,0,432,433,3,92,46,0,433,81,1,0,0,0,434,435,5,48,0,0,435,436,3,92,46,0,436,83,1,0,0,0,437,441,3,86,43,0,438,440,3,88,44,0,439,438,1,0,0,0,440,443,1,0,0,0,441,439,1,0,0,0,441,442,1,0,0,0,442,445,1,0,0,0,443,441,1,0,0,0,444,446,3,90,45,0,445,444,1,0,0,0,445,446,1,0,0,0,446,85,1,0,0,0,447,448,5,37,0,0,448,449,3,100,50,0,449,450,3,92,46,0,450,87,1,0,0,0,451,452,5,38,0,0,452,453,5,37,0,0,453,454,3,100,50,0,454,455,3,92,46,0,455,89,1,0,0,0,456,457,5,38,0,0,457,458,3,92,46,0,458,91,1,0,0,0,459,461,5,32,0,0,460,462,3,24,12,0,461,460,1,0,0,0,461,462,1,0,0,0,462,463,1,0,0,0,463,464,5,33,0,0,464,93,1,0,0,0,465,466,5,39,0,0,466,467,3,100,50,0,467,468,3,92,46,0,468,473,1,0,0,0,469,470,5,39,0,0,470,473,3,100,50,0,471,473,5,39,0,0,472,465,1,0,0,0,472,469,1,0,0,0,472,471,1,0,0,0,473,95,1,0,0,0,474,475,6,48,-1,0,475,495,3,98,49,0,476,477,5,21,0,0,477,495,3,96,48,13,478,479,5,26,0,0,479,495,3,96,48,12,480,481,3,50,25,0,481,482,5,53,0,0,482,484,1,0,0,0,483,480,1,0,0,0,483,484,1,0,0,0,484,485,1,0,0,0,485,495,3,46,23,0,486,495,3,38,19,0,487,488,5,30,0,0,488,489,3,96,48,0,489,490,5,31,0,0,490,495,1,0,0,0,491,492,3,56,28,0,492,493,3,96,48,1,493,495,1,0,0,0,494,474,1,0,0,0,494,476,1,0,0,0,494,478,1,0,0,0,494,483,1,0,0,0,494,486,1,0,0,0,494,487,1,0,0,0,494,491,1,0,0,0,495,519,1,0,0,0,496,497,10,11,0,0,497,498,7,4,0,0,498,518,3,96,48,12,499,500,10,10,0,0,500,501,7,5,0,0,501,518,3,96,48,11,502,503,10,9,0,0,503,504,7,6,0,0,504,518,3,96,48,10,505,506,10,8,0,0,506,507,7,7,0,0,507,518,3,96,48,9,508,509,10,7,0,0,509,510,5,13,0,0,510,518,3,96,48,8,511,512,10,6,0,0,512,513,5,12,0,0,513,518,3,96,48,7,514,515,10,5,0,0,515,516,5,20,0,0,516,518,3,96,48,6,517,496,1,0,0,0,517,499,1,0,0,0,517,502,1,0,0,0,517,505,1,0,0,0,517,508,1,0,0,0,517,511,1,0,0,0,517,514,1,0,0,0,518,521,1,0,0,0,519,517,1,0,0,0,519,520,1,0,0,0,520,97,1,0,0,0,521,519,1,0,0,0,522,528,7,8,0,0,523,528,7,9,0,0,524,528,5,54,0,0,525,528,5,57,0,0,526,528,5,36,0,0,527,522,1,0,0,0,527,523,1,0,0,0,527,524,1,0,0,0,527,525,1,0,0,0,527,526,1,0,0,0,528,99,1,0,0,0,529,530,5,30,0,0,530,531,3,102,51,0,531,532,5,31,0,0,532,539,1,0,0,0,533,534,5,30,0,0,534,539,3,102,51,0,535,536,5,30,0,0,536,539,5,31,0,0,537,539,5,30,0,0,538,529,1,0,0,0,538,533,1,0,0,0,538,535,1,0,0,0,538,537,1,0,0,0,539,101,1,0,0,0,540,544,3,98,49,0,541,544,3,96,48,0,542,544,3,104,52,0,543,540,1,0,0,0,543,541,1,0,0,0,543,542,1,0,0,0,544,103,1,0,0,0,545,546,5,54,0,0,546,547,5,49,0,0,547,548,5,54,0,0,548,105,1,0,0,0,76,107,111,117,120,125,130,134,136,140,142,146,150,156,162,167,169,174,177,180,185,188,192,195,198,202,211,215,217,222,233,237,240,245,247,261,268,273,278,283,286,292,295,298,301,306,309,314,319,326,331,338,347,351,356,364,373,375,389,393,402,406,410,419,423,430,441,445,461,472,483,494,517,519,527,538,543],Q1=new L.atn.ATNDeserializer().deserialize(L5),_5=Q1.decisionToState.map((n,e)=>new L.dfa.DFA(n,e)),y5=new L.PredictionContextCache,m=class extends L.Parser{constructor(e){super(e),this._interp=new L.atn.ParserATNSimulator(this,Q1,_5,y5),this.ruleNames=m.ruleNames,this.literalNames=m.literalNames,this.symbolicNames=m.symbolicNames}get atn(){return Q1}sempred(e,t,s){switch(t){case 48:return this.expr_sempred(e,s);default:throw"No predicate with index:"+t}}expr_sempred(e,t){switch(t){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+t}}prog(){let e=new eu(this,this._ctx,this.state);this.enterRule(e,0,m.RULE_prog);var t=0;try{this.state=125,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,4,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=107,this._errHandler.sync(this),t=this._input.LA(1),t===6&&(this.state=106,this.title()),this.state=109,this.match(m.EOF);break;case 2:this.enterOuterAlt(e,2),this.state=111,this._errHandler.sync(this),t=this._input.LA(1),t===6&&(this.state=110,this.title()),this.state=113,this.head(),this.state=114,this.match(m.EOF);break;case 3:this.enterOuterAlt(e,3),this.state=117,this._errHandler.sync(this),t=this._input.LA(1),t===6&&(this.state=116,this.title()),this.state=120,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,3,this._ctx);s===1&&(this.state=119,this.head()),this.state=122,this.block(),this.state=123,this.match(m.EOF);break}}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}title(){let e=new J1(this,this._ctx,this.state);this.enterRule(e,2,m.RULE_title);var t=0;try{this.enterOuterAlt(e,1),this.state=127,this.match(m.TITLE),this.state=128,this.match(m.TITLE_CONTENT),this.state=130,this._errHandler.sync(this),t=this._input.LA(1),t===65&&(this.state=129,this.match(m.TITLE_END))}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}head(){let e=new ea(this,this._ctx,this.state);this.enterRule(e,4,m.RULE_head);try{this.state=146,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,10,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=134,this._errHandler.sync(this);var s=1;do{switch(s){case 1:switch(this.state=134,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=132,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=133,this.participant();break;default:throw new L.error.NoViableAltException(this)}break;default:throw new L.error.NoViableAltException(this)}this.state=136,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,7,this._ctx)}while(s!=2&&s!=L.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(e,2),this.state=142,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,9,this._ctx);s!=2&&s!=L.atn.ATN.INVALID_ALT_NUMBER;){if(s===1)switch(this.state=140,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=138,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=139,this.participant();break;default:throw new L.error.NoViableAltException(this)}this.state=144,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,9,this._ctx)}this.state=145,this.starterExp();break}}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}group(){let e=new Ni(this,this._ctx,this.state);this.enterRule(e,6,m.RULE_group);var t=0;try{this.state=169,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,15,this._ctx);switch(s){case 1:for(this.enterOuterAlt(e,1),this.state=148,this.match(m.GROUP),this.state=150,this._errHandler.sync(this),t=this._input.LA(1),(t===54||t===57)&&(this.state=149,this.name()),this.state=152,this.match(m.OBRACE),this.state=156,this._errHandler.sync(this),t=this._input.LA(1);t===8||t===17||(t-52&-32)==0&&(1<<t-52&37)!==0;)this.state=153,this.participant(),this.state=158,this._errHandler.sync(this),t=this._input.LA(1);this.state=159,this.match(m.CBRACE);break;case 2:this.enterOuterAlt(e,2),this.state=160,this.match(m.GROUP),this.state=162,this._errHandler.sync(this),t=this._input.LA(1),(t===54||t===57)&&(this.state=161,this.name()),this.state=164,this.match(m.OBRACE);break;case 3:this.enterOuterAlt(e,3),this.state=165,this.match(m.GROUP),this.state=167,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,14,this._ctx);s===1&&(this.state=166,this.name());break}}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}starterExp(){let e=new ta(this,this._ctx,this.state);this.enterRule(e,8,m.RULE_starterExp);var t=0;try{switch(this.state=180,this._errHandler.sync(this),this._input.LA(1)){case 50:this.enterOuterAlt(e,1),this.state=171,this.match(m.STARTER_LXR),this.state=177,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=172,this.match(m.OPAR),this.state=174,this._errHandler.sync(this),t=this._input.LA(1),(t===54||t===57)&&(this.state=173,this.starter()),this.state=176,this.match(m.CPAR));break;case 52:this.enterOuterAlt(e,2),this.state=179,this.match(m.ANNOTATION);break;default:throw new L.error.NoViableAltException(this)}}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}starter(){let e=new na(this,this._ctx,this.state);this.enterRule(e,10,m.RULE_starter);var t=0;try{this.enterOuterAlt(e,1),this.state=182,t=this._input.LA(1),t===54||t===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}participant(){let e=new As(this,this._ctx,this.state);this.enterRule(e,12,m.RULE_participant);var t=0;try{this.state=202,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,24,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=185,this._errHandler.sync(this),t=this._input.LA(1),t===52&&(this.state=184,this.participantType()),this.state=188,this._errHandler.sync(this),t=this._input.LA(1),(t===8||t===17)&&(this.state=187,this.stereotype()),this.state=190,this.name(),this.state=192,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,21,this._ctx);s===1&&(this.state=191,this.width()),this.state=195,this._errHandler.sync(this),t=this._input.LA(1),t===45&&(this.state=194,this.label()),this.state=198,this._errHandler.sync(this),t=this._input.LA(1),t===11&&(this.state=197,this.match(m.COLOR));break;case 2:this.enterOuterAlt(e,2),this.state=200,this.stereotype();break;case 3:this.enterOuterAlt(e,3),this.state=201,this.participantType();break}}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}stereotype(){let e=new sa(this,this._ctx,this.state);this.enterRule(e,14,m.RULE_stereotype);var t=0;try{this.state=217,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,27,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=204,this.match(m.SOPEN),this.state=205,this.name(),this.state=206,this.match(m.SCLOSE);break;case 2:this.enterOuterAlt(e,2),this.state=208,this.match(m.SOPEN),this.state=209,this.name(),this.state=211,this._errHandler.sync(this),t=this._input.LA(1),t===16&&(this.state=210,this.match(m.GT));break;case 3:this.enterOuterAlt(e,3),this.state=213,t=this._input.LA(1),t===8||t===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=215,this._errHandler.sync(this),t=this._input.LA(1),(t===9||t===16)&&(this.state=214,t=this._input.LA(1),t===9||t===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}label(){let e=new ra(this,this._ctx,this.state);this.enterRule(e,16,m.RULE_label);try{this.state=222,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,28,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=219,this.match(m.AS),this.state=220,this.name();break;case 2:this.enterOuterAlt(e,2),this.state=221,this.match(m.AS);break}}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}participantType(){let e=new ia(this,this._ctx,this.state);this.enterRule(e,18,m.RULE_participantType);try{this.enterOuterAlt(e,1),this.state=224,this.match(m.ANNOTATION)}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}name(){let e=new Ss(this,this._ctx,this.state);this.enterRule(e,20,m.RULE_name);var t=0;try{this.enterOuterAlt(e,1),this.state=226,t=this._input.LA(1),t===54||t===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}width(){let e=new oa(this,this._ctx,this.state);this.enterRule(e,22,m.RULE_width);try{this.enterOuterAlt(e,1),this.state=228,this.match(m.INT)}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}block(){let e=new Ii(this,this._ctx,this.state);this.enterRule(e,24,m.RULE_block);var t=0;try{this.enterOuterAlt(e,1),this.state=231,this._errHandler.sync(this),t=this._input.LA(1);do this.state=230,this.stat(),this.state=233,this._errHandler.sync(this),t=this._input.LA(1);while((t-34&-32)==0&&(1<<t-34&217191919)!==0)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}ret(){let e=new aa(this,this._ctx,this.state);this.enterRule(e,26,m.RULE_ret);var t=0;try{switch(this.state=247,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(e,1),this.state=235,this.match(m.RETURN),this.state=237,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,30,this._ctx);s===1&&(this.state=236,this.expr(0)),this.state=240,this._errHandler.sync(this),t=this._input.LA(1),t===27&&(this.state=239,this.match(m.SCOL));break;case 51:this.enterOuterAlt(e,2),this.state=242,this.match(m.ANNOTATION_RET),this.state=243,this.asyncMessage(),this.state=245,this._errHandler.sync(this),t=this._input.LA(1),t===63&&(this.state=244,this.match(m.EVENT_END));break;default:throw new L.error.NoViableAltException(this)}}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}divider(){let e=new la(this,this._ctx,this.state);this.enterRule(e,28,m.RULE_divider);try{this.enterOuterAlt(e,1),this.state=249,this.dividerNote()}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}dividerNote(){let e=new ca(this,this._ctx,this.state);this.enterRule(e,30,m.RULE_dividerNote);try{this.enterOuterAlt(e,1),this.state=251,this.match(m.DIVIDER)}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}stat(){let e=new Pi(this,this._ctx,this.state);this.enterRule(e,32,m.RULE_stat);var t=0;try{this.state=268,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,35,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=253,this.alt();break;case 2:this.enterOuterAlt(e,2),this.state=254,this.par();break;case 3:this.enterOuterAlt(e,3),this.state=255,this.opt();break;case 4:this.enterOuterAlt(e,4),this.state=256,this.loop();break;case 5:this.enterOuterAlt(e,5),this.state=257,this.creation();break;case 6:this.enterOuterAlt(e,6),this.state=258,this.message();break;case 7:this.enterOuterAlt(e,7),this.state=259,this.asyncMessage(),this.state=261,this._errHandler.sync(this),t=this._input.LA(1),t===63&&(this.state=260,this.match(m.EVENT_END));break;case 8:this.enterOuterAlt(e,8),this.state=263,this.ret();break;case 9:this.enterOuterAlt(e,9),this.state=264,this.divider();break;case 10:this.enterOuterAlt(e,10),this.state=265,this.tcf();break;case 11:this.enterOuterAlt(e,11),this.state=266,e._OTHER=this.match(m.OTHER),console.log("unknown char: "+(e._OTHER===null?null:e._OTHER.text));break}}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}par(){let e=new ua(this,this._ctx,this.state);this.enterRule(e,34,m.RULE_par);try{this.state=273,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,36,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=270,this.match(m.PAR),this.state=271,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=272,this.match(m.PAR);break}}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}opt(){let e=new ha(this,this._ctx,this.state);this.enterRule(e,36,m.RULE_opt);try{this.state=278,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,37,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=275,this.match(m.OPT),this.state=276,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=277,this.match(m.OPT);break}}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}creation(){let e=new Mi(this,this._ctx,this.state);this.enterRule(e,38,m.RULE_creation);try{this.enterOuterAlt(e,1),this.state=280,this.creationBody(),this.state=283,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,38,this._ctx);t===1?(this.state=281,this.match(m.SCOL)):t===2&&(this.state=282,this.braceBlock())}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}creationBody(){let e=new fa(this,this._ctx,this.state);this.enterRule(e,40,m.RULE_creationBody);var t=0;try{this.state=301,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,43,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=286,this._errHandler.sync(this),t=this._input.LA(1),(t-34&-32)==0&&(1<<t-34&15728647)!==0&&(this.state=285,this.assignment()),this.state=288,this.match(m.NEW),this.state=289,this.construct(),this.state=295,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,41,this._ctx);s===1&&(this.state=290,this.match(m.OPAR),this.state=292,this._errHandler.sync(this),t=this._input.LA(1),((t&-32)==0&&(1<<t&1142947840)!==0||(t-34&-32)==0&&(1<<t-34&15728775)!==0)&&(this.state=291,this.parameters()),this.state=294,this.match(m.CPAR));break;case 2:this.enterOuterAlt(e,2),this.state=298,this._errHandler.sync(this),t=this._input.LA(1),(t-34&-32)==0&&(1<<t-34&15728647)!==0&&(this.state=297,this.assignment()),this.state=300,this.match(m.NEW);break}}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}message(){let e=new da(this,this._ctx,this.state);this.enterRule(e,42,m.RULE_message);try{switch(this.enterOuterAlt(e,1),this.state=303,this.messageBody(),this.state=306,this._errHandler.sync(this),this._input.LA(1)){case 27:this.state=304,this.match(m.SCOL);break;case 32:this.state=305,this.braceBlock();break;case-1:case 33:case 34:case 35:case 36:case 37:case 39:case 40:case 41:case 42:case 44:case 46:case 51:case 54:case 55:case 56:case 57:case 60:case 61:break;default:break}}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}messageBody(){let e=new pa(this,this._ctx,this.state);this.enterRule(e,44,m.RULE_messageBody);try{this.state=331,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,49,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=309,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,45,this._ctx);t===1&&(this.state=308,this.assignment()),this.state=319,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,47,this._ctx);if(t===1){this.state=314,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,46,this._ctx);t===1&&(this.state=311,this.from(),this.state=312,this.match(m.ARROW)),this.state=316,this.to(),this.state=317,this.match(m.DOT)}this.state=321,this.func();break;case 2:this.enterOuterAlt(e,2),this.state=322,this.assignment();break;case 3:this.enterOuterAlt(e,3),this.state=326,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,48,this._ctx);t===1&&(this.state=323,this.from(),this.state=324,this.match(m.ARROW)),this.state=328,this.to(),this.state=329,this.match(m.DOT);break}}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}func(){let e=new Di(this,this._ctx,this.state);this.enterRule(e,46,m.RULE_func);try{this.enterOuterAlt(e,1),this.state=333,this.signature(),this.state=338,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,50,this._ctx);t!=2&&t!=L.atn.ATN.INVALID_ALT_NUMBER;)t===1&&(this.state=334,this.match(m.DOT),this.state=335,this.signature()),this.state=340,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}from(){let e=new Fi(this,this._ctx,this.state);this.enterRule(e,48,m.RULE_from);var t=0;try{this.enterOuterAlt(e,1),this.state=341,t=this._input.LA(1),t===54||t===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}to(){let e=new xr(this,this._ctx,this.state);this.enterRule(e,50,m.RULE_to);var t=0;try{this.enterOuterAlt(e,1),this.state=343,t=this._input.LA(1),t===54||t===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}signature(){let e=new $i(this,this._ctx,this.state);this.enterRule(e,52,m.RULE_signature);try{this.enterOuterAlt(e,1),this.state=345,this.methodName(),this.state=347,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,51,this._ctx);t===1&&(this.state=346,this.invocation())}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}invocation(){let e=new Bi(this,this._ctx,this.state);this.enterRule(e,54,m.RULE_invocation);var t=0;try{this.enterOuterAlt(e,1),this.state=349,this.match(m.OPAR),this.state=351,this._errHandler.sync(this),t=this._input.LA(1),((t&-32)==0&&(1<<t&1142947840)!==0||(t-34&-32)==0&&(1<<t-34&15728775)!==0)&&(this.state=350,this.parameters()),this.state=353,this.match(m.CPAR)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}assignment(){let e=new mr(this,this._ctx,this.state);this.enterRule(e,56,m.RULE_assignment);try{this.enterOuterAlt(e,1),this.state=356,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,53,this._ctx);t===1&&(this.state=355,this.type()),this.state=358,this.assignee(),this.state=359,this.match(m.ASSIGN)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}asyncMessage(){let e=new Ui(this,this._ctx,this.state);this.enterRule(e,58,m.RULE_asyncMessage);var t=0;try{this.state=375,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,56,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=364,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,54,this._ctx);s===1&&(this.state=361,this.from(),this.state=362,this.match(m.ARROW)),this.state=366,this.to(),this.state=367,this.match(m.COL),this.state=368,this.content();break;case 2:this.enterOuterAlt(e,2),this.state=370,this.from(),this.state=371,t=this._input.LA(1),t===10||t===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=373,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,55,this._ctx);s===1&&(this.state=372,this.to());break}}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}content(){let e=new ga(this,this._ctx,this.state);this.enterRule(e,60,m.RULE_content);try{this.enterOuterAlt(e,1),this.state=377,this.match(m.EVENT_PAYLOAD_LXR)}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}construct(){let e=new xa(this,this._ctx,this.state);this.enterRule(e,62,m.RULE_construct);var t=0;try{this.enterOuterAlt(e,1),this.state=379,t=this._input.LA(1),t===54||t===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}type(){let e=new Vi(this,this._ctx,this.state);this.enterRule(e,64,m.RULE_type);var t=0;try{this.enterOuterAlt(e,1),this.state=381,t=this._input.LA(1),t===54||t===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}assignee(){let e=new ma(this,this._ctx,this.state);this.enterRule(e,66,m.RULE_assignee);var t=0;try{this.state=393,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,58,this._ctx);switch(s){case 1:this.enterOuterAlt(e,1),this.state=383,this.atom();break;case 2:for(this.enterOuterAlt(e,2),this.state=384,this.match(m.ID),this.state=389,this._errHandler.sync(this),t=this._input.LA(1);t===28;)this.state=385,this.match(m.COMMA),this.state=386,this.match(m.ID),this.state=391,this._errHandler.sync(this),t=this._input.LA(1);break;case 3:this.enterOuterAlt(e,3),this.state=392,this.match(m.STRING);break}}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}methodName(){let e=new La(this,this._ctx,this.state);this.enterRule(e,68,m.RULE_methodName);var t=0;try{this.enterOuterAlt(e,1),this.state=395,t=this._input.LA(1),t===54||t===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}parameters(){let e=new Hi(this,this._ctx,this.state);this.enterRule(e,70,m.RULE_parameters);var t=0;try{this.enterOuterAlt(e,1),this.state=397,this.parameter(),this.state=402,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,59,this._ctx);s!=2&&s!=L.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=398,this.match(m.COMMA),this.state=399,this.parameter()),this.state=404,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,59,this._ctx);this.state=406,this._errHandler.sync(this),t=this._input.LA(1),t===28&&(this.state=405,this.match(m.COMMA))}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}parameter(){let e=new Gi(this,this._ctx,this.state);this.enterRule(e,72,m.RULE_parameter);try{this.state=410,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,61,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=408,this.declaration();break;case 2:this.enterOuterAlt(e,2),this.state=409,this.expr(0);break}}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}declaration(){let e=new _a(this,this._ctx,this.state);this.enterRule(e,74,m.RULE_declaration);try{this.enterOuterAlt(e,1),this.state=412,this.type(),this.state=413,this.match(m.ID)}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}tcf(){let e=new ya(this,this._ctx,this.state);this.enterRule(e,76,m.RULE_tcf);var t=0;try{for(this.enterOuterAlt(e,1),this.state=415,this.tryBlock(),this.state=419,this._errHandler.sync(this),t=this._input.LA(1);t===47;)this.state=416,this.catchBlock(),this.state=421,this._errHandler.sync(this),t=this._input.LA(1);this.state=423,this._errHandler.sync(this),t=this._input.LA(1),t===48&&(this.state=422,this.finallyBlock())}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}tryBlock(){let e=new Ca(this,this._ctx,this.state);this.enterRule(e,78,m.RULE_tryBlock);try{this.enterOuterAlt(e,1),this.state=425,this.match(m.TRY),this.state=426,this.braceBlock()}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}catchBlock(){let e=new ji(this,this._ctx,this.state);this.enterRule(e,80,m.RULE_catchBlock);var t=0;try{this.enterOuterAlt(e,1),this.state=428,this.match(m.CATCH),this.state=430,this._errHandler.sync(this),t=this._input.LA(1),t===30&&(this.state=429,this.invocation()),this.state=432,this.braceBlock()}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}finallyBlock(){let e=new Ea(this,this._ctx,this.state);this.enterRule(e,82,m.RULE_finallyBlock);try{this.enterOuterAlt(e,1),this.state=434,this.match(m.FINALLY),this.state=435,this.braceBlock()}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}alt(){let e=new ba(this,this._ctx,this.state);this.enterRule(e,84,m.RULE_alt);var t=0;try{this.enterOuterAlt(e,1),this.state=437,this.ifBlock(),this.state=441,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,65,this._ctx);s!=2&&s!=L.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=438,this.elseIfBlock()),this.state=443,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,65,this._ctx);this.state=445,this._errHandler.sync(this),t=this._input.LA(1),t===38&&(this.state=444,this.elseBlock())}catch(r){if(r instanceof L.error.RecognitionException)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}ifBlock(){let e=new va(this,this._ctx,this.state);this.enterRule(e,86,m.RULE_ifBlock);try{this.enterOuterAlt(e,1),this.state=447,this.match(m.IF),this.state=448,this.parExpr(),this.state=449,this.braceBlock()}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}elseIfBlock(){let e=new zi(this,this._ctx,this.state);this.enterRule(e,88,m.RULE_elseIfBlock);try{this.enterOuterAlt(e,1),this.state=451,this.match(m.ELSE),this.state=452,this.match(m.IF),this.state=453,this.parExpr(),this.state=454,this.braceBlock()}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}elseBlock(){let e=new wa(this,this._ctx,this.state);this.enterRule(e,90,m.RULE_elseBlock);try{this.enterOuterAlt(e,1),this.state=456,this.match(m.ELSE),this.state=457,this.braceBlock()}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}braceBlock(){let e=new vt(this,this._ctx,this.state);this.enterRule(e,92,m.RULE_braceBlock);var t=0;try{this.enterOuterAlt(e,1),this.state=459,this.match(m.OBRACE),this.state=461,this._errHandler.sync(this),t=this._input.LA(1),(t-34&-32)==0&&(1<<t-34&217191919)!==0&&(this.state=460,this.block()),this.state=463,this.match(m.CBRACE)}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}loop(){let e=new Ta(this,this._ctx,this.state);this.enterRule(e,94,m.RULE_loop);try{this.state=472,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,68,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=465,this.match(m.WHILE),this.state=466,this.parExpr(),this.state=467,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=469,this.match(m.WHILE),this.state=470,this.parExpr();break;case 3:this.enterOuterAlt(e,3),this.state=471,this.match(m.WHILE);break}}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}expr(e){e===void 0&&(e=0);const t=this._ctx,s=this.state;let r=new re(this,this._ctx,s),i=r;const o=96;this.enterRecursionRule(r,96,m.RULE_expr,e);var a=0;try{this.enterOuterAlt(r,1),this.state=494,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,70,this._ctx);switch(l){case 1:r=new su(this,r),this._ctx=r,i=r,this.state=475,this.atom();break;case 2:r=new cu(this,r),this._ctx=r,i=r,this.state=476,this.match(m.MINUS),this.state=477,this.expr(13);break;case 3:r=new lu(this,r),this._ctx=r,i=r,this.state=478,this.match(m.NOT),this.state=479,this.expr(12);break;case 4:r=new nu(this,r),this._ctx=r,i=r,this.state=483,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,69,this._ctx);l===1&&(this.state=480,this.to(),this.state=481,this.match(m.DOT)),this.state=485,this.func();break;case 5:r=new uu(this,r),this._ctx=r,i=r,this.state=486,this.creation();break;case 6:r=new hu(this,r),this._ctx=r,i=r,this.state=487,this.match(m.OPAR),this.state=488,this.expr(0),this.state=489,this.match(m.CPAR);break;case 7:r=new tu(this,r),this._ctx=r,i=r,this.state=491,this.assignment(),this.state=492,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=519,this._errHandler.sync(this);for(var c=this._interp.adaptivePredict(this._input,72,this._ctx);c!=2&&c!=L.atn.ATN.INVALID_ALT_NUMBER;){if(c===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),i=r,this.state=517,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,71,this._ctx);switch(l){case 1:if(r=new fu(this,new re(this,t,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=496,!this.precpred(this._ctx,11))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=497,r.op=this._input.LT(1),a=this._input.LA(1),(a&-32)==0&&(1<<a&29360128)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=498,this.expr(12);break;case 2:if(r=new iu(this,new re(this,t,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=499,!this.precpred(this._ctx,10))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=500,r.op=this._input.LT(1),a=this._input.LA(1),a===20||a===21?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=501,this.expr(11);break;case 3:if(r=new ou(this,new re(this,t,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=502,!this.precpred(this._ctx,9))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=503,r.op=this._input.LT(1),a=this._input.LA(1),(a&-32)==0&&(1<<a&983040)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=504,this.expr(10);break;case 4:if(r=new du(this,new re(this,t,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=505,!this.precpred(this._ctx,8))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=506,r.op=this._input.LT(1),a=this._input.LA(1),a===14||a===15?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=507,this.expr(9);break;case 5:if(r=new pu(this,new re(this,t,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=508,!this.precpred(this._ctx,7))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=509,this.match(m.AND),this.state=510,this.expr(8);break;case 6:if(r=new ru(this,new re(this,t,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=511,!this.precpred(this._ctx,6))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=512,this.match(m.OR),this.state=513,this.expr(7);break;case 7:if(r=new au(this,new re(this,t,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=514,!this.precpred(this._ctx,5))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=515,this.match(m.PLUS),this.state=516,this.expr(6);break}}this.state=521,this._errHandler.sync(this),c=this._interp.adaptivePredict(this._input,72,this._ctx)}}catch(u){if(u instanceof L.error.RecognitionException)r.exception=u,this._errHandler.reportError(this,u),this._errHandler.recover(this,u);else throw u}finally{this.unrollRecursionContexts(t)}return r}atom(){let e=new sn(this,this._ctx,this.state);this.enterRule(e,98,m.RULE_atom);var t=0;try{switch(this.state=527,this._errHandler.sync(this),this._input.LA(1)){case 55:case 56:e=new _u(this,e),this.enterOuterAlt(e,1),this.state=522,t=this._input.LA(1),t===55||t===56?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 34:case 35:e=new gu(this,e),this.enterOuterAlt(e,2),this.state=523,t=this._input.LA(1),t===34||t===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 54:e=new xu(this,e),this.enterOuterAlt(e,3),this.state=524,this.match(m.ID);break;case 57:e=new mu(this,e),this.enterOuterAlt(e,4),this.state=525,this.match(m.STRING);break;case 36:e=new Lu(this,e),this.enterOuterAlt(e,5),this.state=526,this.match(m.NIL);break;default:throw new L.error.NoViableAltException(this)}}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}parExpr(){let e=new Lr(this,this._ctx,this.state);this.enterRule(e,100,m.RULE_parExpr);try{this.state=538,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,74,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=529,this.match(m.OPAR),this.state=530,this.condition(),this.state=531,this.match(m.CPAR);break;case 2:this.enterOuterAlt(e,2),this.state=533,this.match(m.OPAR),this.state=534,this.condition();break;case 3:this.enterOuterAlt(e,3),this.state=535,this.match(m.OPAR),this.state=536,this.match(m.CPAR);break;case 4:this.enterOuterAlt(e,4),this.state=537,this.match(m.OPAR);break}}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}condition(){let e=new Aa(this,this._ctx,this.state);this.enterRule(e,102,m.RULE_condition);try{this.state=543,this._errHandler.sync(this);var t=this._interp.adaptivePredict(this._input,75,this._ctx);switch(t){case 1:this.enterOuterAlt(e,1),this.state=540,this.atom();break;case 2:this.enterOuterAlt(e,2),this.state=541,this.expr(0);break;case 3:this.enterOuterAlt(e,3),this.state=542,this.inExpr();break}}catch(s){if(s instanceof L.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}inExpr(){let e=new Sa(this,this._ctx,this.state);this.enterRule(e,104,m.RULE_inExpr);try{this.enterOuterAlt(e,1),this.state=545,this.match(m.ID),this.state=546,this.match(m.IN),this.state=547,this.match(m.ID)}catch(t){if(t instanceof L.error.RecognitionException)e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t);else throw t}finally{this.exitRule()}return e}};let h=m;U(h,"grammarFileName","java-escape"),U(h,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),U(h,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),U(h,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","creation","creationBody","message","messageBody","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr"]),h.EOF=L.Token.EOF,h.WS=1,h.CONSTANT=2,h.READONLY=3,h.STATIC=4,h.AWAIT=5,h.TITLE=6,h.COL=7,h.SOPEN=8,h.SCLOSE=9,h.ARROW=10,h.COLOR=11,h.OR=12,h.AND=13,h.EQ=14,h.NEQ=15,h.GT=16,h.LT=17,h.GTEQ=18,h.LTEQ=19,h.PLUS=20,h.MINUS=21,h.MULT=22,h.DIV=23,h.MOD=24,h.POW=25,h.NOT=26,h.SCOL=27,h.COMMA=28,h.ASSIGN=29,h.OPAR=30,h.CPAR=31,h.OBRACE=32,h.CBRACE=33,h.TRUE=34,h.FALSE=35,h.NIL=36,h.IF=37,h.ELSE=38,h.WHILE=39,h.RETURN=40,h.NEW=41,h.PAR=42,h.GROUP=43,h.OPT=44,h.AS=45,h.TRY=46,h.CATCH=47,h.FINALLY=48,h.IN=49,h.STARTER_LXR=50,h.ANNOTATION_RET=51,h.ANNOTATION=52,h.DOT=53,h.ID=54,h.INT=55,h.FLOAT=56,h.STRING=57,h.CR=58,h.COMMENT=59,h.OTHER=60,h.DIVIDER=61,h.EVENT_PAYLOAD_LXR=62,h.EVENT_END=63,h.TITLE_CONTENT=64,h.TITLE_END=65,h.RULE_prog=0,h.RULE_title=1,h.RULE_head=2,h.RULE_group=3,h.RULE_starterExp=4,h.RULE_starter=5,h.RULE_participant=6,h.RULE_stereotype=7,h.RULE_label=8,h.RULE_participantType=9,h.RULE_name=10,h.RULE_width=11,h.RULE_block=12,h.RULE_ret=13,h.RULE_divider=14,h.RULE_dividerNote=15,h.RULE_stat=16,h.RULE_par=17,h.RULE_opt=18,h.RULE_creation=19,h.RULE_creationBody=20,h.RULE_message=21,h.RULE_messageBody=22,h.RULE_func=23,h.RULE_from=24,h.RULE_to=25,h.RULE_signature=26,h.RULE_invocation=27,h.RULE_assignment=28,h.RULE_asyncMessage=29,h.RULE_content=30,h.RULE_construct=31,h.RULE_type=32,h.RULE_assignee=33,h.RULE_methodName=34,h.RULE_parameters=35,h.RULE_parameter=36,h.RULE_declaration=37,h.RULE_tcf=38,h.RULE_tryBlock=39,h.RULE_catchBlock=40,h.RULE_finallyBlock=41,h.RULE_alt=42,h.RULE_ifBlock=43,h.RULE_elseIfBlock=44,h.RULE_elseBlock=45,h.RULE_braceBlock=46,h.RULE_loop=47,h.RULE_expr=48,h.RULE_atom=49,h.RULE_parExpr=50,h.RULE_condition=51,h.RULE_inExpr=52;class eu extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_prog}EOF(){return this.getToken(h.EOF,0)}title(){return this.getTypedRuleContext(J1,0)}head(){return this.getTypedRuleContext(ea,0)}block(){return this.getTypedRuleContext(Ii,0)}enterRule(e){e instanceof _&&e.enterProg(this)}exitRule(e){e instanceof _&&e.exitProg(this)}}class J1 extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_title}TITLE(){return this.getToken(h.TITLE,0)}TITLE_CONTENT(){return this.getToken(h.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(h.TITLE_END,0)}enterRule(e){e instanceof _&&e.enterTitle(this)}exitRule(e){e instanceof _&&e.exitTitle(this)}}class ea extends L.ParserRuleContext{constructor(t,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);U(this,"group",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(Ni):this.getTypedRuleContext(Ni,t)});U(this,"participant",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(As):this.getTypedRuleContext(As,t)});this.parser=t,this.ruleIndex=h.RULE_head}starterExp(){return this.getTypedRuleContext(ta,0)}enterRule(t){t instanceof _&&t.enterHead(this)}exitRule(t){t instanceof _&&t.exitHead(this)}}class Ni extends L.ParserRuleContext{constructor(t,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);U(this,"participant",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(As):this.getTypedRuleContext(As,t)});this.parser=t,this.ruleIndex=h.RULE_group}GROUP(){return this.getToken(h.GROUP,0)}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}name(){return this.getTypedRuleContext(Ss,0)}enterRule(t){t instanceof _&&t.enterGroup(this)}exitRule(t){t instanceof _&&t.exitGroup(this)}}class ta extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_starterExp}STARTER_LXR(){return this.getToken(h.STARTER_LXR,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}starter(){return this.getTypedRuleContext(na,0)}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(e){e instanceof _&&e.enterStarterExp(this)}exitRule(e){e instanceof _&&e.exitStarterExp(this)}}class na extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_starter}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof _&&e.enterStarter(this)}exitRule(e){e instanceof _&&e.exitStarter(this)}}class As extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_participant}name(){return this.getTypedRuleContext(Ss,0)}participantType(){return this.getTypedRuleContext(ia,0)}stereotype(){return this.getTypedRuleContext(sa,0)}width(){return this.getTypedRuleContext(oa,0)}label(){return this.getTypedRuleContext(ra,0)}COLOR(){return this.getToken(h.COLOR,0)}enterRule(e){e instanceof _&&e.enterParticipant(this)}exitRule(e){e instanceof _&&e.exitParticipant(this)}}class sa extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_stereotype}SOPEN(){return this.getToken(h.SOPEN,0)}name(){return this.getTypedRuleContext(Ss,0)}SCLOSE(){return this.getToken(h.SCLOSE,0)}GT(){return this.getToken(h.GT,0)}LT(){return this.getToken(h.LT,0)}enterRule(e){e instanceof _&&e.enterStereotype(this)}exitRule(e){e instanceof _&&e.exitStereotype(this)}}class ra extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_label}AS(){return this.getToken(h.AS,0)}name(){return this.getTypedRuleContext(Ss,0)}enterRule(e){e instanceof _&&e.enterLabel(this)}exitRule(e){e instanceof _&&e.exitLabel(this)}}class ia extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_participantType}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(e){e instanceof _&&e.enterParticipantType(this)}exitRule(e){e instanceof _&&e.exitParticipantType(this)}}class Ss extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_name}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof _&&e.enterName(this)}exitRule(e){e instanceof _&&e.exitName(this)}}class oa extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_width}INT(){return this.getToken(h.INT,0)}enterRule(e){e instanceof _&&e.enterWidth(this)}exitRule(e){e instanceof _&&e.exitWidth(this)}}class Ii extends L.ParserRuleContext{constructor(t,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);U(this,"stat",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(Pi):this.getTypedRuleContext(Pi,t)});this.parser=t,this.ruleIndex=h.RULE_block}enterRule(t){t instanceof _&&t.enterBlock(this)}exitRule(t){t instanceof _&&t.exitBlock(this)}}class aa extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_ret}RETURN(){return this.getToken(h.RETURN,0)}expr(){return this.getTypedRuleContext(re,0)}SCOL(){return this.getToken(h.SCOL,0)}ANNOTATION_RET(){return this.getToken(h.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(Ui,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}enterRule(e){e instanceof _&&e.enterRet(this)}exitRule(e){e instanceof _&&e.exitRet(this)}}class la extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_divider}dividerNote(){return this.getTypedRuleContext(ca,0)}enterRule(e){e instanceof _&&e.enterDivider(this)}exitRule(e){e instanceof _&&e.exitDivider(this)}}class ca extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_dividerNote}DIVIDER(){return this.getToken(h.DIVIDER,0)}enterRule(e){e instanceof _&&e.enterDividerNote(this)}exitRule(e){e instanceof _&&e.exitDividerNote(this)}}class Pi extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_stat,this._OTHER=null}alt(){return this.getTypedRuleContext(ba,0)}par(){return this.getTypedRuleContext(ua,0)}opt(){return this.getTypedRuleContext(ha,0)}loop(){return this.getTypedRuleContext(Ta,0)}creation(){return this.getTypedRuleContext(Mi,0)}message(){return this.getTypedRuleContext(da,0)}asyncMessage(){return this.getTypedRuleContext(Ui,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}ret(){return this.getTypedRuleContext(aa,0)}divider(){return this.getTypedRuleContext(la,0)}tcf(){return this.getTypedRuleContext(ya,0)}OTHER(){return this.getToken(h.OTHER,0)}enterRule(e){e instanceof _&&e.enterStat(this)}exitRule(e){e instanceof _&&e.exitStat(this)}}class ua extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_par}PAR(){return this.getToken(h.PAR,0)}braceBlock(){return this.getTypedRuleContext(vt,0)}enterRule(e){e instanceof _&&e.enterPar(this)}exitRule(e){e instanceof _&&e.exitPar(this)}}class ha extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_opt}OPT(){return this.getToken(h.OPT,0)}braceBlock(){return this.getTypedRuleContext(vt,0)}enterRule(e){e instanceof _&&e.enterOpt(this)}exitRule(e){e instanceof _&&e.exitOpt(this)}}class Mi extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_creation}creationBody(){return this.getTypedRuleContext(fa,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(vt,0)}enterRule(e){e instanceof _&&e.enterCreation(this)}exitRule(e){e instanceof _&&e.exitCreation(this)}}class fa extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_creationBody}NEW(){return this.getToken(h.NEW,0)}construct(){return this.getTypedRuleContext(xa,0)}assignment(){return this.getTypedRuleContext(mr,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(Hi,0)}enterRule(e){e instanceof _&&e.enterCreationBody(this)}exitRule(e){e instanceof _&&e.exitCreationBody(this)}}class da extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_message}messageBody(){return this.getTypedRuleContext(pa,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(vt,0)}enterRule(e){e instanceof _&&e.enterMessage(this)}exitRule(e){e instanceof _&&e.exitMessage(this)}}class pa extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_messageBody}func(){return this.getTypedRuleContext(Di,0)}assignment(){return this.getTypedRuleContext(mr,0)}to(){return this.getTypedRuleContext(xr,0)}DOT(){return this.getToken(h.DOT,0)}from(){return this.getTypedRuleContext(Fi,0)}ARROW(){return this.getToken(h.ARROW,0)}enterRule(e){e instanceof _&&e.enterMessageBody(this)}exitRule(e){e instanceof _&&e.exitMessageBody(this)}}class Di extends L.ParserRuleContext{constructor(t,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);U(this,"signature",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts($i):this.getTypedRuleContext($i,t)});U(this,"DOT",function(t){return t===void 0&&(t=null),t===null?this.getTokens(h.DOT):this.getToken(h.DOT,t)});this.parser=t,this.ruleIndex=h.RULE_func}enterRule(t){t instanceof _&&t.enterFunc(this)}exitRule(t){t instanceof _&&t.exitFunc(this)}}class Fi extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_from}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof _&&e.enterFrom(this)}exitRule(e){e instanceof _&&e.exitFrom(this)}}class xr extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_to}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof _&&e.enterTo(this)}exitRule(e){e instanceof _&&e.exitTo(this)}}class $i extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_signature}methodName(){return this.getTypedRuleContext(La,0)}invocation(){return this.getTypedRuleContext(Bi,0)}enterRule(e){e instanceof _&&e.enterSignature(this)}exitRule(e){e instanceof _&&e.exitSignature(this)}}class Bi extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_invocation}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(Hi,0)}enterRule(e){e instanceof _&&e.enterInvocation(this)}exitRule(e){e instanceof _&&e.exitInvocation(this)}}class mr extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_assignment}assignee(){return this.getTypedRuleContext(ma,0)}ASSIGN(){return this.getToken(h.ASSIGN,0)}type(){return this.getTypedRuleContext(Vi,0)}enterRule(e){e instanceof _&&e.enterAssignment(this)}exitRule(e){e instanceof _&&e.exitAssignment(this)}}class Ui extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_asyncMessage}to(){return this.getTypedRuleContext(xr,0)}COL(){return this.getToken(h.COL,0)}content(){return this.getTypedRuleContext(ga,0)}from(){return this.getTypedRuleContext(Fi,0)}ARROW(){return this.getToken(h.ARROW,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(e){e instanceof _&&e.enterAsyncMessage(this)}exitRule(e){e instanceof _&&e.exitAsyncMessage(this)}}class ga extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(h.EVENT_PAYLOAD_LXR,0)}enterRule(e){e instanceof _&&e.enterContent(this)}exitRule(e){e instanceof _&&e.exitContent(this)}}class xa extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_construct}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof _&&e.enterConstruct(this)}exitRule(e){e instanceof _&&e.exitConstruct(this)}}class Vi extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_type}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof _&&e.enterType(this)}exitRule(e){e instanceof _&&e.exitType(this)}}class ma extends L.ParserRuleContext{constructor(t,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);U(this,"ID",function(t){return t===void 0&&(t=null),t===null?this.getTokens(h.ID):this.getToken(h.ID,t)});U(this,"COMMA",function(t){return t===void 0&&(t=null),t===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,t)});this.parser=t,this.ruleIndex=h.RULE_assignee}atom(){return this.getTypedRuleContext(sn,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof _&&t.enterAssignee(this)}exitRule(t){t instanceof _&&t.exitAssignee(this)}}class La extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_methodName}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof _&&e.enterMethodName(this)}exitRule(e){e instanceof _&&e.exitMethodName(this)}}class Hi extends L.ParserRuleContext{constructor(t,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);U(this,"parameter",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(Gi):this.getTypedRuleContext(Gi,t)});U(this,"COMMA",function(t){return t===void 0&&(t=null),t===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,t)});this.parser=t,this.ruleIndex=h.RULE_parameters}enterRule(t){t instanceof _&&t.enterParameters(this)}exitRule(t){t instanceof _&&t.exitParameters(this)}}class Gi extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_parameter}declaration(){return this.getTypedRuleContext(_a,0)}expr(){return this.getTypedRuleContext(re,0)}enterRule(e){e instanceof _&&e.enterParameter(this)}exitRule(e){e instanceof _&&e.exitParameter(this)}}class _a extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_declaration}type(){return this.getTypedRuleContext(Vi,0)}ID(){return this.getToken(h.ID,0)}enterRule(e){e instanceof _&&e.enterDeclaration(this)}exitRule(e){e instanceof _&&e.exitDeclaration(this)}}class ya extends L.ParserRuleContext{constructor(t,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);U(this,"catchBlock",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(ji):this.getTypedRuleContext(ji,t)});this.parser=t,this.ruleIndex=h.RULE_tcf}tryBlock(){return this.getTypedRuleContext(Ca,0)}finallyBlock(){return this.getTypedRuleContext(Ea,0)}enterRule(t){t instanceof _&&t.enterTcf(this)}exitRule(t){t instanceof _&&t.exitTcf(this)}}class Ca extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_tryBlock}TRY(){return this.getToken(h.TRY,0)}braceBlock(){return this.getTypedRuleContext(vt,0)}enterRule(e){e instanceof _&&e.enterTryBlock(this)}exitRule(e){e instanceof _&&e.exitTryBlock(this)}}class ji extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_catchBlock}CATCH(){return this.getToken(h.CATCH,0)}braceBlock(){return this.getTypedRuleContext(vt,0)}invocation(){return this.getTypedRuleContext(Bi,0)}enterRule(e){e instanceof _&&e.enterCatchBlock(this)}exitRule(e){e instanceof _&&e.exitCatchBlock(this)}}class Ea extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_finallyBlock}FINALLY(){return this.getToken(h.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(vt,0)}enterRule(e){e instanceof _&&e.enterFinallyBlock(this)}exitRule(e){e instanceof _&&e.exitFinallyBlock(this)}}class ba extends L.ParserRuleContext{constructor(t,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);U(this,"elseIfBlock",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(zi):this.getTypedRuleContext(zi,t)});this.parser=t,this.ruleIndex=h.RULE_alt}ifBlock(){return this.getTypedRuleContext(va,0)}elseBlock(){return this.getTypedRuleContext(wa,0)}enterRule(t){t instanceof _&&t.enterAlt(this)}exitRule(t){t instanceof _&&t.exitAlt(this)}}class va extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_ifBlock}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Lr,0)}braceBlock(){return this.getTypedRuleContext(vt,0)}enterRule(e){e instanceof _&&e.enterIfBlock(this)}exitRule(e){e instanceof _&&e.exitIfBlock(this)}}class zi extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_elseIfBlock}ELSE(){return this.getToken(h.ELSE,0)}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Lr,0)}braceBlock(){return this.getTypedRuleContext(vt,0)}enterRule(e){e instanceof _&&e.enterElseIfBlock(this)}exitRule(e){e instanceof _&&e.exitElseIfBlock(this)}}class wa extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_elseBlock}ELSE(){return this.getToken(h.ELSE,0)}braceBlock(){return this.getTypedRuleContext(vt,0)}enterRule(e){e instanceof _&&e.enterElseBlock(this)}exitRule(e){e instanceof _&&e.exitElseBlock(this)}}class vt extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_braceBlock}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}block(){return this.getTypedRuleContext(Ii,0)}enterRule(e){e instanceof _&&e.enterBraceBlock(this)}exitRule(e){e instanceof _&&e.exitBraceBlock(this)}}class Ta extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_loop}WHILE(){return this.getToken(h.WHILE,0)}parExpr(){return this.getTypedRuleContext(Lr,0)}braceBlock(){return this.getTypedRuleContext(vt,0)}enterRule(e){e instanceof _&&e.enterLoop(this)}exitRule(e){e instanceof _&&e.exitLoop(this)}}class re extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_expr}copyFrom(e){super.copyFrom(e)}}class tu extends re{constructor(e,t){super(e),super.copyFrom(t)}assignment(){return this.getTypedRuleContext(mr,0)}expr(){return this.getTypedRuleContext(re,0)}enterRule(e){e instanceof _&&e.enterAssignmentExpr(this)}exitRule(e){e instanceof _&&e.exitAssignmentExpr(this)}}h.AssignmentExprContext=tu;class nu extends re{constructor(e,t){super(e),super.copyFrom(t)}func(){return this.getTypedRuleContext(Di,0)}to(){return this.getTypedRuleContext(xr,0)}DOT(){return this.getToken(h.DOT,0)}enterRule(e){e instanceof _&&e.enterFuncExpr(this)}exitRule(e){e instanceof _&&e.exitFuncExpr(this)}}h.FuncExprContext=nu;class su extends re{constructor(e,t){super(e),super.copyFrom(t)}atom(){return this.getTypedRuleContext(sn,0)}enterRule(e){e instanceof _&&e.enterAtomExpr(this)}exitRule(e){e instanceof _&&e.exitAtomExpr(this)}}h.AtomExprContext=su;class ru extends re{constructor(t,s){super(t);U(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(re):this.getTypedRuleContext(re,t)});super.copyFrom(s)}OR(){return this.getToken(h.OR,0)}enterRule(t){t instanceof _&&t.enterOrExpr(this)}exitRule(t){t instanceof _&&t.exitOrExpr(this)}}h.OrExprContext=ru;class iu extends re{constructor(t,s){super(t);U(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(re):this.getTypedRuleContext(re,t)});this.op=null,super.copyFrom(s)}PLUS(){return this.getToken(h.PLUS,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(t){t instanceof _&&t.enterAdditiveExpr(this)}exitRule(t){t instanceof _&&t.exitAdditiveExpr(this)}}h.AdditiveExprContext=iu;class ou extends re{constructor(t,s){super(t);U(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(re):this.getTypedRuleContext(re,t)});this.op=null,super.copyFrom(s)}LTEQ(){return this.getToken(h.LTEQ,0)}GTEQ(){return this.getToken(h.GTEQ,0)}LT(){return this.getToken(h.LT,0)}GT(){return this.getToken(h.GT,0)}enterRule(t){t instanceof _&&t.enterRelationalExpr(this)}exitRule(t){t instanceof _&&t.exitRelationalExpr(this)}}h.RelationalExprContext=ou;class au extends re{constructor(t,s){super(t);U(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(re):this.getTypedRuleContext(re,t)});super.copyFrom(s)}PLUS(){return this.getToken(h.PLUS,0)}enterRule(t){t instanceof _&&t.enterPlusExpr(this)}exitRule(t){t instanceof _&&t.exitPlusExpr(this)}}h.PlusExprContext=au;class lu extends re{constructor(e,t){super(e),super.copyFrom(t)}NOT(){return this.getToken(h.NOT,0)}expr(){return this.getTypedRuleContext(re,0)}enterRule(e){e instanceof _&&e.enterNotExpr(this)}exitRule(e){e instanceof _&&e.exitNotExpr(this)}}h.NotExprContext=lu;class cu extends re{constructor(e,t){super(e),super.copyFrom(t)}MINUS(){return this.getToken(h.MINUS,0)}expr(){return this.getTypedRuleContext(re,0)}enterRule(e){e instanceof _&&e.enterUnaryMinusExpr(this)}exitRule(e){e instanceof _&&e.exitUnaryMinusExpr(this)}}h.UnaryMinusExprContext=cu;class uu extends re{constructor(e,t){super(e),super.copyFrom(t)}creation(){return this.getTypedRuleContext(Mi,0)}enterRule(e){e instanceof _&&e.enterCreationExpr(this)}exitRule(e){e instanceof _&&e.exitCreationExpr(this)}}h.CreationExprContext=uu;class hu extends re{constructor(e,t){super(e),super.copyFrom(t)}OPAR(){return this.getToken(h.OPAR,0)}expr(){return this.getTypedRuleContext(re,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(e){e instanceof _&&e.enterParenthesizedExpr(this)}exitRule(e){e instanceof _&&e.exitParenthesizedExpr(this)}}h.ParenthesizedExprContext=hu;class fu extends re{constructor(t,s){super(t);U(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(re):this.getTypedRuleContext(re,t)});this.op=null,super.copyFrom(s)}MULT(){return this.getToken(h.MULT,0)}DIV(){return this.getToken(h.DIV,0)}MOD(){return this.getToken(h.MOD,0)}enterRule(t){t instanceof _&&t.enterMultiplicationExpr(this)}exitRule(t){t instanceof _&&t.exitMultiplicationExpr(this)}}h.MultiplicationExprContext=fu;class du extends re{constructor(t,s){super(t);U(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(re):this.getTypedRuleContext(re,t)});this.op=null,super.copyFrom(s)}EQ(){return this.getToken(h.EQ,0)}NEQ(){return this.getToken(h.NEQ,0)}enterRule(t){t instanceof _&&t.enterEqualityExpr(this)}exitRule(t){t instanceof _&&t.exitEqualityExpr(this)}}h.EqualityExprContext=du;class pu extends re{constructor(t,s){super(t);U(this,"expr",function(t){return t===void 0&&(t=null),t===null?this.getTypedRuleContexts(re):this.getTypedRuleContext(re,t)});super.copyFrom(s)}AND(){return this.getToken(h.AND,0)}enterRule(t){t instanceof _&&t.enterAndExpr(this)}exitRule(t){t instanceof _&&t.exitAndExpr(this)}}h.AndExprContext=pu;class sn extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_atom}copyFrom(e){super.copyFrom(e)}}class gu extends sn{constructor(e,t){super(e),super.copyFrom(t)}TRUE(){return this.getToken(h.TRUE,0)}FALSE(){return this.getToken(h.FALSE,0)}enterRule(e){e instanceof _&&e.enterBooleanAtom(this)}exitRule(e){e instanceof _&&e.exitBooleanAtom(this)}}h.BooleanAtomContext=gu;class xu extends sn{constructor(e,t){super(e),super.copyFrom(t)}ID(){return this.getToken(h.ID,0)}enterRule(e){e instanceof _&&e.enterIdAtom(this)}exitRule(e){e instanceof _&&e.exitIdAtom(this)}}h.IdAtomContext=xu;class mu extends sn{constructor(e,t){super(e),super.copyFrom(t)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof _&&e.enterStringAtom(this)}exitRule(e){e instanceof _&&e.exitStringAtom(this)}}h.StringAtomContext=mu;class Lu extends sn{constructor(e,t){super(e),super.copyFrom(t)}NIL(){return this.getToken(h.NIL,0)}enterRule(e){e instanceof _&&e.enterNilAtom(this)}exitRule(e){e instanceof _&&e.exitNilAtom(this)}}h.NilAtomContext=Lu;class _u extends sn{constructor(e,t){super(e),super.copyFrom(t)}INT(){return this.getToken(h.INT,0)}FLOAT(){return this.getToken(h.FLOAT,0)}enterRule(e){e instanceof _&&e.enterNumberAtom(this)}exitRule(e){e instanceof _&&e.exitNumberAtom(this)}}h.NumberAtomContext=_u;class Lr extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_parExpr}OPAR(){return this.getToken(h.OPAR,0)}condition(){return this.getTypedRuleContext(Aa,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(e){e instanceof _&&e.enterParExpr(this)}exitRule(e){e instanceof _&&e.exitParExpr(this)}}class Aa extends L.ParserRuleContext{constructor(e,t,s){t===void 0&&(t=null),s==null&&(s=-1),super(t,s),this.parser=e,this.ruleIndex=h.RULE_condition}atom(){return this.getTypedRuleContext(sn,0)}expr(){return this.getTypedRuleContext(re,0)}inExpr(){return this.getTypedRuleContext(Sa,0)}enterRule(e){e instanceof _&&e.enterCondition(this)}exitRule(e){e instanceof _&&e.exitCondition(this)}}class Sa extends L.ParserRuleContext{constructor(t,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);U(this,"ID",function(t){return t===void 0&&(t=null),t===null?this.getTokens(h.ID):this.getToken(h.ID,t)});this.parser=t,this.ruleIndex=h.RULE_inExpr}IN(){return this.getToken(h.IN,0)}enterRule(t){t instanceof _&&t.enterInExpr(this)}exitRule(t){t instanceof _&&t.exitInExpr(this)}}h.ProgContext=eu,h.TitleContext=J1,h.HeadContext=ea,h.GroupContext=Ni,h.StarterExpContext=ta,h.StarterContext=na,h.ParticipantContext=As,h.StereotypeContext=sa,h.LabelContext=ra,h.ParticipantTypeContext=ia,h.NameContext=Ss,h.WidthContext=oa,h.BlockContext=Ii,h.RetContext=aa,h.DividerContext=la,h.DividerNoteContext=ca,h.StatContext=Pi,h.ParContext=ua,h.OptContext=ha,h.CreationContext=Mi,h.CreationBodyContext=fa,h.MessageContext=da,h.MessageBodyContext=pa,h.FuncContext=Di,h.FromContext=Fi,h.ToContext=xr,h.SignatureContext=$i,h.InvocationContext=Bi,h.AssignmentContext=mr,h.AsyncMessageContext=Ui,h.ContentContext=ga,h.ConstructContext=xa,h.TypeContext=Vi,h.AssigneeContext=ma,h.MethodNameContext=La,h.ParametersContext=Hi,h.ParameterContext=Gi,h.DeclarationContext=_a,h.TcfContext=ya,h.TryBlockContext=Ca,h.CatchBlockContext=ji,h.FinallyBlockContext=Ea,h.AltContext=ba,h.IfBlockContext=va,h.ElseIfBlockContext=zi,h.ElseBlockContext=wa,h.BraceBlockContext=vt,h.LoopContext=Ta,h.ExprContext=re,h.AtomContext=sn,h.ParExprContext=Lr,h.ConditionContext=Aa,h.InExprContext=Sa;function C5(){this.__data__=[],this.size=0}var E5=C5;function b5(n,e){return n===e||n!==n&&e!==e}var Zi=b5,v5=Zi;function w5(n,e){for(var t=n.length;t--;)if(v5(n[t][0],e))return t;return-1}var qi=w5,T5=qi,A5=Array.prototype,S5=A5.splice;function R5(n){var e=this.__data__,t=T5(e,n);if(t<0)return!1;var s=e.length-1;return t==s?e.pop():S5.call(e,t,1),--this.size,!0}var k5=R5,O5=qi;function N5(n){var e=this.__data__,t=O5(e,n);return t<0?void 0:e[t][1]}var I5=N5,P5=qi;function M5(n){return P5(this.__data__,n)>-1}var D5=M5,F5=qi;function $5(n,e){var t=this.__data__,s=F5(t,n);return s<0?(++this.size,t.push([n,e])):t[s][1]=e,this}var B5=$5,U5=E5,V5=k5,H5=I5,G5=D5,j5=B5;function Rs(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var s=n[e];this.set(s[0],s[1])}}Rs.prototype.clear=U5,Rs.prototype.delete=V5,Rs.prototype.get=H5,Rs.prototype.has=G5,Rs.prototype.set=j5;var Wi=Rs,z5=Wi;function Z5(){this.__data__=new z5,this.size=0}var q5=Z5;function W5(n){var e=this.__data__,t=e.delete(n);return this.size=e.size,t}var K5=W5;function Y5(n){return this.__data__.get(n)}var X5=Y5;function Q5(n){return this.__data__.has(n)}var J5=Q5,ep=ts,tp=ep.Symbol,yu=tp,Cu=yu,Eu=Object.prototype,np=Eu.hasOwnProperty,sp=Eu.toString,_r=Cu?Cu.toStringTag:void 0;function rp(n){var e=np.call(n,_r),t=n[_r];try{n[_r]=void 0;var s=!0}catch{}var r=sp.call(n);return s&&(e?n[_r]=t:delete n[_r]),r}var ip=rp,op=Object.prototype,ap=op.toString;function lp(n){return ap.call(n)}var cp=lp,bu=yu,up=ip,hp=cp,fp="[object Null]",dp="[object Undefined]",vu=bu?bu.toStringTag:void 0;function pp(n){return n==null?n===void 0?dp:fp:vu&&vu in Object(n)?up(n):hp(n)}var Ki=pp;function gp(n){var e=typeof n;return n!=null&&(e=="object"||e=="function")}var is=gp,xp=Ki,mp=is,Lp="[object AsyncFunction]",_p="[object Function]",yp="[object GeneratorFunction]",Cp="[object Proxy]";function Ep(n){if(!mp(n))return!1;var e=xp(n);return e==_p||e==yp||e==Lp||e==Cp}var Ra=Ep,bp=ts,vp=bp["__core-js_shared__"],wp=vp,ka=wp,wu=function(){var n=/[^.]+$/.exec(ka&&ka.keys&&ka.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function Tp(n){return!!wu&&wu in n}var Ap=Tp,Sp=Function.prototype,Rp=Sp.toString;function kp(n){if(n!=null){try{return Rp.call(n)}catch{}try{return n+""}catch{}}return""}var Op=kp,Np=Ra,Ip=Ap,Pp=is,Mp=Op,Dp=/[\\^$.*+?()[\]{}|]/g,Fp=/^\[object .+?Constructor\]$/,$p=Function.prototype,Bp=Object.prototype,Up=$p.toString,Vp=Bp.hasOwnProperty,Hp=RegExp("^"+Up.call(Vp).replace(Dp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Gp(n){if(!Pp(n)||Ip(n))return!1;var e=Np(n)?Hp:Fp;return e.test(Mp(n))}var jp=Gp;function zp(n,e){return n==null?void 0:n[e]}var Zp=zp,qp=jp,Wp=Zp;function Kp(n,e){var t=Wp(n,e);return qp(t)?t:void 0}var Oa=Kp,Yp=Oa,Xp=ts,Qp=Yp(Xp,"Map"),Tu=Qp,Jp=Oa,e9=Jp(Object,"create"),Yi=e9,Au=Yi;function t9(){this.__data__=Au?Au(null):{},this.size=0}var n9=t9;function s9(n){var e=this.has(n)&&delete this.__data__[n];return this.size-=e?1:0,e}var r9=s9,i9=Yi,o9="__lodash_hash_undefined__",a9=Object.prototype,l9=a9.hasOwnProperty;function c9(n){var e=this.__data__;if(i9){var t=e[n];return t===o9?void 0:t}return l9.call(e,n)?e[n]:void 0}var u9=c9,h9=Yi,f9=Object.prototype,d9=f9.hasOwnProperty;function p9(n){var e=this.__data__;return h9?e[n]!==void 0:d9.call(e,n)}var g9=p9,x9=Yi,m9="__lodash_hash_undefined__";function L9(n,e){var t=this.__data__;return this.size+=this.has(n)?0:1,t[n]=x9&&e===void 0?m9:e,this}var _9=L9,y9=n9,C9=r9,E9=u9,b9=g9,v9=_9;function ks(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var s=n[e];this.set(s[0],s[1])}}ks.prototype.clear=y9,ks.prototype.delete=C9,ks.prototype.get=E9,ks.prototype.has=b9,ks.prototype.set=v9;var w9=ks,Su=w9,T9=Wi,A9=Tu;function S9(){this.size=0,this.__data__={hash:new Su,map:new(A9||T9),string:new Su}}var R9=S9;function k9(n){var e=typeof n;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?n!=="__proto__":n===null}var O9=k9,N9=O9;function I9(n,e){var t=n.__data__;return N9(e)?t[typeof e=="string"?"string":"hash"]:t.map}var Xi=I9,P9=Xi;function M9(n){var e=P9(this,n).delete(n);return this.size-=e?1:0,e}var D9=M9,F9=Xi;function $9(n){return F9(this,n).get(n)}var B9=$9,U9=Xi;function V9(n){return U9(this,n).has(n)}var H9=V9,G9=Xi;function j9(n,e){var t=G9(this,n),s=t.size;return t.set(n,e),this.size+=t.size==s?0:1,this}var z9=j9,Z9=R9,q9=D9,W9=B9,K9=H9,Y9=z9;function Os(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var s=n[e];this.set(s[0],s[1])}}Os.prototype.clear=Z9,Os.prototype.delete=q9,Os.prototype.get=W9,Os.prototype.has=K9,Os.prototype.set=Y9;var X9=Os,Q9=Wi,J9=Tu,e6=X9,t6=200;function n6(n,e){var t=this.__data__;if(t instanceof Q9){var s=t.__data__;if(!J9||s.length<t6-1)return s.push([n,e]),this.size=++t.size,this;t=this.__data__=new e6(s)}return t.set(n,e),this.size=t.size,this}var s6=n6,r6=Wi,i6=q5,o6=K5,a6=X5,l6=J5,c6=s6;function Ns(n){var e=this.__data__=new r6(n);this.size=e.size}Ns.prototype.clear=i6,Ns.prototype.delete=o6,Ns.prototype.get=a6,Ns.prototype.has=l6,Ns.prototype.set=c6;var u6=Ns,h6=Oa,f6=function(){try{var n=h6(Object,"defineProperty");return n({},"",{}),n}catch{}}(),Ru=f6,ku=Ru;function d6(n,e,t){e=="__proto__"&&ku?ku(n,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):n[e]=t}var Na=d6,p6=Na,g6=Zi;function x6(n,e,t){(t!==void 0&&!g6(n[e],t)||t===void 0&&!(e in n))&&p6(n,e,t)}var Ou=x6;function m6(n){return function(e,t,s){for(var r=-1,i=Object(e),o=s(e),a=o.length;a--;){var l=o[n?a:++r];if(t(i[l],l,i)===!1)break}return e}}var L6=m6,_6=L6,y6=_6(),C6=y6,Ia={exports:{}};(function(n,e){var t=ts,s=e&&!e.nodeType&&e,r=s&&!0&&n&&!n.nodeType&&n,i=r&&r.exports===s,o=i?t.Buffer:void 0,a=o?o.allocUnsafe:void 0;function l(c,u){if(u)return c.slice();var f=c.length,p=a?a(f):new c.constructor(f);return c.copy(p),p}n.exports=l})(Ia,Ia.exports);var E6=ts,b6=E6.Uint8Array,v6=b6,Nu=v6;function w6(n){var e=new n.constructor(n.byteLength);return new Nu(e).set(new Nu(n)),e}var T6=w6,A6=T6;function S6(n,e){var t=e?A6(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.length)}var R6=S6;function k6(n,e){var t=-1,s=n.length;for(e||(e=Array(s));++t<s;)e[t]=n[t];return e}var O6=k6,N6=is,Iu=Object.create,I6=function(){function n(){}return function(e){if(!N6(e))return{};if(Iu)return Iu(e);n.prototype=e;var t=new n;return n.prototype=void 0,t}}(),P6=I6;function M6(n,e){return function(t){return n(e(t))}}var D6=M6,F6=D6,$6=F6(Object.getPrototypeOf,Object),Pu=$6,B6=Object.prototype;function U6(n){var e=n&&n.constructor,t=typeof e=="function"&&e.prototype||B6;return n===t}var Mu=U6,V6=P6,H6=Pu,G6=Mu;function j6(n){return typeof n.constructor=="function"&&!G6(n)?V6(H6(n)):{}}var z6=j6;function Z6(n){return n!=null&&typeof n=="object"}var yr=Z6,q6=Ki,W6=yr,K6="[object Arguments]";function Y6(n){return W6(n)&&q6(n)==K6}var X6=Y6,Du=X6,Q6=yr,Fu=Object.prototype,J6=Fu.hasOwnProperty,e8=Fu.propertyIsEnumerable,t8=Du(function(){return arguments}())?Du:function(n){return Q6(n)&&J6.call(n,"callee")&&!e8.call(n,"callee")},$u=t8,n8=Array.isArray,Bu=n8,s8=9007199254740991;function r8(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=s8}var Uu=r8,i8=Ra,o8=Uu;function a8(n){return n!=null&&o8(n.length)&&!i8(n)}var Pa=a8,l8=Pa,c8=yr;function u8(n){return c8(n)&&l8(n)}var h8=u8,Qi={exports:{}};function f8(){return!1}var d8=f8;(function(n,e){var t=ts,s=d8,r=e&&!e.nodeType&&e,i=r&&!0&&n&&!n.nodeType&&n,o=i&&i.exports===r,a=o?t.Buffer:void 0,l=a?a.isBuffer:void 0,c=l||s;n.exports=c})(Qi,Qi.exports);var p8=Ki,g8=Pu,x8=yr,m8="[object Object]",L8=Function.prototype,_8=Object.prototype,Vu=L8.toString,y8=_8.hasOwnProperty,C8=Vu.call(Object);function E8(n){if(!x8(n)||p8(n)!=m8)return!1;var e=g8(n);if(e===null)return!0;var t=y8.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&Vu.call(t)==C8}var b8=E8,v8=Ki,w8=Uu,T8=yr,A8="[object Arguments]",S8="[object Array]",R8="[object Boolean]",k8="[object Date]",O8="[object Error]",N8="[object Function]",I8="[object Map]",P8="[object Number]",M8="[object Object]",D8="[object RegExp]",F8="[object Set]",$8="[object String]",B8="[object WeakMap]",U8="[object ArrayBuffer]",V8="[object DataView]",H8="[object Float32Array]",G8="[object Float64Array]",j8="[object Int8Array]",z8="[object Int16Array]",Z8="[object Int32Array]",q8="[object Uint8Array]",W8="[object Uint8ClampedArray]",K8="[object Uint16Array]",Y8="[object Uint32Array]",Pe={};Pe[H8]=Pe[G8]=Pe[j8]=Pe[z8]=Pe[Z8]=Pe[q8]=Pe[W8]=Pe[K8]=Pe[Y8]=!0,Pe[A8]=Pe[S8]=Pe[U8]=Pe[R8]=Pe[V8]=Pe[k8]=Pe[O8]=Pe[N8]=Pe[I8]=Pe[P8]=Pe[M8]=Pe[D8]=Pe[F8]=Pe[$8]=Pe[B8]=!1;function X8(n){return T8(n)&&w8(n.length)&&!!Pe[v8(n)]}var Q8=X8;function J8(n){return function(e){return n(e)}}var e7=J8,Ma={exports:{}};(function(n,e){var t=S0,s=e&&!e.nodeType&&e,r=s&&!0&&n&&!n.nodeType&&n,i=r&&r.exports===s,o=i&&t.process,a=function(){try{var l=r&&r.require&&r.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();n.exports=a})(Ma,Ma.exports);var t7=Q8,n7=e7,Hu=Ma.exports,Gu=Hu&&Hu.isTypedArray,s7=Gu?n7(Gu):t7,ju=s7;function r7(n,e){if(!(e==="constructor"&&typeof n[e]=="function")&&e!="__proto__")return n[e]}var zu=r7,i7=Na,o7=Zi,a7=Object.prototype,l7=a7.hasOwnProperty;function c7(n,e,t){var s=n[e];(!(l7.call(n,e)&&o7(s,t))||t===void 0&&!(e in n))&&i7(n,e,t)}var u7=c7,h7=u7,f7=Na;function d7(n,e,t,s){var r=!t;t||(t={});for(var i=-1,o=e.length;++i<o;){var a=e[i],l=s?s(t[a],n[a],a,t,n):void 0;l===void 0&&(l=n[a]),r?f7(t,a,l):h7(t,a,l)}return t}var p7=d7;function g7(n,e){for(var t=-1,s=Array(n);++t<n;)s[t]=e(t);return s}var x7=g7,m7=9007199254740991,L7=/^(?:0|[1-9]\d*)$/;function _7(n,e){var t=typeof n;return e=e==null?m7:e,!!e&&(t=="number"||t!="symbol"&&L7.test(n))&&n>-1&&n%1==0&&n<e}var Zu=_7,y7=x7,C7=$u,E7=Bu,b7=Qi.exports,v7=Zu,w7=ju,T7=Object.prototype,A7=T7.hasOwnProperty;function S7(n,e){var t=E7(n),s=!t&&C7(n),r=!t&&!s&&b7(n),i=!t&&!s&&!r&&w7(n),o=t||s||r||i,a=o?y7(n.length,String):[],l=a.length;for(var c in n)(e||A7.call(n,c))&&!(o&&(c=="length"||r&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||v7(c,l)))&&a.push(c);return a}var R7=S7;function k7(n){var e=[];if(n!=null)for(var t in Object(n))e.push(t);return e}var O7=k7,N7=is,I7=Mu,P7=O7,M7=Object.prototype,D7=M7.hasOwnProperty;function F7(n){if(!N7(n))return P7(n);var e=I7(n),t=[];for(var s in n)s=="constructor"&&(e||!D7.call(n,s))||t.push(s);return t}var $7=F7,B7=R7,U7=$7,V7=Pa;function H7(n){return V7(n)?B7(n,!0):U7(n)}var qu=H7,G7=p7,j7=qu;function z7(n){return G7(n,j7(n))}var Z7=z7,Wu=Ou,q7=Ia.exports,W7=R6,K7=O6,Y7=z6,Ku=$u,Yu=Bu,X7=h8,Q7=Qi.exports,J7=Ra,eg=is,tg=b8,ng=ju,Xu=zu,sg=Z7;function rg(n,e,t,s,r,i,o){var a=Xu(n,t),l=Xu(e,t),c=o.get(l);if(c){Wu(n,t,c);return}var u=i?i(a,l,t+"",n,e,o):void 0,f=u===void 0;if(f){var p=Yu(l),g=!p&&Q7(l),T=!p&&!g&&ng(l);u=l,p||g||T?Yu(a)?u=a:X7(a)?u=K7(a):g?(f=!1,u=q7(l,!0)):T?(f=!1,u=W7(l,!0)):u=[]:tg(l)||Ku(l)?(u=a,Ku(a)?u=sg(a):(!eg(a)||J7(a))&&(u=Y7(l))):f=!1}f&&(o.set(l,u),r(u,l,s,i,o),o.delete(l)),Wu(n,t,u)}var ig=rg,og=u6,ag=Ou,lg=C6,cg=ig,ug=is,hg=qu,fg=zu;function Qu(n,e,t,s,r){n!==e&&lg(e,function(i,o){if(r||(r=new og),ug(i))cg(n,e,o,t,Qu,s,r);else{var a=s?s(fg(n,o),i,o+"",n,e,r):void 0;a===void 0&&(a=i),ag(n,o,a)}},hg)}var dg=Qu;function pg(n){return n}var Ju=pg;function gg(n,e,t){switch(t.length){case 0:return n.call(e);case 1:return n.call(e,t[0]);case 2:return n.call(e,t[0],t[1]);case 3:return n.call(e,t[0],t[1],t[2])}return n.apply(e,t)}var xg=gg,mg=xg,eh=Math.max;function Lg(n,e,t){return e=eh(e===void 0?n.length-1:e,0),function(){for(var s=arguments,r=-1,i=eh(s.length-e,0),o=Array(i);++r<i;)o[r]=s[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=s[r];return a[e]=t(o),mg(n,this,a)}}var _g=Lg;function yg(n){return function(){return n}}var Cg=yg,Eg=Cg,th=Ru,bg=Ju,vg=th?function(n,e){return th(n,"toString",{configurable:!0,enumerable:!1,value:Eg(e),writable:!0})}:bg,wg=vg,Tg=800,Ag=16,Sg=Date.now;function Rg(n){var e=0,t=0;return function(){var s=Sg(),r=Ag-(s-t);if(t=s,r>0){if(++e>=Tg)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}var kg=Rg,Og=wg,Ng=kg,Ig=Ng(Og),Pg=Ig,Mg=Ju,Dg=_g,Fg=Pg;function $g(n,e){return Fg(Dg(n,e,Mg),n+"")}var Bg=$g,Ug=Zi,Vg=Pa,Hg=Zu,Gg=is;function jg(n,e,t){if(!Gg(t))return!1;var s=typeof e;return(s=="number"?Vg(t)&&Hg(e,t.length):s=="string"&&e in t)?Ug(t[e],n):!1}var zg=jg,Zg=Bg,qg=zg;function Wg(n){return Zg(function(e,t){var s=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=n.length>3&&typeof i=="function"?(r--,i):void 0,o&&qg(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++s<r;){var a=t[s];a&&n(e,a,s,i)}return e})}var Kg=Wg,Yg=dg,Xg=Kg,Qg=Xg(function(n,e,t,s){Yg(n,e,t,s)}),Jg=Qg;class ex{constructor(e,t,s,r,i,o,a,l,c,u){U(this,"name");U(this,"stereotype");U(this,"width");U(this,"groupId");U(this,"explicit");U(this,"isStarter");U(this,"label");U(this,"type");U(this,"color");U(this,"comment");this.name=e,this.stereotype=s,this.width=r,this.groupId=i,this.explicit=a,this.isStarter=t,this.label=o,this.type=l,this.color=c,this.comment=u}Type(){var e;switch((e=this.type)==null?void 0:e.toLowerCase()){case"@actor":return 1;case"@boundary":return 2;case"@collection":return 3;case"@control":return 4;case"@database":return 5;case"@entity":return 6;case"@queue":return 7;case"@ec2":return 8;case"@ecs":return 9;case"@iam":return 10;case"@lambda":return 11;case"@rds":return 12;case"@s3":return 13}return 14}}class tx{constructor(){U(this,"participants",new Map)}Add(e,t,s,r,i,o,a,l,c,u){const f=new ex(e,t,s,r,i,o,a,l,c,u);this.participants.set(e,Jg({},this.Get(e),f,(p,g)=>p||g))}ImplicitArray(){return this.Array().filter(e=>!e.explicit&&!e.isStarter)}Array(){return Array.from(this.participants.entries()).map(e=>e[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(e){return this.participants.get(e)}Size(){return this.participants.size}Starter(){const e=this.First();return e.isStarter?e:void 0}}const nx=h.ProgContext;let pn,os=!1,Da;const Lt=new _;let sx=function(n){var c,u,f,p,g,T,A;if(os)return;const e=(c=n==null?void 0:n.participantType())==null?void 0:c.getFormattedText().replace("@",""),t=((u=n==null?void 0:n.name())==null?void 0:u.getFormattedText())||"Missing `Participant`",s=(p=(f=n.stereotype())==null?void 0:f.name())==null?void 0:p.getFormattedText(),r=n.width&&n.width()&&Number.parseInt(n.width().getText())||void 0,i=n.label&&((T=(g=n.label())==null?void 0:g.name())==null?void 0:T.getFormattedText()),o=!0,a=(A=n.COLOR())==null?void 0:A.getText(),l=n.getComment();pn.Add(t,!1,s,r,Da,i,o,e,a,l)};Lt.enterParticipant=sx;let nh=function(n){if(os)return;let e=n.getFormattedText();pn.Add(e)};Lt.enterFrom=nh,Lt.enterTo=nh,Lt.enterStarter=function(n){let e=n.getFormattedText();pn.Add(e,!0)},Lt.enterCreation=function(n){if(os)return;const e=n.Owner();pn.Add(e)},Lt.enterParameters=function(){os=!0},Lt.exitParameters=function(){os=!1},Lt.enterCondition=function(){os=!0},Lt.exitCondition=function(){os=!1},Lt.enterGroup=function(n){var e;Da=(e=n.name())==null?void 0:e.getFormattedText()},Lt.exitGroup=function(){Da=void 0},Lt.enterRet=function(n){n.asyncMessage()||(pn.Add(n.From()),pn.Add(n.ReturnTo()))};const rx=L.tree.ParseTreeWalker.DEFAULT;Lt.getParticipants=function(n,e){return pn=new tx,e&&n instanceof nx&&pn.Add(n.Starter(),!0),rx.walk(this,n),pn};const ix=L.tree.ParseTreeWalker.DEFAULT;var Ot=new _,at=0,Nt=0;Ot.enterTcf=function(){at++},Ot.enterOpt=function(){at++},Ot.enterPar=function(){at++},Ot.enterAlt=function(){at++},Ot.enterLoop=function(){at++},Ot.exitTcf=function(){Nt=Math.max(Nt,at),at--},Ot.exitOpt=function(){Nt=Math.max(Nt,at),at--},Ot.exitPar=function(){Nt=Math.max(Nt,at),at--},Ot.exitAlt=function(){Nt=Math.max(Nt,at),at--},Ot.exitLoop=function(){Nt=Math.max(Nt,at),at--},Ot.depth=function(n){return function(e){return at=0,Nt=0,e.children.map(function(t){ix.walk(n,t)}),Nt}};const ox=h.TitleContext;ox.prototype.content=function(){return this.children.length<2?"Untiled":this.children[1].getText().trim()};const sh=h,Fa=sh.CreationContext;Fa.prototype.Body=Fa.prototype.creationBody,Fa.prototype.isCurrent=function(n){return rh.bind(this)(n)};const $a=sh.MessageContext;$a.prototype.Body=$a.prototype.messageBody,$a.prototype.isCurrent=function(n){return rh.bind(this)(n)};function rh(n){try{if(n==null)return!1;const e=this.start.start,t=this.Body().stop.stop+1;return n>=e&&n<=t}catch{return!1}}const Ba=h,Ji=Ba.CreationContext,Ua=Ba.MessageContext,ih=Ba.AsyncMessageContext;Ji.prototype.Assignee=function(){var n,e,t;return(t=(e=(n=this.creationBody())==null?void 0:n.assignment())==null?void 0:e.assignee())==null?void 0:t.getFormattedText()},Ji.prototype.Constructor=function(){var n,e;return(e=(n=this.creationBody())==null?void 0:n.construct())==null?void 0:e.getFormattedText()},Ji.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const n=this.Assignee(),e=this.Constructor();return n?`${n}:${e}`:e},Ua.prototype.To=function(){var n,e;return(e=(n=this.messageBody())==null?void 0:n.to())==null?void 0:e.getFormattedText()},Ua.prototype.Owner=function(){return this.To()||oh(this.parentCtx)};function oh(n){for(;n;){if(n instanceof Ji||n instanceof Ua)return n.Owner();n=n.parentCtx}}ih.prototype.To=function(){var n;return(n=this.to())==null?void 0:n.getFormattedText()},ih.prototype.Owner=function(){return this.To()||oh(this.parentCtx)};const ax=h.ProgContext;ax.prototype.Starter=function(){var i,o,a,l,c,u,f,p,g,T,A,Y;const n=(a=(o=(i=this.head())==null?void 0:i.starterExp())==null?void 0:o.starter())==null?void 0:a.getFormattedText();let e,t,s;const r=(l=this.block())==null?void 0:l.stat();if(r&&r[0]){const q=(f=(u=(c=r[0].message())==null?void 0:c.messageBody())==null?void 0:u.from())==null?void 0:f.getFormattedText(),K=(g=(p=r[0].asyncMessage())==null?void 0:p.from())==null?void 0:g.getFormattedText();e=q||K}else{const q=(T=this.head())==null?void 0:T.children;if(q&&q[0]){const K=q[0];if(K instanceof h.ParticipantContext&&(t=(A=K.name())==null?void 0:A.getFormattedText()),K instanceof h.GroupContext){const se=K.participant();se&&se[0]&&(s=(Y=se[0].name())==null?void 0:Y.getFormattedText())}}}return n||e||t||s||"_STARTER_"};const eo=h,lx=eo.RetContext,ah=eo.ProgContext,lh=eo.MessageContext,cx=eo.CreationContext;lx.prototype.ReturnTo=function(){var s,r;const t=this.parentCtx.parentCtx.parentCtx;if(t instanceof ah)return t.Starter();{let i=t;for(;i&&!(i instanceof lh)&&!(i instanceof cx);){if(i instanceof ah)return i.Starter();i=i.parentCtx}return i instanceof lh&&((r=(s=i.messageBody())==null?void 0:s.from())==null?void 0:r.getFormattedText())||i.ClosestAncestorStat().Origin()}};const ux=h.StatContext,hx=h.ProgContext,fx=h.MessageContext,dx=h.CreationContext;ux.prototype.Origin=function(){let n=this.parentCtx;for(;n;){if(n instanceof hx)return n.Starter();if(n instanceof fx||n instanceof dx){const e=n.Owner();if(e)return e}n=n.parentCtx}};const px=h.DividerContext;px.prototype.Note=function(){var e;let n=(e=this.dividerNote())==null?void 0:e.getFormattedText().trim();if(!n.startsWith("=="))throw new Error("Divider note must start with ==");return n==null?void 0:n.replace(/^=+|=+$/g,"")};const Va=h,gx=Va.MessageContext,xx=Va.AsyncMessageContext,mx=Va.CreationContext;gx.prototype.SignatureText=function(){var n,e,t;return(t=(e=(n=this.messageBody())==null?void 0:n.func())==null?void 0:e.signature())==null?void 0:t.map(s=>s==null?void 0:s.getFormattedText()).join(".")},xx.prototype.SignatureText=function(){var n;return(n=this.content())==null?void 0:n.getFormattedText()},mx.prototype.SignatureText=function(){var t;const n=this.creationBody().parameters();return"\xAB"+(((t=n==null?void 0:n.parameter())==null?void 0:t.length)>0?n.getFormattedText():"create")+"\xBB"};const Lx=h.MessageContext;class _x{constructor(e,t){U(this,"assignee");U(this,"type");if(t&&!e)throw new Error("assignee must be defined if type is defined");this.assignee=e||"",this.type=t||""}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}Lx.prototype.Assignment=function(){var s,r;let n=this.messageBody().assignment();const e=(s=n==null?void 0:n.assignee())==null?void 0:s.getFormattedText(),t=(r=n==null?void 0:n.type())==null?void 0:r.getFormattedText();if(e)return new _x(e,t)};const Cr=h,yx=Cr.CreationContext,Cx=Cr.StatContext,ch=Cr.MessageContext,Ex=Cr.AsyncMessageContext,bx=Cr.RetContext;yx.prototype.From=function(){if(this.parentCtx instanceof Cx)return this.ClosestAncestorStat().Origin()},ch.prototype.ProvidedFrom=function(){var n,e;return(e=(n=this.messageBody())==null?void 0:n.from())==null?void 0:e.getFormattedText()},ch.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},Ex.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},bx.prototype.From=function(){return this.ClosestAncestorStat().Origin()},L.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const uh=h,hh=uh.StatContext;L.ParserRuleContext.prototype.ClosestAncestorStat=function(){let n=this;for(;!(n instanceof hh);)n=n.parentCtx;if(n instanceof hh)return n},L.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var e;const n=(e=this.ClosestAncestorStat())==null?void 0:e.parentCtx;if(n instanceof uh.BlockContext)return n;console.warn("Cannot find closest ancestor block for context:",this)};function vx(n,e){switch(n){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,s){return e.apply(this,arguments)};case 3:return function(t,s,r){return e.apply(this,arguments)};case 4:return function(t,s,r,i){return e.apply(this,arguments)};case 5:return function(t,s,r,i,o){return e.apply(this,arguments)};case 6:return function(t,s,r,i,o,a){return e.apply(this,arguments)};case 7:return function(t,s,r,i,o,a,l){return e.apply(this,arguments)};case 8:return function(t,s,r,i,o,a,l,c){return e.apply(this,arguments)};case 9:return function(t,s,r,i,o,a,l,c,u){return e.apply(this,arguments)};case 10:return function(t,s,r,i,o,a,l,c,u,f){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var fh=vx;function wx(n,e){return function(){return e.call(this,n.apply(this,arguments))}}var Tx=wx;function Ax(n){return n!=null&&typeof n=="object"&&n["@@functional/placeholder"]===!0}var Ha=Ax,Sx=Ha;function Rx(n){return function e(t){return arguments.length===0||Sx(t)?e:n.apply(this,arguments)}}var to=Rx,Ga=to,Er=Ha;function kx(n){return function e(t,s){switch(arguments.length){case 0:return e;case 1:return Er(t)?e:Ga(function(r){return n(t,r)});default:return Er(t)&&Er(s)?e:Er(t)?Ga(function(r){return n(r,s)}):Er(s)?Ga(function(r){return n(t,r)}):n(t,s)}}}var dh=kx,no=to,Is=dh,et=Ha;function Ox(n){return function e(t,s,r){switch(arguments.length){case 0:return e;case 1:return et(t)?e:Is(function(i,o){return n(t,i,o)});case 2:return et(t)&&et(s)?e:et(t)?Is(function(i,o){return n(i,s,o)}):et(s)?Is(function(i,o){return n(t,i,o)}):no(function(i){return n(t,s,i)});default:return et(t)&&et(s)&&et(r)?e:et(t)&&et(s)?Is(function(i,o){return n(i,o,r)}):et(t)&&et(r)?Is(function(i,o){return n(i,s,o)}):et(s)&&et(r)?Is(function(i,o){return n(t,i,o)}):et(t)?no(function(i){return n(i,s,r)}):et(s)?no(function(i){return n(t,i,r)}):et(r)?no(function(i){return n(t,s,i)}):n(t,s,r)}}}var ja=Ox,ph=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Nx(n){return Object.prototype.toString.call(n)==="[object String]"}var Ix=Nx,Px=to,Mx=ph,Dx=Ix,Fx=Px(function(e){return Mx(e)?!0:!e||typeof e!="object"||Dx(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),$x=Fx,Bx=function(){function n(e){this.f=e}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(e){return e},n.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},n}();function Ux(n){return new Bx(n)}var Vx=Ux,Hx=fh,Gx=dh,jx=Gx(function(e,t){return Hx(e.length,function(){return e.apply(t,arguments)})}),zx=jx,Zx=$x,qx=Vx,Wx=zx;function Kx(n,e,t){for(var s=0,r=t.length;s<r;){if(e=n["@@transducer/step"](e,t[s]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}s+=1}return n["@@transducer/result"](e)}function gh(n,e,t){for(var s=t.next();!s.done;){if(e=n["@@transducer/step"](e,s.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}s=t.next()}return n["@@transducer/result"](e)}function xh(n,e,t,s){return n["@@transducer/result"](t[s](Wx(n["@@transducer/step"],n),e))}var mh=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Yx(n,e,t){if(typeof n=="function"&&(n=qx(n)),Zx(t))return Kx(n,e,t);if(typeof t["fantasy-land/reduce"]=="function")return xh(n,e,t,"fantasy-land/reduce");if(t[mh]!=null)return gh(n,e,t[mh]());if(typeof t.next=="function")return gh(n,e,t);if(typeof t.reduce=="function")return xh(n,e,t,"reduce");throw new TypeError("reduce: list must be array or iterable")}var Xx=Yx,Qx=ja,Jx=Xx,em=Qx(Jx),tm=em,nm=ph;function sm(n,e){return function(){var t=arguments.length;if(t===0)return e();var s=arguments[t-1];return nm(s)||typeof s[n]!="function"?e.apply(this,arguments):s[n].apply(s,Array.prototype.slice.call(arguments,0,t-1))}}var Lh=sm,rm=Lh,im=ja,om=im(rm("slice",function(e,t,s){return Array.prototype.slice.call(s,e,t)})),am=om,lm=Lh,cm=to,um=am,hm=cm(lm("tail",um(1,1/0))),fm=hm,dm=fh,pm=Tx,gm=tm,xm=fm;function mm(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return dm(arguments[0].length,gm(pm,arguments[0],xm(arguments)))}var Lm=mm;const _m=Lm;var ym=ja,Cm=ym(function(e,t,s){return s.replace(e,t)}),Em=Cm;const br=Em,bm=br(/[\n\r]/g," "),vm=br(/\s+/g," "),wm=br(/\s*([,;.()])\s*/g,"$1"),Tm=br(/\s+$/g,""),Am=br(/^"(.*)"$/,"$1"),Sm=_m(bm,vm,wm,Tm,Am);class Rm extends L.error.ErrorListener{syntaxError(e,t,s,r,i){}}function km(n){const e=new L.InputStream(n),t=new M(e),s=new L.CommonTokenStream(t),r=new h(s);return r.addErrorListener(new Rm),r._syntaxErrors?null:r.prog()}L.ParserRuleContext.prototype.getFormattedText=function(){const n=this.parser.getTokenStream().getText(this.getSourceInterval());return Sm(n)},L.ParserRuleContext.prototype.getComment=function(){let n=this.start.tokenIndex,e=M.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(n=this.stop.tokenIndex);let t=this.parser.getTokenStream().getHiddenTokensToLeft(n,e);return t&&t.map(s=>s.text.substring(2)).join("")},L.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const Om=h.ProgContext,Nm=km,_h=h.GroupContext,yh=h.ParticipantContext,Ch=function(n){const e=Ot;return e.depth(e)(n)},so=function(n,e){return Lt.getParticipants(n,e)};function ro(n,e){let t=document.querySelector(".textarea-hidden-div");if(!t){const r=document.createElement("div");r.className="textarea-hidden-div ",r.style.fontSize="13px",r.style.fontFamily="Helvetica, Verdana, serif",r.style.display="inline",r.style.whiteSpace="nowrap",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.overflow="hidden",r.style.width="0px",r.style.paddingLeft="20px",r.style.paddingRight="20px",r.style.margin="0px",r.style.border="0px",document.body.appendChild(r),t=r}return t.textContent=n,t.scrollWidth}const Im=100,Eh=20,bh=10,Pm=100;var Ps=(n=>(n[n.MessageContent=0]="MessageContent",n[n.ParticipantName=1]="ParticipantName",n))(Ps||{});const Mm=h;class za extends _{constructor(){super(...arguments);U(this,"explicitParticipants",[]);U(this,"starter","");U(this,"implicitParticipants",[]);U(this,"isBlind",!1)}enterCondition(){this.isBlind=!0}exitCondition(){this.isBlind=!1}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}enterStarter(t){this.starter=t.getFormattedText()}enterParticipant(t){var o,a,l;const s=((o=t==null?void 0:t.name())==null?void 0:o.getFormattedText())||"Missing `Participant` name",r=(l=(a=t.label())==null?void 0:a.name())==null?void 0:l.getFormattedText(),i={name:s,label:r,left:""};this.explicitParticipants.push(i)}enterFrom(t){if(this.isBlind)return;const s=t==null?void 0:t.getFormattedText();if(t.ClosestAncestorBlock().parentCtx instanceof Mm.ProgContext&&t.ClosestAncestorStat()===t.ClosestAncestorBlock().children[0]){this.starter=s;return}this.enterTo(t)}enterTo(t){if(this.isBlind)return;const s=t==null?void 0:t.getFormattedText();if(s===this.starter||this.explicitParticipants.some(i=>i.name===s))return;const r={name:s,left:""};this.implicitParticipants.push(r)}enterCreation(t){if(this.isBlind)return;const s=t==null?void 0:t.Owner();if(s===this.starter||this.explicitParticipants.some(i=>i.name===s))return;const r={name:s,left:""};this.implicitParticipants.push(r)}result(){let t=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||t.unshift(this._getStarter()),t=this._dedup(t),za._assignLeft(t),t}_isStarterExplicitlyPositioned(){return this.starter&&this.explicitParticipants.find(t=>t.name===this.starter)}_getStarter(){return{name:this.starter||"_STARTER_",left:""}}_dedup(t){return t.filter((s,r)=>t.findIndex(i=>i.name===s.name)===r)}static _assignLeft(t){t.reduce((s,r)=>(r.left=s.name||"",r),{name:"",left:""})}}function Dm(n){const e=new za;return L.tree.ParseTreeWalker.DEFAULT.walk(e,n),e.result()}function io(n,e){return{position:n,velocity:e}}function vh(n,e){return io(n.position+e.position,n.velocity+e.velocity)}const wh=Math.sqrt(Number.EPSILON);function Fm(n,e){let t=n.position-e.position;return t<-wh||Math.abs(t)<=wh&&n.velocity<e.velocity}function $m(){return{delta:1/0,dualLessThan:function(n,e){let t=Fm(n,e);return t&&([n,e]=[e,n]),n.velocity<e.velocity&&(this.delta=Math.min(this.delta,(n.position-e.position)/(e.velocity-n.velocity))),t}}}function Bm(n,e){let t=Array();for(let s=0;s<n;s++){t.push([]);for(let r=0;r<s;r++)e[r][s]>0&&t[s].push({i:r,length:io(e[r][s],0)})}return t}function Um(n,e){let t=$m(),s=io(0,0),r=[];for(let i=0;i<n.length;i++){let o=null;i>0&&(s=vh(s,e[i-1]));for(let a of n[i]){let l=vh(r[a.i].maximum,a.length);t.dualLessThan(s,l)&&(o=a.i,s=l)}r.push({argument:o,maximum:s})}return[t.delta,r]}function Vm(n,e,t){let s=n.length-1;for(;s>0;){let r=n[s].argument;r!==null?s=r:(s--,t[s].velocity=0)}}function Hm(n,e){for(let t=0;t<n.length;t++)n[t].position+=n[t].velocity*e}function Gm(n){let e=[];for(let t of n)e.push(t.maximum.position);return e}function jm(n){const e=n.length;let t=Bm(e,n),s=[];for(let r=1;r<e;r++)s.push(io(0,1));for(;;){let[r,i]=Um(t,s);if(r==1/0)return Gm(i);i[e-1].maximum.velocity>0?Vm(i,t,s):Hm(s,r)}}var vr=(n=>(n[n.SyncMessage=0]="SyncMessage",n[n.AsyncMessage=1]="AsyncMessage",n[n.CreationMessage=2]="CreationMessage",n))(vr||{});class zm extends _{constructor(){super(...arguments);U(this,"isBlind",!1);U(this,"ownableMessages",[]);U(this,"enterMessage",t=>this._addOwnedMessage(vr.SyncMessage)(t));U(this,"enterAsyncMessage",t=>this._addOwnedMessage(vr.AsyncMessage)(t));U(this,"enterCreation",t=>this._addOwnedMessage(vr.CreationMessage)(t));U(this,"_addOwnedMessage",t=>s=>{if(this.isBlind)return;let r=s.From();const i=s==null?void 0:s.Owner(),o=s==null?void 0:s.SignatureText();this.ownableMessages.push({from:r,signature:o,type:t,to:i})})}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function Zm(n){const e=L.tree.ParseTreeWalker.DEFAULT,t=new zm;return e.walk(t,n),t.result()}class Ms{constructor(e,t){U(this,"m",[]);U(this,"widthProvider");U(this,"participantModels");U(this,"ownableMessages");this.participantModels=Dm(e),this.ownableMessages=Zm(e),this.widthProvider=t,this.walkThrough()}getPosition(e){const t=this.participantModels.findIndex(s=>s.name===e);if(t===-1)throw Error(`Participant ${e} not found`);return this.getParticipantGap(this.participantModels[0])+jm(this.m)[t]+bh}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}withMessageGaps(e,t){e.forEach(s=>{const r=t.findIndex(l=>l.name===s.from),i=t.findIndex(l=>l.name===s.to);if(r===-1||i===-1){console.warn(`Participant ${s.from} or ${s.to} not found`);return}let o=Math.min(r,i),a=Math.max(r,i);try{let l=this.getMessageWidth(s);this.m[o][a]=Math.max(l+bh,this.m[o][a])}catch{console.warn(`Could not set message gap between ${s.from} and ${s.to}`)}})}getMessageWidth(e){const t=Ms.half(this.widthProvider,e.to);let s=this.widthProvider(e.signature,Ps.MessageContent);return e.type===vr.CreationMessage&&(s+=t),s}withParticipantGaps(e){this.m=e.map((t,s)=>e.map((r,i)=>i-s===1?this.getParticipantGap(r):0))}getParticipantGap(e){let t=this.labelOrName(e.left);const s=Ms.half(this.widthProvider,t),r=Ms.half(this.widthProvider,e.label||e.name),i=e.left&&e.left!=="_STARTER_",o=e.name&&e.name!=="_STARTER_";return(i&&s||0)+(o&&r||0)}labelOrName(e){const t=this.participantModels.findIndex(s=>s.name===e);return t===-1?"":this.participantModels[t].label||this.participantModels[t].name}static half(e,t){if(t==="_STARTER_")return Eh/2;const s=this.halfWithMargin(e,t);return Math.max(s,Im/2)}static halfWithMargin(e,t){return this._getParticipantWidth(e,t)/2+Eh/2}static _getParticipantWidth(e,t){return Math.max(e(t||"",Ps.ParticipantName),Pm)}getWidth(){const e=this.participantModels[this.participantModels.length-1].name,t=this.getPosition(e)+Ms.halfWithMargin(this.widthProvider,e);return Math.max(t,200)}}let Th=0;setTimeout(function(){Th||console.warn("[vue-sequence] Store is a function and is not initiated in 1 second.")},1e3);const Ah=()=>(Th=P4(),{state:{warning:void 0,code:"",theme:"naked",scale:1,selected:[],cursor:null,showTips:!1,onElementClick:n=>{console.log("Element clicked",n)}},getters:{rootContext:n=>Nm(n.code),title:(n,e)=>{var t,s;return(s=(t=e.rootContext)==null?void 0:t.title())==null?void 0:s.content()},participants:(n,e)=>so(e.rootContext,!0),coordinates:(n,e)=>new Ms(e.rootContext,ro),centerOf:(n,e)=>t=>{if(!t)return console.error("[vue-sequence] centerOf: entity is undefined"),0;try{return e.coordinates.getPosition(t)||0}catch(s){return console.error(s),0}},GroupContext:()=>_h,ParticipantContext:()=>yh,cursor:n=>n.cursor,distance:(n,e)=>(t,s)=>e.centerOf(t)-e.centerOf(s),distance2:(n,e)=>(t,s)=>!t||!s?0:e.centerOf(s)-e.centerOf(t),onElementClick:n=>n.onElementClick},mutations:{code:function(n,e){n.code=e},setScale:function(n,e){n.scale=e},onSelect:function(n,e){n.selected.includes(e)?n.selected=n.selected.filter(t=>t!==e):n.selected.push(e)},cursor:function(n,e){n.cursor=e}},actions:{updateCode:function({commit:n,getters:e},t){if(typeof t=="string")throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");n("code",t.code)}},strict:!1}),dv="",Ce=(n,e)=>{const t=n.__vccOpts||n;for(const[s,r]of e)t[s]=r;return t},qm={name:"Privacy"},Wm=[(n=>(Kt("data-v-70836592"),n=n(),Yt(),n))(()=>b("div",{class:"tooltip bottom whitespace-normal","data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser."},[b("svg",{class:"fill-current h-6 w-6 m-auto",xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 214.27 214.27"},[b("path",{d:"M196.926 55.171c-.11-5.785-.215-11.25-.215-16.537a7.5 7.5 0 0 0-7.5-7.5c-32.075 0-56.496-9.218-76.852-29.01a7.498 7.498 0 0 0-10.457 0c-20.354 19.792-44.771 29.01-76.844 29.01a7.5 7.5 0 0 0-7.5 7.5c0 5.288-.104 10.755-.215 16.541-1.028 53.836-2.436 127.567 87.331 158.682a7.495 7.495 0 0 0 4.912 0c89.774-31.116 88.368-104.849 87.34-158.686zm-89.795 143.641c-76.987-27.967-75.823-89.232-74.79-143.351.062-3.248.122-6.396.164-9.482 30.04-1.268 54.062-10.371 74.626-28.285 20.566 17.914 44.592 27.018 74.634 28.285.042 3.085.102 6.231.164 9.477 1.032 54.121 2.195 115.388-74.798 143.356z"}),b("path",{d:"m132.958 81.082-36.199 36.197-15.447-15.447a7.501 7.501 0 0 0-10.606 10.607l20.75 20.75a7.477 7.477 0 0 0 5.303 2.196 7.477 7.477 0 0 0 5.303-2.196l41.501-41.5a7.498 7.498 0 0 0 .001-10.606 7.5 7.5 0 0 0-10.606-.001z"})])],-1))];function Km(n,e,t,s,r,i){return I(),W("div",null,Wm)}const Ym=Ce(qm,[["render",Km],["__scopeId","data-v-70836592"]]),Xm={name:"DiagramTitle",props:["context"],computed:{title:function(){var n;return(n=this.context)==null?void 0:n.content()}}},Qm={class:"title text-skin-title text-base font-semibold"};function Jm(n,e,t,s,r,i){return I(),W("div",Qm,qe(i.title),1)}const eL=Ce(Xm,[["render",Jm]]);var Za={exports:{}},tL={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Sh={exports:{}},nL=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},sL=nL,rL=Array.prototype.concat,iL=Array.prototype.slice,Rh=Sh.exports=function(e){for(var t=[],s=0,r=e.length;s<r;s++){var i=e[s];sL(i)?t=rL.call(t,iL.call(i)):t.push(i)}return t};Rh.wrap=function(n){return function(){return n(Rh(arguments))}};var oo=tL,wr=Sh.exports,kh={};for(var qa in oo)oo.hasOwnProperty(qa)&&(kh[oo[qa]]=qa);var wt=Za.exports={to:{},get:{}};wt.get=function(n){var e=n.substring(0,3).toLowerCase(),t,s;switch(e){case"hsl":t=wt.get.hsl(n),s="hsl";break;case"hwb":t=wt.get.hwb(n),s="hwb";break;default:t=wt.get.rgb(n),s="rgb";break}return t?{model:s,value:t}:null},wt.get.rgb=function(n){if(!n)return null;var e=/^#([a-f0-9]{3,4})$/i,t=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,s=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/(\D+)/,o=[0,0,0,1],a,l,c;if(a=n.match(t)){for(c=a[2],a=a[1],l=0;l<3;l++){var u=l*2;o[l]=parseInt(a.slice(u,u+2),16)}c&&(o[3]=parseInt(c,16)/255)}else if(a=n.match(e)){for(a=a[1],c=a[3],l=0;l<3;l++)o[l]=parseInt(a[l]+a[l],16);c&&(o[3]=parseInt(c+c,16)/255)}else if(a=n.match(s)){for(l=0;l<3;l++)o[l]=parseInt(a[l+1],0);a[4]&&(o[3]=parseFloat(a[4]))}else if(a=n.match(r)){for(l=0;l<3;l++)o[l]=Math.round(parseFloat(a[l+1])*2.55);a[4]&&(o[3]=parseFloat(a[4]))}else return(a=n.match(i))?a[1]==="transparent"?[0,0,0,0]:(o=oo[a[1]],o?(o[3]=1,o):null):null;for(l=0;l<3;l++)o[l]=An(o[l],0,255);return o[3]=An(o[3],0,1),o},wt.get.hsl=function(n){if(!n)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,t=n.match(e);if(t){var s=parseFloat(t[4]),r=(parseFloat(t[1])+360)%360,i=An(parseFloat(t[2]),0,100),o=An(parseFloat(t[3]),0,100),a=An(isNaN(s)?1:s,0,1);return[r,i,o,a]}return null},wt.get.hwb=function(n){if(!n)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,t=n.match(e);if(t){var s=parseFloat(t[4]),r=(parseFloat(t[1])%360+360)%360,i=An(parseFloat(t[2]),0,100),o=An(parseFloat(t[3]),0,100),a=An(isNaN(s)?1:s,0,1);return[r,i,o,a]}return null},wt.to.hex=function(){var n=wr(arguments);return"#"+ao(n[0])+ao(n[1])+ao(n[2])+(n[3]<1?ao(Math.round(n[3]*255)):"")},wt.to.rgb=function(){var n=wr(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"},wt.to.rgb.percent=function(){var n=wr(arguments),e=Math.round(n[0]/255*100),t=Math.round(n[1]/255*100),s=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+e+"%, "+t+"%, "+s+"%)":"rgba("+e+"%, "+t+"%, "+s+"%, "+n[3]+")"},wt.to.hsl=function(){var n=wr(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"},wt.to.hwb=function(){var n=wr(arguments),e="";return n.length>=4&&n[3]!==1&&(e=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+e+")"},wt.to.keyword=function(n){return kh[n.slice(0,3)]};function An(n,e,t){return Math.min(Math.max(e,n),t)}function ao(n){var e=n.toString(16).toUpperCase();return e.length<2?"0"+e:e}function oL(n){const e=Za.exports.get.rgb(n);let[t,s,r]=e;return(t*299+s*587+r*114)/1e3}function aL(n){const e=Za.exports.get.rgb(n);let[t,s,r]=e;return`rgb(${t}, ${s}, ${r})`}const lL=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ */var E3="store";function es(n,t){Object.keys(n).forEach(function(e){return t(n[e],e)})}function ac(n){return n!==null&&typeof n=="object"}function b3(n){return n&&typeof n.then=="function"}function w3(n,t){return function(){return n(t)}}function lc(n,t,e){return t.indexOf(n)<0&&(e&&e.prepend?t.unshift(n):t.push(n)),function(){var s=t.indexOf(n);s>-1&&t.splice(s,1)}}function cc(n,t){n._actions=Object.create(null),n._mutations=Object.create(null),n._wrappedGetters=Object.create(null),n._modulesNamespaceMap=Object.create(null);var e=n.state;$r(n,e,[],n._modules.root,!0),T1(n,e,t)}function T1(n,t,e){var s=n._state,r=n._scope;n.getters={},n._makeLocalGettersCache=Object.create(null);var i=n._wrappedGetters,o={},a={},l=J2(!0);l.run(function(){es(i,function(c,u){o[u]=w3(c,n),a[u]=Xl(function(){return o[u]()}),Object.defineProperty(n.getters,u,{get:function(){return a[u].value},enumerable:!0})})}),n._state=Cr({data:t}),n._scope=l,n.strict&&R3(n),s&&e&&n._withCommit(function(){s.data=null}),r&&r.stop()}function $r(n,t,e,s,r){var i=!e.length,o=n._modules.getNamespace(e);if(s.namespaced&&(n._modulesNamespaceMap[o],n._modulesNamespaceMap[o]=s),!i&&!r){var a=v1(t,e.slice(0,-1)),l=e[e.length-1];n._withCommit(function(){a[l]=s.state})}var c=s.context=T3(n,o,e);s.forEachMutation(function(u,f){var p=o+f;v3(n,p,u,c)}),s.forEachAction(function(u,f){var p=u.root?f:o+f,g=u.handler||u;A3(n,p,g,c)}),s.forEachGetter(function(u,f){var p=o+f;S3(n,p,u,c)}),s.forEachChild(function(u,f){$r(n,t,e.concat(f),u,r)})}function T3(n,t,e){var s=t==="",r={dispatch:s?n.dispatch:function(i,o,a){var l=Br(i,o,a),c=l.payload,u=l.options,f=l.type;return(!u||!u.root)&&(f=t+f),n.dispatch(f,c)},commit:s?n.commit:function(i,o,a){var l=Br(i,o,a),c=l.payload,u=l.options,f=l.type;(!u||!u.root)&&(f=t+f),n.commit(f,c,u)}};return Object.defineProperties(r,{getters:{get:s?function(){return n.getters}:function(){return uc(n,t)}},state:{get:function(){return v1(n.state,e)}}}),r}function uc(n,t){if(!n._makeLocalGettersCache[t]){var e={},s=t.length;Object.keys(n.getters).forEach(function(r){if(r.slice(0,s)===t){var i=r.slice(s);Object.defineProperty(e,i,{get:function(){return n.getters[r]},enumerable:!0})}}),n._makeLocalGettersCache[t]=e}return n._makeLocalGettersCache[t]}function v3(n,t,e,s){var r=n._mutations[t]||(n._mutations[t]=[]);r.push(function(o){e.call(n,s.state,o)})}function A3(n,t,e,s){var r=n._actions[t]||(n._actions[t]=[]);r.push(function(o){var a=e.call(n,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:n.getters,rootState:n.state},o);return b3(a)||(a=Promise.resolve(a)),n._devtoolHook?a.catch(function(l){throw n._devtoolHook.emit("vuex:error",l),l}):a})}function S3(n,t,e,s){n._wrappedGetters[t]||(n._wrappedGetters[t]=function(i){return e(s.state,s.getters,i.state,i.getters)})}function R3(n){Rs(function(){return n._state.data},function(){},{deep:!0,flush:"sync"})}function v1(n,t){return t.reduce(function(e,s){return e[s]},n)}function Br(n,t,e){return ac(n)&&n.type&&(e=t,t=n,n=n.type),{type:n,payload:t,options:e}}var k3="vuex bindings",hc="vuex:mutations",A1="vuex:actions",ns="vuex",I3=0;function O3(n,t){C3({id:"org.vuejs.vuex",app:n,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[k3]},function(e){e.addTimelineLayer({id:hc,label:"Vuex Mutations",color:fc}),e.addTimelineLayer({id:A1,label:"Vuex Actions",color:fc}),e.addInspector({id:ns,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),e.on.getInspectorTree(function(s){if(s.app===n&&s.inspectorId===ns)if(s.filter){var r=[];xc(r,t._modules.root,s.filter,""),s.rootNodes=r}else s.rootNodes=[gc(t._modules.root,"")]}),e.on.getInspectorState(function(s){if(s.app===n&&s.inspectorId===ns){var r=s.nodeId;uc(t,r),s.state=M3(D3(t._modules,r),r==="root"?t.getters:t._makeLocalGettersCache,r)}}),e.on.editInspectorState(function(s){if(s.app===n&&s.inspectorId===ns){var r=s.nodeId,i=s.path;r!=="root"&&(i=r.split("/").filter(Boolean).concat(i)),t._withCommit(function(){s.set(t._state.data,i,s.state.value)})}}),t.subscribe(function(s,r){var i={};s.payload&&(i.payload=s.payload),i.state=r,e.notifyComponentUpdate(),e.sendInspectorTree(ns),e.sendInspectorState(ns),e.addTimelineEvent({layerId:hc,event:{time:Date.now(),title:s.type,data:i}})}),t.subscribeAction({before:function(s,r){var i={};s.payload&&(i.payload=s.payload),s._id=I3++,s._time=Date.now(),i.state=r,e.addTimelineEvent({layerId:A1,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:i}})},after:function(s,r){var i={},o=Date.now()-s._time;i.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},s.payload&&(i.payload=s.payload),i.state=r,e.addTimelineEvent({layerId:A1,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:i}})}})})}var fc=8702998,N3=6710886,P3=16777215,dc={label:"namespaced",textColor:P3,backgroundColor:N3};function pc(n){return n&&n!=="root"?n.split("/").slice(-2,-1)[0]:"Root"}function gc(n,t){return{id:t||"root",label:pc(t),tags:n.namespaced?[dc]:[],children:Object.keys(n._children).map(function(e){return gc(n._children[e],t+e+"/")})}}function xc(n,t,e,s){s.includes(e)&&n.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:t.namespaced?[dc]:[]}),Object.keys(t._children).forEach(function(r){xc(n,t._children[r],e,s+r+"/")})}function M3(n,t,e){t=e==="root"?t:t[e];var s=Object.keys(t),r={state:Object.keys(n.state).map(function(o){return{key:o,editable:!0,value:n.state[o]}})};if(s.length){var i=F3(t);r.getters=Object.keys(i).map(function(o){return{key:o.endsWith("/")?pc(o):o,editable:!1,value:S1(function(){return i[o]})}})}return r}function F3(n){var t={};return Object.keys(n).forEach(function(e){var s=e.split("/");if(s.length>1){var r=t,i=s.pop();s.forEach(function(o){r[o]||(r[o]={_custom:{value:{},display:o,tooltip:"Module",abstract:!0}}),r=r[o]._custom.value}),r[i]=S1(function(){return n[e]})}else t[e]=S1(function(){return n[e]})}),t}function D3(n,t){var e=t.split("/").filter(function(s){return s});return e.reduce(function(s,r,i){var o=s[r];if(!o)throw new Error('Missing module "'+r+'" for path "'+t+'".');return i===e.length-1?o:o._children},t==="root"?n:n.root._children)}function S1(n){try{return n()}catch(t){return t}}var De=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var s=t.state;this.state=(typeof s=="function"?s():s)||{}},mc={namespaced:{configurable:!0}};mc.namespaced.get=function(){return!!this._rawModule.namespaced},De.prototype.addChild=function(t,e){this._children[t]=e},De.prototype.removeChild=function(t){delete this._children[t]},De.prototype.getChild=function(t){return this._children[t]},De.prototype.hasChild=function(t){return t in this._children},De.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},De.prototype.forEachChild=function(t){es(this._children,t)},De.prototype.forEachGetter=function(t){this._rawModule.getters&&es(this._rawModule.getters,t)},De.prototype.forEachAction=function(t){this._rawModule.actions&&es(this._rawModule.actions,t)},De.prototype.forEachMutation=function(t){this._rawModule.mutations&&es(this._rawModule.mutations,t)},Object.defineProperties(De.prototype,mc);var Mn=function(t){this.register([],t,!1)};Mn.prototype.get=function(t){return t.reduce(function(e,s){return e.getChild(s)},this.root)},Mn.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(s,r){return e=e.getChild(r),s+(e.namespaced?r+"/":"")},"")},Mn.prototype.update=function(t){Lc([],this.root,t)},Mn.prototype.register=function(t,e,s){var r=this;s===void 0&&(s=!0);var i=new De(e,s);if(t.length===0)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&es(e.modules,function(a,l){r.register(t.concat(l),a,s)})},Mn.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),s=t[t.length-1],r=e.getChild(s);!r||!r.runtime||e.removeChild(s)},Mn.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),s=t[t.length-1];return e?e.hasChild(s):!1};function Lc(n,t,e){if(t.update(e),e.modules)for(var s in e.modules){if(!t.getChild(s))return;Lc(n.concat(s),t.getChild(s),e.modules[s])}}function _c(n){return new ue(n)}var ue=function(t){var e=this;t===void 0&&(t={});var s=t.plugins;s===void 0&&(s=[]);var r=t.strict;r===void 0&&(r=!1);var i=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Mn(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=i;var o=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(p,g){return l.call(o,p,g)},this.commit=function(p,g,R){return c.call(o,p,g,R)},this.strict=r;var u=this._modules.root.state;$r(this,u,[],this._modules.root),T1(this,u),s.forEach(function(f){return f(e)})},R1={state:{configurable:!0}};ue.prototype.install=function(t,e){t.provide(e||E3,this),t.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&O3(t,this)},R1.state.get=function(){return this._state.data},R1.state.set=function(n){},ue.prototype.commit=function(t,e,s){var r=this,i=Br(t,e,s),o=i.type,a=i.payload,l={type:o,payload:a},c=this._mutations[o];!c||(this._withCommit(function(){c.forEach(function(f){f(a)})}),this._subscribers.slice().forEach(function(u){return u(l,r.state)}))},ue.prototype.dispatch=function(t,e){var s=this,r=Br(t,e),i=r.type,o=r.payload,a={type:i,payload:o},l=this._actions[i];if(!!l){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(u){return u(o)})):l[0](o);return new Promise(function(u,f){c.then(function(p){try{s._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(a,s.state)})}catch{}u(p)},function(p){try{s._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(a,s.state,p)})}catch{}f(p)})})}},ue.prototype.subscribe=function(t,e){return lc(t,this._subscribers,e)},ue.prototype.subscribeAction=function(t,e){var s=typeof t=="function"?{before:t}:t;return lc(s,this._actionSubscribers,e)},ue.prototype.watch=function(t,e,s){var r=this;return Rs(function(){return t(r.state,r.getters)},e,Object.assign({},s))},ue.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._state.data=t})},ue.prototype.registerModule=function(t,e,s){s===void 0&&(s={}),typeof t=="string"&&(t=[t]),this._modules.register(t,e),$r(this,this.state,t,this._modules.get(t),s.preserveState),T1(this,this.state)},ue.prototype.unregisterModule=function(t){var e=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var s=v1(e.state,t.slice(0,-1));delete s[t[t.length-1]]}),cc(this)},ue.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)},ue.prototype.hotUpdate=function(t){this._modules.update(t),cc(this,!0)},ue.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(ue.prototype,R1);var k1=N1(function(n,t){var e={};return O1(t).forEach(function(s){var r=s.key,i=s.val;e[r]=function(){var a=this.$store.state,l=this.$store.getters;if(n){var c=P1(this.$store,"mapState",n);if(!c)return;a=c.context.state,l=c.context.getters}return typeof i=="function"?i.call(this,a,l):a[i]},e[r].vuex=!0}),e}),I1=N1(function(n,t){var e={};return O1(t).forEach(function(s){var r=s.key,i=s.val;e[r]=function(){for(var a=[],l=arguments.length;l--;)a[l]=arguments[l];var c=this.$store.commit;if(n){var u=P1(this.$store,"mapMutations",n);if(!u)return;c=u.context.commit}return typeof i=="function"?i.apply(this,[c].concat(a)):c.apply(this.$store,[i].concat(a))}}),e}),me=N1(function(n,t){var e={};return O1(t).forEach(function(s){var r=s.key,i=s.val;i=n+i,e[r]=function(){if(!(n&&!P1(this.$store,"mapGetters",n)))return this.$store.getters[i]},e[r].vuex=!0}),e});function O1(n){return $3(n)?Array.isArray(n)?n.map(function(t){return{key:t,val:t}}):Object.keys(n).map(function(t){return{key:t,val:n[t]}}):[]}function $3(n){return Array.isArray(n)||ac(n)}function N1(n){return function(t,e){return typeof t!="string"?(e=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),n(t,e)}}function P1(n,t,e){var s=n._modulesNamespaceMap[e];return s}var B3=typeof Xt=="object"&&Xt&&Xt.Object===Object&&Xt,yc=B3,U3=yc,H3=typeof self=="object"&&self&&self.Object===Object&&self,G3=U3||H3||Function("return this")(),Fn=G3,z3=Fn,V3=function(){return z3.Date.now()},j3=V3;String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const n=this.toString();let t,e;const s=n.length&3,r=n.length-s;let i=String.prototype.seed;const o=3432918353,a=461845907;let l=0;for(;l<r;)e=n.charCodeAt(l)&255|(n.charCodeAt(++l)&255)<<8|(n.charCodeAt(++l)&255)<<16|(n.charCodeAt(++l)&255)<<24,++l,e=(e&65535)*o+(((e>>>16)*o&65535)<<16)&4294967295,e=e<<15|e>>>17,e=(e&65535)*a+(((e>>>16)*a&65535)<<16)&4294967295,i^=e,i=i<<13|i>>>19,t=(i&65535)*5+(((i>>>16)*5&65535)<<16)&4294967295,i=(t&65535)+27492+(((t>>>16)+58964&65535)<<16);switch(e=0,s){case 3:e^=(n.charCodeAt(l+2)&255)<<16;case 2:e^=(n.charCodeAt(l+1)&255)<<8;case 1:e^=n.charCodeAt(l)&255,e=(e&65535)*o+(((e>>>16)*o&65535)<<16)&4294967295,e=e<<15|e>>>17,e=(e&65535)*a+(((e>>>16)*a&65535)<<16)&4294967295,i^=e}return i^=n.length,i^=i>>>16,i=(i&65535)*2246822507+(((i>>>16)*2246822507&65535)<<16)&4294967295,i^=i>>>13,i=(i&65535)*3266489909+(((i>>>16)*3266489909&65535)<<16)&4294967295,i^=i>>>16,i>>>0};/*! https://mths.be/codepointat v0.2.0 by @mathias */String.prototype.codePointAt||function(){var n=function(){let e;try{const s={},r=Object.defineProperty;e=r(s,s,s)&&r}catch{}return e}();const t=function(e){if(this==null)throw TypeError();const s=String(this),r=s.length;let i=e?Number(e):0;if(i!==i&&(i=0),i<0||i>=r)return;const o=s.charCodeAt(i);let a;return o>=55296&&o<=56319&&r>i+1&&(a=s.charCodeAt(i+1),a>=56320&&a<=57343)?(o-55296)*1024+a-56320+65536:o};n?n(String.prototype,"codePointAt",{value:t,configurable:!0,writable:!0}):String.prototype.codePointAt=t}();/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */String.fromCodePoint||function(){const n=function(){let r;try{const i={},o=Object.defineProperty;r=o(i,i,i)&&o}catch{}return r}(),t=String.fromCharCode,e=Math.floor,s=function(r){const o=[];let a,l,c=-1;const u=arguments.length;if(!u)return"";let f="";for(;++c<u;){let p=Number(arguments[c]);if(!isFinite(p)||p<0||p>1114111||e(p)!==p)throw RangeError("Invalid code point: "+p);p<=65535?o.push(p):(p-=65536,a=(p>>10)+55296,l=p%1024+56320,o.push(a,l)),(c+1===u||o.length>16384)&&(f+=t.apply(null,o),o.length=0)}return f};n?n(String,"fromCodePoint",{value:s,configurable:!0,writable:!0}):String.fromCodePoint=s}();class S{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(t){this._text=t}}S.INVALID_TYPE=0,S.EPSILON=-2,S.MIN_USER_TOKEN_TYPE=1,S.EOF=-1,S.DEFAULT_CHANNEL=0,S.HIDDEN_CHANNEL=1;function ss(n,t){if(!Array.isArray(n)||!Array.isArray(t))return!1;if(n===t)return!0;if(n.length!==t.length)return!1;for(let e=0;e<n.length;e++)if(n[e]!==t[e]&&(!n[e].equals||!n[e].equals(t[e])))return!1;return!0}class Le{constructor(){this.count=0,this.hash=0}update(){for(let t=0;t<arguments.length;t++){const e=arguments[t];if(e!=null)if(Array.isArray(e))this.update.apply(this,e);else{let s=0;switch(typeof e){case"undefined":case"function":continue;case"number":case"boolean":s=e;break;case"string":s=e.hashCode();break;default:e.updateHashCode?e.updateHashCode(this):console.log("No updateHashCode for "+e.toString());continue}s=s*3432918353,s=s<<15|s>>>32-15,s=s*461845907,this.count=this.count+1;let r=this.hash^s;r=r<<13|r>>>32-13,r=r*5+3864292196,this.hash=r}}}finish(){let t=this.hash^this.count*4;return t=t^t>>>16,t=t*2246822507,t=t^t>>>13,t=t*3266489909,t=t^t>>>16,t}static hashStuff(){const t=new Le;return t.update.apply(t,arguments),t.finish()}}function Cc(n){return n?n.hashCode():-1}function Ec(n,t){return n?n.equals(t):n===t}function Z3(n){return n===null?"null":n}function _n(n){return Array.isArray(n)?"["+n.map(Z3).join(", ")+"]":"null"}const Ur="h-";class _e{constructor(t,e){this.data={},this.hashFunction=t||Cc,this.equalsFunction=e||Ec}add(t){const e=Ur+this.hashFunction(t);if(e in this.data){const s=this.data[e];for(let r=0;r<s.length;r++)if(this.equalsFunction(t,s[r]))return s[r];return s.push(t),t}else return this.data[e]=[t],t}has(t){return this.get(t)!=null}get(t){const e=Ur+this.hashFunction(t);if(e in this.data){const s=this.data[e];for(let r=0;r<s.length;r++)if(this.equalsFunction(t,s[r]))return s[r]}return null}values(){return Object.keys(this.data).filter(t=>t.startsWith(Ur)).flatMap(t=>this.data[t],this)}toString(){return _n(this.values())}get length(){return Object.keys(this.data).filter(t=>t.startsWith(Ur)).map(t=>this.data[t].length,this).reduce((t,e)=>t+e,0)}}class gt{hashCode(){const t=new Le;return this.updateHashCode(t),t.finish()}evaluate(t,e){}evalPrecedence(t,e){return this}static andContext(t,e){if(t===null||t===gt.NONE)return e;if(e===null||e===gt.NONE)return t;const s=new Fs(t,e);return s.opnds.length===1?s.opnds[0]:s}static orContext(t,e){if(t===null)return e;if(e===null)return t;if(t===gt.NONE||e===gt.NONE)return gt.NONE;const s=new Ds(t,e);return s.opnds.length===1?s.opnds[0]:s}}class Fs extends gt{constructor(t,e){super();const s=new _e;t instanceof Fs?t.opnds.map(function(i){s.add(i)}):s.add(t),e instanceof Fs?e.opnds.map(function(i){s.add(i)}):s.add(e);const r=bc(s);if(r.length>0){let i=null;r.map(function(o){(i===null||o.precedence<i.precedence)&&(i=o)}),s.add(i)}this.opnds=Array.from(s.values())}equals(t){return this===t?!0:t instanceof Fs?ss(this.opnds,t.opnds):!1}updateHashCode(t){t.update(this.opnds,"AND")}evaluate(t,e){for(let s=0;s<this.opnds.length;s++)if(!this.opnds[s].evaluate(t,e))return!1;return!0}evalPrecedence(t,e){let s=!1;const r=[];for(let o=0;o<this.opnds.length;o++){const a=this.opnds[o],l=a.evalPrecedence(t,e);if(s|=l!==a,l===null)return null;l!==gt.NONE&&r.push(l)}if(!s)return this;if(r.length===0)return gt.NONE;let i=null;return r.map(function(o){i=i===null?o:gt.andContext(i,o)}),i}toString(){const t=this.opnds.map(e=>e.toString());return(t.length>3?t.slice(3):t).join("&&")}}class Ds extends gt{constructor(t,e){super();const s=new _e;t instanceof Ds?t.opnds.map(function(i){s.add(i)}):s.add(t),e instanceof Ds?e.opnds.map(function(i){s.add(i)}):s.add(e);const r=bc(s);if(r.length>0){const i=r.sort(function(a,l){return a.compareTo(l)}),o=i[i.length-1];s.add(o)}this.opnds=Array.from(s.values())}equals(t){return this===t?!0:t instanceof Ds?ss(this.opnds,t.opnds):!1}updateHashCode(t){t.update(this.opnds,"OR")}evaluate(t,e){for(let s=0;s<this.opnds.length;s++)if(this.opnds[s].evaluate(t,e))return!0;return!1}evalPrecedence(t,e){let s=!1;const r=[];for(let o=0;o<this.opnds.length;o++){const a=this.opnds[o],l=a.evalPrecedence(t,e);if(s|=l!==a,l===gt.NONE)return gt.NONE;l!==null&&r.push(l)}return s?(r.length===0,null):this}toString(){const t=this.opnds.map(e=>e.toString());return(t.length>3?t.slice(3):t).join("||")}}function bc(n){const t=[];return n.values().map(function(e){e instanceof gt.PrecedencePredicate&&t.push(e)}),t}function wc(n,t){if(n===null){const e={state:null,alt:null,context:null,semanticContext:null};return t&&(e.reachesIntoOuterContext=0),e}else{const e={};return e.state=n.state||null,e.alt=n.alt===void 0?null:n.alt,e.context=n.context||null,e.semanticContext=n.semanticContext||null,t&&(e.reachesIntoOuterContext=n.reachesIntoOuterContext||0,e.precedenceFilterSuppressed=n.precedenceFilterSuppressed||!1),e}}class $t{constructor(t,e){this.checkContext(t,e),t=wc(t),e=wc(e,!0),this.state=t.state!==null?t.state:e.state,this.alt=t.alt!==null?t.alt:e.alt,this.context=t.context!==null?t.context:e.context,this.semanticContext=t.semanticContext!==null?t.semanticContext:e.semanticContext!==null?e.semanticContext:gt.NONE,this.reachesIntoOuterContext=e.reachesIntoOuterContext,this.precedenceFilterSuppressed=e.precedenceFilterSuppressed}checkContext(t,e){(t.context===null||t.context===void 0)&&(e===null||e.context===null||e.context===void 0)&&(this.context=null)}hashCode(){const t=new Le;return this.updateHashCode(t),t.finish()}updateHashCode(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(t){return this===t?!0:t instanceof $t?this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&(this.context===null?t.context===null:this.context.equals(t.context))&&this.semanticContext.equals(t.semanticContext)&&this.precedenceFilterSuppressed===t.precedenceFilterSuppressed:!1}hashCodeForConfigSet(){const t=new Le;return t.update(this.state.stateNumber,this.alt,this.semanticContext),t.finish()}equalsForConfigSet(t){return this===t?!0:t instanceof $t?this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&this.semanticContext.equals(t.semanticContext):!1}toString(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==gt.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class xt{constructor(t,e){this.start=t,this.stop=e}clone(){return new xt(this.start,this.stop)}contains(t){return t>=this.start&&t<this.stop}toString(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}get length(){return this.stop-this.start}}xt.INVALID_INTERVAL=new xt(-1,-2);class ve{constructor(){this.intervals=null,this.readOnly=!1}first(t){return this.intervals===null||this.intervals.length===0?S.INVALID_TYPE:this.intervals[0].start}addOne(t){this.addInterval(new xt(t,t+1))}addRange(t,e){this.addInterval(new xt(t,e+1))}addInterval(t){if(this.intervals===null)this.intervals=[],this.intervals.push(t.clone());else{for(let e=0;e<this.intervals.length;e++){const s=this.intervals[e];if(t.stop<s.start){this.intervals.splice(e,0,t);return}else if(t.stop===s.start){this.intervals[e]=new xt(t.start,s.stop);return}else if(t.start<=s.stop){this.intervals[e]=new xt(Math.min(s.start,t.start),Math.max(s.stop,t.stop)),this.reduce(e);return}}this.intervals.push(t.clone())}}addSet(t){return t.intervals!==null&&t.intervals.forEach(e=>this.addInterval(e),this),this}reduce(t){if(t<this.intervals.length-1){const e=this.intervals[t],s=this.intervals[t+1];e.stop>=s.stop?(this.intervals.splice(t+1,1),this.reduce(t)):e.stop>=s.start&&(this.intervals[t]=new xt(e.start,s.stop),this.intervals.splice(t+1,1))}}complement(t,e){const s=new ve;return s.addInterval(new xt(t,e+1)),this.intervals!==null&&this.intervals.forEach(r=>s.removeRange(r)),s}contains(t){if(this.intervals===null)return!1;for(let e=0;e<this.intervals.length;e++)if(this.intervals[e].contains(t))return!0;return!1}removeRange(t){if(t.start===t.stop-1)this.removeOne(t.start);else if(this.intervals!==null){let e=0;for(let s=0;s<this.intervals.length;s++){const r=this.intervals[e];if(t.stop<=r.start)return;if(t.start>r.start&&t.stop<r.stop){this.intervals[e]=new xt(r.start,t.start);const i=new xt(t.stop,r.stop);this.intervals.splice(e,0,i);return}else t.start<=r.start&&t.stop>=r.stop?(this.intervals.splice(e,1),e=e-1):t.start<r.stop?this.intervals[e]=new xt(r.start,t.start):t.stop<r.stop&&(this.intervals[e]=new xt(t.stop,r.stop));e+=1}}}removeOne(t){if(this.intervals!==null)for(let e=0;e<this.intervals.length;e++){const s=this.intervals[e];if(t<s.start)return;if(t===s.start&&t===s.stop-1){this.intervals.splice(e,1);return}else if(t===s.start){this.intervals[e]=new xt(s.start+1,s.stop);return}else if(t===s.stop-1){this.intervals[e]=new xt(s.start,s.stop-1);return}else if(t<s.stop-1){const r=new xt(s.start,t);s.start=t+1,this.intervals.splice(e,0,r);return}}}toString(t,e,s){return t=t||null,e=e||null,s=s||!1,this.intervals===null?"{}":t!==null||e!==null?this.toTokenString(t,e):s?this.toCharString():this.toIndexString()}toCharString(){const t=[];for(let e=0;e<this.intervals.length;e++){const s=this.intervals[e];s.stop===s.start+1?s.start===S.EOF?t.push("<EOF>"):t.push("'"+String.fromCharCode(s.start)+"'"):t.push("'"+String.fromCharCode(s.start)+"'..'"+String.fromCharCode(s.stop-1)+"'")}return t.length>1?"{"+t.join(", ")+"}":t[0]}toIndexString(){const t=[];for(let e=0;e<this.intervals.length;e++){const s=this.intervals[e];s.stop===s.start+1?s.start===S.EOF?t.push("<EOF>"):t.push(s.start.toString()):t.push(s.start.toString()+".."+(s.stop-1).toString())}return t.length>1?"{"+t.join(", ")+"}":t[0]}toTokenString(t,e){const s=[];for(let r=0;r<this.intervals.length;r++){const i=this.intervals[r];for(let o=i.start;o<i.stop;o++)s.push(this.elementName(t,e,o))}return s.length>1?"{"+s.join(", ")+"}":s[0]}elementName(t,e,s){return s===S.EOF?"<EOF>":s===S.EPSILON?"<EPSILON>":t[s]||e[s]}get length(){return this.intervals.map(t=>t.length).reduce((t,e)=>t+e)}}class z{constructor(){this.atn=null,this.stateNumber=z.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(t){return t instanceof z?this.stateNumber===t.stateNumber:!1}isNonGreedyExitState(){return!1}addTransition(t,e){e===void 0&&(e=-1),this.transitions.length===0?this.epsilonOnlyTransitions=t.isEpsilon:this.epsilonOnlyTransitions!==t.isEpsilon&&(this.epsilonOnlyTransitions=!1),e===-1?this.transitions.push(t):this.transitions.splice(e,1,t)}}z.INVALID_TYPE=0,z.BASIC=1,z.RULE_START=2,z.BLOCK_START=3,z.PLUS_BLOCK_START=4,z.STAR_BLOCK_START=5,z.TOKEN_START=6,z.RULE_STOP=7,z.BLOCK_END=8,z.STAR_LOOP_BACK=9,z.STAR_LOOP_ENTRY=10,z.PLUS_LOOP_BACK=11,z.LOOP_END=12,z.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],z.INVALID_STATE_NUMBER=-1;class ie extends z{constructor(){return super(),this.stateType=z.RULE_STOP,this}}class B{constructor(t){if(t==null)throw"target cannot be null.";this.target=t,this.isEpsilon=!1,this.label=null}}B.EPSILON=1,B.RANGE=2,B.RULE=3,B.PREDICATE=4,B.ATOM=5,B.ACTION=6,B.SET=7,B.NOT_SET=8,B.WILDCARD=9,B.PRECEDENCE=10,B.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],B.serializationTypes={EpsilonTransition:B.EPSILON,RangeTransition:B.RANGE,RuleTransition:B.RULE,PredicateTransition:B.PREDICATE,AtomTransition:B.ATOM,ActionTransition:B.ACTION,SetTransition:B.SET,NotSetTransition:B.NOT_SET,WildcardTransition:B.WILDCARD,PrecedencePredicateTransition:B.PRECEDENCE};class Hr extends B{constructor(t,e,s,r){super(t),this.ruleIndex=e,this.precedence=s,this.followState=r,this.serializationType=B.RULE,this.isEpsilon=!0}matches(t,e,s){return!1}}class M1 extends B{constructor(t,e){super(t),this.serializationType=B.SET,e!=null?this.label=e:(this.label=new ve,this.label.addOne(S.INVALID_TYPE))}matches(t,e,s){return this.label.contains(t)}toString(){return this.label.toString()}}class F1 extends M1{constructor(t,e){super(t,e),this.serializationType=B.NOT_SET}matches(t,e,s){return t>=e&&t<=s&&!super.matches(t,e,s)}toString(){return"~"+super.toString()}}class Tc extends B{constructor(t){super(t),this.serializationType=B.WILDCARD}matches(t,e,s){return t>=e&&t<=s}toString(){return"."}}class D1 extends B{constructor(t){super(t)}}class q3{}class W3 extends q3{}class vc extends W3{}class Gr extends vc{getRuleContext(){throw new Error("missing interface implementation")}}class sn extends vc{}class zr extends sn{}function K3(n,t){return n=n.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),t&&(n=n.replace(/ /g,"\xB7")),n}const We={toStringTree:function(n,t,e){t=t||null,e=e||null,e!==null&&(t=e.ruleNames);let s=We.getNodeText(n,t);s=K3(s,!1);const r=n.getChildCount();if(r===0)return s;let i="("+s+" ";r>0&&(s=We.toStringTree(n.getChild(0),t),i=i.concat(s));for(let o=1;o<r;o++)s=We.toStringTree(n.getChild(o),t),i=i.concat(" "+s);return i=i.concat(")"),i},getNodeText:function(n,t,e){if(t=t||null,e=e||null,e!==null&&(t=e.ruleNames),t!==null)if(n instanceof Gr){const i=n.getRuleContext().getAltNumber();return i!=0?t[n.ruleIndex]+":"+i:t[n.ruleIndex]}else{if(n instanceof zr)return n.toString();if(n instanceof sn&&n.symbol!==null)return n.symbol.text}const s=n.getPayload();return s instanceof S?s.text:n.getPayload().toString()},getChildren:function(n){const t=[];for(let e=0;e<n.getChildCount();e++)t.push(n.getChild(e));return t},getAncestors:function(n){let t=[];for(n=n.getParent();n!==null;)t=[n].concat(t),n=n.getParent();return t},findAllTokenNodes:function(n,t){return We.findAllNodes(n,t,!0)},findAllRuleNodes:function(n,t){return We.findAllNodes(n,t,!1)},findAllNodes:function(n,t,e){const s=[];return We._findAllNodes(n,t,e,s),s},_findAllNodes:function(n,t,e,s){e&&n instanceof sn?n.symbol.type===t&&s.push(n):!e&&n instanceof Gr&&n.ruleIndex===t&&s.push(n);for(let r=0;r<n.getChildCount();r++)We._findAllNodes(n.getChild(r),t,e,s)},descendants:function(n){let t=[n];for(let e=0;e<n.getChildCount();e++)t=t.concat(We.descendants(n.getChild(e)));return t}};class rs extends Gr{constructor(t,e){super(),this.parentCtx=t||null,this.invokingState=e||-1}depth(){let t=0,e=this;for(;e!==null;)e=e.parentCtx,t+=1;return t}isEmpty(){return this.invokingState===-1}getSourceInterval(){return xt.INVALID_INTERVAL}getRuleContext(){return this}getPayload(){return this}getText(){return this.getChildCount()===0?"":this.children.map(function(t){return t.getText()}).join("")}getAltNumber(){return 0}setAltNumber(t){}getChild(t){return null}getChildCount(){return 0}accept(t){return t.visitChildren(this)}toStringTree(t,e){return We.toStringTree(this,t,e)}toString(t,e){t=t||null,e=e||null;let s=this,r="[";for(;s!==null&&s!==e;){if(t===null)s.isEmpty()||(r+=s.invokingState);else{const i=s.ruleIndex,o=i>=0&&i<t.length?t[i]:""+i;r+=o}s.parentCtx!==null&&(t!==null||!s.parentCtx.isEmpty())&&(r+=" "),s=s.parentCtx}return r+="]",r}}class it{constructor(t){this.cachedHashCode=t}isEmpty(){return this===it.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===it.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(t){t.update(this.cachedHashCode)}}it.EMPTY=null,it.EMPTY_RETURN_STATE=2147483647,it.globalNodeCount=1,it.id=it.globalNodeCount;class Ke extends it{constructor(t,e){const s=new Le;s.update(t,e);const r=s.finish();return super(r),this.parents=t,this.returnStates=e,this}isEmpty(){return this.returnStates[0]===it.EMPTY_RETURN_STATE}getParent(t){return this.parents[t]}getReturnState(t){return this.returnStates[t]}equals(t){return this===t?!0:t instanceof Ke?this.hashCode()!==t.hashCode()?!1:ss(this.returnStates,t.returnStates)&&ss(this.parents,t.parents):!1}toString(){if(this.isEmpty())return"[]";{let t="[";for(let e=0;e<this.returnStates.length;e++){if(e>0&&(t=t+", "),this.returnStates[e]===it.EMPTY_RETURN_STATE){t=t+"$";continue}t=t+this.returnStates[e],this.parents[e]!==null?t=t+" "+this.parents[e]:t=t+"null"}return t+"]"}}get length(){return this.returnStates.length}}class oe extends it{constructor(t,e){let s=0;const r=new Le;t!==null?r.update(t,e):r.update(1),s=r.finish(),super(s),this.parentCtx=t,this.returnState=e}getParent(t){return this.parentCtx}getReturnState(t){return this.returnState}equals(t){return this===t?!0:t instanceof oe?this.hashCode()!==t.hashCode()||this.returnState!==t.returnState?!1:this.parentCtx==null?t.parentCtx==null:this.parentCtx.equals(t.parentCtx):!1}toString(){const t=this.parentCtx===null?"":this.parentCtx.toString();return t.length===0?this.returnState===it.EMPTY_RETURN_STATE?"$":""+this.returnState:""+this.returnState+" "+t}get length(){return 1}static create(t,e){return e===it.EMPTY_RETURN_STATE&&t===null?it.EMPTY:new oe(t,e)}}class $1 extends oe{constructor(){super(null,it.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(t){return null}getReturnState(t){return this.returnState}equals(t){return this===t}toString(){return"$"}}it.EMPTY=new $1;const $s="h-";class Bs{constructor(t,e){this.data={},this.hashFunction=t||Cc,this.equalsFunction=e||Ec}set(t,e){const s=$s+this.hashFunction(t);if(s in this.data){const r=this.data[s];for(let i=0;i<r.length;i++){const o=r[i];if(this.equalsFunction(t,o.key)){const a=o.value;return o.value=e,a}}return r.push({key:t,value:e}),e}else return this.data[s]=[{key:t,value:e}],e}containsKey(t){const e=$s+this.hashFunction(t);if(e in this.data){const s=this.data[e];for(let r=0;r<s.length;r++){const i=s[r];if(this.equalsFunction(t,i.key))return!0}}return!1}get(t){const e=$s+this.hashFunction(t);if(e in this.data){const s=this.data[e];for(let r=0;r<s.length;r++){const i=s[r];if(this.equalsFunction(t,i.key))return i.value}}return null}entries(){return Object.keys(this.data).filter(t=>t.startsWith($s)).flatMap(t=>this.data[t],this)}getKeys(){return this.entries().map(t=>t.key)}getValues(){return this.entries().map(t=>t.value)}toString(){return"["+this.entries().map(e=>"{"+e.key+":"+e.value+"}").join(", ")+"]"}get length(){return Object.keys(this.data).filter(t=>t.startsWith($s)).map(t=>this.data[t].length,this).reduce((t,e)=>t+e,0)}}function B1(n,t){if(t==null&&(t=rs.EMPTY),t.parentCtx===null||t===rs.EMPTY)return it.EMPTY;const e=B1(n,t.parentCtx),r=n.states[t.invokingState].transitions[0];return oe.create(e,r.followState.stateNumber)}function Ac(n,t,e){if(n.isEmpty())return n;let s=e.get(n)||null;if(s!==null)return s;if(s=t.get(n),s!==null)return e.set(n,s),s;let r=!1,i=[];for(let a=0;a<i.length;a++){const l=Ac(n.getParent(a),t,e);if(r||l!==n.getParent(a)){if(!r){i=[];for(let c=0;c<n.length;c++)i[c]=n.getParent(c);r=!0}i[a]=l}}if(!r)return t.add(n),e.set(n,n),n;let o=null;return i.length===0?o=it.EMPTY:i.length===1?o=oe.create(i[0],n.getReturnState(0)):o=new Ke(i,n.returnStates),t.add(o),e.set(o,o),e.set(n,o),o}function U1(n,t,e,s){if(n===t)return n;if(n instanceof oe&&t instanceof oe)return Q3(n,t,e,s);if(e){if(n instanceof $1)return n;if(t instanceof $1)return t}return n instanceof oe&&(n=new Ke([n.getParent()],[n.returnState])),t instanceof oe&&(t=new Ke([t.getParent()],[t.returnState])),Y3(n,t,e,s)}function Y3(n,t,e,s){if(s!==null){let u=s.get(n,t);if(u!==null||(u=s.get(t,n),u!==null))return u}let r=0,i=0,o=0,a=[],l=[];for(;r<n.returnStates.length&&i<t.returnStates.length;){const u=n.parents[r],f=t.parents[i];if(n.returnStates[r]===t.returnStates[i]){const p=n.returnStates[r];p===it.EMPTY_RETURN_STATE&&u===null&&f===null||u!==null&&f!==null&&u===f?(l[o]=u,a[o]=p):(l[o]=U1(u,f,e,s),a[o]=p),r+=1,i+=1}else n.returnStates[r]<t.returnStates[i]?(l[o]=u,a[o]=n.returnStates[r],r+=1):(l[o]=f,a[o]=t.returnStates[i],i+=1);o+=1}if(r<n.returnStates.length)for(let u=r;u<n.returnStates.length;u++)l[o]=n.parents[u],a[o]=n.returnStates[u],o+=1;else for(let u=i;u<t.returnStates.length;u++)l[o]=t.parents[u],a[o]=t.returnStates[u],o+=1;if(o<l.length){if(o===1){const u=oe.create(l[0],a[0]);return s!==null&&s.set(n,t,u),u}l=l.slice(0,o),a=a.slice(0,o)}const c=new Ke(l,a);return c===n?(s!==null&&s.set(n,t,n),n):c===t?(s!==null&&s.set(n,t,t),t):(X3(l),s!==null&&s.set(n,t,c),c)}function X3(n){const t=new Bs;for(let e=0;e<n.length;e++){const s=n[e];t.containsKey(s)||t.set(s,s)}for(let e=0;e<n.length;e++)n[e]=t.get(n[e])}function Q3(n,t,e,s){if(s!==null){let i=s.get(n,t);if(i!==null||(i=s.get(t,n),i!==null))return i}const r=J3(n,t,e);if(r!==null)return s!==null&&s.set(n,t,r),r;if(n.returnState===t.returnState){const i=U1(n.parentCtx,t.parentCtx,e,s);if(i===n.parentCtx)return n;if(i===t.parentCtx)return t;const o=oe.create(i,n.returnState);return s!==null&&s.set(n,t,o),o}else{let i=null;if((n===t||n.parentCtx!==null&&n.parentCtx===t.parentCtx)&&(i=n.parentCtx),i!==null){const c=[n.returnState,t.returnState];n.returnState>t.returnState&&(c[0]=t.returnState,c[1]=n.returnState);const u=[i,i],f=new Ke(u,c);return s!==null&&s.set(n,t,f),f}const o=[n.returnState,t.returnState];let a=[n.parentCtx,t.parentCtx];n.returnState>t.returnState&&(o[0]=t.returnState,o[1]=n.returnState,a=[t.parentCtx,n.parentCtx]);const l=new Ke(a,o);return s!==null&&s.set(n,t,l),l}}function J3(n,t,e){if(e){if(n===it.EMPTY||t===it.EMPTY)return it.EMPTY}else{if(n===it.EMPTY&&t===it.EMPTY)return it.EMPTY;if(n===it.EMPTY){const s=[t.returnState,it.EMPTY_RETURN_STATE],r=[t.parentCtx,null];return new Ke(r,s)}else if(t===it.EMPTY){const s=[n.returnState,it.EMPTY_RETURN_STATE],r=[n.parentCtx,null];return new Ke(r,s)}}return null}class Ye{constructor(){this.data=[]}add(t){this.data[t]=!0}or(t){Object.keys(t.data).map(e=>this.add(e),this)}remove(t){delete this.data[t]}has(t){return this.data[t]===!0}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){return Le.hashStuff(this.values())}equals(t){return t instanceof Ye&&ss(this.data,t.data)}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class is{constructor(t){this.atn=t}getDecisionLookahead(t){if(t===null)return null;const e=t.transitions.length,s=[];for(let r=0;r<e;r++){s[r]=new ve;const i=new _e,o=!1;this._LOOK(t.transition(r).target,null,it.EMPTY,s[r],i,new Ye,o,!1),(s[r].length===0||s[r].contains(is.HIT_PRED))&&(s[r]=null)}return s}LOOK(t,e,s){const r=new ve,i=!0;s=s||null;const o=s!==null?B1(t.atn,s):null;return this._LOOK(t,e,o,r,new _e,new Ye,i,!0),r}_LOOK(t,e,s,r,i,o,a,l){const c=new $t({state:t,alt:0,context:s},null);if(!i.has(c)){if(i.add(c),t===e){if(s===null){r.addOne(S.EPSILON);return}else if(s.isEmpty()&&l){r.addOne(S.EOF);return}}if(t instanceof ie){if(s===null){r.addOne(S.EPSILON);return}else if(s.isEmpty()&&l){r.addOne(S.EOF);return}if(s!==it.EMPTY){const u=o.has(t.ruleIndex);try{o.remove(t.ruleIndex);for(let f=0;f<s.length;f++){const p=this.atn.states[s.getReturnState(f)];this._LOOK(p,e,s.getParent(f),r,i,o,a,l)}}finally{u&&o.add(t.ruleIndex)}return}}for(let u=0;u<t.transitions.length;u++){const f=t.transitions[u];if(f.constructor===Hr){if(o.has(f.target.ruleIndex))continue;const p=oe.create(s,f.followState.stateNumber);try{o.add(f.target.ruleIndex),this._LOOK(f.target,e,p,r,i,o,a,l)}finally{o.remove(f.target.ruleIndex)}}else if(f instanceof D1)a?this._LOOK(f.target,e,s,r,i,o,a,l):r.addOne(is.HIT_PRED);else if(f.isEpsilon)this._LOOK(f.target,e,s,r,i,o,a,l);else if(f.constructor===Tc)r.addRange(S.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{let p=f.label;p!==null&&(f instanceof F1&&(p=p.complement(S.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),r.addSet(p))}}}}}is.HIT_PRED=S.INVALID_TYPE;class Rt{constructor(t,e){this.grammarType=t,this.maxTokenType=e,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(t,e){return new is(this).LOOK(t,null,e)}nextTokensNoContext(t){return t.nextTokenWithinRule!==null||(t.nextTokenWithinRule=this.nextTokensInContext(t,null),t.nextTokenWithinRule.readOnly=!0),t.nextTokenWithinRule}nextTokens(t,e){return e===void 0?this.nextTokensNoContext(t):this.nextTokensInContext(t,e)}addState(t){t!==null&&(t.atn=this,t.stateNumber=this.states.length),this.states.push(t)}removeState(t){this.states[t.stateNumber]=null}defineDecisionState(t){return this.decisionToState.push(t),t.decision=this.decisionToState.length-1,t.decision}getDecisionState(t){return this.decisionToState.length===0?null:this.decisionToState[t]}getExpectedTokens(t,e){if(t<0||t>=this.states.length)throw"Invalid state number.";const s=this.states[t];let r=this.nextTokens(s);if(!r.contains(S.EPSILON))return r;const i=new ve;for(i.addSet(r),i.removeOne(S.EPSILON);e!==null&&e.invokingState>=0&&r.contains(S.EPSILON);){const a=this.states[e.invokingState].transitions[0];r=this.nextTokens(a.followState),i.addSet(r),i.removeOne(S.EPSILON),e=e.parentCtx}return r.contains(S.EPSILON)&&i.addOne(S.EOF),i}}Rt.INVALID_ALT_NUMBER=0;const Vr={LEXER:0,PARSER:1};class Sc extends z{constructor(){super(),this.stateType=z.BASIC}}class os extends z{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class as extends os{constructor(){return super(),this.endState=null,this}}class H1 extends z{constructor(){return super(),this.stateType=z.BLOCK_END,this.startState=null,this}}class ls extends z{constructor(){return super(),this.stateType=z.LOOP_END,this.loopBackState=null,this}}class Rc extends z{constructor(){return super(),this.stateType=z.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}}class t4 extends os{constructor(){return super(),this.stateType=z.TOKEN_START,this}}class kc extends os{constructor(){return super(),this.stateType=z.PLUS_LOOP_BACK,this}}class G1 extends z{constructor(){return super(),this.stateType=z.STAR_LOOP_BACK,this}}class Dn extends os{constructor(){return super(),this.stateType=z.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}}class z1 extends as{constructor(){return super(),this.stateType=z.PLUS_BLOCK_START,this.loopBackState=null,this}}class V1 extends as{constructor(){return super(),this.stateType=z.STAR_BLOCK_START,this}}class Ic extends as{constructor(){return super(),this.stateType=z.BLOCK_START,this}}class jr extends B{constructor(t,e){super(t),this.label_=e,this.label=this.makeLabel(),this.serializationType=B.ATOM}makeLabel(){const t=new ve;return t.addOne(this.label_),t}matches(t,e,s){return this.label_===t}toString(){return this.label_}}class Oc extends B{constructor(t,e,s){super(t),this.serializationType=B.RANGE,this.start=e,this.stop=s,this.label=this.makeLabel()}makeLabel(){const t=new ve;return t.addRange(this.start,this.stop),t}matches(t,e,s){return t>=this.start&&t<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}class Nc extends B{constructor(t,e,s,r){super(t),this.serializationType=B.ACTION,this.ruleIndex=e,this.actionIndex=s===void 0?-1:s,this.isCtxDependent=r===void 0?!1:r,this.isEpsilon=!0}matches(t,e,s){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}}class Us extends B{constructor(t,e){super(t),this.serializationType=B.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=e}matches(t,e,s){return!1}toString(){return"epsilon"}}class Zr extends gt{constructor(t,e,s){super(),this.ruleIndex=t===void 0?-1:t,this.predIndex=e===void 0?-1:e,this.isCtxDependent=s===void 0?!1:s}evaluate(t,e){const s=this.isCtxDependent?e:null;return t.sempred(s,this.ruleIndex,this.predIndex)}updateHashCode(t){t.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(t){return this===t?!0:t instanceof Zr?this.ruleIndex===t.ruleIndex&&this.predIndex===t.predIndex&&this.isCtxDependent===t.isCtxDependent:!1}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}gt.NONE=new Zr;class Pc extends D1{constructor(t,e,s,r){super(t),this.serializationType=B.PREDICATE,this.ruleIndex=e,this.predIndex=s,this.isCtxDependent=r,this.isEpsilon=!0}matches(t,e,s){return!1}getPredicate(){return new Zr(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}}class qr extends gt{constructor(t){super(),this.precedence=t===void 0?0:t}evaluate(t,e){return t.precpred(e,this.precedence)}evalPrecedence(t,e){return t.precpred(e,this.precedence)?gt.NONE:null}compareTo(t){return this.precedence-t.precedence}updateHashCode(t){t.update(this.precedence)}equals(t){return this===t?!0:t instanceof qr?this.precedence===t.precedence:!1}toString(){return"{"+this.precedence+">=prec}?"}}gt.PrecedencePredicate=qr;class e4 extends D1{constructor(t,e){super(t),this.serializationType=B.PRECEDENCE,this.precedence=e,this.isEpsilon=!0}matches(t,e,s){return!1}getPredicate(){return new qr(this.precedence)}toString(){return this.precedence+" >= _p"}}class Hs{constructor(t){t===void 0&&(t=null),this.readOnly=!1,this.verifyATN=t===null?!0:t.verifyATN,this.generateRuleBypassTransitions=t===null?!1:t.generateRuleBypassTransitions}}Hs.defaultOptions=new Hs,Hs.defaultOptions.readOnly=!0;const te={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class rn{constructor(t){this.actionType=t,this.isPositionDependent=!1}hashCode(){const t=new Le;return this.updateHashCode(t),t.finish()}updateHashCode(t){t.update(this.actionType)}equals(t){return this===t}}class j1 extends rn{constructor(){super(te.SKIP)}execute(t){t.skip()}toString(){return"skip"}}j1.INSTANCE=new j1;class Z1 extends rn{constructor(t){super(te.CHANNEL),this.channel=t}execute(t){t._channel=this.channel}updateHashCode(t){t.update(this.actionType,this.channel)}equals(t){return this===t?!0:t instanceof Z1?this.channel===t.channel:!1}toString(){return"channel("+this.channel+")"}}class q1 extends rn{constructor(t,e){super(te.CUSTOM),this.ruleIndex=t,this.actionIndex=e,this.isPositionDependent=!0}execute(t){t.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(t){t.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(t){return this===t?!0:t instanceof q1?this.ruleIndex===t.ruleIndex&&this.actionIndex===t.actionIndex:!1}}class W1 extends rn{constructor(){super(te.MORE)}execute(t){t.more()}toString(){return"more"}}W1.INSTANCE=new W1;class K1 extends rn{constructor(t){super(te.TYPE),this.type=t}execute(t){t.type=this.type}updateHashCode(t){t.update(this.actionType,this.type)}equals(t){return this===t?!0:t instanceof K1?this.type===t.type:!1}toString(){return"type("+this.type+")"}}class Y1 extends rn{constructor(t){super(te.PUSH_MODE),this.mode=t}execute(t){t.pushMode(this.mode)}updateHashCode(t){t.update(this.actionType,this.mode)}equals(t){return this===t?!0:t instanceof Y1?this.mode===t.mode:!1}toString(){return"pushMode("+this.mode+")"}}class X1 extends rn{constructor(){super(te.POP_MODE)}execute(t){t.popMode()}toString(){return"popMode"}}X1.INSTANCE=new X1;class Q1 extends rn{constructor(t){super(te.MODE),this.mode=t}execute(t){t.mode(this.mode)}updateHashCode(t){t.update(this.actionType,this.mode)}equals(t){return this===t?!0:t instanceof Q1?this.mode===t.mode:!1}toString(){return"mode("+this.mode+")"}}const J1=4;function Wr(n,t){const e=[];return e[n-1]=t,e.map(function(s){return t})}class Mc{constructor(t){t==null&&(t=Hs.defaultOptions),this.deserializationOptions=t,this.stateFactories=null,this.actionFactories=null}deserialize(t){const e=this.reset(t);this.checkVersion(e),e&&this.skipUUID();const s=this.readATN();this.readStates(s,e),this.readRules(s,e),this.readModes(s);const r=[];return this.readSets(s,r,this.readInt.bind(this)),e&&this.readSets(s,r,this.readInt32.bind(this)),this.readEdges(s,r),this.readDecisions(s),this.readLexerActions(s,e),this.markPrecedenceDecisions(s),this.verifyATN(s),this.deserializationOptions.generateRuleBypassTransitions&&s.grammarType===Vr.PARSER&&(this.generateRuleBypassTransitions(s),this.verifyATN(s)),s}reset(t){if((t.charCodeAt?t.charCodeAt(0):t[0])===J1-1){const s=function(i){const o=i.charCodeAt(0);return o>1?o-2:o+65534},r=t.split("").map(s);return r[0]=t.charCodeAt(0),this.data=r,this.pos=0,!0}else return this.data=t,this.pos=0,!1}skipUUID(){let t=0;for(;t++<8;)this.readInt()}checkVersion(t){const e=this.readInt();if(!t&&e!==J1)throw"Could not deserialize ATN with version "+e+" (expected "+J1+")."}readATN(){const t=this.readInt(),e=this.readInt();return new Rt(t,e)}readStates(t,e){let s,r,i;const o=[],a=[],l=this.readInt();for(let f=0;f<l;f++){const p=this.readInt();if(p===z.INVALID_TYPE){t.addState(null);continue}let g=this.readInt();e&&g===65535&&(g=-1);const R=this.stateFactory(p,g);if(p===z.LOOP_END){const I=this.readInt();o.push([R,I])}else if(R instanceof as){const I=this.readInt();a.push([R,I])}t.addState(R)}for(s=0;s<o.length;s++)r=o[s],r[0].loopBackState=t.states[r[1]];for(s=0;s<a.length;s++)r=a[s],r[0].endState=t.states[r[1]];let c=this.readInt();for(s=0;s<c;s++)i=this.readInt(),t.states[i].nonGreedy=!0;let u=this.readInt();for(s=0;s<u;s++)i=this.readInt(),t.states[i].isPrecedenceRule=!0}readRules(t,e){let s;const r=this.readInt();for(t.grammarType===Vr.LEXER&&(t.ruleToTokenType=Wr(r,0)),t.ruleToStartState=Wr(r,0),s=0;s<r;s++){const i=this.readInt();if(t.ruleToStartState[s]=t.states[i],t.grammarType===Vr.LEXER){let o=this.readInt();e&&o===65535&&(o=S.EOF),t.ruleToTokenType[s]=o}}for(t.ruleToStopState=Wr(r,0),s=0;s<t.states.length;s++){const i=t.states[s];i instanceof ie&&(t.ruleToStopState[i.ruleIndex]=i,t.ruleToStartState[i.ruleIndex].stopState=i)}}readModes(t){const e=this.readInt();for(let s=0;s<e;s++){let r=this.readInt();t.modeToStartState.push(t.states[r])}}readSets(t,e,s){const r=this.readInt();for(let i=0;i<r;i++){const o=new ve;e.push(o);const a=this.readInt();this.readInt()!==0&&o.addOne(-1);for(let c=0;c<a;c++){const u=s(),f=s();o.addRange(u,f)}}}readEdges(t,e){let s,r,i,o,a;const l=this.readInt();for(s=0;s<l;s++){const c=this.readInt(),u=this.readInt(),f=this.readInt(),p=this.readInt(),g=this.readInt(),R=this.readInt();o=this.edgeFactory(t,f,c,u,p,g,R,e),t.states[c].addTransition(o)}for(s=0;s<t.states.length;s++)for(i=t.states[s],r=0;r<i.transitions.length;r++){const c=i.transitions[r];if(!(c instanceof Hr))continue;let u=-1;t.ruleToStartState[c.target.ruleIndex].isPrecedenceRule&&c.precedence===0&&(u=c.target.ruleIndex),o=new Us(c.followState,u),t.ruleToStopState[c.target.ruleIndex].addTransition(o)}for(s=0;s<t.states.length;s++){if(i=t.states[s],i instanceof as){if(i.endState===null||i.endState.startState!==null)throw"IllegalState";i.endState.startState=i}if(i instanceof kc)for(r=0;r<i.transitions.length;r++)a=i.transitions[r].target,a instanceof z1&&(a.loopBackState=i);else if(i instanceof G1)for(r=0;r<i.transitions.length;r++)a=i.transitions[r].target,a instanceof Dn&&(a.loopBackState=i)}}readDecisions(t){const e=this.readInt();for(let s=0;s<e;s++){const r=this.readInt(),i=t.states[r];t.decisionToState.push(i),i.decision=s}}readLexerActions(t,e){if(t.grammarType===Vr.LEXER){const s=this.readInt();t.lexerActions=Wr(s,null);for(let r=0;r<s;r++){const i=this.readInt();let o=this.readInt();e&&o===65535&&(o=-1);let a=this.readInt();e&&a===65535&&(a=-1),t.lexerActions[r]=this.lexerActionFactory(i,o,a)}}}generateRuleBypassTransitions(t){let e;const s=t.ruleToStartState.length;for(e=0;e<s;e++)t.ruleToTokenType[e]=t.maxTokenType+e+1;for(e=0;e<s;e++)this.generateRuleBypassTransition(t,e)}generateRuleBypassTransition(t,e){let s,r;const i=new Ic;i.ruleIndex=e,t.addState(i);const o=new H1;o.ruleIndex=e,t.addState(o),i.endState=o,t.defineDecisionState(i),o.startState=i;let a=null,l=null;if(t.ruleToStartState[e].isPrecedenceRule){for(l=null,s=0;s<t.states.length;s++)if(r=t.states[s],this.stateIsEndStateFor(r,e)){l=r,a=r.loopBackState.transitions[0];break}if(a===null)throw"Couldn't identify final state of the precedence rule prefix section."}else l=t.ruleToStopState[e];for(s=0;s<t.states.length;s++){r=t.states[s];for(let p=0;p<r.transitions.length;p++){const g=r.transitions[p];g!==a&&g.target===l&&(g.target=o)}}const c=t.ruleToStartState[e],u=c.transitions.length;for(;u>0;)i.addTransition(c.transitions[u-1]),c.transitions=c.transitions.slice(-1);t.ruleToStartState[e].addTransition(new Us(i)),o.addTransition(new Us(l));const f=new Sc;t.addState(f),f.addTransition(new jr(o,t.ruleToTokenType[e])),i.addTransition(new Us(f))}stateIsEndStateFor(t,e){if(t.ruleIndex!==e||!(t instanceof Dn))return null;const s=t.transitions[t.transitions.length-1].target;return s instanceof ls&&s.epsilonOnlyTransitions&&s.transitions[0].target instanceof ie?t:null}markPrecedenceDecisions(t){for(let e=0;e<t.states.length;e++){const s=t.states[e];if(s instanceof Dn&&t.ruleToStartState[s.ruleIndex].isPrecedenceRule){const r=s.transitions[s.transitions.length-1].target;r instanceof ls&&r.epsilonOnlyTransitions&&r.transitions[0].target instanceof ie&&(s.isPrecedenceDecision=!0)}}}verifyATN(t){if(!!this.deserializationOptions.verifyATN)for(let e=0;e<t.states.length;e++){const s=t.states[e];if(s!==null)if(this.checkCondition(s.epsilonOnlyTransitions||s.transitions.length<=1),s instanceof z1)this.checkCondition(s.loopBackState!==null);else if(s instanceof Dn)if(this.checkCondition(s.loopBackState!==null),this.checkCondition(s.transitions.length===2),s.transitions[0].target instanceof V1)this.checkCondition(s.transitions[1].target instanceof ls),this.checkCondition(!s.nonGreedy);else if(s.transitions[0].target instanceof ls)this.checkCondition(s.transitions[1].target instanceof V1),this.checkCondition(s.nonGreedy);else throw"IllegalState";else s instanceof G1?(this.checkCondition(s.transitions.length===1),this.checkCondition(s.transitions[0].target instanceof Dn)):s instanceof ls?this.checkCondition(s.loopBackState!==null):s instanceof Rc?this.checkCondition(s.stopState!==null):s instanceof as?this.checkCondition(s.endState!==null):s instanceof H1?this.checkCondition(s.startState!==null):s instanceof os?this.checkCondition(s.transitions.length<=1||s.decision>=0):this.checkCondition(s.transitions.length<=1||s instanceof ie)}}checkCondition(t,e){if(!t)throw e==null&&(e="IllegalState"),e}readInt(){return this.data[this.pos++]}readInt32(){const t=this.readInt(),e=this.readInt();return t|e<<16}edgeFactory(t,e,s,r,i,o,a,l){const c=t.states[r];switch(e){case B.EPSILON:return new Us(c);case B.RANGE:return a!==0?new Oc(c,S.EOF,o):new Oc(c,i,o);case B.RULE:return new Hr(t.states[i],o,a,c);case B.PREDICATE:return new Pc(c,i,o,a!==0);case B.PRECEDENCE:return new e4(c,i);case B.ATOM:return a!==0?new jr(c,S.EOF):new jr(c,i);case B.ACTION:return new Nc(c,i,o,a!==0);case B.SET:return new M1(c,l[i]);case B.NOT_SET:return new F1(c,l[i]);case B.WILDCARD:return new Tc(c);default:throw"The specified transition type: "+e+" is not valid."}}stateFactory(t,e){if(this.stateFactories===null){const s=[];s[z.INVALID_TYPE]=null,s[z.BASIC]=()=>new Sc,s[z.RULE_START]=()=>new Rc,s[z.BLOCK_START]=()=>new Ic,s[z.PLUS_BLOCK_START]=()=>new z1,s[z.STAR_BLOCK_START]=()=>new V1,s[z.TOKEN_START]=()=>new t4,s[z.RULE_STOP]=()=>new ie,s[z.BLOCK_END]=()=>new H1,s[z.STAR_LOOP_BACK]=()=>new G1,s[z.STAR_LOOP_ENTRY]=()=>new Dn,s[z.PLUS_LOOP_BACK]=()=>new kc,s[z.LOOP_END]=()=>new ls,this.stateFactories=s}if(t>this.stateFactories.length||this.stateFactories[t]===null)throw"The specified state type "+t+" is not valid.";{const s=this.stateFactories[t]();if(s!==null)return s.ruleIndex=e,s}}lexerActionFactory(t,e,s){if(this.actionFactories===null){const r=[];r[te.CHANNEL]=(i,o)=>new Z1(i),r[te.CUSTOM]=(i,o)=>new q1(i,o),r[te.MODE]=(i,o)=>new Q1(i),r[te.MORE]=(i,o)=>W1.INSTANCE,r[te.POP_MODE]=(i,o)=>X1.INSTANCE,r[te.PUSH_MODE]=(i,o)=>new Y1(i),r[te.SKIP]=(i,o)=>j1.INSTANCE,r[te.TYPE]=(i,o)=>new K1(i),this.actionFactories=r}if(t>this.actionFactories.length||this.actionFactories[t]===null)throw"The specified lexer action type "+t+" is not valid.";return this.actionFactories[t](e,s)}}class Kr{syntaxError(t,e,s,r,i,o){}reportAmbiguity(t,e,s,r,i,o,a){}reportAttemptingFullContext(t,e,s,r,i,o){}reportContextSensitivity(t,e,s,r,i,o){}}class to extends Kr{constructor(){super()}syntaxError(t,e,s,r,i,o){console.error("line "+s+":"+r+" "+i)}}to.INSTANCE=new to;class n4 extends Kr{constructor(t){if(super(),t===null)throw"delegates";return this.delegates=t,this}syntaxError(t,e,s,r,i,o){this.delegates.map(a=>a.syntaxError(t,e,s,r,i,o))}reportAmbiguity(t,e,s,r,i,o,a){this.delegates.map(l=>l.reportAmbiguity(t,e,s,r,i,o,a))}reportAttemptingFullContext(t,e,s,r,i,o){this.delegates.map(a=>a.reportAttemptingFullContext(t,e,s,r,i,o))}reportContextSensitivity(t,e,s,r,i,o){this.delegates.map(a=>a.reportContextSensitivity(t,e,s,r,i,o))}}class Yr{constructor(){this._listeners=[to.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(t){const e="4.11.0";e!==t&&console.log("ANTLR runtime and generated code versions disagree: "+e+"!="+t)}addErrorListener(t){this._listeners.push(t)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const t=this.getLiteralNames(),e=this.getSymbolicNames(),s=t.length>e.length?t.length:e.length;this.tokenNames=[];for(let r=0;r<s;r++)this.tokenNames[r]=t[r]||e[r]||"<INVALID"}return this.tokenNames}getTokenTypeMap(){const t=this.getTokenNames();if(t===null)throw"The current recognizer does not provide a list of token names.";let e=this.tokenTypeMapCache[t];return e===void 0&&(e=t.reduce(function(s,r,i){s[r]=i}),e.EOF=S.EOF,this.tokenTypeMapCache[t]=e),e}getRuleIndexMap(){const t=this.ruleNames;if(t===null)throw"The current recognizer does not provide a list of rule names.";let e=this.ruleIndexMapCache[t];return e===void 0&&(e=t.reduce(function(s,r,i){s[r]=i}),this.ruleIndexMapCache[t]=e),e}getTokenType(t){const e=this.getTokenTypeMap()[t];return e!==void 0?e:S.INVALID_TYPE}getErrorHeader(t){const e=t.getOffendingToken().line,s=t.getOffendingToken().column;return"line "+e+":"+s}getTokenErrorDisplay(t){if(t===null)return"<no token>";let e=t.text;return e===null&&(t.type===S.EOF?e="<EOF>":e="<"+t.type+">"),e=e.replace(`
7
+ `,"\\n").replace("\r","\\r").replace(" ","\\t"),"'"+e+"'"}getErrorListenerDispatch(){return new n4(this._listeners)}sempred(t,e,s){return!0}precpred(t,e){return!0}get state(){return this._stateNumber}set state(t){this._stateNumber=t}}Yr.tokenTypeMapCache={},Yr.ruleIndexMapCache={};class $n extends S{constructor(t,e,s,r,i){super(),this.source=t!==void 0?t:$n.EMPTY_SOURCE,this.type=e!==void 0?e:null,this.channel=s!==void 0?s:S.DEFAULT_CHANNEL,this.start=r!==void 0?r:-1,this.stop=i!==void 0?i:-1,this.tokenIndex=-1,this.source[0]!==null?(this.line=t[0].line,this.column=t[0].column):this.column=-1}clone(){const t=new $n(this.source,this.type,this.channel,this.start,this.stop);return t.tokenIndex=this.tokenIndex,t.line=this.line,t.column=this.column,t.text=this.text,t}toString(){let t=this.text;return t!==null?t=t.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):t="<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+t+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(this._text!==null)return this._text;const t=this.getInputStream();if(t===null)return null;const e=t.size;return this.start<e&&this.stop<e?t.getText(this.start,this.stop):"<EOF>"}set text(t){this._text=t}}$n.EMPTY_SOURCE=[null,null];class s4{}class eo extends s4{constructor(t){super(),this.copyText=t===void 0?!1:t}create(t,e,s,r,i,o,a,l){const c=new $n(t,e,r,i,o);return c.line=a,c.column=l,s!==null?c.text=s:this.copyText&&t[1]!==null&&(c.text=t[1].getText(i,o)),c}createThin(t,e){const s=new $n(null,t);return s.text=e,s}}eo.DEFAULT=new eo;class yn extends Error{constructor(t){super(t.message),Error.captureStackTrace&&Error.captureStackTrace(this,yn),this.message=t.message,this.recognizer=t.recognizer,this.input=t.input,this.ctx=t.ctx,this.offendingToken=null,this.offendingState=-1,this.recognizer!==null&&(this.offendingState=this.recognizer.state)}getExpectedTokens(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}toString(){return this.message}}class no extends yn{constructor(t,e,s,r){super({message:"",recognizer:t,input:e,ctx:null}),this.startIndex=s,this.deadEndConfigs=r}toString(){let t="";return this.startIndex>=0&&this.startIndex<this.input.size&&(t=this.input.getText(new xt(this.startIndex,this.startIndex))),"LexerNoViableAltException"+t}}class Nt extends Yr{constructor(t){super(),this._input=t,this._factory=eo.DEFAULT,this._tokenFactorySourcePair=[this,t],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=S.DEFAULT_CHANNEL,this._type=S.INVALID_TYPE,this._modeStack=[],this._mode=Nt.DEFAULT_MODE,this._text=null}reset(){this._input!==null&&this._input.seek(0),this._token=null,this._type=S.INVALID_TYPE,this._channel=S.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=Nt.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(this._input===null)throw"nextToken requires a non-null input stream.";const t=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=S.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let e=!1;for(;;){this._type=S.INVALID_TYPE;let s=Nt.SKIP;try{s=this._interp.match(this._input,this._mode)}catch(r){if(r instanceof yn)this.notifyListeners(r),this.recover(r);else throw console.log(r.stack),r}if(this._input.LA(1)===S.EOF&&(this._hitEOF=!0),this._type===S.INVALID_TYPE&&(this._type=s),this._type===Nt.SKIP){e=!0;break}if(this._type!==Nt.MORE)break}if(!e)return this._token===null&&this.emit(),this._token}}finally{this._input.release(t)}}skip(){this._type=Nt.SKIP}more(){this._type=Nt.MORE}mode(t){this._mode=t}pushMode(t){this._interp.debug&&console.log("pushMode "+t),this._modeStack.push(this._mode),this.mode(t)}popMode(){if(this._modeStack.length===0)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}emitToken(t){this._token=t}emit(){const t=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(t),t}emitEOF(){const t=this.column,e=this.line,s=this._factory.create(this._tokenFactorySourcePair,S.EOF,null,S.DEFAULT_CHANNEL,this._input.index,this._input.index-1,e,t);return this.emitToken(s),s}getCharIndex(){return this._input.index}getAllTokens(){const t=[];let e=this.nextToken();for(;e.type!==S.EOF;)t.push(e),e=this.nextToken();return t}notifyListeners(t){const e=this._tokenStartCharIndex,s=this._input.index,r=this._input.getText(e,s),i="token recognition error at: '"+this.getErrorDisplay(r)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,i,t)}getErrorDisplay(t){const e=[];for(let s=0;s<t.length;s++)e.push(t[s]);return e.join("")}getErrorDisplayForChar(t){return t.charCodeAt(0)===S.EOF?"<EOF>":t===`
8
+ `?"\\n":t===" "?"\\t":t==="\r"?"\\r":t}getCharErrorDisplay(t){return"'"+this.getErrorDisplayForChar(t)+"'"}recover(t){this._input.LA(1)!==S.EOF&&(t instanceof no?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(t){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=t,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(t){this._type=t}get line(){return this._interp.line}set line(t){this._interp.line=t}get column(){return this._interp.column}set column(t){this._interp.column=t}get text(){return this._text!==null?this._text:this._interp.getText(this._input)}set text(t){this._text=t}}Nt.DEFAULT_MODE=0,Nt.MORE=-2,Nt.SKIP=-3,Nt.DEFAULT_TOKEN_CHANNEL=S.DEFAULT_CHANNEL,Nt.HIDDEN=S.HIDDEN_CHANNEL,Nt.MIN_CHAR_VALUE=0,Nt.MAX_CHAR_VALUE=1114111;function r4(n){return n.hashCodeForConfigSet()}function i4(n,t){return n===t?!0:n===null||t===null?!1:n.equalsForConfigSet(t)}class ae{constructor(t){this.configLookup=new _e(r4,i4),this.fullCtx=t===void 0?!0:t,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(t,e){if(e===void 0&&(e=null),this.readOnly)throw"This set is readonly";t.semanticContext!==gt.NONE&&(this.hasSemanticContext=!0),t.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const s=this.configLookup.add(t);if(s===t)return this.cachedHashCode=-1,this.configs.push(t),!0;const r=!this.fullCtx,i=U1(s.context,t.context,r,e);return s.reachesIntoOuterContext=Math.max(s.reachesIntoOuterContext,t.reachesIntoOuterContext),t.precedenceFilterSuppressed&&(s.precedenceFilterSuppressed=!0),s.context=i,!0}getStates(){const t=new _e;for(let e=0;e<this.configs.length;e++)t.add(this.configs[e].state);return t}getPredicates(){const t=[];for(let e=0;e<this.configs.length;e++){const s=this.configs[e].semanticContext;s!==gt.NONE&&t.push(s.semanticContext)}return t}optimizeConfigs(t){if(this.readOnly)throw"This set is readonly";if(this.configLookup.length!==0)for(let e=0;e<this.configs.length;e++){const s=this.configs[e];s.context=t.getCachedContext(s.context)}}addAll(t){for(let e=0;e<t.length;e++)this.add(t[e]);return!1}equals(t){return this===t||t instanceof ae&&ss(this.configs,t.configs)&&this.fullCtx===t.fullCtx&&this.uniqueAlt===t.uniqueAlt&&this.conflictingAlts===t.conflictingAlts&&this.hasSemanticContext===t.hasSemanticContext&&this.dipsIntoOuterContext===t.dipsIntoOuterContext}hashCode(){const t=new Le;return t.update(this.configs),t.finish()}updateHashCode(t){this.readOnly?(this.cachedHashCode===-1&&(this.cachedHashCode=this.hashCode()),t.update(this.cachedHashCode)):t.update(this.hashCode())}isEmpty(){return this.configs.length===0}contains(t){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(t)}containsFast(t){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(t)}clear(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new _e}setReadonly(t){this.readOnly=t,t&&(this.configLookup=null)}toString(){return _n(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==Rt.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(this.conflictingAlts!==null?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")}get items(){return this.configs}get length(){return this.configs.length}}class on{constructor(t,e){return t===null&&(t=-1),e===null&&(e=new ae),this.stateNumber=t,this.configs=e,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const t=new _e;if(this.configs!==null)for(let e=0;e<this.configs.length;e++){const s=this.configs[e];t.add(s.alt)}return t.length===0?null:t}equals(t){return this===t||t instanceof on&&this.configs.equals(t.configs)}toString(){let t=""+this.stateNumber+":"+this.configs;return this.isAcceptState&&(t=t+"=>",this.predicates!==null?t=t+this.predicates:t=t+this.prediction),t}hashCode(){const t=new Le;return t.update(this.configs),t.finish()}}class Xe{constructor(t,e){return this.atn=t,this.sharedContextCache=e,this}getCachedContext(t){if(this.sharedContextCache===null)return t;const e=new Bs;return Ac(t,this.sharedContextCache,e)}}Xe.ERROR=new on(2147483647,new ae);class Fc extends ae{constructor(){super(),this.configLookup=new _e}}class he extends $t{constructor(t,e){super(t,e);const s=t.lexerActionExecutor||null;return this.lexerActionExecutor=s||(e!==null?e.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=e!==null?this.checkNonGreedyDecision(e,this.state):!1,this.hashCodeForConfigSet=he.prototype.hashCode,this.equalsForConfigSet=he.prototype.equals,this}updateHashCode(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(t){return this===t||t instanceof he&&this.passedThroughNonGreedyDecision===t.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(t.lexerActionExecutor):!t.lexerActionExecutor)&&super.equals(t)}checkNonGreedyDecision(t,e){return t.passedThroughNonGreedyDecision||e instanceof os&&e.nonGreedy}}class Gs extends rn{constructor(t,e){super(e.actionType),this.offset=t,this.action=e,this.isPositionDependent=!0}execute(t){this.action.execute(t)}updateHashCode(t){t.update(this.actionType,this.offset,this.action)}equals(t){return this===t?!0:t instanceof Gs?this.offset===t.offset&&this.action===t.action:!1}}class cs{constructor(t){return this.lexerActions=t===null?[]:t,this.cachedHashCode=Le.hashStuff(t),this}fixOffsetBeforeMatch(t){let e=null;for(let s=0;s<this.lexerActions.length;s++)this.lexerActions[s].isPositionDependent&&!(this.lexerActions[s]instanceof Gs)&&(e===null&&(e=this.lexerActions.concat([])),e[s]=new Gs(t,this.lexerActions[s]));return e===null?this:new cs(e)}execute(t,e,s){let r=!1;const i=e.index;try{for(let o=0;o<this.lexerActions.length;o++){let a=this.lexerActions[o];if(a instanceof Gs){const l=a.offset;e.seek(s+l),a=a.action,r=s+l!==i}else a.isPositionDependent&&(e.seek(i),r=!1);a.execute(t)}}finally{r&&e.seek(i)}}hashCode(){return this.cachedHashCode}updateHashCode(t){t.update(this.cachedHashCode)}equals(t){if(this===t)return!0;if(t instanceof cs){if(this.cachedHashCode!=t.cachedHashCode)return!1;if(this.lexerActions.length!=t.lexerActions.length)return!1;{const e=this.lexerActions.length;for(let s=0;s<e;++s)if(!this.lexerActions[s].equals(t.lexerActions[s]))return!1;return!0}}else return!1}static append(t,e){if(t===null)return new cs([e]);const s=t.lexerActions.concat([e]);return new cs(s)}}function Dc(n){n.index=-1,n.line=0,n.column=-1,n.dfaState=null}class o4{constructor(){Dc(this)}reset(){Dc(this)}}class Pt extends Xe{constructor(t,e,s,r){super(e,r),this.decisionToDFA=s,this.recog=t,this.startIndex=-1,this.line=1,this.column=0,this.mode=Nt.DEFAULT_MODE,this.prevAccept=new o4}copyState(t){this.column=t.column,this.line=t.line,this.mode=t.mode,this.startIndex=t.startIndex}match(t,e){this.mode=e;const s=t.mark();try{this.startIndex=t.index,this.prevAccept.reset();const r=this.decisionToDFA[e];return r.s0===null?this.matchATN(t):this.execATN(t,r.s0)}finally{t.release(s)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=Nt.DEFAULT_MODE}matchATN(t){const e=this.atn.modeToStartState[this.mode];Pt.debug&&console.log("matchATN mode "+this.mode+" start: "+e);const s=this.mode,r=this.computeStartState(t,e),i=r.hasSemanticContext;r.hasSemanticContext=!1;const o=this.addDFAState(r);i||(this.decisionToDFA[this.mode].s0=o);const a=this.execATN(t,o);return Pt.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[s].toLexerString()),a}execATN(t,e){Pt.debug&&console.log("start state closure="+e.configs),e.isAcceptState&&this.captureSimState(this.prevAccept,t,e);let s=t.LA(1),r=e;for(;;){Pt.debug&&console.log("execATN loop starting closure: "+r.configs);let i=this.getExistingTargetState(r,s);if(i===null&&(i=this.computeTargetState(t,r,s)),i===Xe.ERROR||(s!==S.EOF&&this.consume(t),i.isAcceptState&&(this.captureSimState(this.prevAccept,t,i),s===S.EOF)))break;s=t.LA(1),r=i}return this.failOrAccept(this.prevAccept,t,r.configs,s)}getExistingTargetState(t,e){if(t.edges===null||e<Pt.MIN_DFA_EDGE||e>Pt.MAX_DFA_EDGE)return null;let s=t.edges[e-Pt.MIN_DFA_EDGE];return s===void 0&&(s=null),Pt.debug&&s!==null&&console.log("reuse state "+t.stateNumber+" edge to "+s.stateNumber),s}computeTargetState(t,e,s){const r=new Fc;return this.getReachableConfigSet(t,e.configs,r,s),r.items.length===0?(r.hasSemanticContext||this.addDFAEdge(e,s,Xe.ERROR),Xe.ERROR):this.addDFAEdge(e,s,null,r)}failOrAccept(t,e,s,r){if(this.prevAccept.dfaState!==null){const i=t.dfaState.lexerActionExecutor;return this.accept(e,i,this.startIndex,t.index,t.line,t.column),t.dfaState.prediction}else{if(r===S.EOF&&e.index===this.startIndex)return S.EOF;throw new no(this.recog,e,this.startIndex,s)}}getReachableConfigSet(t,e,s,r){let i=Rt.INVALID_ALT_NUMBER;for(let o=0;o<e.items.length;o++){const a=e.items[o],l=a.alt===i;if(!(l&&a.passedThroughNonGreedyDecision)){Pt.debug&&console.log(`testing %s at %s
9
+ `,this.getTokenName(r),a.toString(this.recog,!0));for(let c=0;c<a.state.transitions.length;c++){const u=a.state.transitions[c],f=this.getReachableTarget(u,r);if(f!==null){let p=a.lexerActionExecutor;p!==null&&(p=p.fixOffsetBeforeMatch(t.index-this.startIndex));const g=r===S.EOF,R=new he({state:f,lexerActionExecutor:p},a);this.closure(t,R,s,l,!0,g)&&(i=a.alt)}}}}}accept(t,e,s,r,i,o){Pt.debug&&console.log(`ACTION %s
10
+ `,e),t.seek(r),this.line=i,this.column=o,e!==null&&this.recog!==null&&e.execute(this.recog,t,s)}getReachableTarget(t,e){return t.matches(e,0,Nt.MAX_CHAR_VALUE)?t.target:null}computeStartState(t,e){const s=it.EMPTY,r=new Fc;for(let i=0;i<e.transitions.length;i++){const o=e.transitions[i].target,a=new he({state:o,alt:i+1,context:s},null);this.closure(t,a,r,!1,!1,!1)}return r}closure(t,e,s,r,i,o){let a=null;if(Pt.debug&&console.log("closure("+e.toString(this.recog,!0)+")"),e.state instanceof ie){if(Pt.debug&&(this.recog!==null?console.log(`closure at %s rule stop %s
11
+ `,this.recog.ruleNames[e.state.ruleIndex],e):console.log(`closure at rule stop %s
12
+ `,e)),e.context===null||e.context.hasEmptyPath()){if(e.context===null||e.context.isEmpty())return s.add(e),!0;s.add(new he({state:e.state,context:it.EMPTY},e)),r=!0}if(e.context!==null&&!e.context.isEmpty()){for(let l=0;l<e.context.length;l++)if(e.context.getReturnState(l)!==it.EMPTY_RETURN_STATE){const c=e.context.getParent(l),u=this.atn.states[e.context.getReturnState(l)];a=new he({state:u,context:c},e),r=this.closure(t,a,s,r,i,o)}}return r}e.state.epsilonOnlyTransitions||(!r||!e.passedThroughNonGreedyDecision)&&s.add(e);for(let l=0;l<e.state.transitions.length;l++){const c=e.state.transitions[l];a=this.getEpsilonTarget(t,e,c,s,i,o),a!==null&&(r=this.closure(t,a,s,r,i,o))}return r}getEpsilonTarget(t,e,s,r,i,o){let a=null;if(s.serializationType===B.RULE){const l=oe.create(e.context,s.followState.stateNumber);a=new he({state:s.target,context:l},e)}else{if(s.serializationType===B.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(s.serializationType===B.PREDICATE)Pt.debug&&console.log("EVAL rule "+s.ruleIndex+":"+s.predIndex),r.hasSemanticContext=!0,this.evaluatePredicate(t,s.ruleIndex,s.predIndex,i)&&(a=new he({state:s.target},e));else if(s.serializationType===B.ACTION)if(e.context===null||e.context.hasEmptyPath()){const l=cs.append(e.lexerActionExecutor,this.atn.lexerActions[s.actionIndex]);a=new he({state:s.target,lexerActionExecutor:l},e)}else a=new he({state:s.target},e);else s.serializationType===B.EPSILON?a=new he({state:s.target},e):(s.serializationType===B.ATOM||s.serializationType===B.RANGE||s.serializationType===B.SET)&&o&&s.matches(S.EOF,0,Nt.MAX_CHAR_VALUE)&&(a=new he({state:s.target},e))}return a}evaluatePredicate(t,e,s,r){if(this.recog===null)return!0;if(!r)return this.recog.sempred(null,e,s);const i=this.column,o=this.line,a=t.index,l=t.mark();try{return this.consume(t),this.recog.sempred(null,e,s)}finally{this.column=i,this.line=o,t.seek(a),t.release(l)}}captureSimState(t,e,s){t.index=e.index,t.line=this.line,t.column=this.column,t.dfaState=s}addDFAEdge(t,e,s,r){if(s===void 0&&(s=null),r===void 0&&(r=null),s===null&&r!==null){const i=r.hasSemanticContext;if(r.hasSemanticContext=!1,s=this.addDFAState(r),i)return s}return e<Pt.MIN_DFA_EDGE||e>Pt.MAX_DFA_EDGE||(Pt.debug&&console.log("EDGE "+t+" -> "+s+" upon "+e),t.edges===null&&(t.edges=[]),t.edges[e-Pt.MIN_DFA_EDGE]=s),s}addDFAState(t){const e=new on(null,t);let s=null;for(let a=0;a<t.items.length;a++){const l=t.items[a];if(l.state instanceof ie){s=l;break}}s!==null&&(e.isAcceptState=!0,e.lexerActionExecutor=s.lexerActionExecutor,e.prediction=this.atn.ruleToTokenType[s.state.ruleIndex]);const r=this.decisionToDFA[this.mode],i=r.states.get(e);if(i!==null)return i;const o=e;return o.stateNumber=r.states.length,t.setReadonly(!0),o.configs=t,r.states.add(o),o}getDFA(t){return this.decisionToDFA[t]}getText(t){return t.getText(this.startIndex,t.index-1)}consume(t){t.LA(1)===`
13
+ `.charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,t.consume()}getTokenName(t){return t===-1?"EOF":"'"+String.fromCharCode(t)+"'"}}Pt.debug=!1,Pt.dfa_debug=!1,Pt.MIN_DFA_EDGE=0,Pt.MAX_DFA_EDGE=127;class $c{constructor(t,e){this.alt=e,this.pred=t}toString(){return"("+this.pred+", "+this.alt+")"}}class a4{constructor(){this.data={}}get(t){return this.data["k-"+t]||null}set(t,e){this.data["k-"+t]=e}values(){return Object.keys(this.data).filter(t=>t.startsWith("k-")).map(t=>this.data[t],this)}}const wt={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(n,t){if(wt.allConfigsInRuleStopStates(t))return!0;if(n===wt.SLL&&t.hasSemanticContext){const s=new ae;for(let r=0;r<t.items.length;r++){let i=t.items[r];i=new $t({semanticContext:gt.NONE},i),s.add(i)}t=s}const e=wt.getConflictingAltSubsets(t);return wt.hasConflictingAltSet(e)&&!wt.hasStateAssociatedWithOneAlt(t)},hasConfigInRuleStopState:function(n){for(let t=0;t<n.items.length;t++)if(n.items[t].state instanceof ie)return!0;return!1},allConfigsInRuleStopStates:function(n){for(let t=0;t<n.items.length;t++)if(!(n.items[t].state instanceof ie))return!1;return!0},resolvesToJustOneViableAlt:function(n){return wt.getSingleViableAlt(n)},allSubsetsConflict:function(n){return!wt.hasNonConflictingAltSet(n)},hasNonConflictingAltSet:function(n){for(let t=0;t<n.length;t++)if(n[t].length===1)return!0;return!1},hasConflictingAltSet:function(n){for(let t=0;t<n.length;t++)if(n[t].length>1)return!0;return!1},allSubsetsEqual:function(n){let t=null;for(let e=0;e<n.length;e++){const s=n[e];if(t===null)t=s;else if(s!==t)return!1}return!0},getUniqueAlt:function(n){const t=wt.getAlts(n);return t.length===1?t.minValue():Rt.INVALID_ALT_NUMBER},getAlts:function(n){const t=new Ye;return n.map(function(e){t.or(e)}),t},getConflictingAltSubsets:function(n){const t=new Bs;return t.hashFunction=function(e){Le.hashStuff(e.state.stateNumber,e.context)},t.equalsFunction=function(e,s){return e.state.stateNumber===s.state.stateNumber&&e.context.equals(s.context)},n.items.map(function(e){let s=t.get(e);s===null&&(s=new Ye,t.set(e,s)),s.add(e.alt)}),t.getValues()},getStateToAltMap:function(n){const t=new a4;return n.items.map(function(e){let s=t.get(e.state);s===null&&(s=new Ye,t.set(e.state,s)),s.add(e.alt)}),t},hasStateAssociatedWithOneAlt:function(n){const t=wt.getStateToAltMap(n).values();for(let e=0;e<t.length;e++)if(t[e].length===1)return!0;return!1},getSingleViableAlt:function(n){let t=null;for(let e=0;e<n.length;e++){const r=n[e].minValue();if(t===null)t=r;else if(t!==r)return Rt.INVALID_ALT_NUMBER}return t}};class so extends yn{constructor(t,e,s,r,i,o){o=o||t._ctx,r=r||t.getCurrentToken(),s=s||t.getCurrentToken(),e=e||t.getInputStream(),super({message:"",recognizer:t,input:e,ctx:o}),this.deadEndConfigs=i,this.startToken=s,this.offendingToken=r}}class l4{constructor(t){this.defaultMapCtor=t||Bs,this.cacheMap=new this.defaultMapCtor}get(t,e){const s=this.cacheMap.get(t)||null;return s===null?null:s.get(e)||null}set(t,e,s){let r=this.cacheMap.get(t)||null;r===null&&(r=new this.defaultMapCtor,this.cacheMap.set(t,r)),r.set(e,s)}}class c4 extends Xe{constructor(t,e,s,r){super(e,r),this.parser=t,this.decisionToDFA=s,this.predictionMode=wt.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(t,e,s){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+e+" exec LA(1)=="+this.getLookaheadName(t)+" line "+t.LT(1).line+":"+t.LT(1).column),this._input=t,this._startIndex=t.index,this._outerContext=s;const r=this.decisionToDFA[e];this._dfa=r;const i=t.mark(),o=t.index;try{let a;if(r.precedenceDfa?a=r.getPrecedenceStartState(this.parser.getPrecedence()):a=r.s0,a===null){s===null&&(s=rs.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+r.decision+" exec LA(1)=="+this.getLookaheadName(t)+", outerContext="+s.toString(this.parser.ruleNames));const c=!1;let u=this.computeStartState(r.atnStartState,rs.EMPTY,c);r.precedenceDfa?(r.s0.configs=u,u=this.applyPrecedenceFilter(u),a=this.addDFAState(r,new on(null,u)),r.setPrecedenceStartState(this.parser.getPrecedence(),a)):(a=this.addDFAState(r,new on(null,u)),r.s0=a)}const l=this.execATN(r,a,t,o,s);return this.debug&&console.log("DFA after predictATN: "+r.toString(this.parser.literalNames,this.parser.symbolicNames)),l}finally{this._dfa=null,this.mergeCache=null,t.seek(o),t.release(i)}}execATN(t,e,s,r,i){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+t.decision+" exec LA(1)=="+this.getLookaheadName(s)+" line "+s.LT(1).line+":"+s.LT(1).column);let o,a=e;this.debug&&console.log("s0 = "+e);let l=s.LA(1);for(;;){let c=this.getExistingTargetState(a,l);if(c===null&&(c=this.computeTargetState(t,a,l)),c===Xe.ERROR){const u=this.noViableAlt(s,i,a.configs,r);if(s.seek(r),o=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(a.configs,i),o!==Rt.INVALID_ALT_NUMBER)return o;throw u}if(c.requiresFullContext&&this.predictionMode!==wt.SLL){let u=null;if(c.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const g=s.index;if(g!==r&&s.seek(r),u=this.evalSemanticContext(c.predicates,i,!0),u.length===1)return this.debug&&console.log("Full LL avoided"),u.minValue();g!==r&&s.seek(g)}this.dfa_debug&&console.log("ctx sensitive state "+i+" in "+c);const f=!0,p=this.computeStartState(t.atnStartState,i,f);return this.reportAttemptingFullContext(t,u,c.configs,r,s.index),o=this.execATNWithFullContext(t,c,p,s,r,i),o}if(c.isAcceptState){if(c.predicates===null)return c.prediction;const u=s.index;s.seek(r);const f=this.evalSemanticContext(c.predicates,i,!0);if(f.length===0)throw this.noViableAlt(s,i,c.configs,r);return f.length===1||this.reportAmbiguity(t,c,r,u,!1,f,c.configs),f.minValue()}a=c,l!==S.EOF&&(s.consume(),l=s.LA(1))}}getExistingTargetState(t,e){const s=t.edges;return s===null?null:s[e+1]||null}computeTargetState(t,e,s){const r=this.computeReachSet(e.configs,s,!1);if(r===null)return this.addDFAEdge(t,e,s,Xe.ERROR),Xe.ERROR;let i=new on(null,r);const o=this.getUniqueAlt(r);if(this.debug){const a=wt.getConflictingAltSubsets(r);console.log("SLL altSubSets="+_n(a)+", configs="+r+", predict="+o+", allSubsetsConflict="+wt.allSubsetsConflict(a)+", conflictingAlts="+this.getConflictingAlts(r))}return o!==Rt.INVALID_ALT_NUMBER?(i.isAcceptState=!0,i.configs.uniqueAlt=o,i.prediction=o):wt.hasSLLConflictTerminatingPrediction(this.predictionMode,r)&&(i.configs.conflictingAlts=this.getConflictingAlts(r),i.requiresFullContext=!0,i.isAcceptState=!0,i.prediction=i.configs.conflictingAlts.minValue()),i.isAcceptState&&i.configs.hasSemanticContext&&(this.predicateDFAState(i,this.atn.getDecisionState(t.decision)),i.predicates!==null&&(i.prediction=Rt.INVALID_ALT_NUMBER)),i=this.addDFAEdge(t,e,s,i),i}predicateDFAState(t,e){const s=e.transitions.length,r=this.getConflictingAltsOrUniqueAlt(t.configs),i=this.getPredsForAmbigAlts(r,t.configs,s);i!==null?(t.predicates=this.getPredicatePredictions(r,i),t.prediction=Rt.INVALID_ALT_NUMBER):t.prediction=r.minValue()}execATNWithFullContext(t,e,s,r,i,o){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+s);const a=!0;let l=!1,c,u=s;r.seek(i);let f=r.LA(1),p=-1;for(;;){if(c=this.computeReachSet(u,f,a),c===null){const R=this.noViableAlt(r,o,u,i);r.seek(i);const I=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(u,o);if(I!==Rt.INVALID_ALT_NUMBER)return I;throw R}const g=wt.getConflictingAltSubsets(c);if(this.debug&&console.log("LL altSubSets="+g+", predict="+wt.getUniqueAlt(g)+", resolvesToJustOneViableAlt="+wt.resolvesToJustOneViableAlt(g)),c.uniqueAlt=this.getUniqueAlt(c),c.uniqueAlt!==Rt.INVALID_ALT_NUMBER){p=c.uniqueAlt;break}else if(this.predictionMode!==wt.LL_EXACT_AMBIG_DETECTION){if(p=wt.resolvesToJustOneViableAlt(g),p!==Rt.INVALID_ALT_NUMBER)break}else if(wt.allSubsetsConflict(g)&&wt.allSubsetsEqual(g)){l=!0,p=wt.getSingleViableAlt(g);break}u=c,f!==S.EOF&&(r.consume(),f=r.LA(1))}return c.uniqueAlt!==Rt.INVALID_ALT_NUMBER?(this.reportContextSensitivity(t,p,c,i,r.index),p):(this.reportAmbiguity(t,e,i,r.index,l,null,c),p)}computeReachSet(t,e,s){this.debug&&console.log("in computeReachSet, starting closure: "+t),this.mergeCache===null&&(this.mergeCache=new l4);const r=new ae(s);let i=null;for(let a=0;a<t.items.length;a++){const l=t.items[a];if(this.debug&&console.log("testing "+this.getTokenName(e)+" at "+l),l.state instanceof ie){(s||e===S.EOF)&&(i===null&&(i=[]),i.push(l),this.debug_add&&console.log("added "+l+" to skippedStopStates"));continue}for(let c=0;c<l.state.transitions.length;c++){const u=l.state.transitions[c],f=this.getReachableTarget(u,e);if(f!==null){const p=new $t({state:f},l);r.add(p,this.mergeCache),this.debug_add&&console.log("added "+p+" to intermediate")}}}let o=null;if(i===null&&e!==S.EOF&&(r.items.length===1||this.getUniqueAlt(r)!==Rt.INVALID_ALT_NUMBER)&&(o=r),o===null){o=new ae(s);const a=new _e,l=e===S.EOF;for(let c=0;c<r.items.length;c++)this.closure(r.items[c],o,a,!1,s,l)}if(e===S.EOF&&(o=this.removeAllConfigsNotInRuleStopState(o,o===r)),i!==null&&(!s||!wt.hasConfigInRuleStopState(o)))for(let a=0;a<i.length;a++)o.add(i[a],this.mergeCache);return o.items.length===0?null:o}removeAllConfigsNotInRuleStopState(t,e){if(wt.allConfigsInRuleStopStates(t))return t;const s=new ae(t.fullCtx);for(let r=0;r<t.items.length;r++){const i=t.items[r];if(i.state instanceof ie){s.add(i,this.mergeCache);continue}if(e&&i.state.epsilonOnlyTransitions&&this.atn.nextTokens(i.state).contains(S.EPSILON)){const a=this.atn.ruleToStopState[i.state.ruleIndex];s.add(new $t({state:a},i),this.mergeCache)}}return s}computeStartState(t,e,s){const r=B1(this.atn,e),i=new ae(s);for(let o=0;o<t.transitions.length;o++){const a=t.transitions[o].target,l=new $t({state:a,alt:o+1,context:r},null),c=new _e;this.closure(l,i,c,!0,s,!1)}return i}applyPrecedenceFilter(t){let e;const s=[],r=new ae(t.fullCtx);for(let i=0;i<t.items.length;i++){if(e=t.items[i],e.alt!==1)continue;const o=e.semanticContext.evalPrecedence(this.parser,this._outerContext);o!==null&&(s[e.state.stateNumber]=e.context,o!==e.semanticContext?r.add(new $t({semanticContext:o},e),this.mergeCache):r.add(e,this.mergeCache))}for(let i=0;i<t.items.length;i++)if(e=t.items[i],e.alt!==1){if(!e.precedenceFilterSuppressed){const o=s[e.state.stateNumber]||null;if(o!==null&&o.equals(e.context))continue}r.add(e,this.mergeCache)}return r}getReachableTarget(t,e){return t.matches(e,0,this.atn.maxTokenType)?t.target:null}getPredsForAmbigAlts(t,e,s){let r=[];for(let o=0;o<e.items.length;o++){const a=e.items[o];t.has(a.alt)&&(r[a.alt]=gt.orContext(r[a.alt]||null,a.semanticContext))}let i=0;for(let o=1;o<s+1;o++){const a=r[o]||null;a===null?r[o]=gt.NONE:a!==gt.NONE&&(i+=1)}return i===0&&(r=null),this.debug&&console.log("getPredsForAmbigAlts result "+_n(r)),r}getPredicatePredictions(t,e){const s=[];let r=!1;for(let i=1;i<e.length;i++){const o=e[i];t!==null&&t.has(i)&&s.push(new $c(o,i)),o!==gt.NONE&&(r=!0)}return r?s:null}getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(t,e){const s=this.splitAccordingToSemanticValidity(t,e),r=s[0],i=s[1];let o=this.getAltThatFinishedDecisionEntryRule(r);return o!==Rt.INVALID_ALT_NUMBER||i.items.length>0&&(o=this.getAltThatFinishedDecisionEntryRule(i),o!==Rt.INVALID_ALT_NUMBER)?o:Rt.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(t){const e=[];for(let s=0;s<t.items.length;s++){const r=t.items[s];(r.reachesIntoOuterContext>0||r.state instanceof ie&&r.context.hasEmptyPath())&&e.indexOf(r.alt)<0&&e.push(r.alt)}return e.length===0?Rt.INVALID_ALT_NUMBER:Math.min.apply(null,e)}splitAccordingToSemanticValidity(t,e){const s=new ae(t.fullCtx),r=new ae(t.fullCtx);for(let i=0;i<t.items.length;i++){const o=t.items[i];o.semanticContext!==gt.NONE?o.semanticContext.evaluate(this.parser,e)?s.add(o):r.add(o):s.add(o)}return[s,r]}evalSemanticContext(t,e,s){const r=new Ye;for(let i=0;i<t.length;i++){const o=t[i];if(o.pred===gt.NONE){if(r.add(o.alt),!s)break;continue}const a=o.pred.evaluate(this.parser,e);if((this.debug||this.dfa_debug)&&console.log("eval pred "+o+"="+a),a&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+o.alt),r.add(o.alt),!s))break}return r}closure(t,e,s,r,i,o){this.closureCheckingStopState(t,e,s,r,i,0,o)}closureCheckingStopState(t,e,s,r,i,o,a){if((this.debug||this.debug_closure)&&(console.log("closure("+t.toString(this.parser,!0)+")"),t.reachesIntoOuterContext>50))throw"problem";if(t.state instanceof ie)if(t.context.isEmpty())if(i){e.add(t,this.mergeCache);return}else this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex));else{for(let l=0;l<t.context.length;l++){if(t.context.getReturnState(l)===it.EMPTY_RETURN_STATE){if(i){e.add(new $t({state:t.state,context:it.EMPTY},t),this.mergeCache);continue}else this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex)),this.closure_(t,e,s,r,i,o,a);continue}const c=this.atn.states[t.context.getReturnState(l)],u=t.context.getParent(l),f={state:c,alt:t.alt,context:u,semanticContext:t.semanticContext},p=new $t(f,null);p.reachesIntoOuterContext=t.reachesIntoOuterContext,this.closureCheckingStopState(p,e,s,r,i,o-1,a)}return}this.closure_(t,e,s,r,i,o,a)}closure_(t,e,s,r,i,o,a){const l=t.state;l.epsilonOnlyTransitions||e.add(t,this.mergeCache);for(let c=0;c<l.transitions.length;c++){if(c===0&&this.canDropLoopEntryEdgeInLeftRecursiveRule(t))continue;const u=l.transitions[c],f=r&&!(u instanceof Nc),p=this.getEpsilonTarget(t,u,f,o===0,i,a);if(p!==null){let g=o;if(t.state instanceof ie){if(this._dfa!==null&&this._dfa.precedenceDfa&&u.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(p.precedenceFilterSuppressed=!0),p.reachesIntoOuterContext+=1,s.add(p)!==p)continue;e.dipsIntoOuterContext=!0,g-=1,this.debug&&console.log("dips into outer ctx: "+p)}else{if(!u.isEpsilon&&s.add(p)!==p)continue;u instanceof Hr&&g>=0&&(g+=1)}this.closureCheckingStopState(p,e,s,f,i,g,a)}}}canDropLoopEntryEdgeInLeftRecursiveRule(t){const e=t.state;if(e.stateType!==z.STAR_LOOP_ENTRY||e.stateType!==z.STAR_LOOP_ENTRY||!e.isPrecedenceDecision||t.context.isEmpty()||t.context.hasEmptyPath())return!1;const s=t.context.length;for(let a=0;a<s;a++)if(this.atn.states[t.context.getReturnState(a)].ruleIndex!==e.ruleIndex)return!1;const i=e.transitions[0].target.endState.stateNumber,o=this.atn.states[i];for(let a=0;a<s;a++){const l=t.context.getReturnState(a),c=this.atn.states[l];if(c.transitions.length!==1||!c.transitions[0].isEpsilon)return!1;const u=c.transitions[0].target;if(!(c.stateType===z.BLOCK_END&&u===e)&&c!==o&&u!==o&&!(u.stateType===z.BLOCK_END&&u.transitions.length===1&&u.transitions[0].isEpsilon&&u.transitions[0].target===e))return!1}return!0}getRuleName(t){return this.parser!==null&&t>=0?this.parser.ruleNames[t]:"<rule "+t+">"}getEpsilonTarget(t,e,s,r,i,o){switch(e.serializationType){case B.RULE:return this.ruleTransition(t,e);case B.PRECEDENCE:return this.precedenceTransition(t,e,s,r,i);case B.PREDICATE:return this.predTransition(t,e,s,r,i);case B.ACTION:return this.actionTransition(t,e);case B.EPSILON:return new $t({state:e.target},t);case B.ATOM:case B.RANGE:case B.SET:return o&&e.matches(S.EOF,0,1)?new $t({state:e.target},t):null;default:return null}}actionTransition(t,e){if(this.debug){const s=e.actionIndex===-1?65535:e.actionIndex;console.log("ACTION edge "+e.ruleIndex+":"+s)}return new $t({state:e.target},t)}precedenceTransition(t,e,s,r,i){this.debug&&(console.log("PRED (collectPredicates="+s+") "+e.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+_n(this.parser.getRuleInvocationStack())));let o=null;if(s&&r)if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new $t({state:e.target},t))}else{const a=gt.andContext(t.semanticContext,e.getPredicate());o=new $t({state:e.target,semanticContext:a},t)}else o=new $t({state:e.target},t);return this.debug&&console.log("config from pred transition="+o),o}predTransition(t,e,s,r,i){this.debug&&(console.log("PRED (collectPredicates="+s+") "+e.ruleIndex+":"+e.predIndex+", ctx dependent="+e.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+_n(this.parser.getRuleInvocationStack())));let o=null;if(s&&(e.isCtxDependent&&r||!e.isCtxDependent))if(i){const a=this._input.index;this._input.seek(this._startIndex);const l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(o=new $t({state:e.target},t))}else{const a=gt.andContext(t.semanticContext,e.getPredicate());o=new $t({state:e.target,semanticContext:a},t)}else o=new $t({state:e.target},t);return this.debug&&console.log("config from pred transition="+o),o}ruleTransition(t,e){this.debug&&console.log("CALL rule "+this.getRuleName(e.target.ruleIndex)+", ctx="+t.context);const s=e.followState,r=oe.create(t.context,s.stateNumber);return new $t({state:e.target,context:r},t)}getConflictingAlts(t){const e=wt.getConflictingAltSubsets(t);return wt.getAlts(e)}getConflictingAltsOrUniqueAlt(t){let e=null;return t.uniqueAlt!==Rt.INVALID_ALT_NUMBER?(e=new Ye,e.add(t.uniqueAlt)):e=t.conflictingAlts,e}getTokenName(t){if(t===S.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null)if(t>=this.parser.literalNames.length&&t>=this.parser.symbolicNames.length)console.log(""+t+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens());else return(this.parser.literalNames[t]||this.parser.symbolicNames[t])+"<"+t+">";return""+t}getLookaheadName(t){return this.getTokenName(t.LA(1))}dumpDeadEndConfigs(t){console.log("dead end configs: ");const e=t.getDeadEndConfigs();for(let s=0;s<e.length;s++){const r=e[s];let i="no edges";if(r.state.transitions.length>0){const o=r.state.transitions[0];o instanceof jr?i="Atom "+this.getTokenName(o.label):o instanceof M1&&(i=(o instanceof F1?"~":"")+"Set "+o.set)}console.error(r.toString(this.parser,!0)+":"+i)}}noViableAlt(t,e,s,r){return new so(this.parser,t,t.get(r),t.LT(1),s,e)}getUniqueAlt(t){let e=Rt.INVALID_ALT_NUMBER;for(let s=0;s<t.items.length;s++){const r=t.items[s];if(e===Rt.INVALID_ALT_NUMBER)e=r.alt;else if(r.alt!==e)return Rt.INVALID_ALT_NUMBER}return e}addDFAEdge(t,e,s,r){if(this.debug&&console.log("EDGE "+e+" -> "+r+" upon "+this.getTokenName(s)),r===null)return null;if(r=this.addDFAState(t,r),e===null||s<-1||s>this.atn.maxTokenType)return r;if(e.edges===null&&(e.edges=[]),e.edges[s+1]=r,this.debug){const i=this.parser===null?null:this.parser.literalNames,o=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
14
+ `+t.toString(i,o))}return r}addDFAState(t,e){if(e===Xe.ERROR)return e;const s=t.states.get(e);return s!==null?s:(e.stateNumber=t.states.length,e.configs.readOnly||(e.configs.optimizeConfigs(this),e.configs.setReadonly(!0)),t.states.add(e),this.debug&&console.log("adding new DFA state: "+e),e)}reportAttemptingFullContext(t,e,s,r,i){if(this.debug||this.retry_debug){const o=new xt(r,i+1);console.log("reportAttemptingFullContext decision="+t.decision+":"+s+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,t,r,i,e,s)}reportContextSensitivity(t,e,s,r,i){if(this.debug||this.retry_debug){const o=new xt(r,i+1);console.log("reportContextSensitivity decision="+t.decision+":"+s+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,t,r,i,e,s)}reportAmbiguity(t,e,s,r,i,o,a){if(this.debug||this.retry_debug){const l=new xt(s,r+1);console.log("reportAmbiguity "+o+":"+a+", input="+this.parser.getTokenStream().getText(l))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,t,s,r,i,o,a)}}const u4={ATN:Rt,ATNDeserializer:Mc,LexerATNSimulator:Pt,ParserATNSimulator:c4,PredictionMode:wt};class ro{constructor(t,e,s){this.dfa=t,this.literalNames=e||[],this.symbolicNames=s||[]}toString(){if(this.dfa.s0===null)return null;let t="";const e=this.dfa.sortedStates();for(let s=0;s<e.length;s++){const r=e[s];if(r.edges!==null){const i=r.edges.length;for(let o=0;o<i;o++){const a=r.edges[o]||null;a!==null&&a.stateNumber!==2147483647&&(t=t.concat(this.getStateString(r)),t=t.concat("-"),t=t.concat(this.getEdgeLabel(o)),t=t.concat("->"),t=t.concat(this.getStateString(a)),t=t.concat(`
15
+ `))}}}return t.length===0?null:t}getEdgeLabel(t){return t===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)}getStateString(t){const e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?t.predicates!==null?e+"=>"+_n(t.predicates):e+"=>"+t.prediction.toString():e}}class Bc extends ro{constructor(t){super(t,null)}getEdgeLabel(t){return"'"+String.fromCharCode(t)+"'"}}class h4{constructor(t,e){if(e===void 0&&(e=0),this.atnStartState=t,this.decision=e,this._states=new _e,this.s0=null,this.precedenceDfa=!1,t instanceof Dn&&t.isPrecedenceDecision){this.precedenceDfa=!0;const s=new on(null,new ae);s.edges=[],s.isAcceptState=!1,s.requiresFullContext=!1,this.s0=s}}getPrecedenceStartState(t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return t<0||t>=this.s0.edges.length?null:this.s0.edges[t]||null}setPrecedenceStartState(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)}setPrecedenceDfa(t){if(this.precedenceDfa!==t){if(this._states=new _e,t){const e=new on(null,new ae);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}}sortedStates(){return this._states.values().sort(function(e,s){return e.stateNumber-s.stateNumber})}toString(t,e){return t=t||null,e=e||null,this.s0===null?"":new ro(this,t,e).toString()}toLexerString(){return this.s0===null?"":new Bc(this).toString()}get states(){return this._states}}const f4={DFA:h4,DFASerializer:ro,LexerDFASerializer:Bc,PredPrediction:$c};class Uc{visitTerminal(t){}visitErrorNode(t){}enterEveryRule(t){}exitEveryRule(t){}}class d4{visit(t){return Array.isArray(t)?t.map(function(e){return e.accept(this)},this):t.accept(this)}visitChildren(t){return t.children?this.visit(t.children):null}visitTerminal(t){}visitErrorNode(t){}}class io{walk(t,e){if(e instanceof zr||e.isErrorNode!==void 0&&e.isErrorNode())t.visitErrorNode(e);else if(e instanceof sn)t.visitTerminal(e);else{this.enterRule(t,e);for(let r=0;r<e.getChildCount();r++){const i=e.getChild(r);this.walk(t,i)}this.exitRule(t,e)}}enterRule(t,e){const s=e.getRuleContext();t.enterEveryRule(s),s.enterRule(t)}exitRule(t,e){const s=e.getRuleContext();s.exitRule(t),t.exitEveryRule(s)}}io.DEFAULT=new io;const p4={Trees:We,RuleNode:Gr,ErrorNode:zr,TerminalNode:sn,ParseTreeListener:Uc,ParseTreeVisitor:d4,ParseTreeWalker:io};class zs extends yn{constructor(t){super({message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}}class Hc extends yn{constructor(t,e,s){super({message:g4(e,s||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});const i=t._interp.atn.states[t.state].transitions[0];i instanceof Pc?(this.ruleIndex=i.ruleIndex,this.predicateIndex=i.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken()}}function g4(n,t){return t!==null?t:"failed predicate: {"+n+"}?"}class x4 extends Kr{constructor(t){super(),t=t||!0,this.exactOnly=t}reportAmbiguity(t,e,s,r,i,o,a){if(this.exactOnly&&!i)return;const l="reportAmbiguity d="+this.getDecisionDescription(t,e)+": ambigAlts="+this.getConflictingAlts(o,a)+", input='"+t.getTokenStream().getText(new xt(s,r))+"'";t.notifyErrorListeners(l)}reportAttemptingFullContext(t,e,s,r,i,o){const a="reportAttemptingFullContext d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new xt(s,r))+"'";t.notifyErrorListeners(a)}reportContextSensitivity(t,e,s,r,i,o){const a="reportContextSensitivity d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new xt(s,r))+"'";t.notifyErrorListeners(a)}getDecisionDescription(t,e){const s=e.decision,r=e.atnStartState.ruleIndex,i=t.ruleNames;if(r<0||r>=i.length)return""+s;const o=i[r]||null;return o===null||o.length===0?""+s:`${s} (${o})`}getConflictingAlts(t,e){if(t!==null)return t;const s=new Ye;for(let r=0;r<e.items.length;r++)s.add(e.items[r].alt);return`{${s.values().join(", ")}}`}}class oo extends Error{constructor(){super(),Error.captureStackTrace(this,oo)}}class m4{reset(t){}recoverInline(t){}recover(t,e){}sync(t){}inErrorRecoveryMode(t){}reportError(t){}}class ao extends m4{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(t){this.endErrorCondition(t)}beginErrorCondition(t){this.errorRecoveryMode=!0}inErrorRecoveryMode(t){return this.errorRecoveryMode}endErrorCondition(t){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(t){this.endErrorCondition(t)}reportError(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof so?this.reportNoViableAlternative(t,e):e instanceof zs?this.reportInputMismatch(t,e):e instanceof Hc?this.reportFailedPredicate(t,e):(console.log("unknown recognition error type: "+e.constructor.name),console.log(e.stack),t.notifyErrorListeners(e.getOffendingToken(),e.getMessage(),e)))}recover(t,e){this.lastErrorIndex===t.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(t.state)>=0&&t.consume(),this.lastErrorIndex=t._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);const s=this.getErrorRecoverySet(t);this.consumeUntil(t,s)}sync(t){if(this.inErrorRecoveryMode(t))return;const e=t._interp.atn.states[t.state],s=t.getTokenStream().LA(1),r=t.atn.nextTokens(e);if(r.contains(s)){this.nextTokensContext=null,this.nextTokenState=z.INVALID_STATE_NUMBER;return}else if(r.contains(S.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=t._ctx,this.nextTokensState=t._stateNumber);return}switch(e.stateType){case z.BLOCK_START:case z.STAR_BLOCK_START:case z.PLUS_BLOCK_START:case z.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(t)!==null)return;throw new zs(t);case z.PLUS_LOOP_BACK:case z.STAR_LOOP_BACK:{this.reportUnwantedToken(t);const i=new ve;i.addSet(t.getExpectedTokens());const o=i.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,o)}break}}reportNoViableAlternative(t,e){const s=t.getTokenStream();let r;s!==null?e.startToken.type===S.EOF?r="<EOF>":r=s.getText(new xt(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):r="<unknown input>";const i="no viable alternative at input "+this.escapeWSAndQuote(r);t.notifyErrorListeners(i,e.offendingToken,e)}reportInputMismatch(t,e){const s="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(s,e.offendingToken,e)}reportFailedPredicate(t,e){const r="rule "+t.ruleNames[t._ctx.ruleIndex]+" "+e.message;t.notifyErrorListeners(r,e.offendingToken,e)}reportUnwantedToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),s=this.getTokenErrorDisplay(e),r=this.getExpectedTokens(t),i="extraneous input "+s+" expecting "+r.toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(i,e,null)}reportMissingToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);const e=t.getCurrentToken(),r="missing "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(r,e,null)}recoverInline(t){const e=this.singleTokenDeletion(t);if(e!==null)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new zs(t)}singleTokenInsertion(t){const e=t.getTokenStream().LA(1),s=t._interp.atn,i=s.states[t.state].transitions[0].target;return s.nextTokens(i,t._ctx).contains(e)?(this.reportMissingToken(t),!0):!1}singleTokenDeletion(t){const e=t.getTokenStream().LA(2);if(this.getExpectedTokens(t).contains(e)){this.reportUnwantedToken(t),t.consume();const r=t.getCurrentToken();return this.reportMatch(t),r}else return null}getMissingSymbol(t){const e=t.getCurrentToken(),r=this.getExpectedTokens(t).first();let i;r===S.EOF?i="<missing EOF>":i="<missing "+t.literalNames[r]+">";let o=e;const a=t.getTokenStream().LT(-1);return o.type===S.EOF&&a!==null&&(o=a),t.getTokenFactory().create(o.source,r,i,S.DEFAULT_CHANNEL,-1,-1,o.line,o.column)}getExpectedTokens(t){return t.getExpectedTokens()}getTokenErrorDisplay(t){if(t===null)return"<no token>";let e=t.text;return e===null&&(t.type===S.EOF?e="<EOF>":e="<"+t.type+">"),this.escapeWSAndQuote(e)}escapeWSAndQuote(t){return t=t.replace(/\n/g,"\\n"),t=t.replace(/\r/g,"\\r"),t=t.replace(/\t/g,"\\t"),"'"+t+"'"}getErrorRecoverySet(t){const e=t._interp.atn;let s=t._ctx;const r=new ve;for(;s!==null&&s.invokingState>=0;){const o=e.states[s.invokingState].transitions[0],a=e.nextTokens(o.followState);r.addSet(a),s=s.parentCtx}return r.removeOne(S.EPSILON),r}consumeUntil(t,e){let s=t.getTokenStream().LA(1);for(;s!==S.EOF&&!e.contains(s);)t.consume(),s=t.getTokenStream().LA(1)}}class L4 extends ao{constructor(){super()}recover(t,e){let s=t._ctx;for(;s!==null;)s.exception=e,s=s.parentCtx;throw new oo(e)}recoverInline(t){this.recover(t,new zs(t))}sync(t){}}const _4={RecognitionException:yn,NoViableAltException:so,LexerNoViableAltException:no,InputMismatchException:zs,FailedPredicateException:Hc,DiagnosticErrorListener:x4,BailErrorStrategy:L4,DefaultErrorStrategy:ao,ErrorListener:Kr};class Bn{constructor(t,e){if(this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=e||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let s=0;s<this.strdata.length;){const r=this.strdata.codePointAt(s);this.data.push(r),s+=r<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let s=0;s<this.strdata.length;s++){const r=this.strdata.charCodeAt(s);this.data[s]=r}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(t){if(t===0)return 0;t<0&&(t+=1);const e=this._index+t-1;return e<0||e>=this._size?S.EOF:this.data[e]}LT(t){return this.LA(t)}mark(){return-1}release(t){}seek(t){if(t<=this._index){this._index=t;return}this._index=Math.min(t,this._size)}getText(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(this.decodeToUnicodeCodePoints){let s="";for(let r=t;r<=e;r++)s+=String.fromCodePoint(this.data[r]);return s}else return this.strdata.slice(t,e+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const lo={},y4={fromString:function(n){return new Bn(n,!0)},fromBlob:function(n,t,e,s){const r=new window.FileReader;r.onload=function(i){const o=new Bn(i.target.result,!0);e(o)},r.onerror=s,r.readAsText(n,t)},fromBuffer:function(n,t){return new Bn(n.toString(t),!0)},fromPath:function(n,t,e){lo.readFile(n,t,function(s,r){let i=null;r!==null&&(i=new Bn(r,!0)),e(s,i)})},fromPathSync:function(n,t){const e=lo.readFileSync(n,t);return new Bn(e,!0)}};class C4 extends Bn{constructor(t,e){const s=lo.readFileSync(t,"utf8");super(s,e),this.fileName=t}}class E4{}class b4 extends E4{constructor(t){super(),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(t){}reset(){this.seek(0)}seek(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)}get(t){return this.lazyInit(),this.tokens[t]}consume(){let t=!1;if(this.index>=0?this.fetchedEOF?t=this.index<this.tokens.length-1:t=this.index<this.tokens.length:t=!1,!t&&this.LA(1)===S.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(t){const e=t-this.tokens.length+1;return e>0?this.fetch(e)>=e:!0}fetch(t){if(this.fetchedEOF)return 0;for(let e=0;e<t;e++){const s=this.tokenSource.nextToken();if(s.tokenIndex=this.tokens.length,this.tokens.push(s),s.type===S.EOF)return this.fetchedEOF=!0,e+1}return t}getTokens(t,e,s){if(s===void 0&&(s=null),t<0||e<0)return null;this.lazyInit();const r=[];e>=this.tokens.length&&(e=this.tokens.length-1);for(let i=t;i<e;i++){const o=this.tokens[i];if(o.type===S.EOF)break;(s===null||s.contains(o.type))&&r.push(o)}return r}LA(t){return this.LT(t).type}LB(t){return this.index-t<0?null:this.tokens[this.index-t]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);const e=this.index+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]}adjustSeekIndex(t){return t}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(t,e){if(this.sync(t),t>=this.tokens.length)return-1;let s=this.tokens[t];for(;s.channel!==this.channel;){if(s.type===S.EOF)return-1;t+=1,this.sync(t),s=this.tokens[t]}return t}previousTokenOnChannel(t,e){for(;t>=0&&this.tokens[t].channel!==e;)t-=1;return t}getHiddenTokensToRight(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const s=this.nextTokenOnChannel(t+1,Nt.DEFAULT_TOKEN_CHANNEL),r=t+1,i=s===-1?this.tokens.length-1:s;return this.filterForChannel(r,i,e)}getHiddenTokensToLeft(t,e){if(e===void 0&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw""+t+" not in 0.."+this.tokens.length-1;const s=this.previousTokenOnChannel(t-1,Nt.DEFAULT_TOKEN_CHANNEL);if(s===t-1)return null;const r=s+1,i=t-1;return this.filterForChannel(r,i,e)}filterForChannel(t,e,s){const r=[];for(let i=t;i<e+1;i++){const o=this.tokens[i];s===-1?o.channel!==Nt.DEFAULT_TOKEN_CHANNEL&&r.push(o):o.channel===s&&r.push(o)}return r.length===0?null:r}getSourceName(){return this.tokenSource.getSourceName()}getText(t){this.lazyInit(),this.fill(),t==null&&(t=new xt(0,this.tokens.length-1));let e=t.start;e instanceof S&&(e=e.tokenIndex);let s=t.stop;if(s instanceof S&&(s=s.tokenIndex),e===null||s===null||e<0||s<0)return"";s>=this.tokens.length&&(s=this.tokens.length-1);let r="";for(let i=e;i<s+1;i++){const o=this.tokens[i];if(o.type===S.EOF)break;r=r+o.text}return r}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class w4 extends b4{constructor(t,e){super(t),this.channel=e===void 0?S.DEFAULT_CHANNEL:e}adjustSeekIndex(t){return this.nextTokenOnChannel(t,this.channel)}LB(t){if(t===0||this.index-t<0)return null;let e=this.index,s=1;for(;s<=t;)e=this.previousTokenOnChannel(e-1,this.channel),s+=1;return e<0?null:this.tokens[e]}LT(t){if(this.lazyInit(),t===0)return null;if(t<0)return this.LB(-t);let e=this.index,s=1;for(;s<t;)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),s+=1;return this.tokens[e]}getNumberOfOnChannelTokens(){let t=0;this.fill();for(let e=0;e<this.tokens.length;e++){const s=this.tokens[e];if(s.channel===this.channel&&(t+=1),s.type===S.EOF)break}return t}}class T4 extends Uc{constructor(t){super(),this.parser=t}enterEveryRule(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}class Gc extends Yr{constructor(t){super(),this._input=null,this._errHandler=new ao,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(t){let e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}matchWildcard(){let t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&t.tokenIndex===-1&&this._ctx.addErrorNode(t)),t}getParseListeners(){return this._parseListeners||[]}addParseListener(t){if(t===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(t)}removeParseListener(t){if(this._parseListeners!==null){const e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.forEach(function(e){e.enterEveryRule(t),t.enterRule(e)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const t=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(e){t.exitRule(e),e.exitEveryRule(t)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(t){this._input.tokenSource._factory=t}getATNWithBypassAlts(){const t=this.getSerializedATN();if(t===null)throw"The current parser does not support an ATN with bypass alternatives.";let e=this.bypassAltsAtnCache[t];if(e===null){const s=new Hs;s.generateRuleBypassTransitions=!0,e=new Mc(s).deserialize(t),this.bypassAltsAtnCache[t]=e}return e}getInputStream(){return this.getTokenStream()}setInputStream(t){this.setTokenStream(t)}getTokenStream(){return this._input}setTokenStream(t){this._input=null,this.reset(),this._input=t}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(t,e,s){e=e||null,s=s||null,e===null&&(e=this.getCurrentToken()),this._syntaxErrors+=1;const r=e.line,i=e.column;this.getErrorListenerDispatch().syntaxError(this,e,r,i,t,s)}consume(){const t=this.getCurrentToken();t.type!==S.EOF&&this.getInputStream().consume();const e=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||e){let s;this._errHandler.inErrorRecoveryMode(this)?s=this._ctx.addErrorNode(t):s=this._ctx.addTokenNode(t),s.invokingState=this.state,e&&this._parseListeners.forEach(function(r){s instanceof zr||s.isErrorNode!==void 0&&s.isErrorNode()?r.visitErrorNode(s):s instanceof sn&&r.visitTerminal(s)})}return t}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(t,e,s){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(t,e,s,r){this.state=e,this._precedenceStack.push(r),this._ctx=t,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(t,e,s){const r=this._ctx;r.parentCtx=t,r.invokingState=e,r.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=r.start,this.buildParseTrees&&this._ctx.addChild(r),this.triggerEnterRuleEvent()}unrollRecursionContexts(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const e=this._ctx,s=this.getParseListeners();if(s!==null&&s.length>0)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&t!==null&&t.addChild(e)}getInvokingContext(t){let e=this._ctx;for(;e!==null;){if(e.ruleIndex===t)return e;e=e.parentCtx}return null}precpred(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]}inContext(t){return!1}isExpectedToken(t){const e=this._interp.atn;let s=this._ctx;const r=e.states[this.state];let i=e.nextTokens(r);if(i.contains(t))return!0;if(!i.contains(S.EPSILON))return!1;for(;s!==null&&s.invokingState>=0&&i.contains(S.EPSILON);){const a=e.states[s.invokingState].transitions[0];if(i=e.nextTokens(a.followState),i.contains(t))return!0;s=s.parentCtx}return!!(i.contains(S.EPSILON)&&t===S.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)}getRuleIndex(t){const e=this.getRuleIndexMap()[t];return e!==null?e:-1}getRuleInvocationStack(t){t=t||null,t===null&&(t=this._ctx);const e=[];for(;t!==null;){const s=t.ruleIndex;s<0?e.push("n/a"):e.push(this.ruleNames[s]),t=t.parentCtx}return e}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let t=!1;for(let e=0;e<this._interp.decisionToDFA.length;e++){const s=this._interp.decisionToDFA[e];s.states.length>0&&(t&&console.log(),this.printer.println("Decision "+s.decision+":"),this.printer.print(s.toString(this.literalNames,this.symbolicNames)),t=!0)}}getSourceName(){return this._input.sourceName}setTrace(t){t?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new T4(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}Gc.bypassAltsAtnCache={};class v4{constructor(){this.cache=new Bs}add(t){if(t===it.EMPTY)return it.EMPTY;const e=this.cache.get(t)||null;return e!==null?e:(this.cache.set(t,t),t)}get(t){return this.cache.get(t)||null}get length(){return this.cache.length}}class zc extends sn{constructor(t){super(),this.parentCtx=null,this.symbol=t}getChild(t){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return xt.INVALID_INTERVAL;const t=this.symbol.tokenIndex;return new xt(t,t)}getChildCount(){return 0}accept(t){return t.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===S.EOF?"<EOF>":this.symbol.text}}class Vc extends zc{constructor(t){super(t)}isErrorNode(){return!0}accept(t){return t.visitErrorNode(this)}}class jc extends rs{constructor(t,e){t=t||null,e=e||null,super(t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(t){this.parentCtx=t.parentCtx,this.invokingState=t.invokingState,this.children=null,this.start=t.start,this.stop=t.stop,t.children&&(this.children=[],t.children.map(function(e){e instanceof Vc&&(this.children.push(e),e.parentCtx=this)},this))}enterRule(t){}exitRule(t){}addChild(t){return this.children===null&&(this.children=[]),this.children.push(t),t}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(t){const e=new zc(t);return this.addChild(e),e.parentCtx=this,e}addErrorNode(t){const e=new Vc(t);return this.addChild(e),e.parentCtx=this,e}getChild(t,e){if(e=e||null,this.children===null||t<0||t>=this.children.length)return null;if(e===null)return this.children[t];for(let s=0;s<this.children.length;s++){const r=this.children[s];if(r instanceof e){if(t===0)return r;t-=1}}return null}getToken(t,e){if(this.children===null||e<0||e>=this.children.length)return null;for(let s=0;s<this.children.length;s++){const r=this.children[s];if(r instanceof sn&&r.symbol.type===t){if(e===0)return r;e-=1}}return null}getTokens(t){if(this.children===null)return[];{const e=[];for(let s=0;s<this.children.length;s++){const r=this.children[s];r instanceof sn&&r.symbol.type===t&&e.push(r)}return e}}getTypedRuleContext(t,e){return this.getChild(e,t)}getTypedRuleContexts(t){if(this.children===null)return[];{const e=[];for(let s=0;s<this.children.length;s++){const r=this.children[s];r instanceof t&&e.push(r)}return e}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?xt.INVALID_INTERVAL:new xt(this.start.tokenIndex,this.stop.tokenIndex)}}rs.EMPTY=new jc;const L={atn:u4,dfa:f4,tree:p4,error:_4,Token:S,CommonToken:$n,CharStreams:y4,InputStream:Bn,FileStream:C4,CommonTokenStream:w4,Lexer:Nt,Parser:Gc,PredictionContextCache:v4,ParserRuleContext:jc,Interval:xt,IntervalSet:ve,LL1Analyzer:is,Utils:{arrayToString:_n}},A4=[4,0,65,511,6,-1,6,-1,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,11,1,11,4,11,201,8,11,11,11,12,11,202,1,12,1,12,1,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,3,36,273,8,36,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,309,8,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,376,8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,404,8,51,1,52,1,52,5,52,408,8,52,10,52,12,52,411,9,52,1,53,1,53,1,54,1,54,5,54,417,8,54,10,54,12,54,420,9,54,1,55,4,55,423,8,55,11,55,12,55,424,1,56,4,56,428,8,56,11,56,12,56,429,1,56,1,56,5,56,434,8,56,10,56,12,56,437,9,56,1,56,1,56,4,56,441,8,56,11,56,12,56,442,3,56,445,8,56,1,57,1,57,1,57,1,57,5,57,451,8,57,10,57,12,57,454,9,57,1,57,3,57,457,8,57,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,467,8,59,10,59,12,59,470,9,59,1,59,1,59,1,59,1,59,1,60,1,60,1,61,1,61,5,61,480,8,61,10,61,12,61,483,9,61,1,61,1,61,1,61,1,61,5,61,489,8,61,10,61,12,61,492,9,61,1,62,4,62,495,8,62,11,62,12,62,496,1,63,1,63,1,63,1,63,1,64,4,64,504,8,64,11,64,12,64,505,1,65,1,65,1,65,1,65,1,468,0,66,3,1,5,2,7,3,9,4,11,5,13,6,15,7,17,8,19,9,21,10,23,0,25,11,27,12,29,13,31,14,33,15,35,16,37,17,39,18,41,19,43,20,45,21,47,22,49,23,51,24,53,25,55,26,57,27,59,28,61,29,63,30,65,31,67,32,69,33,71,34,73,35,75,36,77,37,79,38,81,39,83,40,85,41,87,42,89,43,91,44,93,45,95,46,97,47,99,48,101,49,103,50,105,51,107,52,109,53,111,54,113,55,115,56,117,57,119,58,121,59,123,60,125,61,127,62,129,63,131,64,133,65,3,0,1,2,7,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,3,0,65,90,95,95,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,532,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,1,127,1,0,0,0,1,129,1,0,0,0,2,131,1,0,0,0,2,133,1,0,0,0,3,135,1,0,0,0,5,139,1,0,0,0,7,147,1,0,0,0,9,158,1,0,0,0,11,167,1,0,0,0,13,175,1,0,0,0,15,183,1,0,0,0,17,187,1,0,0,0,19,190,1,0,0,0,21,193,1,0,0,0,23,196,1,0,0,0,25,198,1,0,0,0,27,204,1,0,0,0,29,207,1,0,0,0,31,210,1,0,0,0,33,213,1,0,0,0,35,216,1,0,0,0,37,218,1,0,0,0,39,220,1,0,0,0,41,223,1,0,0,0,43,226,1,0,0,0,45,228,1,0,0,0,47,230,1,0,0,0,49,232,1,0,0,0,51,234,1,0,0,0,53,236,1,0,0,0,55,238,1,0,0,0,57,240,1,0,0,0,59,242,1,0,0,0,61,244,1,0,0,0,63,246,1,0,0,0,65,248,1,0,0,0,67,250,1,0,0,0,69,252,1,0,0,0,71,254,1,0,0,0,73,259,1,0,0,0,75,272,1,0,0,0,77,274,1,0,0,0,79,277,1,0,0,0,81,308,1,0,0,0,83,310,1,0,0,0,85,317,1,0,0,0,87,321,1,0,0,0,89,325,1,0,0,0,91,331,1,0,0,0,93,335,1,0,0,0,95,338,1,0,0,0,97,342,1,0,0,0,99,348,1,0,0,0,101,356,1,0,0,0,103,375,1,0,0,0,105,403,1,0,0,0,107,405,1,0,0,0,109,412,1,0,0,0,111,414,1,0,0,0,113,422,1,0,0,0,115,444,1,0,0,0,117,446,1,0,0,0,119,458,1,0,0,0,121,462,1,0,0,0,123,475,1,0,0,0,125,477,1,0,0,0,127,494,1,0,0,0,129,498,1,0,0,0,131,503,1,0,0,0,133,507,1,0,0,0,135,136,7,0,0,0,136,137,1,0,0,0,137,138,6,0,0,0,138,4,1,0,0,0,139,140,5,99,0,0,140,141,5,111,0,0,141,142,5,110,0,0,142,143,5,115,0,0,143,144,5,116,0,0,144,145,1,0,0,0,145,146,6,1,1,0,146,6,1,0,0,0,147,148,5,114,0,0,148,149,5,101,0,0,149,150,5,97,0,0,150,151,5,100,0,0,151,152,5,111,0,0,152,153,5,110,0,0,153,154,5,108,0,0,154,155,5,121,0,0,155,156,1,0,0,0,156,157,6,2,1,0,157,8,1,0,0,0,158,159,5,115,0,0,159,160,5,116,0,0,160,161,5,97,0,0,161,162,5,116,0,0,162,163,5,105,0,0,163,164,5,99,0,0,164,165,1,0,0,0,165,166,6,3,1,0,166,10,1,0,0,0,167,168,5,97,0,0,168,169,5,119,0,0,169,170,5,97,0,0,170,171,5,105,0,0,171,172,5,116,0,0,172,173,1,0,0,0,173,174,6,4,1,0,174,12,1,0,0,0,175,176,5,116,0,0,176,177,5,105,0,0,177,178,5,116,0,0,178,179,5,108,0,0,179,180,5,101,0,0,180,181,1,0,0,0,181,182,6,5,2,0,182,14,1,0,0,0,183,184,5,58,0,0,184,185,1,0,0,0,185,186,6,6,3,0,186,16,1,0,0,0,187,188,5,60,0,0,188,189,5,60,0,0,189,18,1,0,0,0,190,191,5,62,0,0,191,192,5,62,0,0,192,20,1,0,0,0,193,194,5,45,0,0,194,195,5,62,0,0,195,22,1,0,0,0,196,197,7,1,0,0,197,24,1,0,0,0,198,200,5,35,0,0,199,201,3,23,10,0,200,199,1,0,0,0,201,202,1,0,0,0,202,200,1,0,0,0,202,203,1,0,0,0,203,26,1,0,0,0,204,205,5,124,0,0,205,206,5,124,0,0,206,28,1,0,0,0,207,208,5,38,0,0,208,209,5,38,0,0,209,30,1,0,0,0,210,211,5,61,0,0,211,212,5,61,0,0,212,32,1,0,0,0,213,214,5,33,0,0,214,215,5,61,0,0,215,34,1,0,0,0,216,217,5,62,0,0,217,36,1,0,0,0,218,219,5,60,0,0,219,38,1,0,0,0,220,221,5,62,0,0,221,222,5,61,0,0,222,40,1,0,0,0,223,224,5,60,0,0,224,225,5,61,0,0,225,42,1,0,0,0,226,227,5,43,0,0,227,44,1,0,0,0,228,229,5,45,0,0,229,46,1,0,0,0,230,231,5,42,0,0,231,48,1,0,0,0,232,233,5,47,0,0,233,50,1,0,0,0,234,235,5,37,0,0,235,52,1,0,0,0,236,237,5,94,0,0,237,54,1,0,0,0,238,239,5,33,0,0,239,56,1,0,0,0,240,241,5,59,0,0,241,58,1,0,0,0,242,243,5,44,0,0,243,60,1,0,0,0,244,245,5,61,0,0,245,62,1,0,0,0,246,247,5,40,0,0,247,64,1,0,0,0,248,249,5,41,0,0,249,66,1,0,0,0,250,251,5,123,0,0,251,68,1,0,0,0,252,253,5,125,0,0,253,70,1,0,0,0,254,255,5,116,0,0,255,256,5,114,0,0,256,257,5,117,0,0,257,258,5,101,0,0,258,72,1,0,0,0,259,260,5,102,0,0,260,261,5,97,0,0,261,262,5,108,0,0,262,263,5,115,0,0,263,264,5,101,0,0,264,74,1,0,0,0,265,266,5,110,0,0,266,267,5,105,0,0,267,273,5,108,0,0,268,269,5,110,0,0,269,270,5,117,0,0,270,271,5,108,0,0,271,273,5,108,0,0,272,265,1,0,0,0,272,268,1,0,0,0,273,76,1,0,0,0,274,275,5,105,0,0,275,276,5,102,0,0,276,78,1,0,0,0,277,278,5,101,0,0,278,279,5,108,0,0,279,280,5,115,0,0,280,281,5,101,0,0,281,80,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,309,5,101,0,0,287,288,5,102,0,0,288,289,5,111,0,0,289,309,5,114,0,0,290,291,5,102,0,0,291,292,5,111,0,0,292,293,5,114,0,0,293,294,5,101,0,0,294,295,5,97,0,0,295,296,5,99,0,0,296,309,5,104,0,0,297,298,5,102,0,0,298,299,5,111,0,0,299,300,5,114,0,0,300,301,5,69,0,0,301,302,5,97,0,0,302,303,5,99,0,0,303,309,5,104,0,0,304,305,5,108,0,0,305,306,5,111,0,0,306,307,5,111,0,0,307,309,5,112,0,0,308,282,1,0,0,0,308,287,1,0,0,0,308,290,1,0,0,0,308,297,1,0,0,0,308,304,1,0,0,0,309,82,1,0,0,0,310,311,5,114,0,0,311,312,5,101,0,0,312,313,5,116,0,0,313,314,5,117,0,0,314,315,5,114,0,0,315,316,5,110,0,0,316,84,1,0,0,0,317,318,5,110,0,0,318,319,5,101,0,0,319,320,5,119,0,0,320,86,1,0,0,0,321,322,5,112,0,0,322,323,5,97,0,0,323,324,5,114,0,0,324,88,1,0,0,0,325,326,5,103,0,0,326,327,5,114,0,0,327,328,5,111,0,0,328,329,5,117,0,0,329,330,5,112,0,0,330,90,1,0,0,0,331,332,5,111,0,0,332,333,5,112,0,0,333,334,5,116,0,0,334,92,1,0,0,0,335,336,5,97,0,0,336,337,5,115,0,0,337,94,1,0,0,0,338,339,5,116,0,0,339,340,5,114,0,0,340,341,5,121,0,0,341,96,1,0,0,0,342,343,5,99,0,0,343,344,5,97,0,0,344,345,5,116,0,0,345,346,5,99,0,0,346,347,5,104,0,0,347,98,1,0,0,0,348,349,5,102,0,0,349,350,5,105,0,0,350,351,5,110,0,0,351,352,5,97,0,0,352,353,5,108,0,0,353,354,5,108,0,0,354,355,5,121,0,0,355,100,1,0,0,0,356,357,5,105,0,0,357,358,5,110,0,0,358,102,1,0,0,0,359,360,5,64,0,0,360,361,5,83,0,0,361,362,5,116,0,0,362,363,5,97,0,0,363,364,5,114,0,0,364,365,5,116,0,0,365,366,5,101,0,0,366,376,5,114,0,0,367,368,5,64,0,0,368,369,5,115,0,0,369,370,5,116,0,0,370,371,5,97,0,0,371,372,5,114,0,0,372,373,5,116,0,0,373,374,5,101,0,0,374,376,5,114,0,0,375,359,1,0,0,0,375,367,1,0,0,0,376,104,1,0,0,0,377,378,5,64,0,0,378,379,5,82,0,0,379,380,5,101,0,0,380,381,5,116,0,0,381,382,5,117,0,0,382,383,5,114,0,0,383,404,5,110,0,0,384,385,5,64,0,0,385,386,5,114,0,0,386,387,5,101,0,0,387,388,5,116,0,0,388,389,5,117,0,0,389,390,5,114,0,0,390,404,5,110,0,0,391,392,5,64,0,0,392,393,5,82,0,0,393,394,5,101,0,0,394,395,5,112,0,0,395,396,5,108,0,0,396,404,5,121,0,0,397,398,5,64,0,0,398,399,5,114,0,0,399,400,5,101,0,0,400,401,5,112,0,0,401,402,5,108,0,0,402,404,5,121,0,0,403,377,1,0,0,0,403,384,1,0,0,0,403,391,1,0,0,0,403,397,1,0,0,0,404,106,1,0,0,0,405,409,5,64,0,0,406,408,7,2,0,0,407,406,1,0,0,0,408,411,1,0,0,0,409,407,1,0,0,0,409,410,1,0,0,0,410,108,1,0,0,0,411,409,1,0,0,0,412,413,5,46,0,0,413,110,1,0,0,0,414,418,7,3,0,0,415,417,7,2,0,0,416,415,1,0,0,0,417,420,1,0,0,0,418,416,1,0,0,0,418,419,1,0,0,0,419,112,1,0,0,0,420,418,1,0,0,0,421,423,7,4,0,0,422,421,1,0,0,0,423,424,1,0,0,0,424,422,1,0,0,0,424,425,1,0,0,0,425,114,1,0,0,0,426,428,7,4,0,0,427,426,1,0,0,0,428,429,1,0,0,0,429,427,1,0,0,0,429,430,1,0,0,0,430,431,1,0,0,0,431,435,5,46,0,0,432,434,7,4,0,0,433,432,1,0,0,0,434,437,1,0,0,0,435,433,1,0,0,0,435,436,1,0,0,0,436,445,1,0,0,0,437,435,1,0,0,0,438,440,5,46,0,0,439,441,7,4,0,0,440,439,1,0,0,0,441,442,1,0,0,0,442,440,1,0,0,0,442,443,1,0,0,0,443,445,1,0,0,0,444,427,1,0,0,0,444,438,1,0,0,0,445,116,1,0,0,0,446,452,5,34,0,0,447,451,8,5,0,0,448,449,5,34,0,0,449,451,5,34,0,0,450,447,1,0,0,0,450,448,1,0,0,0,451,454,1,0,0,0,452,450,1,0,0,0,452,453,1,0,0,0,453,456,1,0,0,0,454,452,1,0,0,0,455,457,7,5,0,0,456,455,1,0,0,0,456,457,1,0,0,0,457,118,1,0,0,0,458,459,7,6,0,0,459,460,1,0,0,0,460,461,6,58,0,0,461,120,1,0,0,0,462,463,5,47,0,0,463,464,5,47,0,0,464,468,1,0,0,0,465,467,9,0,0,0,466,465,1,0,0,0,467,470,1,0,0,0,468,469,1,0,0,0,468,466,1,0,0,0,469,471,1,0,0,0,470,468,1,0,0,0,471,472,5,10,0,0,472,473,1,0,0,0,473,474,6,59,4,0,474,122,1,0,0,0,475,476,9,0,0,0,476,124,1,0,0,0,477,481,4,61,0,0,478,480,3,3,0,0,479,478,1,0,0,0,480,483,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,484,1,0,0,0,483,481,1,0,0,0,484,485,5,61,0,0,485,486,5,61,0,0,486,490,1,0,0,0,487,489,8,6,0,0,488,487,1,0,0,0,489,492,1,0,0,0,490,488,1,0,0,0,490,491,1,0,0,0,491,126,1,0,0,0,492,490,1,0,0,0,493,495,8,6,0,0,494,493,1,0,0,0,495,496,1,0,0,0,496,494,1,0,0,0,496,497,1,0,0,0,497,128,1,0,0,0,498,499,7,6,0,0,499,500,1,0,0,0,500,501,6,63,5,0,501,130,1,0,0,0,502,504,8,6,0,0,503,502,1,0,0,0,504,505,1,0,0,0,505,503,1,0,0,0,505,506,1,0,0,0,506,132,1,0,0,0,507,508,7,6,0,0,508,509,1,0,0,0,509,510,6,65,5,0,510,134,1,0,0,0,23,0,1,2,202,272,308,375,403,409,418,424,429,435,442,444,450,452,456,468,481,490,496,505,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],co=new L.atn.ATNDeserializer().deserialize(A4),S4=co.decisionToState.map((n,t)=>new L.dfa.DFA(n,t));class N extends L.Lexer{constructor(t){super(t),this._interp=new L.atn.LexerATNSimulator(this,co,S4,new L.PredictionContextCache)}get atn(){return co}}$(N,"grammarFileName","sequenceLexer.g4"),$(N,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),$(N,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),$(N,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),$(N,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),$(N,"ruleNames",["WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),N.EOF=L.Token.EOF,N.WS=1,N.CONSTANT=2,N.READONLY=3,N.STATIC=4,N.AWAIT=5,N.TITLE=6,N.COL=7,N.SOPEN=8,N.SCLOSE=9,N.ARROW=10,N.COLOR=11,N.OR=12,N.AND=13,N.EQ=14,N.NEQ=15,N.GT=16,N.LT=17,N.GTEQ=18,N.LTEQ=19,N.PLUS=20,N.MINUS=21,N.MULT=22,N.DIV=23,N.MOD=24,N.POW=25,N.NOT=26,N.SCOL=27,N.COMMA=28,N.ASSIGN=29,N.OPAR=30,N.CPAR=31,N.OBRACE=32,N.CBRACE=33,N.TRUE=34,N.FALSE=35,N.NIL=36,N.IF=37,N.ELSE=38,N.WHILE=39,N.RETURN=40,N.NEW=41,N.PAR=42,N.GROUP=43,N.OPT=44,N.AS=45,N.TRY=46,N.CATCH=47,N.FINALLY=48,N.IN=49,N.STARTER_LXR=50,N.ANNOTATION_RET=51,N.ANNOTATION=52,N.DOT=53,N.ID=54,N.INT=55,N.FLOAT=56,N.STRING=57,N.CR=58,N.COMMENT=59,N.OTHER=60,N.DIVIDER=61,N.EVENT_PAYLOAD_LXR=62,N.EVENT_END=63,N.TITLE_CONTENT=64,N.TITLE_END=65,N.COMMENT_CHANNEL=2,N.MODIFIER_CHANNEL=3,N.EVENT=1,N.TITLE_MODE=2,N.prototype.sempred=function(n,t,e){switch(t){case 61:return this.DIVIDER_sempred(n,e);default:throw"No registered predicate for:"+t}},N.prototype.DIVIDER_sempred=function(n,t){switch(t){case 0:return this.column===0;default:throw"No predicate with index:"+t}};class _ extends L.tree.ParseTreeListener{enterProg(t){}exitProg(t){}enterTitle(t){}exitTitle(t){}enterHead(t){}exitHead(t){}enterGroup(t){}exitGroup(t){}enterStarterExp(t){}exitStarterExp(t){}enterStarter(t){}exitStarter(t){}enterParticipant(t){}exitParticipant(t){}enterStereotype(t){}exitStereotype(t){}enterLabel(t){}exitLabel(t){}enterParticipantType(t){}exitParticipantType(t){}enterName(t){}exitName(t){}enterWidth(t){}exitWidth(t){}enterBlock(t){}exitBlock(t){}enterRet(t){}exitRet(t){}enterDivider(t){}exitDivider(t){}enterDividerNote(t){}exitDividerNote(t){}enterStat(t){}exitStat(t){}enterPar(t){}exitPar(t){}enterOpt(t){}exitOpt(t){}enterCreation(t){}exitCreation(t){}enterCreationBody(t){}exitCreationBody(t){}enterMessage(t){}exitMessage(t){}enterMessageBody(t){}exitMessageBody(t){}enterFunc(t){}exitFunc(t){}enterFrom(t){}exitFrom(t){}enterTo(t){}exitTo(t){}enterSignature(t){}exitSignature(t){}enterInvocation(t){}exitInvocation(t){}enterAssignment(t){}exitAssignment(t){}enterAsyncMessage(t){}exitAsyncMessage(t){}enterContent(t){}exitContent(t){}enterConstruct(t){}exitConstruct(t){}enterType(t){}exitType(t){}enterAssignee(t){}exitAssignee(t){}enterMethodName(t){}exitMethodName(t){}enterParameters(t){}exitParameters(t){}enterParameter(t){}exitParameter(t){}enterDeclaration(t){}exitDeclaration(t){}enterTcf(t){}exitTcf(t){}enterTryBlock(t){}exitTryBlock(t){}enterCatchBlock(t){}exitCatchBlock(t){}enterFinallyBlock(t){}exitFinallyBlock(t){}enterAlt(t){}exitAlt(t){}enterIfBlock(t){}exitIfBlock(t){}enterElseIfBlock(t){}exitElseIfBlock(t){}enterElseBlock(t){}exitElseBlock(t){}enterBraceBlock(t){}exitBraceBlock(t){}enterLoop(t){}exitLoop(t){}enterAssignmentExpr(t){}exitAssignmentExpr(t){}enterFuncExpr(t){}exitFuncExpr(t){}enterAtomExpr(t){}exitAtomExpr(t){}enterOrExpr(t){}exitOrExpr(t){}enterAdditiveExpr(t){}exitAdditiveExpr(t){}enterRelationalExpr(t){}exitRelationalExpr(t){}enterPlusExpr(t){}exitPlusExpr(t){}enterNotExpr(t){}exitNotExpr(t){}enterUnaryMinusExpr(t){}exitUnaryMinusExpr(t){}enterCreationExpr(t){}exitCreationExpr(t){}enterParenthesizedExpr(t){}exitParenthesizedExpr(t){}enterMultiplicationExpr(t){}exitMultiplicationExpr(t){}enterEqualityExpr(t){}exitEqualityExpr(t){}enterAndExpr(t){}exitAndExpr(t){}enterNumberAtom(t){}exitNumberAtom(t){}enterBooleanAtom(t){}exitBooleanAtom(t){}enterIdAtom(t){}exitIdAtom(t){}enterStringAtom(t){}exitStringAtom(t){}enterNilAtom(t){}exitNilAtom(t){}enterParExpr(t){}exitParExpr(t){}enterCondition(t){}exitCondition(t){}enterInExpr(t){}exitInExpr(t){}}const R4=[4,1,65,550,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,1,0,3,0,108,8,0,1,0,1,0,3,0,112,8,0,1,0,1,0,1,0,1,0,3,0,118,8,0,1,0,3,0,121,8,0,1,0,1,0,1,0,3,0,126,8,0,1,1,1,1,1,1,3,1,131,8,1,1,2,1,2,4,2,135,8,2,11,2,12,2,136,1,2,1,2,5,2,141,8,2,10,2,12,2,144,9,2,1,2,3,2,147,8,2,1,3,1,3,3,3,151,8,3,1,3,1,3,5,3,155,8,3,10,3,12,3,158,9,3,1,3,1,3,1,3,3,3,163,8,3,1,3,1,3,1,3,3,3,168,8,3,3,3,170,8,3,1,4,1,4,1,4,3,4,175,8,4,1,4,3,4,178,8,4,1,4,3,4,181,8,4,1,5,1,5,1,6,3,6,186,8,6,1,6,3,6,189,8,6,1,6,1,6,3,6,193,8,6,1,6,3,6,196,8,6,1,6,3,6,199,8,6,1,6,1,6,3,6,203,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,212,8,7,1,7,1,7,3,7,216,8,7,3,7,218,8,7,1,8,1,8,1,8,3,8,223,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,232,8,12,11,12,12,12,233,1,13,1,13,3,13,238,8,13,1,13,3,13,241,8,13,1,13,1,13,1,13,3,13,246,8,13,3,13,248,8,13,1,14,1,14,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,3,16,262,8,16,1,16,1,16,1,16,1,16,1,16,3,16,269,8,16,1,17,1,17,1,17,3,17,274,8,17,1,18,1,18,1,18,3,18,279,8,18,1,19,1,19,1,19,3,19,284,8,19,1,20,3,20,287,8,20,1,20,1,20,1,20,1,20,3,20,293,8,20,1,20,3,20,296,8,20,1,20,3,20,299,8,20,1,20,3,20,302,8,20,1,21,1,21,1,21,3,21,307,8,21,1,22,3,22,310,8,22,1,22,1,22,1,22,3,22,315,8,22,1,22,1,22,1,22,3,22,320,8,22,1,22,1,22,1,22,1,22,1,22,3,22,327,8,22,1,22,1,22,1,22,3,22,332,8,22,1,23,1,23,1,23,5,23,337,8,23,10,23,12,23,340,9,23,1,24,1,24,1,25,1,25,1,26,1,26,3,26,348,8,26,1,27,1,27,3,27,352,8,27,1,27,1,27,1,28,3,28,357,8,28,1,28,1,28,1,28,1,29,1,29,1,29,3,29,365,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,374,8,29,3,29,376,8,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,33,1,33,5,33,388,8,33,10,33,12,33,391,9,33,1,33,3,33,394,8,33,1,34,1,34,1,35,1,35,1,35,5,35,401,8,35,10,35,12,35,404,9,35,1,35,3,35,407,8,35,1,36,1,36,3,36,411,8,36,1,37,1,37,1,37,1,38,1,38,5,38,418,8,38,10,38,12,38,421,9,38,1,38,3,38,424,8,38,1,39,1,39,1,39,1,40,1,40,3,40,431,8,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,5,42,440,8,42,10,42,12,42,443,9,42,1,42,3,42,446,8,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,3,46,462,8,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,473,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,484,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,495,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,5,48,518,8,48,10,48,12,48,521,9,48,1,49,1,49,1,49,1,49,1,49,3,49,528,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,539,8,50,1,51,1,51,1,51,3,51,544,8,51,1,52,1,52,1,52,1,52,1,52,0,1,96,53,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,0,10,2,0,54,54,57,57,2,0,8,8,17,17,2,0,9,9,16,16,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,55,56,1,0,34,35,606,0,125,1,0,0,0,2,127,1,0,0,0,4,146,1,0,0,0,6,169,1,0,0,0,8,180,1,0,0,0,10,182,1,0,0,0,12,202,1,0,0,0,14,217,1,0,0,0,16,222,1,0,0,0,18,224,1,0,0,0,20,226,1,0,0,0,22,228,1,0,0,0,24,231,1,0,0,0,26,247,1,0,0,0,28,249,1,0,0,0,30,251,1,0,0,0,32,268,1,0,0,0,34,273,1,0,0,0,36,278,1,0,0,0,38,280,1,0,0,0,40,301,1,0,0,0,42,303,1,0,0,0,44,331,1,0,0,0,46,333,1,0,0,0,48,341,1,0,0,0,50,343,1,0,0,0,52,345,1,0,0,0,54,349,1,0,0,0,56,356,1,0,0,0,58,375,1,0,0,0,60,377,1,0,0,0,62,379,1,0,0,0,64,381,1,0,0,0,66,393,1,0,0,0,68,395,1,0,0,0,70,397,1,0,0,0,72,410,1,0,0,0,74,412,1,0,0,0,76,415,1,0,0,0,78,425,1,0,0,0,80,428,1,0,0,0,82,434,1,0,0,0,84,437,1,0,0,0,86,447,1,0,0,0,88,451,1,0,0,0,90,456,1,0,0,0,92,459,1,0,0,0,94,472,1,0,0,0,96,494,1,0,0,0,98,527,1,0,0,0,100,538,1,0,0,0,102,543,1,0,0,0,104,545,1,0,0,0,106,108,3,2,1,0,107,106,1,0,0,0,107,108,1,0,0,0,108,109,1,0,0,0,109,126,5,0,0,1,110,112,3,2,1,0,111,110,1,0,0,0,111,112,1,0,0,0,112,113,1,0,0,0,113,114,3,4,2,0,114,115,5,0,0,1,115,126,1,0,0,0,116,118,3,2,1,0,117,116,1,0,0,0,117,118,1,0,0,0,118,120,1,0,0,0,119,121,3,4,2,0,120,119,1,0,0,0,120,121,1,0,0,0,121,122,1,0,0,0,122,123,3,24,12,0,123,124,5,0,0,1,124,126,1,0,0,0,125,107,1,0,0,0,125,111,1,0,0,0,125,117,1,0,0,0,126,1,1,0,0,0,127,128,5,6,0,0,128,130,5,64,0,0,129,131,5,65,0,0,130,129,1,0,0,0,130,131,1,0,0,0,131,3,1,0,0,0,132,135,3,6,3,0,133,135,3,12,6,0,134,132,1,0,0,0,134,133,1,0,0,0,135,136,1,0,0,0,136,134,1,0,0,0,136,137,1,0,0,0,137,147,1,0,0,0,138,141,3,6,3,0,139,141,3,12,6,0,140,138,1,0,0,0,140,139,1,0,0,0,141,144,1,0,0,0,142,140,1,0,0,0,142,143,1,0,0,0,143,145,1,0,0,0,144,142,1,0,0,0,145,147,3,8,4,0,146,134,1,0,0,0,146,142,1,0,0,0,147,5,1,0,0,0,148,150,5,43,0,0,149,151,3,20,10,0,150,149,1,0,0,0,150,151,1,0,0,0,151,152,1,0,0,0,152,156,5,32,0,0,153,155,3,12,6,0,154,153,1,0,0,0,155,158,1,0,0,0,156,154,1,0,0,0,156,157,1,0,0,0,157,159,1,0,0,0,158,156,1,0,0,0,159,170,5,33,0,0,160,162,5,43,0,0,161,163,3,20,10,0,162,161,1,0,0,0,162,163,1,0,0,0,163,164,1,0,0,0,164,170,5,32,0,0,165,167,5,43,0,0,166,168,3,20,10,0,167,166,1,0,0,0,167,168,1,0,0,0,168,170,1,0,0,0,169,148,1,0,0,0,169,160,1,0,0,0,169,165,1,0,0,0,170,7,1,0,0,0,171,177,5,50,0,0,172,174,5,30,0,0,173,175,3,10,5,0,174,173,1,0,0,0,174,175,1,0,0,0,175,176,1,0,0,0,176,178,5,31,0,0,177,172,1,0,0,0,177,178,1,0,0,0,178,181,1,0,0,0,179,181,5,52,0,0,180,171,1,0,0,0,180,179,1,0,0,0,181,9,1,0,0,0,182,183,7,0,0,0,183,11,1,0,0,0,184,186,3,18,9,0,185,184,1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,189,3,14,7,0,188,187,1,0,0,0,188,189,1,0,0,0,189,190,1,0,0,0,190,192,3,20,10,0,191,193,3,22,11,0,192,191,1,0,0,0,192,193,1,0,0,0,193,195,1,0,0,0,194,196,3,16,8,0,195,194,1,0,0,0,195,196,1,0,0,0,196,198,1,0,0,0,197,199,5,11,0,0,198,197,1,0,0,0,198,199,1,0,0,0,199,203,1,0,0,0,200,203,3,14,7,0,201,203,3,18,9,0,202,185,1,0,0,0,202,200,1,0,0,0,202,201,1,0,0,0,203,13,1,0,0,0,204,205,5,8,0,0,205,206,3,20,10,0,206,207,5,9,0,0,207,218,1,0,0,0,208,209,5,8,0,0,209,211,3,20,10,0,210,212,5,16,0,0,211,210,1,0,0,0,211,212,1,0,0,0,212,218,1,0,0,0,213,215,7,1,0,0,214,216,7,2,0,0,215,214,1,0,0,0,215,216,1,0,0,0,216,218,1,0,0,0,217,204,1,0,0,0,217,208,1,0,0,0,217,213,1,0,0,0,218,15,1,0,0,0,219,220,5,45,0,0,220,223,3,20,10,0,221,223,5,45,0,0,222,219,1,0,0,0,222,221,1,0,0,0,223,17,1,0,0,0,224,225,5,52,0,0,225,19,1,0,0,0,226,227,7,0,0,0,227,21,1,0,0,0,228,229,5,55,0,0,229,23,1,0,0,0,230,232,3,32,16,0,231,230,1,0,0,0,232,233,1,0,0,0,233,231,1,0,0,0,233,234,1,0,0,0,234,25,1,0,0,0,235,237,5,40,0,0,236,238,3,96,48,0,237,236,1,0,0,0,237,238,1,0,0,0,238,240,1,0,0,0,239,241,5,27,0,0,240,239,1,0,0,0,240,241,1,0,0,0,241,248,1,0,0,0,242,243,5,51,0,0,243,245,3,58,29,0,244,246,5,63,0,0,245,244,1,0,0,0,245,246,1,0,0,0,246,248,1,0,0,0,247,235,1,0,0,0,247,242,1,0,0,0,248,27,1,0,0,0,249,250,3,30,15,0,250,29,1,0,0,0,251,252,5,61,0,0,252,31,1,0,0,0,253,269,3,84,42,0,254,269,3,34,17,0,255,269,3,36,18,0,256,269,3,94,47,0,257,269,3,38,19,0,258,269,3,42,21,0,259,261,3,58,29,0,260,262,5,63,0,0,261,260,1,0,0,0,261,262,1,0,0,0,262,269,1,0,0,0,263,269,3,26,13,0,264,269,3,28,14,0,265,269,3,76,38,0,266,267,5,60,0,0,267,269,6,16,-1,0,268,253,1,0,0,0,268,254,1,0,0,0,268,255,1,0,0,0,268,256,1,0,0,0,268,257,1,0,0,0,268,258,1,0,0,0,268,259,1,0,0,0,268,263,1,0,0,0,268,264,1,0,0,0,268,265,1,0,0,0,268,266,1,0,0,0,269,33,1,0,0,0,270,271,5,42,0,0,271,274,3,92,46,0,272,274,5,42,0,0,273,270,1,0,0,0,273,272,1,0,0,0,274,35,1,0,0,0,275,276,5,44,0,0,276,279,3,92,46,0,277,279,5,44,0,0,278,275,1,0,0,0,278,277,1,0,0,0,279,37,1,0,0,0,280,283,3,40,20,0,281,284,5,27,0,0,282,284,3,92,46,0,283,281,1,0,0,0,283,282,1,0,0,0,283,284,1,0,0,0,284,39,1,0,0,0,285,287,3,56,28,0,286,285,1,0,0,0,286,287,1,0,0,0,287,288,1,0,0,0,288,289,5,41,0,0,289,295,3,62,31,0,290,292,5,30,0,0,291,293,3,70,35,0,292,291,1,0,0,0,292,293,1,0,0,0,293,294,1,0,0,0,294,296,5,31,0,0,295,290,1,0,0,0,295,296,1,0,0,0,296,302,1,0,0,0,297,299,3,56,28,0,298,297,1,0,0,0,298,299,1,0,0,0,299,300,1,0,0,0,300,302,5,41,0,0,301,286,1,0,0,0,301,298,1,0,0,0,302,41,1,0,0,0,303,306,3,44,22,0,304,307,5,27,0,0,305,307,3,92,46,0,306,304,1,0,0,0,306,305,1,0,0,0,306,307,1,0,0,0,307,43,1,0,0,0,308,310,3,56,28,0,309,308,1,0,0,0,309,310,1,0,0,0,310,319,1,0,0,0,311,312,3,48,24,0,312,313,5,10,0,0,313,315,1,0,0,0,314,311,1,0,0,0,314,315,1,0,0,0,315,316,1,0,0,0,316,317,3,50,25,0,317,318,5,53,0,0,318,320,1,0,0,0,319,314,1,0,0,0,319,320,1,0,0,0,320,321,1,0,0,0,321,332,3,46,23,0,322,332,3,56,28,0,323,324,3,48,24,0,324,325,5,10,0,0,325,327,1,0,0,0,326,323,1,0,0,0,326,327,1,0,0,0,327,328,1,0,0,0,328,329,3,50,25,0,329,330,5,53,0,0,330,332,1,0,0,0,331,309,1,0,0,0,331,322,1,0,0,0,331,326,1,0,0,0,332,45,1,0,0,0,333,338,3,52,26,0,334,335,5,53,0,0,335,337,3,52,26,0,336,334,1,0,0,0,337,340,1,0,0,0,338,336,1,0,0,0,338,339,1,0,0,0,339,47,1,0,0,0,340,338,1,0,0,0,341,342,7,0,0,0,342,49,1,0,0,0,343,344,7,0,0,0,344,51,1,0,0,0,345,347,3,68,34,0,346,348,3,54,27,0,347,346,1,0,0,0,347,348,1,0,0,0,348,53,1,0,0,0,349,351,5,30,0,0,350,352,3,70,35,0,351,350,1,0,0,0,351,352,1,0,0,0,352,353,1,0,0,0,353,354,5,31,0,0,354,55,1,0,0,0,355,357,3,64,32,0,356,355,1,0,0,0,356,357,1,0,0,0,357,358,1,0,0,0,358,359,3,66,33,0,359,360,5,29,0,0,360,57,1,0,0,0,361,362,3,48,24,0,362,363,5,10,0,0,363,365,1,0,0,0,364,361,1,0,0,0,364,365,1,0,0,0,365,366,1,0,0,0,366,367,3,50,25,0,367,368,5,7,0,0,368,369,3,60,30,0,369,376,1,0,0,0,370,371,3,48,24,0,371,373,7,3,0,0,372,374,3,50,25,0,373,372,1,0,0,0,373,374,1,0,0,0,374,376,1,0,0,0,375,364,1,0,0,0,375,370,1,0,0,0,376,59,1,0,0,0,377,378,5,62,0,0,378,61,1,0,0,0,379,380,7,0,0,0,380,63,1,0,0,0,381,382,7,0,0,0,382,65,1,0,0,0,383,394,3,98,49,0,384,389,5,54,0,0,385,386,5,28,0,0,386,388,5,54,0,0,387,385,1,0,0,0,388,391,1,0,0,0,389,387,1,0,0,0,389,390,1,0,0,0,390,394,1,0,0,0,391,389,1,0,0,0,392,394,5,57,0,0,393,383,1,0,0,0,393,384,1,0,0,0,393,392,1,0,0,0,394,67,1,0,0,0,395,396,7,0,0,0,396,69,1,0,0,0,397,402,3,72,36,0,398,399,5,28,0,0,399,401,3,72,36,0,400,398,1,0,0,0,401,404,1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,406,1,0,0,0,404,402,1,0,0,0,405,407,5,28,0,0,406,405,1,0,0,0,406,407,1,0,0,0,407,71,1,0,0,0,408,411,3,74,37,0,409,411,3,96,48,0,410,408,1,0,0,0,410,409,1,0,0,0,411,73,1,0,0,0,412,413,3,64,32,0,413,414,5,54,0,0,414,75,1,0,0,0,415,419,3,78,39,0,416,418,3,80,40,0,417,416,1,0,0,0,418,421,1,0,0,0,419,417,1,0,0,0,419,420,1,0,0,0,420,423,1,0,0,0,421,419,1,0,0,0,422,424,3,82,41,0,423,422,1,0,0,0,423,424,1,0,0,0,424,77,1,0,0,0,425,426,5,46,0,0,426,427,3,92,46,0,427,79,1,0,0,0,428,430,5,47,0,0,429,431,3,54,27,0,430,429,1,0,0,0,430,431,1,0,0,0,431,432,1,0,0,0,432,433,3,92,46,0,433,81,1,0,0,0,434,435,5,48,0,0,435,436,3,92,46,0,436,83,1,0,0,0,437,441,3,86,43,0,438,440,3,88,44,0,439,438,1,0,0,0,440,443,1,0,0,0,441,439,1,0,0,0,441,442,1,0,0,0,442,445,1,0,0,0,443,441,1,0,0,0,444,446,3,90,45,0,445,444,1,0,0,0,445,446,1,0,0,0,446,85,1,0,0,0,447,448,5,37,0,0,448,449,3,100,50,0,449,450,3,92,46,0,450,87,1,0,0,0,451,452,5,38,0,0,452,453,5,37,0,0,453,454,3,100,50,0,454,455,3,92,46,0,455,89,1,0,0,0,456,457,5,38,0,0,457,458,3,92,46,0,458,91,1,0,0,0,459,461,5,32,0,0,460,462,3,24,12,0,461,460,1,0,0,0,461,462,1,0,0,0,462,463,1,0,0,0,463,464,5,33,0,0,464,93,1,0,0,0,465,466,5,39,0,0,466,467,3,100,50,0,467,468,3,92,46,0,468,473,1,0,0,0,469,470,5,39,0,0,470,473,3,100,50,0,471,473,5,39,0,0,472,465,1,0,0,0,472,469,1,0,0,0,472,471,1,0,0,0,473,95,1,0,0,0,474,475,6,48,-1,0,475,495,3,98,49,0,476,477,5,21,0,0,477,495,3,96,48,13,478,479,5,26,0,0,479,495,3,96,48,12,480,481,3,50,25,0,481,482,5,53,0,0,482,484,1,0,0,0,483,480,1,0,0,0,483,484,1,0,0,0,484,485,1,0,0,0,485,495,3,46,23,0,486,495,3,38,19,0,487,488,5,30,0,0,488,489,3,96,48,0,489,490,5,31,0,0,490,495,1,0,0,0,491,492,3,56,28,0,492,493,3,96,48,1,493,495,1,0,0,0,494,474,1,0,0,0,494,476,1,0,0,0,494,478,1,0,0,0,494,483,1,0,0,0,494,486,1,0,0,0,494,487,1,0,0,0,494,491,1,0,0,0,495,519,1,0,0,0,496,497,10,11,0,0,497,498,7,4,0,0,498,518,3,96,48,12,499,500,10,10,0,0,500,501,7,5,0,0,501,518,3,96,48,11,502,503,10,9,0,0,503,504,7,6,0,0,504,518,3,96,48,10,505,506,10,8,0,0,506,507,7,7,0,0,507,518,3,96,48,9,508,509,10,7,0,0,509,510,5,13,0,0,510,518,3,96,48,8,511,512,10,6,0,0,512,513,5,12,0,0,513,518,3,96,48,7,514,515,10,5,0,0,515,516,5,20,0,0,516,518,3,96,48,6,517,496,1,0,0,0,517,499,1,0,0,0,517,502,1,0,0,0,517,505,1,0,0,0,517,508,1,0,0,0,517,511,1,0,0,0,517,514,1,0,0,0,518,521,1,0,0,0,519,517,1,0,0,0,519,520,1,0,0,0,520,97,1,0,0,0,521,519,1,0,0,0,522,528,7,8,0,0,523,528,7,9,0,0,524,528,5,54,0,0,525,528,5,57,0,0,526,528,5,36,0,0,527,522,1,0,0,0,527,523,1,0,0,0,527,524,1,0,0,0,527,525,1,0,0,0,527,526,1,0,0,0,528,99,1,0,0,0,529,530,5,30,0,0,530,531,3,102,51,0,531,532,5,31,0,0,532,539,1,0,0,0,533,534,5,30,0,0,534,539,3,102,51,0,535,536,5,30,0,0,536,539,5,31,0,0,537,539,5,30,0,0,538,529,1,0,0,0,538,533,1,0,0,0,538,535,1,0,0,0,538,537,1,0,0,0,539,101,1,0,0,0,540,544,3,98,49,0,541,544,3,96,48,0,542,544,3,104,52,0,543,540,1,0,0,0,543,541,1,0,0,0,543,542,1,0,0,0,544,103,1,0,0,0,545,546,5,54,0,0,546,547,5,49,0,0,547,548,5,54,0,0,548,105,1,0,0,0,76,107,111,117,120,125,130,134,136,140,142,146,150,156,162,167,169,174,177,180,185,188,192,195,198,202,211,215,217,222,233,237,240,245,247,261,268,273,278,283,286,292,295,298,301,306,309,314,319,326,331,338,347,351,356,364,373,375,389,393,402,406,410,419,423,430,441,445,461,472,483,494,517,519,527,538,543],uo=new L.atn.ATNDeserializer().deserialize(R4),k4=uo.decisionToState.map((n,t)=>new L.dfa.DFA(n,t)),I4=new L.PredictionContextCache,m=class extends L.Parser{constructor(t){super(t),this._interp=new L.atn.ParserATNSimulator(this,uo,k4,I4),this.ruleNames=m.ruleNames,this.literalNames=m.literalNames,this.symbolicNames=m.symbolicNames}get atn(){return uo}sempred(t,e,s){switch(e){case 48:return this.expr_sempred(t,s);default:throw"No predicate with index:"+e}}expr_sempred(t,e){switch(e){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+e}}prog(){let t=new Zc(this,this._ctx,this.state);this.enterRule(t,0,m.RULE_prog);var e=0;try{this.state=125,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,4,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=107,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=106,this.title()),this.state=109,this.match(m.EOF);break;case 2:this.enterOuterAlt(t,2),this.state=111,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=110,this.title()),this.state=113,this.head(),this.state=114,this.match(m.EOF);break;case 3:this.enterOuterAlt(t,3),this.state=117,this._errHandler.sync(this),e=this._input.LA(1),e===6&&(this.state=116,this.title()),this.state=120,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,3,this._ctx);s===1&&(this.state=119,this.head()),this.state=122,this.block(),this.state=123,this.match(m.EOF);break}}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}title(){let t=new ho(this,this._ctx,this.state);this.enterRule(t,2,m.RULE_title);var e=0;try{this.enterOuterAlt(t,1),this.state=127,this.match(m.TITLE),this.state=128,this.match(m.TITLE_CONTENT),this.state=130,this._errHandler.sync(this),e=this._input.LA(1),e===65&&(this.state=129,this.match(m.TITLE_END))}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}head(){let t=new fo(this,this._ctx,this.state);this.enterRule(t,4,m.RULE_head);try{this.state=146,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,10,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=134,this._errHandler.sync(this);var s=1;do{switch(s){case 1:switch(this.state=134,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=132,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=133,this.participant();break;default:throw new L.error.NoViableAltException(this)}break;default:throw new L.error.NoViableAltException(this)}this.state=136,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,7,this._ctx)}while(s!=2&&s!=L.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(t,2),this.state=142,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,9,this._ctx);s!=2&&s!=L.atn.ATN.INVALID_ALT_NUMBER;){if(s===1)switch(this.state=140,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=138,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=139,this.participant();break;default:throw new L.error.NoViableAltException(this)}this.state=144,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,9,this._ctx)}this.state=145,this.starterExp();break}}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}group(){let t=new Xr(this,this._ctx,this.state);this.enterRule(t,6,m.RULE_group);var e=0;try{this.state=169,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,15,this._ctx);switch(s){case 1:for(this.enterOuterAlt(t,1),this.state=148,this.match(m.GROUP),this.state=150,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=149,this.name()),this.state=152,this.match(m.OBRACE),this.state=156,this._errHandler.sync(this),e=this._input.LA(1);e===8||e===17||(e-52&-32)==0&&(1<<e-52&37)!==0;)this.state=153,this.participant(),this.state=158,this._errHandler.sync(this),e=this._input.LA(1);this.state=159,this.match(m.CBRACE);break;case 2:this.enterOuterAlt(t,2),this.state=160,this.match(m.GROUP),this.state=162,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=161,this.name()),this.state=164,this.match(m.OBRACE);break;case 3:this.enterOuterAlt(t,3),this.state=165,this.match(m.GROUP),this.state=167,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,14,this._ctx);s===1&&(this.state=166,this.name());break}}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}starterExp(){let t=new po(this,this._ctx,this.state);this.enterRule(t,8,m.RULE_starterExp);var e=0;try{switch(this.state=180,this._errHandler.sync(this),this._input.LA(1)){case 50:this.enterOuterAlt(t,1),this.state=171,this.match(m.STARTER_LXR),this.state=177,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=172,this.match(m.OPAR),this.state=174,this._errHandler.sync(this),e=this._input.LA(1),(e===54||e===57)&&(this.state=173,this.starter()),this.state=176,this.match(m.CPAR));break;case 52:this.enterOuterAlt(t,2),this.state=179,this.match(m.ANNOTATION);break;default:throw new L.error.NoViableAltException(this)}}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}starter(){let t=new go(this,this._ctx,this.state);this.enterRule(t,10,m.RULE_starter);var e=0;try{this.enterOuterAlt(t,1),this.state=182,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}participant(){let t=new us(this,this._ctx,this.state);this.enterRule(t,12,m.RULE_participant);var e=0;try{this.state=202,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,24,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=185,this._errHandler.sync(this),e=this._input.LA(1),e===52&&(this.state=184,this.participantType()),this.state=188,this._errHandler.sync(this),e=this._input.LA(1),(e===8||e===17)&&(this.state=187,this.stereotype()),this.state=190,this.name(),this.state=192,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,21,this._ctx);s===1&&(this.state=191,this.width()),this.state=195,this._errHandler.sync(this),e=this._input.LA(1),e===45&&(this.state=194,this.label()),this.state=198,this._errHandler.sync(this),e=this._input.LA(1),e===11&&(this.state=197,this.match(m.COLOR));break;case 2:this.enterOuterAlt(t,2),this.state=200,this.stereotype();break;case 3:this.enterOuterAlt(t,3),this.state=201,this.participantType();break}}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}stereotype(){let t=new xo(this,this._ctx,this.state);this.enterRule(t,14,m.RULE_stereotype);var e=0;try{this.state=217,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,27,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=204,this.match(m.SOPEN),this.state=205,this.name(),this.state=206,this.match(m.SCLOSE);break;case 2:this.enterOuterAlt(t,2),this.state=208,this.match(m.SOPEN),this.state=209,this.name(),this.state=211,this._errHandler.sync(this),e=this._input.LA(1),e===16&&(this.state=210,this.match(m.GT));break;case 3:this.enterOuterAlt(t,3),this.state=213,e=this._input.LA(1),e===8||e===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=215,this._errHandler.sync(this),e=this._input.LA(1),(e===9||e===16)&&(this.state=214,e=this._input.LA(1),e===9||e===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}label(){let t=new mo(this,this._ctx,this.state);this.enterRule(t,16,m.RULE_label);try{this.state=222,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,28,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=219,this.match(m.AS),this.state=220,this.name();break;case 2:this.enterOuterAlt(t,2),this.state=221,this.match(m.AS);break}}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}participantType(){let t=new Lo(this,this._ctx,this.state);this.enterRule(t,18,m.RULE_participantType);try{this.enterOuterAlt(t,1),this.state=224,this.match(m.ANNOTATION)}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}name(){let t=new hs(this,this._ctx,this.state);this.enterRule(t,20,m.RULE_name);var e=0;try{this.enterOuterAlt(t,1),this.state=226,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}width(){let t=new _o(this,this._ctx,this.state);this.enterRule(t,22,m.RULE_width);try{this.enterOuterAlt(t,1),this.state=228,this.match(m.INT)}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}block(){let t=new Qr(this,this._ctx,this.state);this.enterRule(t,24,m.RULE_block);var e=0;try{this.enterOuterAlt(t,1),this.state=231,this._errHandler.sync(this),e=this._input.LA(1);do this.state=230,this.stat(),this.state=233,this._errHandler.sync(this),e=this._input.LA(1);while((e-34&-32)==0&&(1<<e-34&217191919)!==0)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}ret(){let t=new yo(this,this._ctx,this.state);this.enterRule(t,26,m.RULE_ret);var e=0;try{switch(this.state=247,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(t,1),this.state=235,this.match(m.RETURN),this.state=237,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,30,this._ctx);s===1&&(this.state=236,this.expr(0)),this.state=240,this._errHandler.sync(this),e=this._input.LA(1),e===27&&(this.state=239,this.match(m.SCOL));break;case 51:this.enterOuterAlt(t,2),this.state=242,this.match(m.ANNOTATION_RET),this.state=243,this.asyncMessage(),this.state=245,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=244,this.match(m.EVENT_END));break;default:throw new L.error.NoViableAltException(this)}}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}divider(){let t=new Co(this,this._ctx,this.state);this.enterRule(t,28,m.RULE_divider);try{this.enterOuterAlt(t,1),this.state=249,this.dividerNote()}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}dividerNote(){let t=new Eo(this,this._ctx,this.state);this.enterRule(t,30,m.RULE_dividerNote);try{this.enterOuterAlt(t,1),this.state=251,this.match(m.DIVIDER)}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}stat(){let t=new Jr(this,this._ctx,this.state);this.enterRule(t,32,m.RULE_stat);var e=0;try{this.state=268,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,35,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=253,this.alt();break;case 2:this.enterOuterAlt(t,2),this.state=254,this.par();break;case 3:this.enterOuterAlt(t,3),this.state=255,this.opt();break;case 4:this.enterOuterAlt(t,4),this.state=256,this.loop();break;case 5:this.enterOuterAlt(t,5),this.state=257,this.creation();break;case 6:this.enterOuterAlt(t,6),this.state=258,this.message();break;case 7:this.enterOuterAlt(t,7),this.state=259,this.asyncMessage(),this.state=261,this._errHandler.sync(this),e=this._input.LA(1),e===63&&(this.state=260,this.match(m.EVENT_END));break;case 8:this.enterOuterAlt(t,8),this.state=263,this.ret();break;case 9:this.enterOuterAlt(t,9),this.state=264,this.divider();break;case 10:this.enterOuterAlt(t,10),this.state=265,this.tcf();break;case 11:this.enterOuterAlt(t,11),this.state=266,t._OTHER=this.match(m.OTHER),console.log("unknown char: "+(t._OTHER===null?null:t._OTHER.text));break}}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}par(){let t=new bo(this,this._ctx,this.state);this.enterRule(t,34,m.RULE_par);try{this.state=273,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,36,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=270,this.match(m.PAR),this.state=271,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=272,this.match(m.PAR);break}}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}opt(){let t=new wo(this,this._ctx,this.state);this.enterRule(t,36,m.RULE_opt);try{this.state=278,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,37,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=275,this.match(m.OPT),this.state=276,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=277,this.match(m.OPT);break}}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}creation(){let t=new ti(this,this._ctx,this.state);this.enterRule(t,38,m.RULE_creation);try{this.enterOuterAlt(t,1),this.state=280,this.creationBody(),this.state=283,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,38,this._ctx);e===1?(this.state=281,this.match(m.SCOL)):e===2&&(this.state=282,this.braceBlock())}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}creationBody(){let t=new To(this,this._ctx,this.state);this.enterRule(t,40,m.RULE_creationBody);var e=0;try{this.state=301,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,43,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=286,this._errHandler.sync(this),e=this._input.LA(1),(e-34&-32)==0&&(1<<e-34&15728647)!==0&&(this.state=285,this.assignment()),this.state=288,this.match(m.NEW),this.state=289,this.construct(),this.state=295,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,41,this._ctx);s===1&&(this.state=290,this.match(m.OPAR),this.state=292,this._errHandler.sync(this),e=this._input.LA(1),((e&-32)==0&&(1<<e&1142947840)!==0||(e-34&-32)==0&&(1<<e-34&15728775)!==0)&&(this.state=291,this.parameters()),this.state=294,this.match(m.CPAR));break;case 2:this.enterOuterAlt(t,2),this.state=298,this._errHandler.sync(this),e=this._input.LA(1),(e-34&-32)==0&&(1<<e-34&15728647)!==0&&(this.state=297,this.assignment()),this.state=300,this.match(m.NEW);break}}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}message(){let t=new vo(this,this._ctx,this.state);this.enterRule(t,42,m.RULE_message);try{switch(this.enterOuterAlt(t,1),this.state=303,this.messageBody(),this.state=306,this._errHandler.sync(this),this._input.LA(1)){case 27:this.state=304,this.match(m.SCOL);break;case 32:this.state=305,this.braceBlock();break;case-1:case 33:case 34:case 35:case 36:case 37:case 39:case 40:case 41:case 42:case 44:case 46:case 51:case 54:case 55:case 56:case 57:case 60:case 61:break;default:break}}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}messageBody(){let t=new Ao(this,this._ctx,this.state);this.enterRule(t,44,m.RULE_messageBody);try{this.state=331,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,49,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=309,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,45,this._ctx);e===1&&(this.state=308,this.assignment()),this.state=319,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,47,this._ctx);if(e===1){this.state=314,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,46,this._ctx);e===1&&(this.state=311,this.from(),this.state=312,this.match(m.ARROW)),this.state=316,this.to(),this.state=317,this.match(m.DOT)}this.state=321,this.func();break;case 2:this.enterOuterAlt(t,2),this.state=322,this.assignment();break;case 3:this.enterOuterAlt(t,3),this.state=326,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,48,this._ctx);e===1&&(this.state=323,this.from(),this.state=324,this.match(m.ARROW)),this.state=328,this.to(),this.state=329,this.match(m.DOT);break}}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}func(){let t=new ei(this,this._ctx,this.state);this.enterRule(t,46,m.RULE_func);try{this.enterOuterAlt(t,1),this.state=333,this.signature(),this.state=338,this._errHandler.sync(this);for(var e=this._interp.adaptivePredict(this._input,50,this._ctx);e!=2&&e!=L.atn.ATN.INVALID_ALT_NUMBER;)e===1&&(this.state=334,this.match(m.DOT),this.state=335,this.signature()),this.state=340,this._errHandler.sync(this),e=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}from(){let t=new ni(this,this._ctx,this.state);this.enterRule(t,48,m.RULE_from);var e=0;try{this.enterOuterAlt(t,1),this.state=341,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}to(){let t=new Vs(this,this._ctx,this.state);this.enterRule(t,50,m.RULE_to);var e=0;try{this.enterOuterAlt(t,1),this.state=343,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}signature(){let t=new si(this,this._ctx,this.state);this.enterRule(t,52,m.RULE_signature);try{this.enterOuterAlt(t,1),this.state=345,this.methodName(),this.state=347,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,51,this._ctx);e===1&&(this.state=346,this.invocation())}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}invocation(){let t=new ri(this,this._ctx,this.state);this.enterRule(t,54,m.RULE_invocation);var e=0;try{this.enterOuterAlt(t,1),this.state=349,this.match(m.OPAR),this.state=351,this._errHandler.sync(this),e=this._input.LA(1),((e&-32)==0&&(1<<e&1142947840)!==0||(e-34&-32)==0&&(1<<e-34&15728775)!==0)&&(this.state=350,this.parameters()),this.state=353,this.match(m.CPAR)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}assignment(){let t=new js(this,this._ctx,this.state);this.enterRule(t,56,m.RULE_assignment);try{this.enterOuterAlt(t,1),this.state=356,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,53,this._ctx);e===1&&(this.state=355,this.type()),this.state=358,this.assignee(),this.state=359,this.match(m.ASSIGN)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}asyncMessage(){let t=new ii(this,this._ctx,this.state);this.enterRule(t,58,m.RULE_asyncMessage);var e=0;try{this.state=375,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,56,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=364,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,54,this._ctx);s===1&&(this.state=361,this.from(),this.state=362,this.match(m.ARROW)),this.state=366,this.to(),this.state=367,this.match(m.COL),this.state=368,this.content();break;case 2:this.enterOuterAlt(t,2),this.state=370,this.from(),this.state=371,e=this._input.LA(1),e===10||e===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=373,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,55,this._ctx);s===1&&(this.state=372,this.to());break}}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}content(){let t=new So(this,this._ctx,this.state);this.enterRule(t,60,m.RULE_content);try{this.enterOuterAlt(t,1),this.state=377,this.match(m.EVENT_PAYLOAD_LXR)}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}construct(){let t=new Ro(this,this._ctx,this.state);this.enterRule(t,62,m.RULE_construct);var e=0;try{this.enterOuterAlt(t,1),this.state=379,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}type(){let t=new oi(this,this._ctx,this.state);this.enterRule(t,64,m.RULE_type);var e=0;try{this.enterOuterAlt(t,1),this.state=381,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}assignee(){let t=new ko(this,this._ctx,this.state);this.enterRule(t,66,m.RULE_assignee);var e=0;try{this.state=393,this._errHandler.sync(this);var s=this._interp.adaptivePredict(this._input,58,this._ctx);switch(s){case 1:this.enterOuterAlt(t,1),this.state=383,this.atom();break;case 2:for(this.enterOuterAlt(t,2),this.state=384,this.match(m.ID),this.state=389,this._errHandler.sync(this),e=this._input.LA(1);e===28;)this.state=385,this.match(m.COMMA),this.state=386,this.match(m.ID),this.state=391,this._errHandler.sync(this),e=this._input.LA(1);break;case 3:this.enterOuterAlt(t,3),this.state=392,this.match(m.STRING);break}}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}methodName(){let t=new Io(this,this._ctx,this.state);this.enterRule(t,68,m.RULE_methodName);var e=0;try{this.enterOuterAlt(t,1),this.state=395,e=this._input.LA(1),e===54||e===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}parameters(){let t=new ai(this,this._ctx,this.state);this.enterRule(t,70,m.RULE_parameters);var e=0;try{this.enterOuterAlt(t,1),this.state=397,this.parameter(),this.state=402,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,59,this._ctx);s!=2&&s!=L.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=398,this.match(m.COMMA),this.state=399,this.parameter()),this.state=404,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,59,this._ctx);this.state=406,this._errHandler.sync(this),e=this._input.LA(1),e===28&&(this.state=405,this.match(m.COMMA))}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}parameter(){let t=new li(this,this._ctx,this.state);this.enterRule(t,72,m.RULE_parameter);try{this.state=410,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,61,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=408,this.declaration();break;case 2:this.enterOuterAlt(t,2),this.state=409,this.expr(0);break}}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}declaration(){let t=new Oo(this,this._ctx,this.state);this.enterRule(t,74,m.RULE_declaration);try{this.enterOuterAlt(t,1),this.state=412,this.type(),this.state=413,this.match(m.ID)}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}tcf(){let t=new No(this,this._ctx,this.state);this.enterRule(t,76,m.RULE_tcf);var e=0;try{for(this.enterOuterAlt(t,1),this.state=415,this.tryBlock(),this.state=419,this._errHandler.sync(this),e=this._input.LA(1);e===47;)this.state=416,this.catchBlock(),this.state=421,this._errHandler.sync(this),e=this._input.LA(1);this.state=423,this._errHandler.sync(this),e=this._input.LA(1),e===48&&(this.state=422,this.finallyBlock())}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}tryBlock(){let t=new Po(this,this._ctx,this.state);this.enterRule(t,78,m.RULE_tryBlock);try{this.enterOuterAlt(t,1),this.state=425,this.match(m.TRY),this.state=426,this.braceBlock()}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}catchBlock(){let t=new ci(this,this._ctx,this.state);this.enterRule(t,80,m.RULE_catchBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=428,this.match(m.CATCH),this.state=430,this._errHandler.sync(this),e=this._input.LA(1),e===30&&(this.state=429,this.invocation()),this.state=432,this.braceBlock()}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}finallyBlock(){let t=new Mo(this,this._ctx,this.state);this.enterRule(t,82,m.RULE_finallyBlock);try{this.enterOuterAlt(t,1),this.state=434,this.match(m.FINALLY),this.state=435,this.braceBlock()}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}alt(){let t=new Fo(this,this._ctx,this.state);this.enterRule(t,84,m.RULE_alt);var e=0;try{this.enterOuterAlt(t,1),this.state=437,this.ifBlock(),this.state=441,this._errHandler.sync(this);for(var s=this._interp.adaptivePredict(this._input,65,this._ctx);s!=2&&s!=L.atn.ATN.INVALID_ALT_NUMBER;)s===1&&(this.state=438,this.elseIfBlock()),this.state=443,this._errHandler.sync(this),s=this._interp.adaptivePredict(this._input,65,this._ctx);this.state=445,this._errHandler.sync(this),e=this._input.LA(1),e===38&&(this.state=444,this.elseBlock())}catch(r){if(r instanceof L.error.RecognitionException)t.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return t}ifBlock(){let t=new Do(this,this._ctx,this.state);this.enterRule(t,86,m.RULE_ifBlock);try{this.enterOuterAlt(t,1),this.state=447,this.match(m.IF),this.state=448,this.parExpr(),this.state=449,this.braceBlock()}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseIfBlock(){let t=new ui(this,this._ctx,this.state);this.enterRule(t,88,m.RULE_elseIfBlock);try{this.enterOuterAlt(t,1),this.state=451,this.match(m.ELSE),this.state=452,this.match(m.IF),this.state=453,this.parExpr(),this.state=454,this.braceBlock()}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}elseBlock(){let t=new $o(this,this._ctx,this.state);this.enterRule(t,90,m.RULE_elseBlock);try{this.enterOuterAlt(t,1),this.state=456,this.match(m.ELSE),this.state=457,this.braceBlock()}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}braceBlock(){let t=new ye(this,this._ctx,this.state);this.enterRule(t,92,m.RULE_braceBlock);var e=0;try{this.enterOuterAlt(t,1),this.state=459,this.match(m.OBRACE),this.state=461,this._errHandler.sync(this),e=this._input.LA(1),(e-34&-32)==0&&(1<<e-34&217191919)!==0&&(this.state=460,this.block()),this.state=463,this.match(m.CBRACE)}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}loop(){let t=new Bo(this,this._ctx,this.state);this.enterRule(t,94,m.RULE_loop);try{this.state=472,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,68,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=465,this.match(m.WHILE),this.state=466,this.parExpr(),this.state=467,this.braceBlock();break;case 2:this.enterOuterAlt(t,2),this.state=469,this.match(m.WHILE),this.state=470,this.parExpr();break;case 3:this.enterOuterAlt(t,3),this.state=471,this.match(m.WHILE);break}}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}expr(t){t===void 0&&(t=0);const e=this._ctx,s=this.state;let r=new tt(this,this._ctx,s),i=r;const o=96;this.enterRecursionRule(r,96,m.RULE_expr,t);var a=0;try{this.enterOuterAlt(r,1),this.state=494,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,70,this._ctx);switch(l){case 1:r=new Kc(this,r),this._ctx=r,i=r,this.state=475,this.atom();break;case 2:r=new e0(this,r),this._ctx=r,i=r,this.state=476,this.match(m.MINUS),this.state=477,this.expr(13);break;case 3:r=new t0(this,r),this._ctx=r,i=r,this.state=478,this.match(m.NOT),this.state=479,this.expr(12);break;case 4:r=new Wc(this,r),this._ctx=r,i=r,this.state=483,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,69,this._ctx);l===1&&(this.state=480,this.to(),this.state=481,this.match(m.DOT)),this.state=485,this.func();break;case 5:r=new n0(this,r),this._ctx=r,i=r,this.state=486,this.creation();break;case 6:r=new s0(this,r),this._ctx=r,i=r,this.state=487,this.match(m.OPAR),this.state=488,this.expr(0),this.state=489,this.match(m.CPAR);break;case 7:r=new qc(this,r),this._ctx=r,i=r,this.state=491,this.assignment(),this.state=492,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=519,this._errHandler.sync(this);for(var c=this._interp.adaptivePredict(this._input,72,this._ctx);c!=2&&c!=L.atn.ATN.INVALID_ALT_NUMBER;){if(c===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),i=r,this.state=517,this._errHandler.sync(this);var l=this._interp.adaptivePredict(this._input,71,this._ctx);switch(l){case 1:if(r=new r0(this,new tt(this,e,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=496,!this.precpred(this._ctx,11))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=497,r.op=this._input.LT(1),a=this._input.LA(1),(a&-32)==0&&(1<<a&29360128)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=498,this.expr(12);break;case 2:if(r=new Xc(this,new tt(this,e,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=499,!this.precpred(this._ctx,10))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=500,r.op=this._input.LT(1),a=this._input.LA(1),a===20||a===21?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=501,this.expr(11);break;case 3:if(r=new Qc(this,new tt(this,e,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=502,!this.precpred(this._ctx,9))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=503,r.op=this._input.LT(1),a=this._input.LA(1),(a&-32)==0&&(1<<a&983040)!==0?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=504,this.expr(10);break;case 4:if(r=new i0(this,new tt(this,e,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=505,!this.precpred(this._ctx,8))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=506,r.op=this._input.LT(1),a=this._input.LA(1),a===14||a===15?(this._errHandler.reportMatch(this),this.consume()):r.op=this._errHandler.recoverInline(this),this.state=507,this.expr(9);break;case 5:if(r=new o0(this,new tt(this,e,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=508,!this.precpred(this._ctx,7))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=509,this.match(m.AND),this.state=510,this.expr(8);break;case 6:if(r=new Yc(this,new tt(this,e,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=511,!this.precpred(this._ctx,6))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=512,this.match(m.OR),this.state=513,this.expr(7);break;case 7:if(r=new Jc(this,new tt(this,e,s)),this.pushNewRecursionContext(r,o,m.RULE_expr),this.state=514,!this.precpred(this._ctx,5))throw new L.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=515,this.match(m.PLUS),this.state=516,this.expr(6);break}}this.state=521,this._errHandler.sync(this),c=this._interp.adaptivePredict(this._input,72,this._ctx)}}catch(u){if(u instanceof L.error.RecognitionException)r.exception=u,this._errHandler.reportError(this,u),this._errHandler.recover(this,u);else throw u}finally{this.unrollRecursionContexts(e)}return r}atom(){let t=new Qe(this,this._ctx,this.state);this.enterRule(t,98,m.RULE_atom);var e=0;try{switch(this.state=527,this._errHandler.sync(this),this._input.LA(1)){case 55:case 56:t=new h0(this,t),this.enterOuterAlt(t,1),this.state=522,e=this._input.LA(1),e===55||e===56?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 34:case 35:t=new a0(this,t),this.enterOuterAlt(t,2),this.state=523,e=this._input.LA(1),e===34||e===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 54:t=new l0(this,t),this.enterOuterAlt(t,3),this.state=524,this.match(m.ID);break;case 57:t=new c0(this,t),this.enterOuterAlt(t,4),this.state=525,this.match(m.STRING);break;case 36:t=new u0(this,t),this.enterOuterAlt(t,5),this.state=526,this.match(m.NIL);break;default:throw new L.error.NoViableAltException(this)}}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}parExpr(){let t=new Zs(this,this._ctx,this.state);this.enterRule(t,100,m.RULE_parExpr);try{this.state=538,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,74,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=529,this.match(m.OPAR),this.state=530,this.condition(),this.state=531,this.match(m.CPAR);break;case 2:this.enterOuterAlt(t,2),this.state=533,this.match(m.OPAR),this.state=534,this.condition();break;case 3:this.enterOuterAlt(t,3),this.state=535,this.match(m.OPAR),this.state=536,this.match(m.CPAR);break;case 4:this.enterOuterAlt(t,4),this.state=537,this.match(m.OPAR);break}}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}condition(){let t=new Uo(this,this._ctx,this.state);this.enterRule(t,102,m.RULE_condition);try{this.state=543,this._errHandler.sync(this);var e=this._interp.adaptivePredict(this._input,75,this._ctx);switch(e){case 1:this.enterOuterAlt(t,1),this.state=540,this.atom();break;case 2:this.enterOuterAlt(t,2),this.state=541,this.expr(0);break;case 3:this.enterOuterAlt(t,3),this.state=542,this.inExpr();break}}catch(s){if(s instanceof L.error.RecognitionException)t.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return t}inExpr(){let t=new Ho(this,this._ctx,this.state);this.enterRule(t,104,m.RULE_inExpr);try{this.enterOuterAlt(t,1),this.state=545,this.match(m.ID),this.state=546,this.match(m.IN),this.state=547,this.match(m.ID)}catch(e){if(e instanceof L.error.RecognitionException)t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e);else throw e}finally{this.exitRule()}return t}};let h=m;$(h,"grammarFileName","java-escape"),$(h,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),$(h,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),$(h,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","creation","creationBody","message","messageBody","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr"]),h.EOF=L.Token.EOF,h.WS=1,h.CONSTANT=2,h.READONLY=3,h.STATIC=4,h.AWAIT=5,h.TITLE=6,h.COL=7,h.SOPEN=8,h.SCLOSE=9,h.ARROW=10,h.COLOR=11,h.OR=12,h.AND=13,h.EQ=14,h.NEQ=15,h.GT=16,h.LT=17,h.GTEQ=18,h.LTEQ=19,h.PLUS=20,h.MINUS=21,h.MULT=22,h.DIV=23,h.MOD=24,h.POW=25,h.NOT=26,h.SCOL=27,h.COMMA=28,h.ASSIGN=29,h.OPAR=30,h.CPAR=31,h.OBRACE=32,h.CBRACE=33,h.TRUE=34,h.FALSE=35,h.NIL=36,h.IF=37,h.ELSE=38,h.WHILE=39,h.RETURN=40,h.NEW=41,h.PAR=42,h.GROUP=43,h.OPT=44,h.AS=45,h.TRY=46,h.CATCH=47,h.FINALLY=48,h.IN=49,h.STARTER_LXR=50,h.ANNOTATION_RET=51,h.ANNOTATION=52,h.DOT=53,h.ID=54,h.INT=55,h.FLOAT=56,h.STRING=57,h.CR=58,h.COMMENT=59,h.OTHER=60,h.DIVIDER=61,h.EVENT_PAYLOAD_LXR=62,h.EVENT_END=63,h.TITLE_CONTENT=64,h.TITLE_END=65,h.RULE_prog=0,h.RULE_title=1,h.RULE_head=2,h.RULE_group=3,h.RULE_starterExp=4,h.RULE_starter=5,h.RULE_participant=6,h.RULE_stereotype=7,h.RULE_label=8,h.RULE_participantType=9,h.RULE_name=10,h.RULE_width=11,h.RULE_block=12,h.RULE_ret=13,h.RULE_divider=14,h.RULE_dividerNote=15,h.RULE_stat=16,h.RULE_par=17,h.RULE_opt=18,h.RULE_creation=19,h.RULE_creationBody=20,h.RULE_message=21,h.RULE_messageBody=22,h.RULE_func=23,h.RULE_from=24,h.RULE_to=25,h.RULE_signature=26,h.RULE_invocation=27,h.RULE_assignment=28,h.RULE_asyncMessage=29,h.RULE_content=30,h.RULE_construct=31,h.RULE_type=32,h.RULE_assignee=33,h.RULE_methodName=34,h.RULE_parameters=35,h.RULE_parameter=36,h.RULE_declaration=37,h.RULE_tcf=38,h.RULE_tryBlock=39,h.RULE_catchBlock=40,h.RULE_finallyBlock=41,h.RULE_alt=42,h.RULE_ifBlock=43,h.RULE_elseIfBlock=44,h.RULE_elseBlock=45,h.RULE_braceBlock=46,h.RULE_loop=47,h.RULE_expr=48,h.RULE_atom=49,h.RULE_parExpr=50,h.RULE_condition=51,h.RULE_inExpr=52;class Zc extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_prog}EOF(){return this.getToken(h.EOF,0)}title(){return this.getTypedRuleContext(ho,0)}head(){return this.getTypedRuleContext(fo,0)}block(){return this.getTypedRuleContext(Qr,0)}enterRule(t){t instanceof _&&t.enterProg(this)}exitRule(t){t instanceof _&&t.exitProg(this)}}class ho extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_title}TITLE(){return this.getToken(h.TITLE,0)}TITLE_CONTENT(){return this.getToken(h.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(h.TITLE_END,0)}enterRule(t){t instanceof _&&t.enterTitle(this)}exitRule(t){t instanceof _&&t.exitTitle(this)}}class fo extends L.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);$(this,"group",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Xr):this.getTypedRuleContext(Xr,e)});$(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(us):this.getTypedRuleContext(us,e)});this.parser=e,this.ruleIndex=h.RULE_head}starterExp(){return this.getTypedRuleContext(po,0)}enterRule(e){e instanceof _&&e.enterHead(this)}exitRule(e){e instanceof _&&e.exitHead(this)}}class Xr extends L.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);$(this,"participant",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(us):this.getTypedRuleContext(us,e)});this.parser=e,this.ruleIndex=h.RULE_group}GROUP(){return this.getToken(h.GROUP,0)}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}name(){return this.getTypedRuleContext(hs,0)}enterRule(e){e instanceof _&&e.enterGroup(this)}exitRule(e){e instanceof _&&e.exitGroup(this)}}class po extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_starterExp}STARTER_LXR(){return this.getToken(h.STARTER_LXR,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}starter(){return this.getTypedRuleContext(go,0)}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof _&&t.enterStarterExp(this)}exitRule(t){t instanceof _&&t.exitStarterExp(this)}}class go extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_starter}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof _&&t.enterStarter(this)}exitRule(t){t instanceof _&&t.exitStarter(this)}}class us extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_participant}name(){return this.getTypedRuleContext(hs,0)}participantType(){return this.getTypedRuleContext(Lo,0)}stereotype(){return this.getTypedRuleContext(xo,0)}width(){return this.getTypedRuleContext(_o,0)}label(){return this.getTypedRuleContext(mo,0)}COLOR(){return this.getToken(h.COLOR,0)}enterRule(t){t instanceof _&&t.enterParticipant(this)}exitRule(t){t instanceof _&&t.exitParticipant(this)}}class xo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_stereotype}SOPEN(){return this.getToken(h.SOPEN,0)}name(){return this.getTypedRuleContext(hs,0)}SCLOSE(){return this.getToken(h.SCLOSE,0)}GT(){return this.getToken(h.GT,0)}LT(){return this.getToken(h.LT,0)}enterRule(t){t instanceof _&&t.enterStereotype(this)}exitRule(t){t instanceof _&&t.exitStereotype(this)}}class mo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_label}AS(){return this.getToken(h.AS,0)}name(){return this.getTypedRuleContext(hs,0)}enterRule(t){t instanceof _&&t.enterLabel(this)}exitRule(t){t instanceof _&&t.exitLabel(this)}}class Lo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_participantType}ANNOTATION(){return this.getToken(h.ANNOTATION,0)}enterRule(t){t instanceof _&&t.enterParticipantType(this)}exitRule(t){t instanceof _&&t.exitParticipantType(this)}}class hs extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_name}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof _&&t.enterName(this)}exitRule(t){t instanceof _&&t.exitName(this)}}class _o extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_width}INT(){return this.getToken(h.INT,0)}enterRule(t){t instanceof _&&t.enterWidth(this)}exitRule(t){t instanceof _&&t.exitWidth(this)}}class Qr extends L.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);$(this,"stat",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(Jr):this.getTypedRuleContext(Jr,e)});this.parser=e,this.ruleIndex=h.RULE_block}enterRule(e){e instanceof _&&e.enterBlock(this)}exitRule(e){e instanceof _&&e.exitBlock(this)}}class yo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_ret}RETURN(){return this.getToken(h.RETURN,0)}expr(){return this.getTypedRuleContext(tt,0)}SCOL(){return this.getToken(h.SCOL,0)}ANNOTATION_RET(){return this.getToken(h.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(ii,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}enterRule(t){t instanceof _&&t.enterRet(this)}exitRule(t){t instanceof _&&t.exitRet(this)}}class Co extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_divider}dividerNote(){return this.getTypedRuleContext(Eo,0)}enterRule(t){t instanceof _&&t.enterDivider(this)}exitRule(t){t instanceof _&&t.exitDivider(this)}}class Eo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_dividerNote}DIVIDER(){return this.getToken(h.DIVIDER,0)}enterRule(t){t instanceof _&&t.enterDividerNote(this)}exitRule(t){t instanceof _&&t.exitDividerNote(this)}}class Jr extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_stat,this._OTHER=null}alt(){return this.getTypedRuleContext(Fo,0)}par(){return this.getTypedRuleContext(bo,0)}opt(){return this.getTypedRuleContext(wo,0)}loop(){return this.getTypedRuleContext(Bo,0)}creation(){return this.getTypedRuleContext(ti,0)}message(){return this.getTypedRuleContext(vo,0)}asyncMessage(){return this.getTypedRuleContext(ii,0)}EVENT_END(){return this.getToken(h.EVENT_END,0)}ret(){return this.getTypedRuleContext(yo,0)}divider(){return this.getTypedRuleContext(Co,0)}tcf(){return this.getTypedRuleContext(No,0)}OTHER(){return this.getToken(h.OTHER,0)}enterRule(t){t instanceof _&&t.enterStat(this)}exitRule(t){t instanceof _&&t.exitStat(this)}}class bo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_par}PAR(){return this.getToken(h.PAR,0)}braceBlock(){return this.getTypedRuleContext(ye,0)}enterRule(t){t instanceof _&&t.enterPar(this)}exitRule(t){t instanceof _&&t.exitPar(this)}}class wo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_opt}OPT(){return this.getToken(h.OPT,0)}braceBlock(){return this.getTypedRuleContext(ye,0)}enterRule(t){t instanceof _&&t.enterOpt(this)}exitRule(t){t instanceof _&&t.exitOpt(this)}}class ti extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_creation}creationBody(){return this.getTypedRuleContext(To,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(ye,0)}enterRule(t){t instanceof _&&t.enterCreation(this)}exitRule(t){t instanceof _&&t.exitCreation(this)}}class To extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_creationBody}NEW(){return this.getToken(h.NEW,0)}construct(){return this.getTypedRuleContext(Ro,0)}assignment(){return this.getTypedRuleContext(js,0)}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(ai,0)}enterRule(t){t instanceof _&&t.enterCreationBody(this)}exitRule(t){t instanceof _&&t.exitCreationBody(this)}}class vo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_message}messageBody(){return this.getTypedRuleContext(Ao,0)}SCOL(){return this.getToken(h.SCOL,0)}braceBlock(){return this.getTypedRuleContext(ye,0)}enterRule(t){t instanceof _&&t.enterMessage(this)}exitRule(t){t instanceof _&&t.exitMessage(this)}}class Ao extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_messageBody}func(){return this.getTypedRuleContext(ei,0)}assignment(){return this.getTypedRuleContext(js,0)}to(){return this.getTypedRuleContext(Vs,0)}DOT(){return this.getToken(h.DOT,0)}from(){return this.getTypedRuleContext(ni,0)}ARROW(){return this.getToken(h.ARROW,0)}enterRule(t){t instanceof _&&t.enterMessageBody(this)}exitRule(t){t instanceof _&&t.exitMessageBody(this)}}class ei extends L.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);$(this,"signature",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(si):this.getTypedRuleContext(si,e)});$(this,"DOT",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.DOT):this.getToken(h.DOT,e)});this.parser=e,this.ruleIndex=h.RULE_func}enterRule(e){e instanceof _&&e.enterFunc(this)}exitRule(e){e instanceof _&&e.exitFunc(this)}}class ni extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_from}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof _&&t.enterFrom(this)}exitRule(t){t instanceof _&&t.exitFrom(this)}}class Vs extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_to}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof _&&t.enterTo(this)}exitRule(t){t instanceof _&&t.exitTo(this)}}class si extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_signature}methodName(){return this.getTypedRuleContext(Io,0)}invocation(){return this.getTypedRuleContext(ri,0)}enterRule(t){t instanceof _&&t.enterSignature(this)}exitRule(t){t instanceof _&&t.exitSignature(this)}}class ri extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_invocation}OPAR(){return this.getToken(h.OPAR,0)}CPAR(){return this.getToken(h.CPAR,0)}parameters(){return this.getTypedRuleContext(ai,0)}enterRule(t){t instanceof _&&t.enterInvocation(this)}exitRule(t){t instanceof _&&t.exitInvocation(this)}}class js extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_assignment}assignee(){return this.getTypedRuleContext(ko,0)}ASSIGN(){return this.getToken(h.ASSIGN,0)}type(){return this.getTypedRuleContext(oi,0)}enterRule(t){t instanceof _&&t.enterAssignment(this)}exitRule(t){t instanceof _&&t.exitAssignment(this)}}class ii extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_asyncMessage}to(){return this.getTypedRuleContext(Vs,0)}COL(){return this.getToken(h.COL,0)}content(){return this.getTypedRuleContext(So,0)}from(){return this.getTypedRuleContext(ni,0)}ARROW(){return this.getToken(h.ARROW,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(t){t instanceof _&&t.enterAsyncMessage(this)}exitRule(t){t instanceof _&&t.exitAsyncMessage(this)}}class So extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(h.EVENT_PAYLOAD_LXR,0)}enterRule(t){t instanceof _&&t.enterContent(this)}exitRule(t){t instanceof _&&t.exitContent(this)}}class Ro extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_construct}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof _&&t.enterConstruct(this)}exitRule(t){t instanceof _&&t.exitConstruct(this)}}class oi extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_type}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof _&&t.enterType(this)}exitRule(t){t instanceof _&&t.exitType(this)}}class ko extends L.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);$(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});$(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_assignee}atom(){return this.getTypedRuleContext(Qe,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(e){e instanceof _&&e.enterAssignee(this)}exitRule(e){e instanceof _&&e.exitAssignee(this)}}class Io extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_methodName}ID(){return this.getToken(h.ID,0)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof _&&t.enterMethodName(this)}exitRule(t){t instanceof _&&t.exitMethodName(this)}}class ai extends L.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);$(this,"parameter",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(li):this.getTypedRuleContext(li,e)});$(this,"COMMA",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.COMMA):this.getToken(h.COMMA,e)});this.parser=e,this.ruleIndex=h.RULE_parameters}enterRule(e){e instanceof _&&e.enterParameters(this)}exitRule(e){e instanceof _&&e.exitParameters(this)}}class li extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_parameter}declaration(){return this.getTypedRuleContext(Oo,0)}expr(){return this.getTypedRuleContext(tt,0)}enterRule(t){t instanceof _&&t.enterParameter(this)}exitRule(t){t instanceof _&&t.exitParameter(this)}}class Oo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_declaration}type(){return this.getTypedRuleContext(oi,0)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof _&&t.enterDeclaration(this)}exitRule(t){t instanceof _&&t.exitDeclaration(this)}}class No extends L.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);$(this,"catchBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ci):this.getTypedRuleContext(ci,e)});this.parser=e,this.ruleIndex=h.RULE_tcf}tryBlock(){return this.getTypedRuleContext(Po,0)}finallyBlock(){return this.getTypedRuleContext(Mo,0)}enterRule(e){e instanceof _&&e.enterTcf(this)}exitRule(e){e instanceof _&&e.exitTcf(this)}}class Po extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_tryBlock}TRY(){return this.getToken(h.TRY,0)}braceBlock(){return this.getTypedRuleContext(ye,0)}enterRule(t){t instanceof _&&t.enterTryBlock(this)}exitRule(t){t instanceof _&&t.exitTryBlock(this)}}class ci extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_catchBlock}CATCH(){return this.getToken(h.CATCH,0)}braceBlock(){return this.getTypedRuleContext(ye,0)}invocation(){return this.getTypedRuleContext(ri,0)}enterRule(t){t instanceof _&&t.enterCatchBlock(this)}exitRule(t){t instanceof _&&t.exitCatchBlock(this)}}class Mo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_finallyBlock}FINALLY(){return this.getToken(h.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(ye,0)}enterRule(t){t instanceof _&&t.enterFinallyBlock(this)}exitRule(t){t instanceof _&&t.exitFinallyBlock(this)}}class Fo extends L.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);$(this,"elseIfBlock",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(ui):this.getTypedRuleContext(ui,e)});this.parser=e,this.ruleIndex=h.RULE_alt}ifBlock(){return this.getTypedRuleContext(Do,0)}elseBlock(){return this.getTypedRuleContext($o,0)}enterRule(e){e instanceof _&&e.enterAlt(this)}exitRule(e){e instanceof _&&e.exitAlt(this)}}class Do extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_ifBlock}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Zs,0)}braceBlock(){return this.getTypedRuleContext(ye,0)}enterRule(t){t instanceof _&&t.enterIfBlock(this)}exitRule(t){t instanceof _&&t.exitIfBlock(this)}}class ui extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_elseIfBlock}ELSE(){return this.getToken(h.ELSE,0)}IF(){return this.getToken(h.IF,0)}parExpr(){return this.getTypedRuleContext(Zs,0)}braceBlock(){return this.getTypedRuleContext(ye,0)}enterRule(t){t instanceof _&&t.enterElseIfBlock(this)}exitRule(t){t instanceof _&&t.exitElseIfBlock(this)}}class $o extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_elseBlock}ELSE(){return this.getToken(h.ELSE,0)}braceBlock(){return this.getTypedRuleContext(ye,0)}enterRule(t){t instanceof _&&t.enterElseBlock(this)}exitRule(t){t instanceof _&&t.exitElseBlock(this)}}class ye extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_braceBlock}OBRACE(){return this.getToken(h.OBRACE,0)}CBRACE(){return this.getToken(h.CBRACE,0)}block(){return this.getTypedRuleContext(Qr,0)}enterRule(t){t instanceof _&&t.enterBraceBlock(this)}exitRule(t){t instanceof _&&t.exitBraceBlock(this)}}class Bo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_loop}WHILE(){return this.getToken(h.WHILE,0)}parExpr(){return this.getTypedRuleContext(Zs,0)}braceBlock(){return this.getTypedRuleContext(ye,0)}enterRule(t){t instanceof _&&t.enterLoop(this)}exitRule(t){t instanceof _&&t.exitLoop(this)}}class tt extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_expr}copyFrom(t){super.copyFrom(t)}}class qc extends tt{constructor(t,e){super(t),super.copyFrom(e)}assignment(){return this.getTypedRuleContext(js,0)}expr(){return this.getTypedRuleContext(tt,0)}enterRule(t){t instanceof _&&t.enterAssignmentExpr(this)}exitRule(t){t instanceof _&&t.exitAssignmentExpr(this)}}h.AssignmentExprContext=qc;class Wc extends tt{constructor(t,e){super(t),super.copyFrom(e)}func(){return this.getTypedRuleContext(ei,0)}to(){return this.getTypedRuleContext(Vs,0)}DOT(){return this.getToken(h.DOT,0)}enterRule(t){t instanceof _&&t.enterFuncExpr(this)}exitRule(t){t instanceof _&&t.exitFuncExpr(this)}}h.FuncExprContext=Wc;class Kc extends tt{constructor(t,e){super(t),super.copyFrom(e)}atom(){return this.getTypedRuleContext(Qe,0)}enterRule(t){t instanceof _&&t.enterAtomExpr(this)}exitRule(t){t instanceof _&&t.exitAtomExpr(this)}}h.AtomExprContext=Kc;class Yc extends tt{constructor(e,s){super(e);$(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(tt):this.getTypedRuleContext(tt,e)});super.copyFrom(s)}OR(){return this.getToken(h.OR,0)}enterRule(e){e instanceof _&&e.enterOrExpr(this)}exitRule(e){e instanceof _&&e.exitOrExpr(this)}}h.OrExprContext=Yc;class Xc extends tt{constructor(e,s){super(e);$(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(tt):this.getTypedRuleContext(tt,e)});this.op=null,super.copyFrom(s)}PLUS(){return this.getToken(h.PLUS,0)}MINUS(){return this.getToken(h.MINUS,0)}enterRule(e){e instanceof _&&e.enterAdditiveExpr(this)}exitRule(e){e instanceof _&&e.exitAdditiveExpr(this)}}h.AdditiveExprContext=Xc;class Qc extends tt{constructor(e,s){super(e);$(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(tt):this.getTypedRuleContext(tt,e)});this.op=null,super.copyFrom(s)}LTEQ(){return this.getToken(h.LTEQ,0)}GTEQ(){return this.getToken(h.GTEQ,0)}LT(){return this.getToken(h.LT,0)}GT(){return this.getToken(h.GT,0)}enterRule(e){e instanceof _&&e.enterRelationalExpr(this)}exitRule(e){e instanceof _&&e.exitRelationalExpr(this)}}h.RelationalExprContext=Qc;class Jc extends tt{constructor(e,s){super(e);$(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(tt):this.getTypedRuleContext(tt,e)});super.copyFrom(s)}PLUS(){return this.getToken(h.PLUS,0)}enterRule(e){e instanceof _&&e.enterPlusExpr(this)}exitRule(e){e instanceof _&&e.exitPlusExpr(this)}}h.PlusExprContext=Jc;class t0 extends tt{constructor(t,e){super(t),super.copyFrom(e)}NOT(){return this.getToken(h.NOT,0)}expr(){return this.getTypedRuleContext(tt,0)}enterRule(t){t instanceof _&&t.enterNotExpr(this)}exitRule(t){t instanceof _&&t.exitNotExpr(this)}}h.NotExprContext=t0;class e0 extends tt{constructor(t,e){super(t),super.copyFrom(e)}MINUS(){return this.getToken(h.MINUS,0)}expr(){return this.getTypedRuleContext(tt,0)}enterRule(t){t instanceof _&&t.enterUnaryMinusExpr(this)}exitRule(t){t instanceof _&&t.exitUnaryMinusExpr(this)}}h.UnaryMinusExprContext=e0;class n0 extends tt{constructor(t,e){super(t),super.copyFrom(e)}creation(){return this.getTypedRuleContext(ti,0)}enterRule(t){t instanceof _&&t.enterCreationExpr(this)}exitRule(t){t instanceof _&&t.exitCreationExpr(this)}}h.CreationExprContext=n0;class s0 extends tt{constructor(t,e){super(t),super.copyFrom(e)}OPAR(){return this.getToken(h.OPAR,0)}expr(){return this.getTypedRuleContext(tt,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof _&&t.enterParenthesizedExpr(this)}exitRule(t){t instanceof _&&t.exitParenthesizedExpr(this)}}h.ParenthesizedExprContext=s0;class r0 extends tt{constructor(e,s){super(e);$(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(tt):this.getTypedRuleContext(tt,e)});this.op=null,super.copyFrom(s)}MULT(){return this.getToken(h.MULT,0)}DIV(){return this.getToken(h.DIV,0)}MOD(){return this.getToken(h.MOD,0)}enterRule(e){e instanceof _&&e.enterMultiplicationExpr(this)}exitRule(e){e instanceof _&&e.exitMultiplicationExpr(this)}}h.MultiplicationExprContext=r0;class i0 extends tt{constructor(e,s){super(e);$(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(tt):this.getTypedRuleContext(tt,e)});this.op=null,super.copyFrom(s)}EQ(){return this.getToken(h.EQ,0)}NEQ(){return this.getToken(h.NEQ,0)}enterRule(e){e instanceof _&&e.enterEqualityExpr(this)}exitRule(e){e instanceof _&&e.exitEqualityExpr(this)}}h.EqualityExprContext=i0;class o0 extends tt{constructor(e,s){super(e);$(this,"expr",function(e){return e===void 0&&(e=null),e===null?this.getTypedRuleContexts(tt):this.getTypedRuleContext(tt,e)});super.copyFrom(s)}AND(){return this.getToken(h.AND,0)}enterRule(e){e instanceof _&&e.enterAndExpr(this)}exitRule(e){e instanceof _&&e.exitAndExpr(this)}}h.AndExprContext=o0;class Qe extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_atom}copyFrom(t){super.copyFrom(t)}}class a0 extends Qe{constructor(t,e){super(t),super.copyFrom(e)}TRUE(){return this.getToken(h.TRUE,0)}FALSE(){return this.getToken(h.FALSE,0)}enterRule(t){t instanceof _&&t.enterBooleanAtom(this)}exitRule(t){t instanceof _&&t.exitBooleanAtom(this)}}h.BooleanAtomContext=a0;class l0 extends Qe{constructor(t,e){super(t),super.copyFrom(e)}ID(){return this.getToken(h.ID,0)}enterRule(t){t instanceof _&&t.enterIdAtom(this)}exitRule(t){t instanceof _&&t.exitIdAtom(this)}}h.IdAtomContext=l0;class c0 extends Qe{constructor(t,e){super(t),super.copyFrom(e)}STRING(){return this.getToken(h.STRING,0)}enterRule(t){t instanceof _&&t.enterStringAtom(this)}exitRule(t){t instanceof _&&t.exitStringAtom(this)}}h.StringAtomContext=c0;class u0 extends Qe{constructor(t,e){super(t),super.copyFrom(e)}NIL(){return this.getToken(h.NIL,0)}enterRule(t){t instanceof _&&t.enterNilAtom(this)}exitRule(t){t instanceof _&&t.exitNilAtom(this)}}h.NilAtomContext=u0;class h0 extends Qe{constructor(t,e){super(t),super.copyFrom(e)}INT(){return this.getToken(h.INT,0)}FLOAT(){return this.getToken(h.FLOAT,0)}enterRule(t){t instanceof _&&t.enterNumberAtom(this)}exitRule(t){t instanceof _&&t.exitNumberAtom(this)}}h.NumberAtomContext=h0;class Zs extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_parExpr}OPAR(){return this.getToken(h.OPAR,0)}condition(){return this.getTypedRuleContext(Uo,0)}CPAR(){return this.getToken(h.CPAR,0)}enterRule(t){t instanceof _&&t.enterParExpr(this)}exitRule(t){t instanceof _&&t.exitParExpr(this)}}class Uo extends L.ParserRuleContext{constructor(t,e,s){e===void 0&&(e=null),s==null&&(s=-1),super(e,s),this.parser=t,this.ruleIndex=h.RULE_condition}atom(){return this.getTypedRuleContext(Qe,0)}expr(){return this.getTypedRuleContext(tt,0)}inExpr(){return this.getTypedRuleContext(Ho,0)}enterRule(t){t instanceof _&&t.enterCondition(this)}exitRule(t){t instanceof _&&t.exitCondition(this)}}class Ho extends L.ParserRuleContext{constructor(e,s,r){s===void 0&&(s=null),r==null&&(r=-1);super(s,r);$(this,"ID",function(e){return e===void 0&&(e=null),e===null?this.getTokens(h.ID):this.getToken(h.ID,e)});this.parser=e,this.ruleIndex=h.RULE_inExpr}IN(){return this.getToken(h.IN,0)}enterRule(e){e instanceof _&&e.enterInExpr(this)}exitRule(e){e instanceof _&&e.exitInExpr(this)}}h.ProgContext=Zc,h.TitleContext=ho,h.HeadContext=fo,h.GroupContext=Xr,h.StarterExpContext=po,h.StarterContext=go,h.ParticipantContext=us,h.StereotypeContext=xo,h.LabelContext=mo,h.ParticipantTypeContext=Lo,h.NameContext=hs,h.WidthContext=_o,h.BlockContext=Qr,h.RetContext=yo,h.DividerContext=Co,h.DividerNoteContext=Eo,h.StatContext=Jr,h.ParContext=bo,h.OptContext=wo,h.CreationContext=ti,h.CreationBodyContext=To,h.MessageContext=vo,h.MessageBodyContext=Ao,h.FuncContext=ei,h.FromContext=ni,h.ToContext=Vs,h.SignatureContext=si,h.InvocationContext=ri,h.AssignmentContext=js,h.AsyncMessageContext=ii,h.ContentContext=So,h.ConstructContext=Ro,h.TypeContext=oi,h.AssigneeContext=ko,h.MethodNameContext=Io,h.ParametersContext=ai,h.ParameterContext=li,h.DeclarationContext=Oo,h.TcfContext=No,h.TryBlockContext=Po,h.CatchBlockContext=ci,h.FinallyBlockContext=Mo,h.AltContext=Fo,h.IfBlockContext=Do,h.ElseIfBlockContext=ui,h.ElseBlockContext=$o,h.BraceBlockContext=ye,h.LoopContext=Bo,h.ExprContext=tt,h.AtomContext=Qe,h.ParExprContext=Zs,h.ConditionContext=Uo,h.InExprContext=Ho;function O4(){this.__data__=[],this.size=0}var N4=O4;function P4(n,t){return n===t||n!==n&&t!==t}var hi=P4,M4=hi;function F4(n,t){for(var e=n.length;e--;)if(M4(n[e][0],t))return e;return-1}var fi=F4,D4=fi,$4=Array.prototype,B4=$4.splice;function U4(n){var t=this.__data__,e=D4(t,n);if(e<0)return!1;var s=t.length-1;return e==s?t.pop():B4.call(t,e,1),--this.size,!0}var H4=U4,G4=fi;function z4(n){var t=this.__data__,e=G4(t,n);return e<0?void 0:t[e][1]}var V4=z4,j4=fi;function Z4(n){return j4(this.__data__,n)>-1}var q4=Z4,W4=fi;function K4(n,t){var e=this.__data__,s=W4(e,n);return s<0?(++this.size,e.push([n,t])):e[s][1]=t,this}var Y4=K4,X4=N4,Q4=H4,J4=V4,t5=q4,e5=Y4;function fs(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var s=n[t];this.set(s[0],s[1])}}fs.prototype.clear=X4,fs.prototype.delete=Q4,fs.prototype.get=J4,fs.prototype.has=t5,fs.prototype.set=e5;var di=fs,n5=di;function s5(){this.__data__=new n5,this.size=0}var r5=s5;function i5(n){var t=this.__data__,e=t.delete(n);return this.size=t.size,e}var o5=i5;function a5(n){return this.__data__.get(n)}var l5=a5;function c5(n){return this.__data__.has(n)}var u5=c5,h5=Fn,f5=h5.Symbol,f0=f5,d0=f0,p0=Object.prototype,d5=p0.hasOwnProperty,p5=p0.toString,qs=d0?d0.toStringTag:void 0;function g5(n){var t=d5.call(n,qs),e=n[qs];try{n[qs]=void 0;var s=!0}catch{}var r=p5.call(n);return s&&(t?n[qs]=e:delete n[qs]),r}var x5=g5,m5=Object.prototype,L5=m5.toString;function _5(n){return L5.call(n)}var y5=_5,g0=f0,C5=x5,E5=y5,b5="[object Null]",w5="[object Undefined]",x0=g0?g0.toStringTag:void 0;function T5(n){return n==null?n===void 0?w5:b5:x0&&x0 in Object(n)?C5(n):E5(n)}var pi=T5;function v5(n){var t=typeof n;return n!=null&&(t=="object"||t=="function")}var Un=v5,A5=pi,S5=Un,R5="[object AsyncFunction]",k5="[object Function]",I5="[object GeneratorFunction]",O5="[object Proxy]";function N5(n){if(!S5(n))return!1;var t=A5(n);return t==k5||t==I5||t==R5||t==O5}var Go=N5,P5=Fn,M5=P5["__core-js_shared__"],F5=M5,zo=F5,m0=function(){var n=/[^.]+$/.exec(zo&&zo.keys&&zo.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function D5(n){return!!m0&&m0 in n}var $5=D5,B5=Function.prototype,U5=B5.toString;function H5(n){if(n!=null){try{return U5.call(n)}catch{}try{return n+""}catch{}}return""}var G5=H5,z5=Go,V5=$5,j5=Un,Z5=G5,q5=/[\\^$.*+?()[\]{}|]/g,W5=/^\[object .+?Constructor\]$/,K5=Function.prototype,Y5=Object.prototype,X5=K5.toString,Q5=Y5.hasOwnProperty,J5=RegExp("^"+X5.call(Q5).replace(q5,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function td(n){if(!j5(n)||V5(n))return!1;var t=z5(n)?J5:W5;return t.test(Z5(n))}var ed=td;function nd(n,t){return n==null?void 0:n[t]}var sd=nd,rd=ed,id=sd;function od(n,t){var e=id(n,t);return rd(e)?e:void 0}var Vo=od,ad=Vo,ld=Fn,cd=ad(ld,"Map"),L0=cd,ud=Vo,hd=ud(Object,"create"),gi=hd,_0=gi;function fd(){this.__data__=_0?_0(null):{},this.size=0}var dd=fd;function pd(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t}var gd=pd,xd=gi,md="__lodash_hash_undefined__",Ld=Object.prototype,_d=Ld.hasOwnProperty;function yd(n){var t=this.__data__;if(xd){var e=t[n];return e===md?void 0:e}return _d.call(t,n)?t[n]:void 0}var Cd=yd,Ed=gi,bd=Object.prototype,wd=bd.hasOwnProperty;function Td(n){var t=this.__data__;return Ed?t[n]!==void 0:wd.call(t,n)}var vd=Td,Ad=gi,Sd="__lodash_hash_undefined__";function Rd(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=Ad&&t===void 0?Sd:t,this}var kd=Rd,Id=dd,Od=gd,Nd=Cd,Pd=vd,Md=kd;function ds(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var s=n[t];this.set(s[0],s[1])}}ds.prototype.clear=Id,ds.prototype.delete=Od,ds.prototype.get=Nd,ds.prototype.has=Pd,ds.prototype.set=Md;var Fd=ds,y0=Fd,Dd=di,$d=L0;function Bd(){this.size=0,this.__data__={hash:new y0,map:new($d||Dd),string:new y0}}var Ud=Bd;function Hd(n){var t=typeof n;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?n!=="__proto__":n===null}var Gd=Hd,zd=Gd;function Vd(n,t){var e=n.__data__;return zd(t)?e[typeof t=="string"?"string":"hash"]:e.map}var xi=Vd,jd=xi;function Zd(n){var t=jd(this,n).delete(n);return this.size-=t?1:0,t}var qd=Zd,Wd=xi;function Kd(n){return Wd(this,n).get(n)}var Yd=Kd,Xd=xi;function Qd(n){return Xd(this,n).has(n)}var Jd=Qd,t9=xi;function e9(n,t){var e=t9(this,n),s=e.size;return e.set(n,t),this.size+=e.size==s?0:1,this}var n9=e9,s9=Ud,r9=qd,i9=Yd,o9=Jd,a9=n9;function ps(n){var t=-1,e=n==null?0:n.length;for(this.clear();++t<e;){var s=n[t];this.set(s[0],s[1])}}ps.prototype.clear=s9,ps.prototype.delete=r9,ps.prototype.get=i9,ps.prototype.has=o9,ps.prototype.set=a9;var l9=ps,c9=di,u9=L0,h9=l9,f9=200;function d9(n,t){var e=this.__data__;if(e instanceof c9){var s=e.__data__;if(!u9||s.length<f9-1)return s.push([n,t]),this.size=++e.size,this;e=this.__data__=new h9(s)}return e.set(n,t),this.size=e.size,this}var p9=d9,g9=di,x9=r5,m9=o5,L9=l5,_9=u5,y9=p9;function gs(n){var t=this.__data__=new g9(n);this.size=t.size}gs.prototype.clear=x9,gs.prototype.delete=m9,gs.prototype.get=L9,gs.prototype.has=_9,gs.prototype.set=y9;var C9=gs,E9=Vo,b9=function(){try{var n=E9(Object,"defineProperty");return n({},"",{}),n}catch{}}(),C0=b9,E0=C0;function w9(n,t,e){t=="__proto__"&&E0?E0(n,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[t]=e}var jo=w9,T9=jo,v9=hi;function A9(n,t,e){(e!==void 0&&!v9(n[t],e)||e===void 0&&!(t in n))&&T9(n,t,e)}var b0=A9;function S9(n){return function(t,e,s){for(var r=-1,i=Object(t),o=s(t),a=o.length;a--;){var l=o[n?a:++r];if(e(i[l],l,i)===!1)break}return t}}var R9=S9,k9=R9,I9=k9(),O9=I9,Zo={exports:{}};(function(n,t){var e=Fn,s=t&&!t.nodeType&&t,r=s&&!0&&n&&!n.nodeType&&n,i=r&&r.exports===s,o=i?e.Buffer:void 0,a=o?o.allocUnsafe:void 0;function l(c,u){if(u)return c.slice();var f=c.length,p=a?a(f):new c.constructor(f);return c.copy(p),p}n.exports=l})(Zo,Zo.exports);var N9=Fn,P9=N9.Uint8Array,M9=P9,w0=M9;function F9(n){var t=new n.constructor(n.byteLength);return new w0(t).set(new w0(n)),t}var D9=F9,$9=D9;function B9(n,t){var e=t?$9(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)}var U9=B9;function H9(n,t){var e=-1,s=n.length;for(t||(t=Array(s));++e<s;)t[e]=n[e];return t}var G9=H9,z9=Un,T0=Object.create,V9=function(){function n(){}return function(t){if(!z9(t))return{};if(T0)return T0(t);n.prototype=t;var e=new n;return n.prototype=void 0,e}}(),j9=V9;function Z9(n,t){return function(e){return n(t(e))}}var q9=Z9,W9=q9,K9=W9(Object.getPrototypeOf,Object),v0=K9,Y9=Object.prototype;function X9(n){var t=n&&n.constructor,e=typeof t=="function"&&t.prototype||Y9;return n===e}var A0=X9,Q9=j9,J9=v0,t6=A0;function e6(n){return typeof n.constructor=="function"&&!t6(n)?Q9(J9(n)):{}}var n6=e6;function s6(n){return n!=null&&typeof n=="object"}var Ws=s6,r6=pi,i6=Ws,o6="[object Arguments]";function a6(n){return i6(n)&&r6(n)==o6}var l6=a6,S0=l6,c6=Ws,R0=Object.prototype,u6=R0.hasOwnProperty,h6=R0.propertyIsEnumerable,f6=S0(function(){return arguments}())?S0:function(n){return c6(n)&&u6.call(n,"callee")&&!h6.call(n,"callee")},k0=f6,d6=Array.isArray,I0=d6,p6=9007199254740991;function g6(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=p6}var O0=g6,x6=Go,m6=O0;function L6(n){return n!=null&&m6(n.length)&&!x6(n)}var qo=L6,_6=qo,y6=Ws;function C6(n){return y6(n)&&_6(n)}var E6=C6,mi={exports:{}};function b6(){return!1}var w6=b6;(function(n,t){var e=Fn,s=w6,r=t&&!t.nodeType&&t,i=r&&!0&&n&&!n.nodeType&&n,o=i&&i.exports===r,a=o?e.Buffer:void 0,l=a?a.isBuffer:void 0,c=l||s;n.exports=c})(mi,mi.exports);var T6=pi,v6=v0,A6=Ws,S6="[object Object]",R6=Function.prototype,k6=Object.prototype,N0=R6.toString,I6=k6.hasOwnProperty,O6=N0.call(Object);function N6(n){if(!A6(n)||T6(n)!=S6)return!1;var t=v6(n);if(t===null)return!0;var e=I6.call(t,"constructor")&&t.constructor;return typeof e=="function"&&e instanceof e&&N0.call(e)==O6}var P6=N6,M6=pi,F6=O0,D6=Ws,$6="[object Arguments]",B6="[object Array]",U6="[object Boolean]",H6="[object Date]",G6="[object Error]",z6="[object Function]",V6="[object Map]",j6="[object Number]",Z6="[object Object]",q6="[object RegExp]",W6="[object Set]",K6="[object String]",Y6="[object WeakMap]",X6="[object ArrayBuffer]",Q6="[object DataView]",J6="[object Float32Array]",t8="[object Float64Array]",e8="[object Int8Array]",n8="[object Int16Array]",s8="[object Int32Array]",r8="[object Uint8Array]",i8="[object Uint8ClampedArray]",o8="[object Uint16Array]",a8="[object Uint32Array]",At={};At[J6]=At[t8]=At[e8]=At[n8]=At[s8]=At[r8]=At[i8]=At[o8]=At[a8]=!0,At[$6]=At[B6]=At[X6]=At[U6]=At[Q6]=At[H6]=At[G6]=At[z6]=At[V6]=At[j6]=At[Z6]=At[q6]=At[W6]=At[K6]=At[Y6]=!1;function l8(n){return D6(n)&&F6(n.length)&&!!At[M6(n)]}var c8=l8;function u8(n){return function(t){return n(t)}}var h8=u8,Wo={exports:{}};(function(n,t){var e=yc,s=t&&!t.nodeType&&t,r=s&&!0&&n&&!n.nodeType&&n,i=r&&r.exports===s,o=i&&e.process,a=function(){try{var l=r&&r.require&&r.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();n.exports=a})(Wo,Wo.exports);var f8=c8,d8=h8,P0=Wo.exports,M0=P0&&P0.isTypedArray,p8=M0?d8(M0):f8,F0=p8;function g8(n,t){if(!(t==="constructor"&&typeof n[t]=="function")&&t!="__proto__")return n[t]}var D0=g8,x8=jo,m8=hi,L8=Object.prototype,_8=L8.hasOwnProperty;function y8(n,t,e){var s=n[t];(!(_8.call(n,t)&&m8(s,e))||e===void 0&&!(t in n))&&x8(n,t,e)}var C8=y8,E8=C8,b8=jo;function w8(n,t,e,s){var r=!e;e||(e={});for(var i=-1,o=t.length;++i<o;){var a=t[i],l=s?s(e[a],n[a],a,e,n):void 0;l===void 0&&(l=n[a]),r?b8(e,a,l):E8(e,a,l)}return e}var T8=w8;function v8(n,t){for(var e=-1,s=Array(n);++e<n;)s[e]=t(e);return s}var A8=v8,S8=9007199254740991,R8=/^(?:0|[1-9]\d*)$/;function k8(n,t){var e=typeof n;return t=t==null?S8:t,!!t&&(e=="number"||e!="symbol"&&R8.test(n))&&n>-1&&n%1==0&&n<t}var $0=k8,I8=A8,O8=k0,N8=I0,P8=mi.exports,M8=$0,F8=F0,D8=Object.prototype,$8=D8.hasOwnProperty;function B8(n,t){var e=N8(n),s=!e&&O8(n),r=!e&&!s&&P8(n),i=!e&&!s&&!r&&F8(n),o=e||s||r||i,a=o?I8(n.length,String):[],l=a.length;for(var c in n)(t||$8.call(n,c))&&!(o&&(c=="length"||r&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||M8(c,l)))&&a.push(c);return a}var U8=B8;function H8(n){var t=[];if(n!=null)for(var e in Object(n))t.push(e);return t}var G8=H8,z8=Un,V8=A0,j8=G8,Z8=Object.prototype,q8=Z8.hasOwnProperty;function W8(n){if(!z8(n))return j8(n);var t=V8(n),e=[];for(var s in n)s=="constructor"&&(t||!q8.call(n,s))||e.push(s);return e}var K8=W8,Y8=U8,X8=K8,Q8=qo;function J8(n){return Q8(n)?Y8(n,!0):X8(n)}var B0=J8,t7=T8,e7=B0;function n7(n){return t7(n,e7(n))}var s7=n7,U0=b0,r7=Zo.exports,i7=U9,o7=G9,a7=n6,H0=k0,G0=I0,l7=E6,c7=mi.exports,u7=Go,h7=Un,f7=P6,d7=F0,z0=D0,p7=s7;function g7(n,t,e,s,r,i,o){var a=z0(n,e),l=z0(t,e),c=o.get(l);if(c){U0(n,e,c);return}var u=i?i(a,l,e+"",n,t,o):void 0,f=u===void 0;if(f){var p=G0(l),g=!p&&c7(l),R=!p&&!g&&d7(l);u=l,p||g||R?G0(a)?u=a:l7(a)?u=o7(a):g?(f=!1,u=r7(l,!0)):R?(f=!1,u=i7(l,!0)):u=[]:f7(l)||H0(l)?(u=a,H0(a)?u=p7(a):(!h7(a)||u7(a))&&(u=a7(l))):f=!1}f&&(o.set(l,u),r(u,l,s,i,o),o.delete(l)),U0(n,e,u)}var x7=g7,m7=C9,L7=b0,_7=O9,y7=x7,C7=Un,E7=B0,b7=D0;function V0(n,t,e,s,r){n!==t&&_7(t,function(i,o){if(r||(r=new m7),C7(i))y7(n,t,o,e,V0,s,r);else{var a=s?s(b7(n,o),i,o+"",n,t,r):void 0;a===void 0&&(a=i),L7(n,o,a)}},E7)}var w7=V0;function T7(n){return n}var j0=T7;function v7(n,t,e){switch(e.length){case 0:return n.call(t);case 1:return n.call(t,e[0]);case 2:return n.call(t,e[0],e[1]);case 3:return n.call(t,e[0],e[1],e[2])}return n.apply(t,e)}var A7=v7,S7=A7,Z0=Math.max;function R7(n,t,e){return t=Z0(t===void 0?n.length-1:t,0),function(){for(var s=arguments,r=-1,i=Z0(s.length-t,0),o=Array(i);++r<i;)o[r]=s[t+r];r=-1;for(var a=Array(t+1);++r<t;)a[r]=s[r];return a[t]=e(o),S7(n,this,a)}}var k7=R7;function I7(n){return function(){return n}}var O7=I7,N7=O7,q0=C0,P7=j0,M7=q0?function(n,t){return q0(n,"toString",{configurable:!0,enumerable:!1,value:N7(t),writable:!0})}:P7,F7=M7,D7=800,$7=16,B7=Date.now;function U7(n){var t=0,e=0;return function(){var s=B7(),r=$7-(s-e);if(e=s,r>0){if(++t>=D7)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}var H7=U7,G7=F7,z7=H7,V7=z7(G7),j7=V7,Z7=j0,q7=k7,W7=j7;function K7(n,t){return W7(q7(n,t,Z7),n+"")}var Y7=K7,X7=hi,Q7=qo,J7=$0,tp=Un;function ep(n,t,e){if(!tp(e))return!1;var s=typeof t;return(s=="number"?Q7(e)&&J7(t,e.length):s=="string"&&t in e)?X7(e[t],n):!1}var np=ep,sp=Y7,rp=np;function ip(n){return sp(function(t,e){var s=-1,r=e.length,i=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(i=n.length>3&&typeof i=="function"?(r--,i):void 0,o&&rp(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++s<r;){var a=e[s];a&&n(t,a,s,i)}return t})}var op=ip,ap=w7,lp=op,cp=lp(function(n,t,e,s){ap(n,t,e,s)}),up=cp;class hp{constructor(t,e,s,r,i,o,a,l,c,u){$(this,"name");$(this,"stereotype");$(this,"width");$(this,"groupId");$(this,"explicit");$(this,"isStarter");$(this,"label");$(this,"type");$(this,"color");$(this,"comment");this.name=t,this.stereotype=s,this.width=r,this.groupId=i,this.explicit=a,this.isStarter=e,this.label=o,this.type=l,this.color=c,this.comment=u}Type(){var t;switch((t=this.type)==null?void 0:t.toLowerCase()){case"@actor":return 1;case"@boundary":return 2;case"@collection":return 3;case"@control":return 4;case"@database":return 5;case"@entity":return 6;case"@queue":return 7;case"@ec2":return 8;case"@ecs":return 9;case"@iam":return 10;case"@lambda":return 11;case"@rds":return 12;case"@s3":return 13}return 14}}class fp{constructor(){$(this,"participants",new Map)}Add(t,e,s,r,i,o,a,l,c,u){const f=new hp(t,e,s,r,i,o,a,l,c,u);this.participants.set(t,up({},this.Get(t),f,(p,g)=>p||g))}ImplicitArray(){return this.Array().filter(t=>!t.explicit&&!t.isStarter)}Array(){return Array.from(this.participants.entries()).map(t=>t[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(t){return this.participants.get(t)}Size(){return this.participants.size}Starter(){const t=this.First();return t.isStarter?t:void 0}}const dp=h.ProgContext;let an,Hn=!1,Ko;const fe=new _;let pp=function(n){var c,u,f,p,g,R,I;if(Hn)return;const t=(c=n==null?void 0:n.participantType())==null?void 0:c.getFormattedText().replace("@",""),e=((u=n==null?void 0:n.name())==null?void 0:u.getFormattedText())||"Missing `Participant`",s=(p=(f=n.stereotype())==null?void 0:f.name())==null?void 0:p.getFormattedText(),r=n.width&&n.width()&&Number.parseInt(n.width().getText())||void 0,i=n.label&&((R=(g=n.label())==null?void 0:g.name())==null?void 0:R.getFormattedText()),o=!0,a=(I=n.COLOR())==null?void 0:I.getText(),l=n.getComment();an.Add(e,!1,s,r,Ko,i,o,t,a,l)};fe.enterParticipant=pp;let W0=function(n){if(Hn)return;let t=n.getFormattedText();an.Add(t)};fe.enterFrom=W0,fe.enterTo=W0,fe.enterStarter=function(n){let t=n.getFormattedText();an.Add(t,!0)},fe.enterCreation=function(n){if(Hn)return;const t=n.Owner();an.Add(t)},fe.enterParameters=function(){Hn=!0},fe.exitParameters=function(){Hn=!1},fe.enterCondition=function(){Hn=!0},fe.exitCondition=function(){Hn=!1},fe.enterGroup=function(n){var t;Ko=(t=n.name())==null?void 0:t.getFormattedText()},fe.exitGroup=function(){Ko=void 0},fe.enterRet=function(n){n.asyncMessage()||(an.Add(n.From()),an.Add(n.ReturnTo()))};const gp=L.tree.ParseTreeWalker.DEFAULT;fe.getParticipants=function(n,t){return an=new fp,t&&n instanceof dp&&an.Add(n.Starter(),!0),gp.walk(this,n),an};const xp=L.tree.ParseTreeWalker.DEFAULT;var Ae=new _,ee=0,Se=0;Ae.enterTcf=function(){ee++},Ae.enterOpt=function(){ee++},Ae.enterPar=function(){ee++},Ae.enterAlt=function(){ee++},Ae.enterLoop=function(){ee++},Ae.exitTcf=function(){Se=Math.max(Se,ee),ee--},Ae.exitOpt=function(){Se=Math.max(Se,ee),ee--},Ae.exitPar=function(){Se=Math.max(Se,ee),ee--},Ae.exitAlt=function(){Se=Math.max(Se,ee),ee--},Ae.exitLoop=function(){Se=Math.max(Se,ee),ee--},Ae.depth=function(n){return function(t){return ee=0,Se=0,t.children.map(function(e){xp.walk(n,e)}),Se}};const mp=h.TitleContext;mp.prototype.content=function(){return this.children.length<2?"Untiled":this.children[1].getText().trim()};const K0=h,Yo=K0.CreationContext;Yo.prototype.Body=Yo.prototype.creationBody,Yo.prototype.isCurrent=function(n){return Y0.bind(this)(n)};const Xo=K0.MessageContext;Xo.prototype.Body=Xo.prototype.messageBody,Xo.prototype.isCurrent=function(n){return Y0.bind(this)(n)};function Y0(n){try{if(n==null)return!1;const t=this.start.start,e=this.Body().stop.stop+1;return n>=t&&n<=e}catch{return!1}}const Qo=h,Li=Qo.CreationContext,Jo=Qo.MessageContext,X0=Qo.AsyncMessageContext;Li.prototype.Assignee=function(){var n,t,e;return(e=(t=(n=this.creationBody())==null?void 0:n.assignment())==null?void 0:t.assignee())==null?void 0:e.getFormattedText()},Li.prototype.Constructor=function(){var n,t;return(t=(n=this.creationBody())==null?void 0:n.construct())==null?void 0:t.getFormattedText()},Li.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const n=this.Assignee(),t=this.Constructor();return n?`${n}:${t}`:t},Jo.prototype.To=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.to())==null?void 0:t.getFormattedText()},Jo.prototype.Owner=function(){return this.To()||Q0(this.parentCtx)};function Q0(n){for(;n;){if(n instanceof Li||n instanceof Jo)return n.Owner();n=n.parentCtx}}X0.prototype.To=function(){var n;return(n=this.to())==null?void 0:n.getFormattedText()},X0.prototype.Owner=function(){return this.To()||Q0(this.parentCtx)};const Lp=h.ProgContext;Lp.prototype.Starter=function(){var i,o,a,l,c,u,f,p,g,R,I,et;const n=(a=(o=(i=this.head())==null?void 0:i.starterExp())==null?void 0:o.starter())==null?void 0:a.getFormattedText();let t,e,s;const r=(l=this.block())==null?void 0:l.stat();if(r&&r[0]){const H=(f=(u=(c=r[0].message())==null?void 0:c.messageBody())==null?void 0:u.from())==null?void 0:f.getFormattedText(),Q=(g=(p=r[0].asyncMessage())==null?void 0:p.from())==null?void 0:g.getFormattedText();t=H||Q}else{const H=(R=this.head())==null?void 0:R.children;if(H&&H[0]){const Q=H[0];if(Q instanceof h.ParticipantContext&&(e=(I=Q.name())==null?void 0:I.getFormattedText()),Q instanceof h.GroupContext){const Z=Q.participant();Z&&Z[0]&&(s=(et=Z[0].name())==null?void 0:et.getFormattedText())}}}return n||t||e||s||"_STARTER_"};const _i=h,_p=_i.RetContext,J0=_i.ProgContext,tu=_i.MessageContext,yp=_i.CreationContext;_p.prototype.ReturnTo=function(){var s,r;const e=this.parentCtx.parentCtx.parentCtx;if(e instanceof J0)return e.Starter();{let i=e;for(;i&&!(i instanceof tu)&&!(i instanceof yp);){if(i instanceof J0)return i.Starter();i=i.parentCtx}return i instanceof tu&&((r=(s=i.messageBody())==null?void 0:s.from())==null?void 0:r.getFormattedText())||i.ClosestAncestorStat().Origin()}};const Cp=h.StatContext,Ep=h.ProgContext,bp=h.MessageContext,wp=h.CreationContext;Cp.prototype.Origin=function(){let n=this.parentCtx;for(;n;){if(n instanceof Ep)return n.Starter();if(n instanceof bp||n instanceof wp){const t=n.Owner();if(t)return t}n=n.parentCtx}};const Tp=h.DividerContext;Tp.prototype.Note=function(){var t;let n=(t=this.dividerNote())==null?void 0:t.getFormattedText().trim();if(!n.startsWith("=="))throw new Error("Divider note must start with ==");return n==null?void 0:n.replace(/^=+|=+$/g,"")};const ta=h,vp=ta.MessageContext,Ap=ta.AsyncMessageContext,Sp=ta.CreationContext;vp.prototype.SignatureText=function(){var n,t,e;return(e=(t=(n=this.messageBody())==null?void 0:n.func())==null?void 0:t.signature())==null?void 0:e.map(s=>s==null?void 0:s.getFormattedText()).join(".")},Ap.prototype.SignatureText=function(){var n;return(n=this.content())==null?void 0:n.getFormattedText()},Sp.prototype.SignatureText=function(){var e;const n=this.creationBody().parameters();return"\xAB"+(((e=n==null?void 0:n.parameter())==null?void 0:e.length)>0?n.getFormattedText():"create")+"\xBB"};const Rp=h.MessageContext;class kp{constructor(t,e){$(this,"assignee");$(this,"type");if(e&&!t)throw new Error("assignee must be defined if type is defined");this.assignee=t||"",this.type=e||""}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}Rp.prototype.Assignment=function(){var s,r;let n=this.messageBody().assignment();const t=(s=n==null?void 0:n.assignee())==null?void 0:s.getFormattedText(),e=(r=n==null?void 0:n.type())==null?void 0:r.getFormattedText();if(t)return new kp(t,e)};const Ks=h,Ip=Ks.CreationContext,Op=Ks.StatContext,eu=Ks.MessageContext,Np=Ks.AsyncMessageContext,Pp=Ks.RetContext;Ip.prototype.From=function(){if(this.parentCtx instanceof Op)return this.ClosestAncestorStat().Origin()},eu.prototype.ProvidedFrom=function(){var n,t;return(t=(n=this.messageBody())==null?void 0:n.from())==null?void 0:t.getFormattedText()},eu.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},Np.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},Pp.prototype.From=function(){return this.ClosestAncestorStat().Origin()},L.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const nu=h,su=nu.StatContext;L.ParserRuleContext.prototype.ClosestAncestorStat=function(){let n=this;for(;!(n instanceof su);)n=n.parentCtx;if(n instanceof su)return n},L.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var t;const n=(t=this.ClosestAncestorStat())==null?void 0:t.parentCtx;if(n instanceof nu.BlockContext)return n;console.warn("Cannot find closest ancestor block for context:",this)};function Mp(n,t){switch(n){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,s){return t.apply(this,arguments)};case 3:return function(e,s,r){return t.apply(this,arguments)};case 4:return function(e,s,r,i){return t.apply(this,arguments)};case 5:return function(e,s,r,i,o){return t.apply(this,arguments)};case 6:return function(e,s,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,s,r,i,o,a,l){return t.apply(this,arguments)};case 8:return function(e,s,r,i,o,a,l,c){return t.apply(this,arguments)};case 9:return function(e,s,r,i,o,a,l,c,u){return t.apply(this,arguments)};case 10:return function(e,s,r,i,o,a,l,c,u,f){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var ru=Mp;function Fp(n,t){return function(){return t.call(this,n.apply(this,arguments))}}var Dp=Fp;function $p(n){return n!=null&&typeof n=="object"&&n["@@functional/placeholder"]===!0}var ea=$p,Bp=ea;function Up(n){return function t(e){return arguments.length===0||Bp(e)?t:n.apply(this,arguments)}}var yi=Up,na=yi,Ys=ea;function Hp(n){return function t(e,s){switch(arguments.length){case 0:return t;case 1:return Ys(e)?t:na(function(r){return n(e,r)});default:return Ys(e)&&Ys(s)?t:Ys(e)?na(function(r){return n(r,s)}):Ys(s)?na(function(r){return n(e,r)}):n(e,s)}}}var iu=Hp,Ci=yi,xs=iu,Wt=ea;function Gp(n){return function t(e,s,r){switch(arguments.length){case 0:return t;case 1:return Wt(e)?t:xs(function(i,o){return n(e,i,o)});case 2:return Wt(e)&&Wt(s)?t:Wt(e)?xs(function(i,o){return n(i,s,o)}):Wt(s)?xs(function(i,o){return n(e,i,o)}):Ci(function(i){return n(e,s,i)});default:return Wt(e)&&Wt(s)&&Wt(r)?t:Wt(e)&&Wt(s)?xs(function(i,o){return n(i,o,r)}):Wt(e)&&Wt(r)?xs(function(i,o){return n(i,s,o)}):Wt(s)&&Wt(r)?xs(function(i,o){return n(e,i,o)}):Wt(e)?Ci(function(i){return n(i,s,r)}):Wt(s)?Ci(function(i){return n(e,i,r)}):Wt(r)?Ci(function(i){return n(e,s,i)}):n(e,s,r)}}}var sa=Gp,ou=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function zp(n){return Object.prototype.toString.call(n)==="[object String]"}var Vp=zp,jp=yi,Zp=ou,qp=Vp,Wp=jp(function(t){return Zp(t)?!0:!t||typeof t!="object"||qp(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),Kp=Wp,Yp=function(){function n(t){this.f=t}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(t){return t},n.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},n}();function Xp(n){return new Yp(n)}var Qp=Xp,Jp=ru,tg=iu,eg=tg(function(t,e){return Jp(t.length,function(){return t.apply(e,arguments)})}),ng=eg,sg=Kp,rg=Qp,ig=ng;function og(n,t,e){for(var s=0,r=e.length;s<r;){if(t=n["@@transducer/step"](t,e[s]),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return n["@@transducer/result"](t)}function au(n,t,e){for(var s=e.next();!s.done;){if(t=n["@@transducer/step"](t,s.value),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s=e.next()}return n["@@transducer/result"](t)}function lu(n,t,e,s){return n["@@transducer/result"](e[s](ig(n["@@transducer/step"],n),t))}var cu=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function ag(n,t,e){if(typeof n=="function"&&(n=rg(n)),sg(e))return og(n,t,e);if(typeof e["fantasy-land/reduce"]=="function")return lu(n,t,e,"fantasy-land/reduce");if(e[cu]!=null)return au(n,t,e[cu]());if(typeof e.next=="function")return au(n,t,e);if(typeof e.reduce=="function")return lu(n,t,e,"reduce");throw new TypeError("reduce: list must be array or iterable")}var lg=ag,cg=sa,ug=lg,hg=cg(ug),fg=hg,dg=ou;function pg(n,t){return function(){var e=arguments.length;if(e===0)return t();var s=arguments[e-1];return dg(s)||typeof s[n]!="function"?t.apply(this,arguments):s[n].apply(s,Array.prototype.slice.call(arguments,0,e-1))}}var uu=pg,gg=uu,xg=sa,mg=xg(gg("slice",function(t,e,s){return Array.prototype.slice.call(s,t,e)})),Lg=mg,_g=uu,yg=yi,Cg=Lg,Eg=yg(_g("tail",Cg(1,1/0))),bg=Eg,wg=ru,Tg=Dp,vg=fg,Ag=bg;function Sg(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return wg(arguments[0].length,vg(Tg,arguments[0],Ag(arguments)))}var Rg=Sg;const kg=Rg;var Ig=sa,Og=Ig(function(t,e,s){return s.replace(t,e)}),Ng=Og;const Xs=Ng,Pg=Xs(/[\n\r]/g," "),Mg=Xs(/\s+/g," "),Fg=Xs(/\s*([,;.()])\s*/g,"$1"),Dg=Xs(/\s+$/g,""),$g=Xs(/^"(.*)"$/,"$1"),Bg=kg(Pg,Mg,Fg,Dg,$g);class Ug extends L.error.ErrorListener{syntaxError(t,e,s,r,i){}}function Hg(n){const t=new L.InputStream(n),e=new N(t),s=new L.CommonTokenStream(e),r=new h(s);return r.addErrorListener(new Ug),r._syntaxErrors?null:r.prog()}L.ParserRuleContext.prototype.getFormattedText=function(){const n=this.parser.getTokenStream().getText(this.getSourceInterval());return Bg(n)},L.ParserRuleContext.prototype.getComment=function(){let n=this.start.tokenIndex,t=N.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(n=this.stop.tokenIndex);let e=this.parser.getTokenStream().getHiddenTokensToLeft(n,t);return e&&e.map(s=>s.text.substring(2)).join("")},L.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const Gg=h.ProgContext,zg=Hg,hu=h.GroupContext,fu=h.ParticipantContext,du=function(n){const t=Ae;return t.depth(t)(n)},Ei=function(n,t){return fe.getParticipants(n,t)};function bi(n,t){let e=document.querySelector(".textarea-hidden-div");if(!e){const r=document.createElement("div");r.className="textarea-hidden-div ",r.style.fontSize="13px",r.style.fontFamily="Helvetica, Verdana, serif",r.style.display="inline",r.style.whiteSpace="nowrap",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.overflow="hidden",r.style.width="0px",r.style.paddingLeft="20px",r.style.paddingRight="20px",r.style.margin="0px",r.style.border="0px",document.body.appendChild(r),e=r}return e.textContent=n,e.scrollWidth}const Vg=100,pu=20,gu=10,jg=100;var ms=(n=>(n[n.MessageContent=0]="MessageContent",n[n.ParticipantName=1]="ParticipantName",n))(ms||{});const Zg=h;class ra extends _{constructor(){super(...arguments);$(this,"explicitParticipants",[]);$(this,"starter","");$(this,"implicitParticipants",[]);$(this,"isBlind",!1)}enterCondition(){this.isBlind=!0}exitCondition(){this.isBlind=!1}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}enterStarter(e){this.starter=e.getFormattedText()}enterParticipant(e){var o,a,l;const s=((o=e==null?void 0:e.name())==null?void 0:o.getFormattedText())||"Missing `Participant` name",r=(l=(a=e.label())==null?void 0:a.name())==null?void 0:l.getFormattedText(),i={name:s,label:r,left:""};this.explicitParticipants.push(i)}enterFrom(e){if(this.isBlind)return;const s=e==null?void 0:e.getFormattedText();if(e.ClosestAncestorBlock().parentCtx instanceof Zg.ProgContext&&e.ClosestAncestorStat()===e.ClosestAncestorBlock().children[0]){this.starter=s;return}this.enterTo(e)}enterTo(e){if(this.isBlind)return;const s=e==null?void 0:e.getFormattedText();if(s===this.starter||this.explicitParticipants.some(i=>i.name===s))return;const r={name:s,left:""};this.implicitParticipants.push(r)}enterCreation(e){if(this.isBlind)return;const s=e==null?void 0:e.Owner();if(s===this.starter||this.explicitParticipants.some(i=>i.name===s))return;const r={name:s,left:""};this.implicitParticipants.push(r)}result(){let e=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||e.unshift(this._getStarter()),e=this._dedup(e),ra._assignLeft(e),e}_isStarterExplicitlyPositioned(){return this.starter&&this.explicitParticipants.find(e=>e.name===this.starter)}_getStarter(){return{name:this.starter||"_STARTER_",left:""}}_dedup(e){return e.filter((s,r)=>e.findIndex(i=>i.name===s.name)===r)}static _assignLeft(e){e.reduce((s,r)=>(r.left=s.name||"",r),{name:"",left:""})}}function qg(n){const t=new ra;return L.tree.ParseTreeWalker.DEFAULT.walk(t,n),t.result()}function wi(n,t){return{position:n,velocity:t}}function xu(n,t){return wi(n.position+t.position,n.velocity+t.velocity)}const mu=Math.sqrt(Number.EPSILON);function Wg(n,t){let e=n.position-t.position;return e<-mu||Math.abs(e)<=mu&&n.velocity<t.velocity}function Kg(){return{delta:1/0,dualLessThan:function(n,t){let e=Wg(n,t);return e&&([n,t]=[t,n]),n.velocity<t.velocity&&(this.delta=Math.min(this.delta,(n.position-t.position)/(t.velocity-n.velocity))),e}}}function Yg(n,t){let e=Array();for(let s=0;s<n;s++){e.push([]);for(let r=0;r<s;r++)t[r][s]>0&&e[s].push({i:r,length:wi(t[r][s],0)})}return e}function Xg(n,t){let e=Kg(),s=wi(0,0),r=[];for(let i=0;i<n.length;i++){let o=null;i>0&&(s=xu(s,t[i-1]));for(let a of n[i]){let l=xu(r[a.i].maximum,a.length);e.dualLessThan(s,l)&&(o=a.i,s=l)}r.push({argument:o,maximum:s})}return[e.delta,r]}function Qg(n,t,e){let s=n.length-1;for(;s>0;){let r=n[s].argument;r!==null?s=r:(s--,e[s].velocity=0)}}function Jg(n,t){for(let e=0;e<n.length;e++)n[e].position+=n[e].velocity*t}function tx(n){let t=[];for(let e of n)t.push(e.maximum.position);return t}function ex(n){const t=n.length;let e=Yg(t,n),s=[];for(let r=1;r<t;r++)s.push(wi(0,1));for(;;){let[r,i]=Xg(e,s);if(r==1/0)return tx(i);i[t-1].maximum.velocity>0?Qg(i,e,s):Jg(s,r)}}var Qs=(n=>(n[n.SyncMessage=0]="SyncMessage",n[n.AsyncMessage=1]="AsyncMessage",n[n.CreationMessage=2]="CreationMessage",n))(Qs||{});class nx extends _{constructor(){super(...arguments);$(this,"isBlind",!1);$(this,"ownableMessages",[]);$(this,"enterMessage",e=>this._addOwnedMessage(Qs.SyncMessage)(e));$(this,"enterAsyncMessage",e=>this._addOwnedMessage(Qs.AsyncMessage)(e));$(this,"enterCreation",e=>this._addOwnedMessage(Qs.CreationMessage)(e));$(this,"_addOwnedMessage",e=>s=>{if(this.isBlind)return;let r=s.From();const i=s==null?void 0:s.Owner(),o=s==null?void 0:s.SignatureText();this.ownableMessages.push({from:r,signature:o,type:e,to:i})})}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function sx(n){const t=L.tree.ParseTreeWalker.DEFAULT,e=new nx;return t.walk(e,n),e.result()}class Ls{constructor(t,e){$(this,"m",[]);$(this,"widthProvider");$(this,"participantModels");$(this,"ownableMessages");this.participantModels=qg(t),this.ownableMessages=sx(t),this.widthProvider=e,this.walkThrough()}getPosition(t){const e=this.participantModels.findIndex(s=>s.name===t);if(e===-1)throw Error(`Participant ${t} not found`);return this.getParticipantGap(this.participantModels[0])+ex(this.m)[e]+gu}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}withMessageGaps(t,e){t.forEach(s=>{const r=e.findIndex(l=>l.name===s.from),i=e.findIndex(l=>l.name===s.to);if(r===-1||i===-1){console.warn(`Participant ${s.from} or ${s.to} not found`);return}let o=Math.min(r,i),a=Math.max(r,i);try{let l=this.getMessageWidth(s);this.m[o][a]=Math.max(l+gu,this.m[o][a])}catch{console.warn(`Could not set message gap between ${s.from} and ${s.to}`)}})}getMessageWidth(t){const e=Ls.half(this.widthProvider,t.to);let s=this.widthProvider(t.signature,ms.MessageContent);return t.type===Qs.CreationMessage&&(s+=e),s}withParticipantGaps(t){this.m=t.map((e,s)=>t.map((r,i)=>i-s===1?this.getParticipantGap(r):0))}getParticipantGap(t){let e=this.labelOrName(t.left);const s=Ls.half(this.widthProvider,e),r=Ls.half(this.widthProvider,t.label||t.name),i=t.left&&t.left!=="_STARTER_",o=t.name&&t.name!=="_STARTER_";return(i&&s||0)+(o&&r||0)}labelOrName(t){const e=this.participantModels.findIndex(s=>s.name===t);return e===-1?"":this.participantModels[e].label||this.participantModels[e].name}static half(t,e){if(e==="_STARTER_")return pu/2;const s=this.halfWithMargin(t,e);return Math.max(s,Vg/2)}static halfWithMargin(t,e){return this._getParticipantWidth(t,e)/2+pu/2}static _getParticipantWidth(t,e){return Math.max(t(e||"",ms.ParticipantName),jg)}getWidth(){const t=this.participantModels[this.participantModels.length-1].name,e=this.getPosition(t)+Ls.halfWithMargin(this.widthProvider,t);return Math.max(e,200)}}let Lu=0;setTimeout(function(){Lu||console.warn("[vue-sequence] Store is a function and is not initiated in 1 second.")},1e3);const _u=()=>(Lu=j3(),{state:{warning:void 0,code:"",theme:"naked",scale:1,selected:[],cursor:null,showTips:!1,onElementClick:n=>{console.log("Element clicked",n)}},getters:{rootContext:n=>zg(n.code),title:(n,t)=>{var e,s;return(s=(e=t.rootContext)==null?void 0:e.title())==null?void 0:s.content()},participants:(n,t)=>Ei(t.rootContext,!0),coordinates:(n,t)=>new Ls(t.rootContext,bi),centerOf:(n,t)=>e=>{if(!e)return console.error("[vue-sequence] centerOf: entity is undefined"),0;try{return t.coordinates.getPosition(e)||0}catch(s){return console.error(s),0}},GroupContext:()=>hu,ParticipantContext:()=>fu,cursor:n=>n.cursor,distance:(n,t)=>(e,s)=>t.centerOf(e)-t.centerOf(s),distance2:(n,t)=>(e,s)=>!e||!s?0:t.centerOf(s)-t.centerOf(e),onElementClick:n=>n.onElementClick},mutations:{code:function(n,t){n.code=t},setScale:function(n,t){n.scale=t},onSelect:function(n,t){n.selected.includes(t)?n.selected=n.selected.filter(e=>e!==t):n.selected.push(t)},cursor:function(n,t){n.cursor=t}},actions:{updateCode:function({commit:n,getters:t},e){if(typeof e=="string")throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");n("code",e.code)}},strict:!1}),vE="",_t=(n,t)=>{const e=n.__vccOpts||n;for(const[s,r]of t)e[s]=r;return e},rx={name:"Privacy"},ix=[(n=>(Ve("data-v-70836592"),n=n(),je(),n))(()=>C("div",{class:"tooltip bottom whitespace-normal","data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser."},[C("svg",{class:"fill-current h-6 w-6 m-auto",xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 214.27 214.27"},[C("path",{d:"M196.926 55.171c-.11-5.785-.215-11.25-.215-16.537a7.5 7.5 0 0 0-7.5-7.5c-32.075 0-56.496-9.218-76.852-29.01a7.498 7.498 0 0 0-10.457 0c-20.354 19.792-44.771 29.01-76.844 29.01a7.5 7.5 0 0 0-7.5 7.5c0 5.288-.104 10.755-.215 16.541-1.028 53.836-2.436 127.567 87.331 158.682a7.495 7.495 0 0 0 4.912 0c89.774-31.116 88.368-104.849 87.34-158.686zm-89.795 143.641c-76.987-27.967-75.823-89.232-74.79-143.351.062-3.248.122-6.396.164-9.482 30.04-1.268 54.062-10.371 74.626-28.285 20.566 17.914 44.592 27.018 74.634 28.285.042 3.085.102 6.231.164 9.477 1.032 54.121 2.195 115.388-74.798 143.356z"}),C("path",{d:"m132.958 81.082-36.199 36.197-15.447-15.447a7.501 7.501 0 0 0-10.606 10.607l20.75 20.75a7.477 7.477 0 0 0 5.303 2.196 7.477 7.477 0 0 0 5.303-2.196l41.501-41.5a7.498 7.498 0 0 0 .001-10.606 7.5 7.5 0 0 0-10.606-.001z"})])],-1))];function ox(n,t,e,s,r,i){return O(),q("div",null,ix)}const ax=_t(rx,[["render",ox],["__scopeId","data-v-70836592"]]),lx={name:"DiagramTitle",props:["context"],computed:{title:function(){var n;return(n=this.context)==null?void 0:n.content()}}},cx={class:"title text-skin-title text-base font-semibold"};function ux(n,t,e,s,r,i){return O(),q("div",cx,Gt(i.title),1)}const hx=_t(lx,[["render",ux]]);var ia={exports:{}},fx={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},yu={exports:{}},dx=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},px=dx,gx=Array.prototype.concat,xx=Array.prototype.slice,Cu=yu.exports=function(t){for(var e=[],s=0,r=t.length;s<r;s++){var i=t[s];px(i)?e=gx.call(e,xx.call(i)):e.push(i)}return e};Cu.wrap=function(n){return function(){return n(Cu(arguments))}};var Ti=fx,Js=yu.exports,Eu={};for(var oa in Ti)Ti.hasOwnProperty(oa)&&(Eu[Ti[oa]]=oa);var Ce=ia.exports={to:{},get:{}};Ce.get=function(n){var t=n.substring(0,3).toLowerCase(),e,s;switch(t){case"hsl":e=Ce.get.hsl(n),s="hsl";break;case"hwb":e=Ce.get.hwb(n),s="hwb";break;default:e=Ce.get.rgb(n),s="rgb";break}return e?{model:s,value:e}:null},Ce.get.rgb=function(n){if(!n)return null;var t=/^#([a-f0-9]{3,4})$/i,e=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,s=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/(\D+)/,o=[0,0,0,1],a,l,c;if(a=n.match(e)){for(c=a[2],a=a[1],l=0;l<3;l++){var u=l*2;o[l]=parseInt(a.slice(u,u+2),16)}c&&(o[3]=parseInt(c,16)/255)}else if(a=n.match(t)){for(a=a[1],c=a[3],l=0;l<3;l++)o[l]=parseInt(a[l]+a[l],16);c&&(o[3]=parseInt(c+c,16)/255)}else if(a=n.match(s)){for(l=0;l<3;l++)o[l]=parseInt(a[l+1],0);a[4]&&(o[3]=parseFloat(a[4]))}else if(a=n.match(r)){for(l=0;l<3;l++)o[l]=Math.round(parseFloat(a[l+1])*2.55);a[4]&&(o[3]=parseFloat(a[4]))}else return(a=n.match(i))?a[1]==="transparent"?[0,0,0,0]:(o=Ti[a[1]],o?(o[3]=1,o):null):null;for(l=0;l<3;l++)o[l]=Cn(o[l],0,255);return o[3]=Cn(o[3],0,1),o},Ce.get.hsl=function(n){if(!n)return null;var t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var s=parseFloat(e[4]),r=(parseFloat(e[1])+360)%360,i=Cn(parseFloat(e[2]),0,100),o=Cn(parseFloat(e[3]),0,100),a=Cn(isNaN(s)?1:s,0,1);return[r,i,o,a]}return null},Ce.get.hwb=function(n){if(!n)return null;var t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,e=n.match(t);if(e){var s=parseFloat(e[4]),r=(parseFloat(e[1])%360+360)%360,i=Cn(parseFloat(e[2]),0,100),o=Cn(parseFloat(e[3]),0,100),a=Cn(isNaN(s)?1:s,0,1);return[r,i,o,a]}return null},Ce.to.hex=function(){var n=Js(arguments);return"#"+vi(n[0])+vi(n[1])+vi(n[2])+(n[3]<1?vi(Math.round(n[3]*255)):"")},Ce.to.rgb=function(){var n=Js(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"},Ce.to.rgb.percent=function(){var n=Js(arguments),t=Math.round(n[0]/255*100),e=Math.round(n[1]/255*100),s=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+t+"%, "+e+"%, "+s+"%)":"rgba("+t+"%, "+e+"%, "+s+"%, "+n[3]+")"},Ce.to.hsl=function(){var n=Js(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"},Ce.to.hwb=function(){var n=Js(arguments),t="";return n.length>=4&&n[3]!==1&&(t=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+t+")"},Ce.to.keyword=function(n){return Eu[n.slice(0,3)]};function Cn(n,t,e){return Math.min(Math.max(t,n),e)}function vi(n){var t=n.toString(16).toUpperCase();return t.length<2?"0"+t:t}function mx(n){const t=ia.exports.get.rgb(n);let[e,s,r]=t;return(e*299+s*587+r*114)/1e3}function Lx(n){const t=ia.exports.get.rgb(n);let[e,s,r]=t;return`rgb(${e}, ${s}, ${r})`}const _x=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
23
16
  <g clip-path="url(#clip0_544_54)">
24
17
  <path d="M15.5489 4.19771C15.5489 5.18773 15.1485 6.13721 14.4358 6.83726C13.7231 7.53731 12.7565 7.93058 11.7486 7.93058C10.7407 7.93058 9.77403 7.53731 9.06133 6.83726C8.34863 6.13721 7.94824 5.18773 7.94824 4.19771C7.94824 3.20768 8.34863 2.25822 9.06133 1.55818C9.77403 0.858126 10.7407 0.464844 11.7486 0.464844C12.7565 0.464844 13.7231 0.858126 14.4358 1.55818C15.1485 2.25822 15.5489 3.20768 15.5489 4.19771Z" stroke="black"/>
25
18
  <path d="M6.54883 11.2152L17.2025 11.2073M11.7471 8.06641V19.5806V8.06641ZM11.7471 19.4385L6.79789 23.5738L11.7471 19.4385ZM11.7551 19.4385L17.1864 23.3055L11.7551 19.4385Z" stroke="black"/>
@@ -30,12 +23,12 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
30
23
  </clipPath>
31
24
  </defs>
32
25
  </svg>
33
- `,cL=`<svg width="101" height="78" viewBox="0 0 101 78" fill="none" xmlns="http://www.w3.org/2000/svg">
26
+ `,yx=`<svg width="101" height="78" viewBox="0 0 101 78" fill="none" xmlns="http://www.w3.org/2000/svg">
34
27
  <path d="M96.3563 39.4479C96.3563 48.4904 92.6755 57.1625 86.1237 63.5566C79.5718 69.9506 70.6856 73.5427 61.4199 73.5427C52.1541 73.5427 43.2679 69.9506 36.7161 63.5566C30.1642 57.1625 26.4834 48.4904 26.4834 39.4479C26.4834 30.147 30.1642 21.2271 36.7161 14.6504C43.2679 8.07366 52.1541 4.37891 61.4199 4.37891C70.6856 4.37891 79.5718 8.07366 86.1237 14.6504C92.6755 21.2271 96.3563 30.147 96.3563 39.4479V39.4479Z" stroke="black" stroke-width="7.56826"/>
35
28
  <path d="M27.3611 39.4482H3.93945" stroke="black" stroke-width="8"/>
36
29
  <path d="M4.91504 4.37891V74.5168" stroke="black" stroke-width="8"/>
37
30
  </svg>
38
- `,uL=`<svg width="77" height="86" viewBox="0 0 77 86" fill="none" xmlns="http://www.w3.org/2000/svg">
31
+ `,Cx=`<svg width="77" height="86" viewBox="0 0 77 86" fill="none" xmlns="http://www.w3.org/2000/svg">
39
32
  <g clip-path="url(#clip0_544_57)">
40
33
  <path d="M74.0149 46.8888C74.0149 51.5755 73.0918 56.2163 71.2983 60.5463C69.5048 64.8762 66.876 68.8105 63.562 72.1245C60.248 75.4385 56.3137 78.0673 51.9838 79.8608C47.6538 81.6543 43.013 82.5774 38.3263 82.5774C33.6396 82.5774 28.9988 81.6543 24.6689 79.8608C20.3389 78.0673 16.4046 75.4385 13.0907 72.1245C9.77666 68.8105 7.14785 64.8762 5.35433 60.5463C3.56081 56.2163 2.6377 51.5755 2.6377 46.8888C2.6377 42.2021 3.56081 37.5613 5.35433 33.2314C7.14785 28.9014 9.77666 24.9671 13.0907 21.6532C16.4046 18.3392 20.3389 15.7104 24.6689 13.9168C28.9988 12.1233 33.6396 11.2002 38.3263 11.2002C43.013 11.2002 47.6538 12.1233 51.9838 13.9168C56.3137 15.7104 60.248 18.3392 63.562 21.6532C66.876 24.9671 69.5048 28.9014 71.2983 33.2314C73.0918 37.5613 74.0149 42.2021 74.0149 46.8888V46.8888Z" stroke="black" stroke-width="4.98203"/>
41
34
  <path d="M47.5352 2.30371L37.5352 11.5001L47.5352 20.6966" stroke="black" stroke-width="6"/>
@@ -46,10 +39,10 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
46
39
  </clipPath>
47
40
  </defs>
48
41
  </svg>
49
- `,hL=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
42
+ `,Ex=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
50
43
  <path fill-rule="evenodd" clip-rule="evenodd" d="M12.258 0.001L12.514 0.005L12.769 0.01L13.022 0.018L13.273 0.028L13.522 0.04L13.769 0.055L14.015 0.071L14.257 0.09L14.498 0.11L14.737 0.133L14.973 0.157L15.206 0.184L15.437 0.212L15.666 0.243L15.891 0.275L16.114 0.309L16.334 0.345L16.551 0.383L16.765 0.423L16.976 0.464L17.184 0.507L17.389 0.552L17.59 0.598L17.788 0.646L17.982 0.696L18.173 0.747L18.36 0.8L18.543 0.854L18.723 0.91L18.898 0.967L19.07 1.026L19.238 1.086L19.401 1.147L19.561 1.21L19.716 1.274L19.866 1.34L19.94 1.373L20.013 1.406L20.084 1.44L20.154 1.474L20.223 1.509L20.291 1.544L20.358 1.579L20.424 1.614L20.488 1.65L20.552 1.686L20.614 1.722L20.674 1.758L20.734 1.795L20.792 1.832L20.85 1.869L20.905 1.907L20.96 1.945L21.013 1.983L21.065 2.021L21.116 2.06L21.166 2.099L21.214 2.138L21.261 2.177L21.306 2.217L21.35 2.257L21.393 2.297L21.434 2.337L21.474 2.378L21.513 2.419L21.55 2.46L21.586 2.501L21.62 2.542L21.653 2.584L21.685 2.626L21.715 2.668L21.744 2.71L21.771 2.752L21.797 2.795L21.821 2.838L21.844 2.881L21.865 2.924L21.885 2.967L21.903 3.011L21.92 3.054L21.935 3.098L21.948 3.142L21.96 3.186L21.971 3.231L21.98 3.275L21.987 3.32L21.993 3.365L21.997 3.41L21.999 3.455L22 3.5V20.5L21.999 20.545L21.997 20.59L21.993 20.635L21.987 20.68L21.98 20.725L21.971 20.769L21.96 20.814L21.948 20.858L21.935 20.902L21.92 20.946L21.903 20.989L21.885 21.033L21.865 21.076L21.844 21.119L21.821 21.162L21.797 21.205L21.771 21.248L21.744 21.29L21.715 21.332L21.685 21.374L21.653 21.416L21.62 21.458L21.586 21.499L21.55 21.54L21.513 21.581L21.474 21.622L21.434 21.663L21.393 21.703L21.35 21.743L21.306 21.783L21.261 21.823L21.214 21.862L21.166 21.901L21.116 21.94L21.065 21.979L21.013 22.017L20.96 22.055L20.905 22.093L20.85 22.131L20.792 22.168L20.734 22.205L20.674 22.242L20.614 22.278L20.552 22.314L20.488 22.35L20.424 22.386L20.358 22.421L20.291 22.456L20.223 22.491L20.154 22.526L20.084 22.56L20.013 22.594L19.94 22.627L19.866 22.66L19.716 22.726L19.561 22.79L19.401 22.853L19.238 22.914L19.07 22.974L18.898 23.033L18.723 23.09L18.543 23.146L18.36 23.2L18.173 23.253L17.982 23.304L17.788 23.354L17.59 23.402L17.389 23.448L17.184 23.493L16.976 23.536L16.765 23.577L16.551 23.617L16.334 23.655L16.114 23.691L15.891 23.725L15.666 23.757L15.437 23.788L15.206 23.816L14.973 23.843L14.737 23.867L14.498 23.89L14.257 23.91L14.015 23.929L13.769 23.945L13.522 23.96L13.273 23.972L13.022 23.982L12.769 23.99L12.514 23.995L12.258 23.999L12 24L11.742 23.999L11.486 23.995L11.231 23.99L10.978 23.982L10.727 23.972L10.478 23.96L10.231 23.945L9.986 23.929L9.743 23.91L9.502 23.89L9.264 23.867L9.028 23.843L8.794 23.816L8.563 23.788L8.335 23.757L8.109 23.725L7.886 23.691L7.666 23.655L7.449 23.617L7.235 23.577L7.024 23.536L6.816 23.493L6.612 23.448L6.411 23.402L6.213 23.354L6.018 23.304L5.828 23.253L5.641 23.2L5.457 23.146L5.278 23.09L5.102 23.033L4.93 22.974L4.763 22.914L4.599 22.853L4.44 22.79L4.285 22.726L4.134 22.66L4.06 22.627L3.988 22.594L3.916 22.56L3.846 22.526L3.777 22.491L3.709 22.456L3.642 22.421L3.576 22.386L3.512 22.35L3.449 22.314L3.387 22.278L3.326 22.242L3.266 22.205L3.208 22.168L3.151 22.131L3.095 22.093L3.04 22.055L2.987 22.017L2.935 21.979L2.884 21.94L2.835 21.901L2.786 21.862L2.74 21.823L2.694 21.783L2.65 21.743L2.607 21.703L2.566 21.663L2.526 21.622L2.487 21.581L2.45 21.54L2.414 21.499L2.38 21.458L2.347 21.416L2.315 21.374L2.285 21.332L2.256 21.29L2.229 21.248L2.203 21.205L2.179 21.162L2.156 21.119L2.135 21.076L2.115 21.033L2.097 20.989L2.08 20.946L2.065 20.902L2.052 20.858L2.04 20.814L2.029 20.769L2.02 20.725L2.013 20.68L2.007 20.635L2.003 20.59L2.001 20.545L2 20.5V3.5L2.001 3.455L2.003 3.41L2.007 3.365L2.013 3.32L2.02 3.275L2.029 3.231L2.04 3.186L2.052 3.142L2.065 3.098L2.08 3.054L2.097 3.011L2.115 2.967L2.135 2.924L2.156 2.881L2.179 2.838L2.203 2.795L2.229 2.752L2.256 2.71L2.285 2.668L2.315 2.626L2.347 2.584L2.38 2.542L2.414 2.501L2.45 2.46L2.487 2.419L2.526 2.378L2.566 2.337L2.607 2.297L2.65 2.257L2.694 2.217L2.74 2.177L2.786 2.138L2.835 2.099L2.884 2.06L2.935 2.021L2.987 1.983L3.04 1.945L3.095 1.907L3.151 1.869L3.208 1.832L3.266 1.795L3.326 1.758L3.387 1.722L3.449 1.686L3.512 1.65L3.576 1.614L3.642 1.579L3.709 1.544L3.777 1.509L3.846 1.474L3.916 1.44L3.988 1.406L4.06 1.373L4.134 1.34L4.285 1.274L4.44 1.21L4.599 1.147L4.763 1.086L4.93 1.026L5.102 0.967L5.278 0.91L5.457 0.854L5.641 0.8L5.828 0.747L6.018 0.696L6.213 0.646L6.411 0.598L6.612 0.552L6.816 0.507L7.024 0.464L7.235 0.423L7.449 0.383L7.666 0.345L7.886 0.309L8.109 0.275L8.335 0.243L8.563 0.212L8.794 0.184L9.028 0.157L9.264 0.133L9.502 0.11L9.743 0.09L9.986 0.071L10.231 0.055L10.478 0.04L10.727 0.028L10.978 0.018L11.231 0.01L11.486 0.005L11.742 0.001L12 0L12.258 0.001V0.001ZM3 20.5V20.51L3.001 20.531L3.004 20.552L3.008 20.574L3.013 20.595L3.019 20.617L3.026 20.639L3.035 20.662L3.045 20.684L3.056 20.707L3.068 20.73L3.081 20.753L3.096 20.776L3.112 20.8L3.129 20.823L3.147 20.847L3.166 20.871L3.187 20.895L3.209 20.92L3.232 20.944L3.256 20.969L3.308 21.018L3.364 21.068L3.425 21.119L3.491 21.17L3.561 21.221L3.636 21.272L3.715 21.324L3.799 21.376L3.887 21.428L3.979 21.48L4.076 21.532L4.178 21.583L4.283 21.635L4.393 21.687L4.507 21.738L4.626 21.789L4.749 21.84L4.876 21.89L5.007 21.94L5.142 21.99L5.281 22.038L5.425 22.087L5.572 22.134L5.724 22.181L5.879 22.228L6.039 22.273L6.202 22.318L6.369 22.361L6.54 22.404L6.716 22.445L6.894 22.486L7.077 22.525L7.264 22.564L7.454 22.601L7.648 22.636L7.845 22.671L8.047 22.704L8.251 22.735L8.46 22.765L8.672 22.794L8.888 22.821L9.107 22.846L9.329 22.87L9.555 22.891L9.785 22.911L10.018 22.929L10.254 22.945L10.494 22.96L10.737 22.972L10.983 22.982L11.232 22.99L11.485 22.995L11.741 22.999L12 23L12.26 22.999L12.517 22.995L12.771 22.99L13.021 22.982L13.268 22.971L13.512 22.959L13.753 22.945L13.99 22.929L14.223 22.911L14.454 22.89L14.68 22.869L14.904 22.845L15.124 22.819L15.34 22.792L15.552 22.764L15.762 22.733L15.967 22.702L16.169 22.668L16.367 22.634L16.561 22.598L16.752 22.561L16.939 22.522L17.122 22.482L17.301 22.442L17.476 22.4L17.648 22.357L17.816 22.313L17.979 22.268L18.139 22.222L18.294 22.176L18.446 22.129L18.594 22.081L18.737 22.032L18.876 21.983L19.012 21.933L19.143 21.883L19.269 21.833L19.392 21.782L19.51 21.73L19.624 21.679L19.734 21.627L19.84 21.575L19.941 21.523L20.037 21.471L20.129 21.419L20.217 21.366L20.3 21.315L20.379 21.263L20.453 21.211L20.523 21.16L20.588 21.109L20.648 21.058L20.704 21.008L20.755 20.958L20.778 20.934L20.801 20.909L20.822 20.885L20.842 20.861L20.861 20.837L20.879 20.813L20.896 20.789L20.911 20.766L20.925 20.742L20.938 20.719L20.95 20.696L20.96 20.673L20.97 20.651L20.978 20.629L20.984 20.607L20.99 20.585L20.994 20.563L20.998 20.542L20.999 20.521L21 20.5V16.373L20.923 16.428L20.843 16.481L20.76 16.535L20.675 16.588L20.588 16.64L20.498 16.692L20.405 16.743L20.31 16.793L20.213 16.843L20.113 16.892L20.011 16.941L19.906 16.989L19.8 17.036L19.691 17.083L19.58 17.129L19.466 17.174L19.351 17.219L19.233 17.263L19.113 17.306L18.991 17.348L18.867 17.39L18.741 17.431L18.613 17.471L18.483 17.511L18.351 17.549L18.217 17.587L18.082 17.624L17.944 17.661L17.805 17.696L17.663 17.731L17.52 17.765L17.376 17.798L17.229 17.83L17.081 17.861L16.931 17.891L16.78 17.921L16.627 17.95L16.473 17.977L16.317 18.004L16.159 18.03L16 18.055L15.839 18.079L15.677 18.102L15.514 18.124L15.349 18.145L15.183 18.165L15.016 18.184L14.847 18.202L14.678 18.219L14.507 18.235L14.334 18.25L14.161 18.264L13.986 18.277L13.811 18.289L13.634 18.3L13.456 18.31L13.277 18.318L13.098 18.326L12.917 18.332L12.735 18.337L12.553 18.341L12.369 18.344L12.185 18.346H11.815L11.631 18.344L11.447 18.341L11.265 18.337L11.083 18.332L10.902 18.326L10.723 18.318L10.544 18.31L10.366 18.3L10.19 18.289L10.014 18.277L9.839 18.264L9.666 18.25L9.494 18.235L9.323 18.219L9.153 18.202L8.984 18.184L8.817 18.165L8.651 18.145L8.486 18.124L8.323 18.102L8.161 18.079L8 18.055L7.841 18.03L7.684 18.004L7.528 17.977L7.373 17.95L7.22 17.921L7.069 17.891L6.919 17.861L6.771 17.83L6.625 17.798L6.48 17.765L6.337 17.731L6.196 17.696L6.056 17.661L5.919 17.624L5.783 17.587L5.649 17.549L5.517 17.511L5.387 17.471L5.259 17.431L5.133 17.39L5.009 17.348L4.887 17.306L4.767 17.262L4.65 17.219L4.534 17.174L4.421 17.129L4.309 17.083L4.2 17.036L4.094 16.989L3.989 16.941L3.887 16.892L3.787 16.843L3.69 16.793L3.595 16.743L3.502 16.691L3.412 16.64L3.325 16.588L3.24 16.535L3.157 16.481L3.077 16.427L3 16.373V20.5V20.5ZM3 14.846V14.857L3.001 14.878L3.004 14.899L3.008 14.92L3.013 14.942L3.019 14.964L3.026 14.986L3.035 15.008L3.045 15.03L3.056 15.053L3.068 15.076L3.081 15.099L3.096 15.123L3.112 15.146L3.129 15.17L3.147 15.194L3.166 15.218L3.187 15.242L3.209 15.266L3.232 15.291L3.256 15.315L3.308 15.365L3.364 15.415L3.425 15.465L3.491 15.516L3.561 15.567L3.636 15.619L3.715 15.67L3.799 15.722L3.887 15.774L3.979 15.826L4.076 15.878L4.178 15.93L4.283 15.982L4.393 16.033L4.507 16.084L4.626 16.136L4.749 16.186L4.876 16.237L5.007 16.287L5.142 16.336L5.281 16.385L5.425 16.433L5.572 16.481L5.724 16.528L5.879 16.574L6.039 16.619L6.202 16.664L6.369 16.708L6.54 16.75L6.716 16.792L6.894 16.832L7.077 16.872L7.264 16.91L7.454 16.947L7.648 16.983L7.845 17.017L8.047 17.05L8.251 17.082L8.46 17.112L8.672 17.14L8.888 17.167L9.107 17.192L9.329 17.216L9.555 17.238L9.785 17.258L10.018 17.276L10.254 17.292L10.494 17.306L10.737 17.318L10.983 17.328L11.232 17.336L11.485 17.342L11.741 17.345L12 17.346L12.26 17.345L12.517 17.342L12.771 17.336L13.021 17.328L13.268 17.318L13.512 17.306L13.753 17.291L13.99 17.275L14.223 17.257L14.454 17.237L14.68 17.215L14.904 17.191L15.124 17.166L15.34 17.139L15.552 17.11L15.762 17.08L15.967 17.048L16.169 17.015L16.367 16.98L16.561 16.944L16.752 16.907L16.939 16.868L17.122 16.829L17.301 16.788L17.476 16.746L17.648 16.703L17.816 16.659L17.979 16.614L18.139 16.569L18.294 16.522L18.446 16.475L18.594 16.427L18.737 16.379L18.876 16.329L19.012 16.28L19.143 16.23L19.269 16.179L19.392 16.128L19.51 16.077L19.624 16.025L19.734 15.973L19.84 15.921L19.941 15.869L20.037 15.817L20.129 15.765L20.217 15.713L20.3 15.661L20.379 15.609L20.453 15.558L20.523 15.506L20.588 15.455L20.648 15.405L20.704 15.354L20.755 15.305L20.778 15.28L20.801 15.256L20.822 15.231L20.842 15.207L20.861 15.183L20.879 15.159L20.896 15.135L20.911 15.112L20.925 15.089L20.938 15.065L20.95 15.043L20.96 15.02L20.97 14.997L20.978 14.975L20.984 14.953L20.99 14.931L20.994 14.91L20.998 14.888L20.999 14.867L21 14.846V10.707L20.923 10.761L20.843 10.815L20.76 10.869L20.675 10.921L20.588 10.974L20.498 11.025L20.405 11.076L20.31 11.127L20.213 11.177L20.113 11.226L20.011 11.275L19.906 11.323L19.8 11.37L19.691 11.417L19.58 11.463L19.466 11.508L19.351 11.552L19.233 11.596L19.113 11.64L18.991 11.682L18.867 11.724L18.741 11.765L18.613 11.805L18.483 11.844L18.351 11.883L18.217 11.921L18.082 11.958L17.944 11.994L17.805 12.03L17.663 12.065L17.52 12.098L17.376 12.131L17.229 12.164L17.081 12.195L16.931 12.225L16.78 12.255L16.627 12.283L16.473 12.311L16.317 12.338L16.159 12.364L16 12.389L15.839 12.413L15.677 12.436L15.514 12.458L15.349 12.479L15.183 12.499L15.016 12.518L14.847 12.536L14.678 12.553L14.507 12.569L14.334 12.584L14.161 12.598L13.986 12.611L13.811 12.623L13.634 12.634L13.456 12.643L13.277 12.652L13.098 12.659L12.917 12.666L12.735 12.671L12.553 12.675L12.369 12.678L12.185 12.68H11.815L11.631 12.678L11.447 12.675L11.265 12.671L11.083 12.666L10.902 12.659L10.723 12.652L10.544 12.643L10.366 12.634L10.19 12.623L10.014 12.611L9.839 12.598L9.666 12.584L9.494 12.569L9.323 12.553L9.153 12.536L8.984 12.518L8.817 12.499L8.651 12.479L8.486 12.458L8.323 12.436L8.161 12.413L8 12.389L7.841 12.364L7.684 12.338L7.528 12.311L7.373 12.283L7.22 12.255L7.069 12.225L6.919 12.195L6.771 12.164L6.625 12.131L6.48 12.098L6.337 12.065L6.196 12.03L6.056 11.994L5.919 11.958L5.783 11.921L5.649 11.883L5.517 11.844L5.387 11.805L5.259 11.765L5.133 11.724L5.009 11.682L4.887 11.639L4.767 11.596L4.65 11.552L4.534 11.508L4.421 11.462L4.309 11.416L4.2 11.37L4.094 11.323L3.989 11.275L3.887 11.226L3.787 11.177L3.69 11.127L3.595 11.076L3.502 11.025L3.412 10.974L3.325 10.921L3.24 10.869L3.157 10.815L3.077 10.761L3 10.707V14.846V14.846ZM3 9.18V9.191L3.001 9.211L3.004 9.233L3.008 9.254L3.013 9.276L3.019 9.297L3.026 9.319L3.035 9.342L3.045 9.364L3.056 9.387L3.068 9.41L3.081 9.433L3.096 9.456L3.112 9.48L3.129 9.504L3.147 9.527L3.166 9.551L3.187 9.576L3.209 9.6L3.232 9.624L3.256 9.649L3.308 9.699L3.364 9.749L3.425 9.799L3.491 9.85L3.561 9.901L3.636 9.953L3.715 10.004L3.799 10.056L3.887 10.108L3.979 10.16L4.076 10.212L4.178 10.264L4.283 10.315L4.393 10.367L4.507 10.418L4.626 10.469L4.749 10.52L4.876 10.57L5.007 10.62L5.142 10.67L5.281 10.719L5.425 10.767L5.572 10.815L5.724 10.862L5.879 10.908L6.039 10.953L6.202 10.998L6.369 11.041L6.54 11.084L6.716 11.126L6.894 11.166L7.077 11.206L7.264 11.244L7.454 11.281L7.648 11.317L7.845 11.351L8.047 11.384L8.251 11.416L8.46 11.446L8.672 11.474L8.888 11.501L9.107 11.526L9.329 11.55L9.555 11.571L9.785 11.591L10.018 11.609L10.254 11.626L10.494 11.64L10.737 11.652L10.983 11.662L11.232 11.67L11.485 11.676L11.741 11.679L12 11.68L12.26 11.679L12.517 11.676L12.771 11.67L13.021 11.662L13.268 11.652L13.512 11.639L13.753 11.625L13.99 11.609L14.223 11.591L14.454 11.571L14.68 11.549L14.904 11.525L15.124 11.5L15.34 11.473L15.552 11.444L15.762 11.414L15.967 11.382L16.169 11.349L16.367 11.314L16.561 11.278L16.752 11.241L16.939 11.202L17.122 11.163L17.301 11.122L17.476 11.08L17.648 11.037L17.816 10.993L17.979 10.948L18.139 10.903L18.294 10.856L18.446 10.809L18.594 10.761L18.737 10.712L18.876 10.663L19.012 10.614L19.143 10.563L19.269 10.513L19.392 10.462L19.51 10.41L19.624 10.359L19.734 10.307L19.84 10.255L19.941 10.203L20.037 10.151L20.129 10.099L20.217 10.047L20.3 9.995L20.379 9.943L20.453 9.891L20.523 9.84L20.588 9.789L20.648 9.738L20.704 9.688L20.755 9.639L20.778 9.614L20.801 9.589L20.822 9.565L20.842 9.541L20.861 9.517L20.879 9.493L20.896 9.469L20.911 9.446L20.925 9.422L20.938 9.399L20.95 9.376L20.96 9.354L20.97 9.331L20.978 9.309L20.984 9.287L20.99 9.265L20.994 9.243L20.998 9.222L20.999 9.201L21 9.18V5.027L20.923 5.081L20.843 5.135L20.76 5.188L20.675 5.241L20.588 5.294L20.498 5.345L20.405 5.396L20.31 5.447L20.213 5.497L20.113 5.546L20.011 5.594L19.906 5.642L19.8 5.69L19.691 5.736L19.58 5.782L19.466 5.828L19.351 5.872L19.233 5.916L19.113 5.959L18.991 6.002L18.867 6.044L18.741 6.085L18.613 6.125L18.483 6.164L18.351 6.203L18.217 6.241L18.082 6.278L17.944 6.314L17.805 6.35L17.663 6.384L17.52 6.418L17.376 6.451L17.229 6.483L17.081 6.515L16.931 6.545L16.78 6.575L16.627 6.603L16.473 6.631L16.317 6.658L16.159 6.684L16 6.708L15.839 6.732L15.677 6.755L15.514 6.778L15.349 6.799L15.183 6.819L15.016 6.838L14.847 6.856L14.678 6.873L14.507 6.889L14.334 6.904L14.161 6.918L13.986 6.931L13.811 6.943L13.634 6.953L13.456 6.963L13.277 6.972L13.098 6.979L12.917 6.985L12.735 6.991L12.553 6.995L12.369 6.998L12.185 6.999L12 7L11.815 6.999L11.631 6.998L11.447 6.995L11.265 6.991L11.083 6.985L10.902 6.979L10.723 6.972L10.544 6.963L10.366 6.953L10.19 6.943L10.014 6.931L9.839 6.918L9.666 6.904L9.494 6.889L9.323 6.873L9.153 6.856L8.984 6.838L8.817 6.819L8.651 6.799L8.486 6.778L8.323 6.755L8.161 6.732L8 6.708L7.841 6.684L7.684 6.658L7.528 6.631L7.373 6.603L7.22 6.575L7.069 6.545L6.919 6.515L6.771 6.483L6.625 6.451L6.48 6.418L6.337 6.384L6.196 6.35L6.056 6.314L5.919 6.278L5.783 6.241L5.649 6.203L5.517 6.164L5.387 6.125L5.259 6.084L5.133 6.043L5.009 6.002L4.887 5.959L4.767 5.916L4.65 5.872L4.534 5.828L4.421 5.782L4.309 5.736L4.2 5.69L4.094 5.642L3.989 5.594L3.887 5.546L3.787 5.496L3.69 5.447L3.595 5.396L3.502 5.345L3.412 5.293L3.325 5.241L3.24 5.188L3.157 5.135L3.077 5.081L3 5.027V9.18V9.18ZM11.74 1.001L11.483 1.005L11.229 1.01L10.979 1.018L10.732 1.029L10.488 1.041L10.247 1.055L10.01 1.071L9.777 1.089L9.546 1.11L9.32 1.132L9.096 1.155L8.876 1.181L8.66 1.208L8.448 1.236L8.238 1.267L8.033 1.299L7.831 1.332L7.633 1.366L7.439 1.402L7.248 1.44L7.061 1.478L6.878 1.518L6.699 1.559L6.524 1.601L6.352 1.644L6.184 1.687L6.021 1.732L5.861 1.778L5.706 1.824L5.554 1.872L5.406 1.92L5.263 1.968L5.124 2.017L4.988 2.067L4.857 2.117L4.731 2.168L4.608 2.219L4.49 2.27L4.376 2.322L4.266 2.374L4.16 2.426L4.059 2.478L3.963 2.53L3.871 2.582L3.783 2.634L3.7 2.686L3.621 2.738L3.547 2.789L3.477 2.841L3.412 2.892L3.352 2.942L3.296 2.992L3.245 3.042L3.222 3.067L3.199 3.091L3.178 3.115L3.158 3.14L3.139 3.164L3.121 3.188L3.104 3.211L3.089 3.235L3.075 3.258L3.062 3.281L3.05 3.304L3.04 3.327L3.03 3.349L3.022 3.371L3.016 3.394L3.01 3.415L3.006 3.437L3.002 3.458L3.001 3.479L3 3.5L3.001 3.521L3.002 3.542L3.006 3.563L3.01 3.585L3.016 3.606L3.022 3.629L3.03 3.651L3.04 3.673L3.05 3.696L3.062 3.719L3.075 3.742L3.089 3.765L3.104 3.789L3.121 3.812L3.139 3.836L3.158 3.86L3.178 3.885L3.199 3.909L3.222 3.933L3.245 3.958L3.296 4.008L3.352 4.058L3.412 4.108L3.477 4.159L3.547 4.211L3.621 4.262L3.7 4.314L3.783 4.366L3.871 4.418L3.963 4.47L4.059 4.522L4.16 4.574L4.266 4.626L4.376 4.678L4.49 4.73L4.608 4.781L4.731 4.832L4.857 4.883L4.988 4.933L5.124 4.983L5.263 5.032L5.406 5.08L5.554 5.128L5.706 5.176L5.861 5.222L6.021 5.268L6.184 5.313L6.352 5.356L6.524 5.399L6.699 5.441L6.878 5.482L7.061 5.522L7.248 5.56L7.439 5.598L7.633 5.634L7.831 5.668L8.033 5.701L8.238 5.733L8.448 5.764L8.66 5.792L8.876 5.819L9.096 5.845L9.32 5.868L9.546 5.89L9.777 5.911L10.01 5.929L10.247 5.945L10.488 5.959L10.732 5.971L10.979 5.982L11.229 5.99L11.483 5.995L11.74 5.999L12 6L12.26 5.999L12.517 5.995L12.771 5.99L13.021 5.982L13.268 5.971L13.512 5.959L13.753 5.945L13.99 5.929L14.223 5.911L14.454 5.89L14.68 5.868L14.904 5.845L15.124 5.819L15.34 5.792L15.552 5.764L15.762 5.733L15.967 5.701L16.169 5.668L16.367 5.634L16.561 5.598L16.752 5.56L16.939 5.522L17.122 5.482L17.301 5.441L17.476 5.399L17.648 5.356L17.816 5.313L17.979 5.268L18.139 5.222L18.294 5.176L18.446 5.128L18.594 5.08L18.737 5.032L18.876 4.983L19.012 4.933L19.143 4.883L19.269 4.832L19.392 4.781L19.51 4.73L19.624 4.678L19.734 4.626L19.84 4.574L19.941 4.522L20.037 4.47L20.129 4.418L20.217 4.366L20.3 4.314L20.379 4.262L20.453 4.211L20.523 4.159L20.588 4.108L20.648 4.058L20.704 4.008L20.755 3.958L20.778 3.933L20.801 3.909L20.822 3.885L20.842 3.86L20.861 3.836L20.879 3.812L20.896 3.789L20.911 3.765L20.925 3.742L20.938 3.719L20.95 3.696L20.96 3.673L20.97 3.651L20.978 3.629L20.984 3.606L20.99 3.585L20.994 3.563L20.998 3.542L20.999 3.521L21 3.5L20.999 3.479L20.998 3.458L20.994 3.437L20.99 3.415L20.984 3.394L20.978 3.371L20.97 3.349L20.96 3.327L20.95 3.304L20.938 3.281L20.925 3.258L20.911 3.235L20.896 3.211L20.879 3.188L20.861 3.164L20.842 3.14L20.822 3.115L20.801 3.091L20.778 3.067L20.755 3.042L20.704 2.992L20.648 2.942L20.588 2.892L20.523 2.841L20.453 2.789L20.379 2.738L20.3 2.686L20.217 2.634L20.129 2.582L20.037 2.53L19.941 2.478L19.84 2.426L19.734 2.374L19.624 2.322L19.51 2.27L19.392 2.219L19.269 2.168L19.143 2.117L19.012 2.067L18.876 2.017L18.737 1.968L18.594 1.92L18.446 1.872L18.294 1.824L18.139 1.778L17.979 1.732L17.816 1.687L17.648 1.644L17.476 1.601L17.301 1.559L17.122 1.518L16.939 1.478L16.752 1.44L16.561 1.402L16.367 1.366L16.169 1.332L15.967 1.299L15.762 1.267L15.552 1.236L15.34 1.208L15.124 1.181L14.904 1.155L14.68 1.132L14.454 1.11L14.223 1.089L13.99 1.071L13.753 1.055L13.512 1.041L13.268 1.029L13.021 1.018L12.771 1.01L12.517 1.005L12.26 1.001L12 1L11.74 1.001V1.001Z" fill="black"/>
51
44
  </svg>
52
- `,fL=`<svg width="77" height="80" viewBox="0 0 77 80" fill="none" xmlns="http://www.w3.org/2000/svg">
45
+ `,bx=`<svg width="77" height="80" viewBox="0 0 77 80" fill="none" xmlns="http://www.w3.org/2000/svg">
53
46
  <g clip-path="url(#clip0_544_61)">
54
47
  <path d="M74.0149 38.8888C74.0149 43.5755 73.0918 48.2163 71.2983 52.5463C69.5048 56.8762 66.876 60.8105 63.562 64.1245C60.248 67.4385 56.3137 70.0673 51.9838 71.8608C47.6538 73.6543 43.013 74.5774 38.3263 74.5774C33.6396 74.5774 28.9988 73.6543 24.6689 71.8608C20.3389 70.0673 16.4046 67.4385 13.0907 64.1245C9.77666 60.8105 7.14785 56.8762 5.35433 52.5463C3.56081 48.2163 2.6377 43.5755 2.6377 38.8888C2.6377 34.2021 3.56081 29.5613 5.35433 25.2314C7.14785 20.9014 9.77666 16.9671 13.0907 13.6532C16.4046 10.3392 20.3389 7.71035 24.6689 5.91683C28.9988 4.12331 33.6396 3.2002 38.3263 3.2002C43.013 3.2002 47.6538 4.12331 51.9838 5.91683C56.3137 7.71035 60.248 10.3392 63.562 13.6532C66.876 16.9671 69.5048 20.9014 71.2983 25.2314C73.0918 29.5613 74.0149 34.2021 74.0149 38.8888V38.8888Z" stroke="black" stroke-width="4.98203"/>
55
48
  <path d="M2.69922 75.4727L75.6992 75.5154" stroke="black" stroke-width="8"/>
@@ -60,7 +53,7 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
60
53
  </clipPath>
61
54
  </defs>
62
55
  </svg>
63
- `,dL=`<?xml version="1.0" encoding="UTF-8"?>
56
+ `,wx=`<?xml version="1.0" encoding="UTF-8"?>
64
57
  <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
65
58
  <!-- Generator: Sketch 64 (93537) - https://sketch.com -->
66
59
  <title>Icon-Architecture/16/Arch_Amazon-CloudWatch_16</title>
@@ -77,7 +70,7 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
77
70
  </g>
78
71
  <path d="M18.9074368,18.522369 L16.9527886,16.7879726 C16.8210145,16.9276688 16.6782593,17.0526083 16.5285161,17.1726289 L18.5220975,18.9453925 C18.6388972,19.048689 18.8235806,19.0408188 18.9303974,18.9227657 C19.0352176,18.8086477 19.0252348,18.627633 18.9074368,18.522369 M14.0248095,17.0831053 C15.6769763,17.0831053 17.0196739,15.7589433 17.0196739,14.1317785 C17.0196739,12.5046136 15.6769763,11.1804516 14.0248095,11.1804516 C12.3736409,11.1804516 11.0299451,12.5046136 11.0299451,14.1317785 C11.0299451,15.7589433 12.3736409,17.0831053 14.0248095,17.0831053 M19.6721255,19.5818954 C19.417562,19.8593201 19.0651663,20 18.7137689,20 C18.4062961,20 18.0988234,19.8937522 17.8542428,19.6763378 L15.6510209,17.7186243 C15.1528751,17.9380063 14.6048149,18.0668809 14.0248095,18.0668809 C11.8225858,18.0668809 10.0316569,16.3019875 10.0316569,14.1317785 C10.0316569,11.9625532 11.8225858,10.196676 14.0248095,10.196676 C16.2270331,10.196676 18.017962,11.9625532 18.017962,14.1317785 C18.017962,14.8017297 17.8312821,15.4234758 17.5307974,15.9763577 L19.5762898,17.7924075 C20.1013894,18.2606847 20.1443158,19.0634456 19.6721255,19.5818954 M6.53764845,14.1317785 L9.03336879,14.1317785 L9.03336879,15.1155541 L6.53764845,15.1155541 C5.3127489,15.1155541 4,13.9596177 4,12.2389942 C4,10.8459679 4.75171097,9.77660381 6.03251465,9.30832662 C6.03151636,9.27389447 6.03151636,9.23847855 6.03151636,9.2040464 C6.03151636,7.60934613 7.12963331,5.95463555 8.58713399,5.3555162 C10.2832255,4.65506796 12.0871322,5.00234075 13.4008794,6.28518415 C13.7492819,6.62458674 14.0437769,7.02498342 14.2813695,7.4814553 C14.6028183,7.28273263 14.9731832,7.17451731 15.3585224,7.17451731 C16.2619732,7.17451731 17.2722408,7.81593901 17.5048419,9.21388416 C18.7596901,9.54246521 19.9726102,10.4829547 19.9726102,12.2606372 C19.9726102,12.6334882 19.9206992,12.9876474 19.815879,13.3113096 L18.8645104,13.0142094 C18.9373854,12.7859734 18.9743221,12.5331431 18.9743221,12.2606372 C18.9743221,10.6147806 17.5637409,10.2035624 16.95778,10.1032173 C16.8250077,10.0805905 16.7072097,10.0077911 16.6313398,9.89859199 C16.5544716,9.79037667 16.524523,9.65559941 16.5504785,9.52574103 C16.4736103,8.54196541 15.8596631,8.15829292 15.3585224,8.15829292 C15.0270908,8.15829292 14.7146266,8.31963213 14.5009929,8.60099195 C14.3911812,8.74560697 14.2154825,8.81545504 14.0268061,8.7928282 C13.8461159,8.76626625 13.6933778,8.6432943 13.6314839,8.47310112 C13.4128588,7.87594932 13.0993964,7.37422376 12.6990828,6.98366484 C12.2099216,6.50751744 10.8652275,5.4804557 8.97247321,6.26354109 C7.88234257,6.71115899 7.0298045,8.00285638 7.0298045,9.2040464 C7.0298045,9.33882366 7.03679251,9.47163337 7.05376341,9.60050798 C7.07273089,9.74118789 7.02880621,9.8818678 6.93396884,9.98811557 C6.86009551,10.0707527 6.7602667,10.1258442 6.65245158,10.1465034 C6.02353005,10.3088264 4.99828814,10.7957953 4.99828814,12.2389942 C4.99828814,13.3545957 5.80989639,14.1317785 6.53764845,14.1317785" id="Amazon-CloudWatch_Icon_16_Squid" fill="#FFFFFF"></path>
79
72
  </g>
80
- </svg>`,pL=`<?xml version="1.0" encoding="UTF-8"?>
73
+ </svg>`,Tx=`<?xml version="1.0" encoding="UTF-8"?>
81
74
  <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
82
75
  <!-- Generator: Sketch 64 (93537) - https://sketch.com -->
83
76
  <title>Icon-Architecture/16/Arch_Amazon-CloudFront_16</title>
@@ -94,7 +87,7 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
94
87
  </g>
95
88
  <path d="M16,15.4980737 C16,15.2219556 15.775,14.9978597 15.5,14.9978597 C15.225,14.9978597 15,15.2219556 15,15.4980737 C15,15.7741919 15.225,15.9982877 15.5,15.9982877 C15.775,15.9982877 16,15.7741919 16,15.4980737 M17,15.4980737 C17,16.3254277 16.327,16.9987158 15.5,16.9987158 C14.673,16.9987158 14,16.3254277 14,15.4980737 C14,14.6707197 14.673,13.9974316 15.5,13.9974316 C16.327,13.9974316 17,14.6707197 17,15.4980737 M9,11.4963614 C9,11.2202433 8.775,10.9961474 8.5,10.9961474 C8.225,10.9961474 8,11.2202433 8,11.4963614 C8,11.7724796 8.225,11.9965755 8.5,11.9965755 C8.775,11.9965755 9,11.7724796 9,11.4963614 M10,11.4963614 C10,12.3237155 9.327,12.9970035 8.5,12.9970035 C7.673,12.9970035 7,12.3237155 7,11.4963614 C7,10.6690074 7.673,9.99571934 8.5,9.99571934 C9.327,9.99571934 10,10.6690074 10,11.4963614 M12,7.49464918 C12,7.77076733 12.225,7.99486321 12.5,7.99486321 C12.775,7.99486321 13,7.77076733 13,7.49464918 C13,7.21853103 12.775,6.99443515 12.5,6.99443515 C12.225,6.99443515 12,7.21853103 12,7.49464918 M11,7.49464918 C11,6.66729517 11.673,5.99400708 12.5,5.99400708 C13.327,5.99400708 14,6.66729517 14,7.49464918 C14,8.32200319 13.327,8.99529128 12.5,8.99529128 C11.673,8.99529128 11,8.32200319 11,7.49464918 M19,11.9965755 C19,9.73960976 17.903,7.63971125 16.101,6.33215177 C15.917,6.27312651 15.407,6.42319072 14.566,6.78434525 C14.415,6.84837265 14.287,6.90239576 14.197,6.93540989 L13.857,5.99400708 C13.935,5.96699552 14.044,5.91897498 14.173,5.86395143 C14.394,5.76991119 14.611,5.67987267 14.823,5.59983842 C13.939,5.20867105 12.979,4.99357901 12,4.99357901 C11.313,4.99357901 10.642,5.09162097 10.002,5.28470358 C9.956,5.29770915 9.915,5.32071899 9.87,5.33472499 C10.22,5.46578106 10.637,5.6348534 11.132,5.85694844 L10.724,6.76933883 C9.518,6.22810725 8.828,6.02702121 8.507,5.9519891 C6.692,7.00443943 5.429,8.82721936 5.104,10.9291187 C5.426,10.8871007 5.751,10.86209 6.097,10.8530862 L6.122,11.8535143 C5.725,11.8635185 5.363,11.9055365 5.001,11.9645618 C5.001,11.9745661 5,11.9855708 5,11.9965755 C5,14.29756 6.125,16.4174671 7.976,17.7180236 C7.775,17.0167235 7.604,16.1773644 7.604,15.3310022 C7.604,15.1749354 7.599,15.0098648 7.594,14.8427933 C7.578,14.3655891 7.562,13.8723781 7.65,13.4231859 L8.631,13.6162685 C8.564,13.9534128 8.579,14.388599 8.593,14.8097792 C8.599,14.9888558 8.604,15.1639307 8.604,15.3310022 C8.604,16.2293866 8.853,17.3548682 9.277,18.4433339 C10.504,18.9595548 11.859,19.1086186 13.154,18.8935266 C13.266,18.6874384 13.402,18.4783489 13.546,18.2662582 C13.76,17.9501229 13.981,17.6239833 14.067,17.3278566 L15.028,17.6069761 C14.938,17.9191096 14.774,18.2012303 14.601,18.4743472 C15.199,18.2352449 15.768,17.934116 16.279,17.5369461 C18.009,16.1983734 19,14.1785091 19,11.9965755 M20,11.9965755 C20,14.4906426 18.867,16.7986302 16.892,18.3272843 C16.193,18.8695163 15.416,19.2876952 14.582,19.5688155 C13.76,19.8539375 12.89,20 12,20 C10.686,20 9.381,19.6718596 8.225,19.0525946 C5.619,17.6569975 4,14.9538408 4,11.9965755 C4,11.8315048 4.004,11.6674346 4.018,11.5063657 C4.212,8.17393984 6.502,5.28270273 9.715,4.32629349 C11.729,3.71903366 14.052,3.96513896 15.91,5.01658886 C18.433,6.43019372 20,9.10433794 20,11.9965755 M11.075,8.93526559 L10.419,8.18194326 C9.903,8.63013503 9.765,8.86023349 9.534,9.24039615 C9.467,9.35144367 9.389,9.48149932 9.285,9.64056738 L10.123,10.1858007 C10.233,10.0157279 10.317,9.87766883 10.39,9.75861789 C10.594,9.42147363 10.678,9.28241413 11.075,8.93526559 M10.649,11.3663058 L10.325,12.3117103 C11.438,12.6948743 12.411,13.3071362 13.387,14.2375343 L14.076,13.5132244 C12.993,12.4797822 11.904,11.7974903 10.649,11.3663058 M13.285,9.07432509 L14.121,8.52509009 C15.083,9.99271806 15.624,11.6044077 15.73,13.3161401 L14.732,13.3781666 C14.638,11.8425096 14.15,10.3938897 13.285,9.07432509" id="Amazon-CloudFront_Icon_16_Squid" fill="#FFFFFF"></path>
96
89
  </g>
97
- </svg>`,gL=`<?xml version="1.0" encoding="UTF-8"?>
90
+ </svg>`,vx=`<?xml version="1.0" encoding="UTF-8"?>
98
91
  <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
99
92
  <!-- Generator: Sketch 64 (93537) - https://sketch.com -->
100
93
  <title>Icon-Architecture/16/Arch_Amazon-Cognito_16</title>
@@ -111,7 +104,7 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
111
104
  </g>
112
105
  <path d="M15.188,16.891 L13.938,15.891 L14.563,15.11 L15.387,15.769 L17.084,13.223 L17.917,13.778 L15.917,16.778 C15.838,16.894 15.715,16.973 15.578,16.995 C15.551,16.998 15.526,17 15.5,17 C15.388,17 15.278,16.962 15.188,16.891 L15.188,16.891 Z M6,12 L8,12 L8,11 L6,11 L6,12 Z M6.001,10 L9.001,10 L9.001,9 L6.001,9 L6.001,10 Z M18.001,7 L18.001,6.5 C18.001,6.224 17.777,6 17.501,6 L10.501,6 C10.224,6 10.001,6.224 10.001,6.5 L10.001,7 L5,7 L5,5.6 C5,5.281 5.198,5 5.422,5 L18.578,5 C18.803,5 19.001,5.281 19.001,5.6 L19.001,7 L18.001,7 Z M15.625,12 C17.487,12 19.001,13.571 19.001,15.5 C19.001,17.43 17.487,19 15.625,19 C13.764,19 12.25,17.43 12.25,15.5 C12.25,13.571 13.764,12 15.625,12 L15.625,12 Z M20,12 L20,5.6 C20,4.718 19.362,4 18.578,4 L5.422,4 C4.638,4 4,4.718 4,5.6 L4,14.4 C4,15.283 4.638,16 5.422,16 L11.299,16 C11.545,18.244 13.379,20 15.625,20 C18.038,20 20,17.982 20,15.5 C20,13.019 18.038,11 15.625,11 C13.379,11 11.545,12.757 11.299,15 L5.422,15 C5.198,15 5,14.72 5,14.4 L5,8 L10.001,8 L10.001,12 L11.001,12 L11.001,8 L11.001,7 L17,7 L17,8 L17,10 L18.001,10 L18.001,8 L19.001,8 L19.001,12 L20,12 Z" id="Amazon-Cognito_Icon_16_Squid" fill="#FFFFFF"></path>
113
106
  </g>
114
- </svg>`,xL=`<?xml version="1.0" encoding="UTF-8"?>
107
+ </svg>`,Ax=`<?xml version="1.0" encoding="UTF-8"?>
115
108
  <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
116
109
  <!-- Generator: Sketch 64 (93537) - https://sketch.com -->
117
110
  <title>Icon-Architecture/16/Arch_Amazon-DynamoDB_16</title>
@@ -128,7 +121,7 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
128
121
  </g>
129
122
  <path d="M14.3871979,13.0634319 L15.4218955,9.61738691 C15.468467,9.46474602 15.4391067,9.29896386 15.3439388,9.17058378 C15.2487709,9.04220369 15.0979197,8.96739955 14.9379567,8.96739955 L14.2383715,8.96739955 L15.2507958,6.94566591 L17.7798316,6.94566591 L16.9881159,9.313116 C16.9374946,9.46676775 16.9628052,9.63659338 17.0589856,9.76800607 C17.153141,9.90042962 17.3060171,9.97826636 17.4690174,9.97826636 L18.095708,9.97826636 L14.3871979,13.0634319 Z M19.9697053,9.29997473 C19.8968108,9.10083397 19.7074875,8.96739955 19.4938659,8.96739955 L18.1706274,8.96739955 L18.9623432,6.59994946 C19.0129644,6.4462977 18.9876538,6.27647207 18.8914735,6.14404852 C18.7963056,6.01263584 18.644442,5.93479909 18.4814417,5.93479909 L14.9379567,5.93479909 C14.7455961,5.93479909 14.5714591,6.04296184 14.485403,6.21379833 L12.9667666,9.24639879 C12.88881,9.40308314 12.8958969,9.58908264 12.9880275,9.73768006 C13.0811706,9.88728835 13.2441709,9.97826636 13.4193203,9.97826636 L14.2576076,9.97826636 L12.9343691,14.3816022 C12.8705863,14.595906 12.9536051,14.8253728 13.1409036,14.9486985 C13.2259472,15.0042962 13.3221275,15.0326005 13.4193203,15.0326005 C13.5347366,15.0326005 13.6491406,14.9931766 13.743296,14.9153399 L19.8178417,9.86100581 C19.980842,9.72453879 20.0425999,9.50113723 19.9697053,9.29997473 L19.9697053,9.29997473 Z M14.8346894,17.6285064 C14.8346894,18.0904726 13.2775809,18.9891332 10.4235568,18.9891332 C7.56953281,18.9891332 6.01242428,18.0904726 6.01242428,17.6285064 L6.01242428,16.562042 C7.04914673,17.1786707 8.74293255,17.495072 10.4235568,17.495072 C12.1041811,17.495072 13.797967,17.1786707 14.8346894,16.562042 L14.8346894,17.6285064 Z M14.8346894,15.1235785 C14.8346894,15.5855446 13.2775809,16.4842052 10.4235568,16.4842052 C7.56953281,16.4842052 6.01242428,15.5855446 6.01242428,15.1235785 C6.01242428,15.0275461 6.08633125,14.9133182 6.21187186,14.7950468 C7.21214704,15.316654 8.74698225,15.6239575 10.4235568,15.6239575 C10.4438053,15.6239575 11.9948393,15.5916098 11.9948393,15.5916098 L11.9948393,14.580743 C11.9745908,14.580743 10.4235568,14.6130907 10.4235568,14.6130907 C8.77128043,14.6130907 7.24656947,14.2886025 6.44574187,13.7680061 C6.17542458,13.5900935 6.0134367,13.3980288 6.01242428,13.252464 L6.01242428,12.1859995 C7.04914673,12.8026283 8.74293255,13.1200404 10.4235568,13.1200404 C10.6898244,13.1200404 11.8348763,13.0391711 12.1922621,13.0138994 L12.213523,12.5054334 L12.1203799,12.0050543 C11.7761557,12.0293151 10.6786878,12.1091736 10.4235568,12.1091736 C7.56953281,12.1091736 6.01242428,11.2095021 6.01242428,10.747536 C6.01242428,10.6474602 6.09139337,10.5281779 6.22503337,10.405863 C7.01877401,10.7566338 8.57183285,11.1508719 12.3178027,11.1963609 L12.3299518,10.1854941 C9.27951741,10.1491029 7.3437622,9.88223402 6.44574187,9.39095274 C6.17542458,9.21304018 6.0134367,9.02097549 6.01242428,8.87541066 L6.01242428,7.80995704 C7.04914673,8.4265858 8.74293255,8.74298711 10.4235568,8.74298711 C10.5015135,8.74298711 12.480803,8.70659591 12.5587596,8.70356331 L12.5152254,7.69370735 C12.4079084,7.69775082 10.5187247,7.73212029 10.4235568,7.73212029 C7.56953281,7.73212029 6.01242428,6.83345969 6.01242428,6.37149356 C6.01242428,5.90952742 7.56953281,5.01086682 10.4235568,5.01086682 C11.7447705,5.01086682 13.0001766,5.21809452 13.8668118,5.5809957 L14.25862,4.64796563 C13.2573324,4.23047763 11.8956217,4 10.4235568,4 C7.72949585,4 5.00101242,4.81374779 5,6.36947182 L5,8.88147587 C5,8.88147587 5.09213061,9.46070255 5.40092001,9.80742987 C5.08808091,10.1551681 5,10.4938084 5,10.7465251 L5,13.2625727 C5.00101242,13.510235 5.09213061,13.8438211 5.39788274,14.1875158 C5.08808091,14.5342431 5,14.8718726 5,15.1235785 L5,17.6335608 C5.00506212,19.1872631 7.7315207,20 10.4235568,20 C13.1186303,20 15.8471137,19.1862522 15.8471137,17.6305282 L15.8471137,15.1235785 L14.8346894,15.1235785 Z" id="Amazon-DynamoDB_Icon_16_Squid" fill="#FFFFFF"></path>
130
123
  </g>
131
- </svg>`,mL=`<?xml version="1.0" encoding="UTF-8"?>
124
+ </svg>`,Sx=`<?xml version="1.0" encoding="UTF-8"?>
132
125
  <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
133
126
  <!-- Generator: Sketch 64 (93537) - https://sketch.com -->
134
127
  <title>Icon-Architecture/16/Arch_Amazon-Elastic-Block-Store_16</title>
@@ -145,7 +138,7 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
145
138
  </g>
146
139
  <path d="M19,16.5 L20,16.5 L20,20 L16.5,20 L16.5,19 L18.293,19 L16.646,17.354 L17.354,16.646 L19,18.293 L19,16.5 Z M6.707,19 L8.5,19 L8.5,20 L5,20 L5,16.5 L6,16.5 L6,18.293 L7.646,16.646 L8.354,17.354 L6.707,19 Z M20,4 L20,7.5 L19,7.5 L19,5.707 L17.354,7.354 L16.646,6.646 L18.293,5 L16.5,5 L16.5,4 L20,4 Z M5,4 L8.5,4 L8.5,5 L6.707,5 L8.354,6.646 L7.646,7.354 L6,5.707 L6,7.5 L5,7.5 L5,4 Z M12.561,15.5 C11.004,15.5 10.17,15.156 10.092,14.996 L10.082,10.053 C10.875,10.342 11.952,10.391 12.561,10.391 C13.161,10.391 14.216,10.337 15.002,10.051 L15.011,14.946 C14.896,15.14 13.955,15.5 12.561,15.5 L12.561,15.5 Z M14.943,8.994 C14.708,9.151 13.956,9.391 12.561,9.391 C11.031,9.391 10.271,9.108 10.119,9.009 C10.322,8.809 11.216,8.5 12.561,8.5 C13.78,8.5 14.684,8.796 14.943,8.994 L14.943,8.994 Z M12.561,7.5 C11.272,7.5 9.092,7.814 9.092,8.992 L9.092,14.996 C9.092,16.392 11.747,16.5 12.561,16.5 C13.838,16.5 16,16.183 16,14.996 L16,8.992 C16,7.812 13.75,7.5 12.561,7.5 L12.561,7.5 Z" id="Amazon-Elastic-Block-Store_Icon_16_Squid" fill="#FFFFFF"></path>
147
140
  </g>
148
- </svg>`,LL=`<?xml version="1.0" encoding="UTF-8"?>
141
+ </svg>`,Rx=`<?xml version="1.0" encoding="UTF-8"?>
149
142
  <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
150
143
  <!-- Generator: Sketch 64 (93537) - https://sketch.com -->
151
144
  <title>Icon-Architecture/16/Arch_Amazon-EC2_16</title>
@@ -162,7 +155,7 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
162
155
  </g>
163
156
  <path d="M15,9 L14,9 L13,9 L12,9 L11,9 L10,9 L10,10 L10,11 L10,12 L10,13 L10,14 L11,14 L12,14 L13,14 L14,14 L15,14 L15,13 L15,12 L15,11 L15,10 L15,9 Z M16,9 L17,9 L17,10 L16,10 L16,11 L17,11 L17,12 L16,12 L16,13 L17,13 L17,14 L16,14 L16,14.308 C16,14.689 15.689,15 15.308,15 L15,15 L15,16 L14,16 L14,15 L13,15 L13,16 L12,16 L12,15 L11,15 L11,16 L10,16 L10,15 L9.692,15 C9.311,15 9,14.689 9,14.308 L9,14 L8,14 L8,13 L9,13 L9,12 L8,12 L8,11 L9,11 L9,10 L8,10 L8,9 L9,9 L9,8.692 C9,8.311 9.311,8 9.692,8 L10,8 L10,7 L11,7 L11,8 L12,8 L12,7 L13,7 L13,8 L14,8 L14,7 L15,7 L15,8 L15.308,8 C15.689,8 16,8.311 16,8.692 L16,9 Z M12,19 L5,19 L5,13 L7,13 L7,12 L4.8,12 C4.358,12 4,12.342 4,12.762 L4,19.219 C4,19.65 4.351,20 4.781,20 L12.2,20 C12.642,20 13,19.658 13,19.238 L13,17 L12,17 L12,19 Z M20,4.781 L20,12.219 C20,12.65 19.649,13 19.219,13 L18,13 L18,12 L19,12 L19,5 L12,5 L12,6 L11,6 L11,4.781 C11,4.35 11.351,4 11.781,4 L19.219,4 C19.649,4 20,4.35 20,4.781 L20,4.781 Z" id="Amazon-EC2_Icon_16_Squid" fill="#FFFFFF"></path>
164
157
  </g>
165
- </svg>`,_L=`<?xml version="1.0" encoding="UTF-8"?>
158
+ </svg>`,kx=`<?xml version="1.0" encoding="UTF-8"?>
166
159
  <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
167
160
  <!-- Generator: Sketch 64 (93537) - https://sketch.com -->
168
161
  <title>Icon-Architecture/16/Arch_Amazon-Elastic-Container-Service_16</title>
@@ -181,7 +174,7 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
181
174
  <path d="M14.9951095,10.0569914 L13.036578,8.5362249 L13.036578,5.70726144 C13.036578,5.5354178 12.9471428,5.37549395 12.7994239,5.28510221 L9.99577946,3.56765916 L9.99577946,1.38435098 L14.9951095,4.31065939 L14.9951095,10.0569914 Z M15.7538018,3.60043858 L9.7495813,0.0850938804 C9.59482816,-0.00529785955 9.4008843,-0.0072844912 9.24412139,0.0811206171 C9.08836337,0.169525725 8.99088899,0.333422836 8.99088899,0.512219684 L8.99088899,3.84380096 C8.99088899,4.01564459 9.08132914,4.17556844 9.22804314,4.26596018 L12.0316875,5.98340324 L12.0316875,8.77760065 C12.0316875,8.92957797 12.1030348,9.07360876 12.2246265,9.16797377 L15.1870436,11.4704798 C15.2774838,11.5410053 15.3860119,11.5767646 15.4975548,11.5767646 C15.5719167,11.5767646 15.6472834,11.5598783 15.7166209,11.5261055 C15.889462,11.4436603 16,11.26983 16,11.0801067 L16,4.02756438 C16,3.85174748 15.9065452,3.68884369 15.7538018,3.60043858 L15.7538018,3.60043858 Z M8.53466872,14.959005 L2.00489047,11.6701363 L2.00489047,4.30966608 L6.9871374,1.37143787 L6.9871374,3.55573937 L4.24780599,5.27020248 C4.10310176,5.36158753 4.0146714,5.51952475 4.0146714,5.69037507 L4.0146714,10.2566479 C4.0146714,10.4453779 4.12219468,10.6172216 4.29403095,10.7016534 L8.25631406,12.6425925 C8.39699873,12.7121246 8.56481544,12.710138 8.70650499,12.6396126 L11.816641,11.0751401 L13.9058083,12.8154295 L8.53466872,14.959005 Z M12.2085483,10.1036773 C12.0558049,9.97553953 11.8357339,9.95169995 11.6568634,10.0410984 L8.47538018,11.6413302 L5.01956187,9.94872 L5.01956187,5.96254361 L7.75788839,4.2480805 C7.90359751,4.15669544 7.99202787,3.99875822 7.99202787,3.8279079 L7.99202787,0.497319947 C7.99202787,0.318523099 7.89455349,0.153632672 7.73779058,0.0652275639 C7.57901789,-0.0241708602 7.38507403,-0.0211909127 7.23233068,0.0711874588 L1.24519327,3.60043858 C1.09345481,3.689837 1,3.85174748 1,4.02756438 L1,11.974091 C1,12.1608343 1.1055135,12.3316847 1.2743351,12.4161165 L8.28244121,15.9463609 C8.35278355,15.9821203 8.431165,16 8.51055135,16 C8.57385945,16 8.63716755,15.9880802 8.69846587,15.9642406 L15.0564079,13.4283053 C15.2192001,13.3627465 15.3367723,13.2177224 15.3649092,13.0448854 C15.3920413,12.8730418 15.3267234,12.6992115 15.1920681,12.5869668 L12.2085483,10.1036773 Z" id="Amazon-Elastic-Container-Service_Icon_16_Squid"></path>
182
175
  </g>
183
176
  </g>
184
- </svg>`,Oh=`<?xml version="1.0" encoding="UTF-8"?>
177
+ </svg>`,bu=`<?xml version="1.0" encoding="UTF-8"?>
185
178
  <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
186
179
  <!-- Generator: Sketch 64 (93537) - https://sketch.com -->
187
180
  <title>Icon-Architecture/16/Arch_Amazon-Elastic-File-System_16</title>
@@ -198,7 +191,7 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
198
191
  </g>
199
192
  <path d="M19,18.293 L17.354,16.647 L16.646,17.354 L18.293,19 L17,19 L17,20 L19.5,20 C19.776,20 20,19.776 20,19.5 L20,17 L19,17 L19,18.293 Z M6.646,16.647 L5,18.293 L5,17 L4,17 L4,19.5 C4,19.776 4.224,20 4.5,20 L7,20 L7,19 L5.707,19 L7.354,17.354 L6.646,16.647 Z M19.5,4 L17,4 L17,5 L18.293,5 L16.646,6.647 L17.354,7.354 L19,5.707 L19,7 L20,7 L20,4.5 C20,4.224 19.776,4 19.5,4 L19.5,4 Z M5,5.707 L6.646,7.354 L7.354,6.647 L5.707,5 L7,5 L7,4 L4.5,4 C4.224,4 4,4.224 4,4.5 L4,7 L5,7 L5,5.707 Z M15,12.117 C15,12.088 14.976,12.062 14.962,12.048 C14.923,12.012 14.872,11.989 14.854,11.999 L11.487,12 C11.211,12 10.987,11.776 10.987,11.5 L10.987,11.493 L10.451,11.498 C10.449,11.506 10.448,11.513 10.447,11.52 C10.447,11.795 10.225,12 9.948,12 L9.25,12 C9.103,11.989 9.002,12.031 8.979,12.054 L8.998,16 L15,16 L15,12.117 Z M15.644,11.317 C15.874,11.532 16,11.815 16,12.117 L16,16.5 C16,16.776 15.776,17 15.5,17 L8.5,17 C8.224,17 8,16.776 8,16.5 L8,12 C8,11.742 8.105,11.501 8.297,11.323 C8.584,11.055 8.992,10.981 9.284,11.001 L9.555,11.001 C9.649,10.751 9.827,10.5 10.156,10.5 L11.323,10.5 C11.637,10.557 11.803,10.779 11.89,11 L14.82,11 C15.096,10.974 15.41,11.099 15.644,11.317 L15.644,11.317 Z M16.131,10.972 C15.91,10.926 15.747,10.737 15.734,10.512 C15.687,9.71 15.266,9.425 14.918,9.425 C14.691,9.425 14.477,9.539 14.328,9.737 C14.218,9.884 14.035,9.959 13.854,9.932 C13.671,9.904 13.519,9.779 13.457,9.606 C13.292,9.144 13.055,8.757 12.752,8.458 C12.384,8.091 11.368,7.305 9.944,7.903 C9.141,8.241 8.486,9.251 8.486,10.155 C8.486,10.259 8.495,10.363 8.507,10.463 C8.538,10.713 8.377,10.948 8.131,11.009 C7.567,11.149 6.896,11.535 6.896,12.581 C6.896,12.582 6.9,12.709 6.9,12.709 C6.921,13.076 7.082,13.432 7.354,13.704 L6.646,14.411 C6.201,13.965 5.937,13.378 5.901,12.758 L5.896,12.581 C5.896,11.444 6.482,10.567 7.486,10.168 L7.486,10.155 C7.486,8.841 8.377,7.477 9.559,6.981 C10.936,6.404 12.393,6.692 13.456,7.748 C13.712,8.001 13.932,8.296 14.113,8.629 C14.996,8.154 16.402,8.511 16.688,10.083 C17.951,10.46 18.641,11.342 18.641,12.595 C18.641,13.72 18.123,14.543 17.184,14.914 L16.816,13.983 C17.379,13.762 17.641,13.32 17.641,12.595 C17.641,12.272 17.641,11.29 16.131,10.972 L16.131,10.972 Z" id="Amazon-Elastic-File-System_Icon_16_Squid" fill="#FFFFFF"></path>
200
193
  </g>
201
- </svg>`,Nh={actor:lL,boundary:cL,control:uL,database:hL,entity:fL,cloudwatch:dL,cloudfront:pL,cognito:gL,dynamodb:xL,ebs:mL,ec2:LL,ecs:_L,efs:Oh,elasticache:`<?xml version="1.0" encoding="UTF-8"?>
194
+ </svg>`,wu={actor:_x,boundary:yx,control:Cx,database:Ex,entity:bx,cloudwatch:wx,cloudfront:Tx,cognito:vx,dynamodb:Ax,ebs:Sx,ec2:Rx,ecs:kx,efs:bu,elasticache:`<?xml version="1.0" encoding="UTF-8"?>
202
195
  <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
203
196
  <!-- Generator: Sketch 64 (93537) - https://sketch.com -->
204
197
  <title>Icon-Architecture/16/Arch_Amazon-ElastiCache_16</title>
@@ -232,7 +225,7 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
232
225
  </g>
233
226
  <path d="M14.9985007,13.6428238 C14.9985007,13.373991 14.7736132,13.1558078 14.4987506,13.1558078 C14.2238881,13.1558078 13.9990005,13.373991 13.9990005,13.6428238 C13.9990005,13.9116567 14.2238881,14.1298398 14.4987506,14.1298398 C14.7736132,14.1298398 14.9985007,13.9116567 14.9985007,13.6428238 M11.0004998,9.7466957 C11.0004998,10.0155285 11.2253873,10.2337117 11.5002499,10.2337117 C11.7751124,10.2337117 12,10.0155285 12,9.7466957 C12,9.47786286 11.7751124,9.25967968 11.5002499,9.25967968 C11.2253873,9.25967968 11.0004998,9.47786286 11.0004998,9.7466957 M8.001999,12.6687918 C8.001999,12.9376246 8.22688656,13.1558078 8.50174913,13.1558078 C8.77661169,13.1558078 9.00149925,12.9376246 9.00149925,12.6687918 C9.00149925,12.399959 8.77661169,12.1817758 8.50174913,12.1817758 C8.22688656,12.1817758 8.001999,12.399959 8.001999,12.6687918 M15.998001,13.6428238 C15.998001,14.2769187 15.5792104,14.8126363 14.9985007,15.0142609 L14.9985007,16.5649199 C14.9985007,16.8337528 14.7746127,17.0519359 14.4987506,17.0519359 L12,17.0519359 L12,19 L11.0004998,19 L11.0004998,16.0779039 L8.50174913,16.0779039 C8.22588706,16.0779039 8.001999,15.8597207 8.001999,15.5908879 L8.001999,14.0402289 C7.42128936,13.8386043 7.00249875,13.3028866 7.00249875,12.6687918 C7.00249875,11.8632673 7.67516242,11.2077437 8.50174913,11.2077437 C9.32833583,11.2077437 10.0009995,11.8632673 10.0009995,12.6687918 C10.0009995,13.3028866 9.5822089,13.8386043 9.00149925,14.0402289 L9.00149925,15.1038719 L11.0004998,15.1038719 L11.0004998,11.1181328 C10.4197901,10.9165082 10.0009995,10.3807906 10.0009995,9.7466957 C10.0009995,8.94117121 10.6736632,8.28564765 11.5002499,8.28564765 C12.3268366,8.28564765 12.9995002,8.94117121 12.9995002,9.7466957 C12.9995002,10.3807906 12.5807096,10.9165082 12,11.1181328 L12,16.0779039 L13.9990005,16.0779039 L13.9990005,15.0142609 C13.4182909,14.8126363 12.9995002,14.2769187 12.9995002,13.6428238 C12.9995002,12.8372993 13.6721639,12.1817758 14.4987506,12.1817758 C15.3253373,12.1817758 15.998001,12.8372993 15.998001,13.6428238 M20,12.0590477 C20,13.8054872 18.8965517,14.9392605 17.0504748,15.0892614 L16.9665167,14.1191255 C17.894053,14.043151 19.0004998,13.6243172 19.0004998,12.0590477 C19.0004998,10.9369628 18.3148426,10.2337117 16.9635182,9.96974904 C16.7406297,9.92591759 16.5767116,9.74182554 16.5627186,9.52072027 C16.4987506,8.45805132 15.888056,8.08207496 15.3843078,8.08207496 C15.0474763,8.08207496 14.7306347,8.23889412 14.5167416,8.51357115 C14.4067966,8.65480579 14.2218891,8.7249361 14.0449775,8.7005853 C13.864068,8.6733124 13.7131434,8.55350646 13.6501749,8.38694698 C13.4312844,7.80739793 13.1174413,7.32232997 12.7186407,6.94635361 C12.2278861,6.48174033 10.8795602,5.48530556 8.97751124,6.24505055 C7.88805597,6.67752077 7.03448276,7.9281779 7.03448276,9.09312021 C7.03448276,9.22169244 7.04247876,9.3512387 7.05847076,9.47786286 C7.08945527,9.7223449 6.92853573,9.9502684 6.68265867,10.0106584 C6.05397301,10.1616333 4.99950025,10.6272207 4.99950025,12.037619 L5.00449775,12.1652172 C5.06246877,13.1850288 5.93203398,14.011982 7.02848576,14.1181515 L6.93053473,15.0873133 C5.34732634,14.9353643 4.09095452,13.7139282 4.007996,12.2470359 L4,12.037619 C4,10.6827405 4.75262369,9.64150024 6.03598201,9.18467922 C6.03498251,9.15448423 6.03498251,9.1233152 6.03498251,9.09312021 C6.03498251,7.53466896 7.13743128,5.92361998 8.59970015,5.34309689 C10.2988506,4.66614462 12.0989505,5.00315971 13.4132934,6.24602458 C13.7631184,6.57524741 14.0589705,6.96583425 14.2978511,7.40999286 C14.6216892,7.21323839 14.9945027,7.10804293 15.3843078,7.10804293 C16.2858571,7.10804293 17.2903548,7.73337149 17.5192404,9.09701634 C19.1224388,9.52072027 20,10.5619605 20,12.0590477" id="AWS-Elastic-Beanstalk_Icon_16_Squid" fill="#FFFFFF"></path>
234
227
  </g>
235
- </svg>`,elasticfilesystem:Oh,glacier:`<?xml version="1.0" encoding="UTF-8"?>
228
+ </svg>`,elasticfilesystem:bu,glacier:`<?xml version="1.0" encoding="UTF-8"?>
236
229
  <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
237
230
  <!-- Generator: Sketch 64 (93537) - https://sketch.com -->
238
231
  <title>Icon-Architecture/16/Arch_Amazon-Glacier_16</title>
@@ -453,7 +446,7 @@ Component that was made reactive: `,n)),b(n,e,t,s,r,o,i,!0)}function d3(n){retur
453
446
  </g>
454
447
  </g>
455
448
  </svg>
456
- `,googlevpc:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#aecbfa;}.cls-2{fill:#669df6;}.cls-3{fill:#4285f4;}</style></defs><title>Icon_24px_VirtualPrivateCloud_Color</title><g data-name="Product Icons"><rect class="cls-1" x="16" y="2" width="6" height="6"/><rect class="cls-2" x="19" y="2" width="3" height="6"/><rect class="cls-1" x="16" y="16" width="6" height="6"/><rect class="cls-2" x="19" y="16" width="3" height="6"/><rect class="cls-1" x="2" y="2" width="6" height="6"/><rect class="cls-2" x="5" y="2" width="3" height="6"/><rect class="cls-1" x="2" y="16" width="6" height="6"/><rect class="cls-2" x="5" y="16" width="3" height="6"/><rect class="cls-2" x="8" y="4" width="8" height="2"/><rect class="cls-2" x="8" y="18" width="8" height="2"/><rect class="cls-2" x="18" y="8" width="2" height="8"/><rect class="cls-2" x="4" y="8" width="2" height="8"/><rect class="cls-3" x="4" y="8" width="2" height="2"/><rect class="cls-3" x="18" y="8" width="2" height="2"/><rect class="cls-3" x="8" y="4" width="2" height="2"/><rect class="cls-3" x="8" y="18" width="2" height="2"/></g></svg>',pubsub:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{filter:url(#luminosity-noclip);}.cls-2{fill:#669df6;}.cls-3{mask:url(#mask);}.cls-4{fill:#4285f4;}.cls-5{fill:#aecbfa;}</style><filter id="luminosity-noclip" x="4.64" y="4.19" width="14.73" height="12.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><mask id="mask" x="4.64" y="4.19" width="14.73" height="12.76" maskUnits="userSpaceOnUse"><circle class="cls-1" cx="12" cy="12.23" r="3.58"/></mask></defs><title>Icon_24px_Pub-Sub_Color</title><g data-name="Product Icons"><circle class="cls-2" cx="18.97" cy="8.21" r="1.72"/><circle class="cls-2" cx="5.03" cy="8.21" r="1.72"/><circle class="cls-2" cx="12" cy="20.28" r="1.72"/><g class="cls-3"><rect class="cls-4" x="14.69" y="10.22" width="1.59" height="8.04" transform="matrix(0.5, -0.87, 0.87, 0.5, -4.59, 20.53)"/><rect class="cls-4" x="4.49" y="13.45" width="8.04" height="1.59" transform="translate(-5.98 6.17) rotate(-30)"/><rect class="cls-4" x="11.2" y="4.19" width="1.59" height="8.04"/></g><circle class="cls-5" cx="12" cy="12.23" r="2.78"/><circle class="cls-5" cx="5.03" cy="16.25" r="2.19"/><circle class="cls-5" cx="18.97" cy="16.25" r="2.19"/><circle class="cls-5" cx="12" cy="4.19" r="2.19"/></g></svg>',securityscanner:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><circle cx="11.45" cy="11.51" r="2.89" style="fill:#669df6"/><path d="M18.05,6.81a8.12,8.12,0,0,0-4.94-3.23l-.27,1.3A6.79,6.79,0,1,1,6.65,6.74l-1-.94a8.1,8.1,0,1,0,13,2.12A1.31,1.31,0,0,1,18.05,6.81Z" style="fill:#aecbfa"/><path d="M14.46,20.42a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M14.46,16.49a2,2,0,1,1,0,3.93" style="fill:#4285f4"/><path d="M19.38,8.1a1.34,1.34,0,0,1,0-2.67v-1h0a2.38,2.38,0,0,0,0,4.75Z" style="fill:#669df6"/><path d="M19.38,5.43a1.34,1.34,0,0,1,0,2.67v1h0a2.38,2.38,0,0,0,0-4.75Z" style="fill:#4285f4"/><path d="M4.22,12.78a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M4.22,8.85a2,2,0,0,1,0,3.93" style="fill:#4285f4"/></svg>',stackdriver:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><polygon points="11.19 11.35 15.75 3.51 6.75 3.51 2.25 11.35 11.19 11.35" style="fill:#aecbfa"/><polygon points="2.25 12.65 6.74 20.49 15.73 20.49 11.25 12.65 2.25 12.65" style="fill:#4285f4"/><path d="M21.75,12l-4.5-7.87L12.74,12l4.51,7.87Z" style="fill:#669df6"/></svg>',visionapi:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;}.cls-2{fill:#669df6;}.cls-3{fill:#aecbfa;}.cls-4{fill:#4285f4;}</style></defs><title>Icon_24px_VisionAPI_Color</title><g data-name="Product Icons"><g data-name="colored-32/vision"><rect class="cls-1" width="24" height="24"/><g ><polygon class="cls-2" points="6 12 12 16.99 12 20 2 12 6 12"/><polygon id="Shape-2" data-name="Shape" class="cls-2" points="12 16.99 18 12 22 12 12 20 12 16.99"/><polygon id="Shape-3" data-name="Shape" class="cls-3" points="2 12 12 4 12 7.01 6 12 2 12"/><polygon id="Shape-4" data-name="Shape" class="cls-3" points="12 7.01 18 12 22 12 12 4 12 7.01"/><circle id="Oval" class="cls-4" cx="12" cy="12" r="2"/></g></g></g></svg>'},yL={name:"Participant",props:{entity:{type:Object,required:!0}},data(){return{color:void 0}},mounted(){this.updateFontColor()},updated(){this.updateFontColor()},computed:{selected(){return this.$store.state.selected.includes(this.entity.name)},stereotype(){return this.entity.stereotype},comment(){return this.entity.comment},icon(){var n;return Nh[(n=this.entity.type)==null?void 0:n.toLowerCase()]},backgroundColor(){try{return this.entity.color?this.entity.color&&aL(this.entity.color):void 0}catch{return}}},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},updateFontColor(){if(!this.backgroundColor)return;let n=window.getComputedStyle(this.$refs.participant).getPropertyValue("background-color");if(!n)return;let e=oL(n);this.color=e>128?"#000":"#fff"}}},CL=["innerHTML","alt"],EL={class:"h-5 group flex flex-col justify-center"},bL={key:0,class:"absolute hidden rounded-lg transform -translate-y-8 bg-gray-400 px-2 py-1 text-center text-sm text-white group-hover:flex"},vL={key:1,class:"interface leading-4"},wL={class:"name leading-4"};function TL(n,e,t,s,r,i){return I(),W("div",{class:lt(["participant bg-skin-participant border-skin-participant text-skin-participant rounded text-base leading-4 relative flex flex-col justify-center z-10 h-10",{selected:i.selected,"border-transparent":!!i.icon}]),ref:"participant",style:xe({backgroundColor:i.backgroundColor,color:r.color}),onClick:e[0]||(e[0]=(...o)=>i.onSelect&&i.onSelect(...o))},[i.icon?(I(),W("div",{key:0,innerHTML:i.icon,class:"absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${t.entity.name}`},null,8,CL)):ye("",!0),b("div",EL,[i.comment?(I(),W("span",bL,qe(i.comment),1)):ye("",!0),i.stereotype?(I(),W("label",vL,"\xAB"+qe(i.stereotype)+"\xBB",1)):ye("",!0),b("label",wL,qe(t.entity.label||t.entity.name),1)])],6)}const Ih=Ce(yL,[["render",TL]]),sw="",Tr=Hs.child({name:"LifeLine"}),AL={name:"life-line",components:{Participant:Ih},props:["entity","context","groupLeft","inGroup"],data:()=>({translateX:0,top:0}),computed:{...Ct(["centerOf"]),...L1(["scale"]),left(){return this.centerOf(this.entity.name)-8-(this.groupLeft||0)}},mounted(){Tr.debug(`LifeLine mounted for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),Tr.debug(`nextTick after updated for ${this.entity.name}`)})},updated(){Tr.debug(`updated for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),Tr.debug(`nextTick after updated for ${this.entity.name}`)})},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},setTop(){const n=this.entity.name.replace(/([ #;&,.+*~\':"!^$[\]()=>|\/@])/g,"\\$1"),t=this.$root.$refs.diagram.$el.querySelector(`[data-to="${n}"]`);if(t&&t.attributes["data-type"].value==="creation"){Tr.debug(`First message to ${this.entity.name} is creation`);const s=this.$el.getBoundingClientRect().y,r=t.getBoundingClientRect().y;this.top=(r-s)/this.scale}else this.top=0}}},SL=n=>(Kt("data-v-4798b9e7"),n=n(),Yt(),n),RL=["id"],kL=SL(()=>b("div",{class:"line bg-skin-lifeline w0 mx-auto flex-grow w-px"},null,-1));function OL(n,e,t,s,r,i){const o=ue("participant");return I(),W("div",{id:t.entity.name,class:"lifeline absolute flex flex-col mx-2 transform -translate-x-1/2 h-full",style:xe({paddingTop:n.top+"px",left:i.left+"px"})},[fe(o,{entity:t.entity},null,8,["entity"]),kL],12,RL)}const Ph=Ce(AL,[["render",OL],["__scopeId","data-v-4798b9e7"]]),NL={name:"lifeline-group",props:["context"],computed:{...Ct(["centerOf"]),name(){var n,e;return(e=(n=this.context)==null?void 0:n.name())==null?void 0:e.getFormattedText()},offset(){return 0},left(){const n=this.entities[0].name,e=Math.max(ro(n,Ps.ParticipantName),"100");return this.centerOf(n)-e/2-8},right(){const n=Math.max(ro(this.entities.slice(-1).name,Ps.ParticipantName),"100"),e=this.entities.slice(0).pop().name;return this.centerOf(e)+n/2+20},entities(){return so(this.context).Array()}},components:{LifeLine:Ph}},IL={class:"flex flex-col shadow shadow-slate-500/50 flex-grow"},PL={class:"lifeline-group relative flex-grow"};function ML(n,e,t,s,r,i){const o=ue("life-line");return i.entities.length>0?(I(),W("div",{key:0,class:"container absolute flex flex-col h-full",style:xe({left:`${i.left}px`,width:`${i.right-i.left}px`})},[b("div",IL,[b("div",PL,[(I(!0),W(Ve,null,Zn(i.entities,a=>(I(),Re(o,{inGroup:"true",key:a.name,ref_for:!0,ref:a.name,entity:a,"group-left":i.left},null,8,["entity","group-left"]))),128))])])],4)):ye("",!0)}const DL=Ce(NL,[["render",ML]]),Mh=Hs.child({name:"LifeLineLayer"}),FL={name:"life-line-layer",props:["context"],computed:{...Ct(["participants","GroupContext","ParticipantContext","centerOf"]),invisibleStarter(){return this.starterParticipant.name==="_STARTER_"},starterParticipant(){return this.participants.Starter()},starterOnTheLeft(){return!this.starterParticipant.explicit},implicitParticipants(){return this.participants.ImplicitArray()},explicitGroupAndParticipants(){var n;return(n=this.context)==null?void 0:n.children.filter(e=>{const t=e instanceof _h,s=e instanceof yh;return t||s})}},methods:{..._1(["increaseGeneration"]),getParticipantEntity(n){return so(n).First()}},updated(){Mh.debug("LifeLineLayer updated")},mounted(){Mh.debug("LifeLineLayer mounted")},components:{LifeLine:Ph,LifeLineGroup:DL}},$L={class:"life-line-layer lifeline-layer absolute h-full flex flex-col pt-8",style:{"min-width":"200px"}},BL={class:"container relative grow"};function UL(n,e,t,s,r,i){const o=ue("life-line"),a=ue("life-line-group");return I(),W("div",$L,[b("div",BL,[i.starterOnTheLeft?(I(),Re(o,{key:0,entity:i.starterParticipant,class:lt(["starter",{invisible:i.invisibleStarter}])},null,8,["entity","class"])):ye("",!0),(I(!0),W(Ve,null,Zn(i.explicitGroupAndParticipants,(l,c)=>(I(),W(Ve,null,[l instanceof n.GroupContext?(I(),Re(a,{key:c,context:l},null,8,["context"])):ye("",!0),l instanceof n.ParticipantContext?(I(),Re(o,{key:c,entity:i.getParticipantEntity(l)},null,8,["entity"])):ye("",!0)],64))),256)),(I(!0),W(Ve,null,Zn(i.implicitParticipants,l=>(I(),Re(o,{key:l.name,entity:l},null,8,["entity"]))),128))])])}const VL=Ce(FL,[["render",UL]]),rw="",Dh=Hs.child({name:"MessageLayer"}),HL={name:"message-layer",props:["context"],data(){return{left:0,right:0,totalWidth:0}},computed:{...Ct(["participants","centerOf"]),paddingLeft(){if(this.participants.Array().length>=1){const n=this.participants.Array().slice(0)[0].name;return this.centerOf(n)}return 0}},methods:{..._1(["onMessageLayerMountedOrUpdated"]),participantNames(){return this.participants.Names()}},updated(){Dh.debug("MessageLayer updated")},mounted(){Dh.debug("MessageLayer mounted")}},GL={class:"message-layer pt-24 pb-10"};function jL(n,e,t,s,r,i){const o=ue("block");return I(),W("div",GL,[fe(o,{context:t.context,style:xe({"padding-left":i.paddingLeft+"px"})},null,8,["context","style"])])}const zL=Ce(HL,[["render",jL]]),Wa=30,Fh=100,Ar={computed:{...Ct(["coordinates","distance2"]),localParticipants:function(){return[this.from,...so(this.context).ImplicitArray().map(n=>n.name)]},leftParticipant:function(){return this.coordinates.participantModels.map(e=>e.name).find(e=>this.localParticipants.includes(e))},rightParticipant:function(){return this.coordinates.participantModels.map(e=>e.name).reverse().find(e=>this.localParticipants.includes(e))},depth:function(){return Ch(this.context)},offsetX:function(){let n=10*(this.depth+1);return this.distance2(this.leftParticipant,this.from)+n+Wa},fragmentStyle:function(){return{transform:"translateX("+(this.offsetX+1)*-1+"px)",width:this.distance2(this.leftParticipant,this.rightParticipant)+20*this.depth+Wa+Fh+"px"}}}},iw="",ZL={name:"seq-diagram",components:{LifeLineLayer:VL,MessageLayer:zL},computed:{...Ct(["rootContext","coordinates"]),width(){return this.coordinates.getWidth()+10*(this.depth+1)+Fh},depth:function(){return Ch(this.rootContext)},paddingLeft:function(){return 10*(this.depth+1)+Wa}}};function qL(n,e,t,s,r,i){const o=ue("life-line-layer"),a=ue("message-layer");return I(),W("div",{class:"zenuml sequence-diagram relative box-border text-left overflow-visible",style:xe({width:`${i.width}px`,paddingLeft:`${i.paddingLeft}px`}),ref:"diagram"},[fe(o,{context:n.rootContext.head()},null,8,["context"]),fe(a,{context:n.rootContext.block()},null,8,["context"])],4)}const Ka=Ce(ZL,[["render",qL]]),WL={name:"IconList",props:["types"],computed:{},methods:{icon(n){return Nh[n==null?void 0:n.toLowerCase()]}}},KL={role:"list",class:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8"},YL={class:"h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md"},XL=["innerHTML","alt"],QL={class:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md"},JL={class:"px-2 py-2 text-xs"},e_={class:"text-gray-900 font-medium hover:text-gray-600"};function t_(n,e,t,s,r,i){return I(),W("ul",KL,[(I(!0),W(Ve,null,Zn(t.types,o=>(I(),W("li",{key:o,class:"col-span-1 flex flex-col shadow-sm rounded-md"},[b("div",YL,[i.icon?(I(),W("i",{key:0,innerHTML:i.icon(o),class:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${o}`},null,8,XL)):ye("",!0)]),b("div",QL,[b("div",JL,[b("span",e_,"@"+qe(o),1)])])]))),128))])}const n_={name:"TipsDialog",components:{IconList:Ce(WL,[["render",t_]])},computed:{standardTypes(){return["Actor","Boundary","Control","Database","Entity"]},awsServices(){return["CloudWatch","CloudFront","Cognito","DynamoDB","EBS","EC2","ECS","EFS","ElastiCache","ElasticBeantalk","ElasticFileSystem","Glacier","IAM","Kinesis","Lambda","LightSail","RDS","Redshift","S3","SNS","SQS","Sagemaker","VPC"]},azureServices(){return["AzureActiveDirectory","AzureBackup","AzureCDN","AzureDataFactory","AzureDevOps","AzureFunction","AzureSQL","CosmosDB","LogicApps","VirtualMachine"]},googleServices(){return["BigTable","BigQuery","CloudCDN","CloudDNS","CloudInterconnect","CloudLoadBalancing","CloudSQL","CloudStorage","DataLab","DataProc","GoogleIAM","GoogleSecurity","GoogleVPC","PubSub","SecurityScanner","StackDriver","VisionAPI"]}},methods:{closeTipsDialog(){var n;this.$store.state.showTips=!1;try{(n=this.$gtag)==null||n.event("close",{event_category:"help",event_label:"tips dialog"})}catch(e){console.error(e)}}}},s_={class:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block"},r_=b("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity","aria-hidden":"true"},null,-1),i_=b("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true"},"\u200B",-1),o_={class:"z-40 inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:p-2"},a_={class:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",slot:"header"},l_=b("h3",{class:"text-xl leading-6 font-medium text-gray-900 inline-block"},"ZenUML Tips",-1),c_=[b("span",{class:"sr-only"},"Close menu",-1),b("svg",{class:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)],u_={slot:"body"},h_={class:"relative bg-white pb-32 mt-4 overflow-hidden"},f_={class:"relative"},d_={class:"lg:mx-auto lg:max-w-11/12 lg:px-8"},p_=Wc(`<div class="grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"><div><div class="px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"> Declare Participants </h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>// Define a Starter (optional)
449
+ `,googlevpc:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#aecbfa;}.cls-2{fill:#669df6;}.cls-3{fill:#4285f4;}</style></defs><title>Icon_24px_VirtualPrivateCloud_Color</title><g data-name="Product Icons"><rect class="cls-1" x="16" y="2" width="6" height="6"/><rect class="cls-2" x="19" y="2" width="3" height="6"/><rect class="cls-1" x="16" y="16" width="6" height="6"/><rect class="cls-2" x="19" y="16" width="3" height="6"/><rect class="cls-1" x="2" y="2" width="6" height="6"/><rect class="cls-2" x="5" y="2" width="3" height="6"/><rect class="cls-1" x="2" y="16" width="6" height="6"/><rect class="cls-2" x="5" y="16" width="3" height="6"/><rect class="cls-2" x="8" y="4" width="8" height="2"/><rect class="cls-2" x="8" y="18" width="8" height="2"/><rect class="cls-2" x="18" y="8" width="2" height="8"/><rect class="cls-2" x="4" y="8" width="2" height="8"/><rect class="cls-3" x="4" y="8" width="2" height="2"/><rect class="cls-3" x="18" y="8" width="2" height="2"/><rect class="cls-3" x="8" y="4" width="2" height="2"/><rect class="cls-3" x="8" y="18" width="2" height="2"/></g></svg>',pubsub:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{filter:url(#luminosity-noclip);}.cls-2{fill:#669df6;}.cls-3{mask:url(#mask);}.cls-4{fill:#4285f4;}.cls-5{fill:#aecbfa;}</style><filter id="luminosity-noclip" x="4.64" y="4.19" width="14.73" height="12.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><mask id="mask" x="4.64" y="4.19" width="14.73" height="12.76" maskUnits="userSpaceOnUse"><circle class="cls-1" cx="12" cy="12.23" r="3.58"/></mask></defs><title>Icon_24px_Pub-Sub_Color</title><g data-name="Product Icons"><circle class="cls-2" cx="18.97" cy="8.21" r="1.72"/><circle class="cls-2" cx="5.03" cy="8.21" r="1.72"/><circle class="cls-2" cx="12" cy="20.28" r="1.72"/><g class="cls-3"><rect class="cls-4" x="14.69" y="10.22" width="1.59" height="8.04" transform="matrix(0.5, -0.87, 0.87, 0.5, -4.59, 20.53)"/><rect class="cls-4" x="4.49" y="13.45" width="8.04" height="1.59" transform="translate(-5.98 6.17) rotate(-30)"/><rect class="cls-4" x="11.2" y="4.19" width="1.59" height="8.04"/></g><circle class="cls-5" cx="12" cy="12.23" r="2.78"/><circle class="cls-5" cx="5.03" cy="16.25" r="2.19"/><circle class="cls-5" cx="18.97" cy="16.25" r="2.19"/><circle class="cls-5" cx="12" cy="4.19" r="2.19"/></g></svg>',securityscanner:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><circle cx="11.45" cy="11.51" r="2.89" style="fill:#669df6"/><path d="M18.05,6.81a8.12,8.12,0,0,0-4.94-3.23l-.27,1.3A6.79,6.79,0,1,1,6.65,6.74l-1-.94a8.1,8.1,0,1,0,13,2.12A1.31,1.31,0,0,1,18.05,6.81Z" style="fill:#aecbfa"/><path d="M14.46,20.42a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M14.46,16.49a2,2,0,1,1,0,3.93" style="fill:#4285f4"/><path d="M19.38,8.1a1.34,1.34,0,0,1,0-2.67v-1h0a2.38,2.38,0,0,0,0,4.75Z" style="fill:#669df6"/><path d="M19.38,5.43a1.34,1.34,0,0,1,0,2.67v1h0a2.38,2.38,0,0,0,0-4.75Z" style="fill:#4285f4"/><path d="M4.22,12.78a2,2,0,1,1,0-3.93" style="fill:#669df6"/><path d="M4.22,8.85a2,2,0,0,1,0,3.93" style="fill:#4285f4"/></svg>',stackdriver:'<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><polygon points="11.19 11.35 15.75 3.51 6.75 3.51 2.25 11.35 11.19 11.35" style="fill:#aecbfa"/><polygon points="2.25 12.65 6.74 20.49 15.73 20.49 11.25 12.65 2.25 12.65" style="fill:#4285f4"/><path d="M21.75,12l-4.5-7.87L12.74,12l4.51,7.87Z" style="fill:#669df6"/></svg>',visionapi:'<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;}.cls-2{fill:#669df6;}.cls-3{fill:#aecbfa;}.cls-4{fill:#4285f4;}</style></defs><title>Icon_24px_VisionAPI_Color</title><g data-name="Product Icons"><g data-name="colored-32/vision"><rect class="cls-1" width="24" height="24"/><g ><polygon class="cls-2" points="6 12 12 16.99 12 20 2 12 6 12"/><polygon id="Shape-2" data-name="Shape" class="cls-2" points="12 16.99 18 12 22 12 12 20 12 16.99"/><polygon id="Shape-3" data-name="Shape" class="cls-3" points="2 12 12 4 12 7.01 6 12 2 12"/><polygon id="Shape-4" data-name="Shape" class="cls-3" points="12 7.01 18 12 22 12 12 4 12 7.01"/><circle id="Oval" class="cls-4" cx="12" cy="12" r="2"/></g></g></g></svg>'},Ix={name:"Participant",props:{entity:{type:Object,required:!0}},data(){return{color:void 0}},mounted(){this.updateFontColor()},updated(){this.updateFontColor()},computed:{selected(){return this.$store.state.selected.includes(this.entity.name)},stereotype(){return this.entity.stereotype},comment(){return this.entity.comment},icon(){var n;return wu[(n=this.entity.type)==null?void 0:n.toLowerCase()]},backgroundColor(){try{return this.entity.color?this.entity.color&&Lx(this.entity.color):void 0}catch{return}}},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},updateFontColor(){if(!this.backgroundColor)return;let n=window.getComputedStyle(this.$refs.participant).getPropertyValue("background-color");if(!n)return;let t=mx(n);this.color=t>128?"#000":"#fff"}}},Ox=["innerHTML","alt"],Nx={class:"h-5 group flex flex-col justify-center"},Px={key:0,class:"absolute hidden rounded-lg transform -translate-y-8 bg-gray-400 px-2 py-1 text-center text-sm text-white group-hover:flex"},Mx={key:1,class:"interface leading-4"},Fx={class:"name leading-4"};function Dx(n,t,e,s,r,i){return O(),q("div",{class:ne(["participant bg-skin-participant border-skin-participant text-skin-participant rounded text-base leading-4 relative flex flex-col justify-center z-10 h-10",{selected:i.selected,"border-transparent":!!i.icon}]),ref:"participant",style:pt({backgroundColor:i.backgroundColor,color:r.color}),onClick:t[0]||(t[0]=(...o)=>i.onSelect&&i.onSelect(...o))},[i.icon?(O(),q("div",{key:0,innerHTML:i.icon,class:"absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${e.entity.name}`},null,8,Ox)):Lt("",!0),C("div",Nx,[i.comment?(O(),q("span",Px,Gt(i.comment),1)):Lt("",!0),i.stereotype?(O(),q("label",Mx,"\xAB"+Gt(i.stereotype)+"\xBB",1)):Lt("",!0),C("label",Fx,Gt(e.entity.label||e.entity.name),1)])],6)}const Tu=_t(Ix,[["render",Dx]]),xb="",tr=ws.child({name:"LifeLine"}),$x={name:"life-line",components:{Participant:Tu},props:["entity","context","groupLeft","inGroup"],data:()=>({translateX:0,top:0}),computed:{...me(["centerOf"]),...k1(["scale"]),left(){return this.centerOf(this.entity.name)-8-(this.groupLeft||0)}},mounted(){tr.debug(`LifeLine mounted for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),tr.debug(`nextTick after updated for ${this.entity.name}`)})},updated(){tr.debug(`updated for ${this.entity.name}`),this.$nextTick(()=>{this.setTop(),tr.debug(`nextTick after updated for ${this.entity.name}`)})},methods:{onSelect(){this.$store.commit("onSelect",this.entity.name)},setTop(){const n=this.entity.name.replace(/([ #;&,.+*~\':"!^$[\]()=>|\/@])/g,"\\$1"),e=this.$root.$refs.diagram.$el.querySelector(`[data-to="${n}"]`);if(e&&e.attributes["data-type"].value==="creation"){tr.debug(`First message to ${this.entity.name} is creation`);const s=this.$el.getBoundingClientRect().y,r=e.getBoundingClientRect().y;this.top=(r-s)/this.scale}else this.top=0}}},Bx=n=>(Ve("data-v-4798b9e7"),n=n(),je(),n),Ux=["id"],Hx=Bx(()=>C("div",{class:"line bg-skin-lifeline w0 mx-auto flex-grow w-px"},null,-1));function Gx(n,t,e,s,r,i){const o=at("participant");return O(),q("div",{id:e.entity.name,class:"lifeline absolute flex flex-col mx-2 transform -translate-x-1/2 h-full",style:pt({paddingTop:n.top+"px",left:i.left+"px"})},[lt(o,{entity:e.entity},null,8,["entity"]),Hx],12,Ux)}const vu=_t($x,[["render",Gx],["__scopeId","data-v-4798b9e7"]]),zx={name:"lifeline-group",props:["context"],computed:{...me(["centerOf"]),name(){var n,t;return(t=(n=this.context)==null?void 0:n.name())==null?void 0:t.getFormattedText()},offset(){return 0},left(){const n=this.entities[0].name,t=Math.max(bi(n,ms.ParticipantName),"100");return this.centerOf(n)-t/2-8},right(){const n=Math.max(bi(this.entities.slice(-1).name,ms.ParticipantName),"100"),t=this.entities.slice(0).pop().name;return this.centerOf(t)+n/2+20},entities(){return Ei(this.context).Array()}},components:{LifeLine:vu}},Vx={class:"flex flex-col shadow shadow-slate-500/50 flex-grow"},jx={class:"lifeline-group relative flex-grow"};function Zx(n,t,e,s,r,i){const o=at("life-line");return i.entities.length>0?(O(),q("div",{key:0,class:"container absolute flex flex-col h-full",style:pt({left:`${i.left}px`,width:`${i.right-i.left}px`})},[C("div",Vx,[C("div",jx,[(O(!0),q(Ut,null,Rn(i.entities,a=>(O(),bt(o,{inGroup:"true",key:a.name,ref_for:!0,ref:a.name,entity:a,"group-left":i.left},null,8,["entity","group-left"]))),128))])])],4)):Lt("",!0)}const qx=_t(zx,[["render",Zx]]),Au=ws.child({name:"LifeLineLayer"}),Wx={name:"life-line-layer",props:["context"],computed:{...me(["participants","GroupContext","ParticipantContext","centerOf"]),invisibleStarter(){return this.starterParticipant.name==="_STARTER_"},starterParticipant(){return this.participants.Starter()},starterOnTheLeft(){return!this.starterParticipant.explicit},implicitParticipants(){return this.participants.ImplicitArray()},explicitGroupAndParticipants(){var n;return(n=this.context)==null?void 0:n.children.filter(t=>{const e=t instanceof hu,s=t instanceof fu;return e||s})}},methods:{...I1(["increaseGeneration"]),getParticipantEntity(n){return Ei(n).First()}},updated(){Au.debug("LifeLineLayer updated")},mounted(){Au.debug("LifeLineLayer mounted")},components:{LifeLine:vu,LifeLineGroup:qx}},Kx={class:"life-line-layer lifeline-layer absolute h-full flex flex-col pt-8",style:{"min-width":"200px"}},Yx={class:"container relative grow"};function Xx(n,t,e,s,r,i){const o=at("life-line"),a=at("life-line-group");return O(),q("div",Kx,[C("div",Yx,[i.starterOnTheLeft?(O(),bt(o,{key:0,entity:i.starterParticipant,class:ne(["starter",{invisible:i.invisibleStarter}])},null,8,["entity","class"])):Lt("",!0),(O(!0),q(Ut,null,Rn(i.explicitGroupAndParticipants,(l,c)=>(O(),q(Ut,null,[l instanceof n.GroupContext?(O(),bt(a,{key:c,context:l},null,8,["context"])):Lt("",!0),l instanceof n.ParticipantContext?(O(),bt(o,{key:c,entity:i.getParticipantEntity(l)},null,8,["entity"])):Lt("",!0)],64))),256)),(O(!0),q(Ut,null,Rn(i.implicitParticipants,l=>(O(),bt(o,{key:l.name,entity:l},null,8,["entity"]))),128))])])}const Qx=_t(Wx,[["render",Xx]]),mb="",Su=ws.child({name:"MessageLayer"}),Jx={name:"message-layer",props:["context"],data(){return{left:0,right:0,totalWidth:0}},computed:{...me(["participants","centerOf"]),paddingLeft(){if(this.participants.Array().length>=1){const n=this.participants.Array().slice(0)[0].name;return this.centerOf(n)}return 0}},methods:{...I1(["onMessageLayerMountedOrUpdated"]),participantNames(){return this.participants.Names()}},updated(){Su.debug("MessageLayer updated")},mounted(){Su.debug("MessageLayer mounted")}},tm={class:"message-layer pt-24 pb-10"};function em(n,t,e,s,r,i){const o=at("block");return O(),q("div",tm,[lt(o,{context:e.context,style:pt({"padding-left":i.paddingLeft+"px"})},null,8,["context","style"])])}const nm=_t(Jx,[["render",em]]),aa=30,Ru=100,er={computed:{...me(["coordinates","distance2"]),localParticipants:function(){return[this.from,...Ei(this.context).ImplicitArray().map(n=>n.name)]},leftParticipant:function(){return this.coordinates.participantModels.map(t=>t.name).find(t=>this.localParticipants.includes(t))},rightParticipant:function(){return this.coordinates.participantModels.map(t=>t.name).reverse().find(t=>this.localParticipants.includes(t))},depth:function(){return du(this.context)},offsetX:function(){let n=10*(this.depth+1);return this.distance2(this.leftParticipant,this.from)+n+aa},fragmentStyle:function(){return{transform:"translateX("+(this.offsetX+1)*-1+"px)",width:this.distance2(this.leftParticipant,this.rightParticipant)+20*this.depth+aa+Ru+"px"}}}},Lb="",sm={name:"seq-diagram",components:{LifeLineLayer:Qx,MessageLayer:nm},computed:{...me(["rootContext","coordinates"]),width(){return this.coordinates.getWidth()+10*(this.depth+1)+Ru},depth:function(){return du(this.rootContext)},paddingLeft:function(){return 10*(this.depth+1)+aa}}};function rm(n,t,e,s,r,i){const o=at("life-line-layer"),a=at("message-layer");return O(),q("div",{class:"zenuml sequence-diagram relative box-border text-left overflow-visible",style:pt({width:`${i.width}px`,paddingLeft:`${i.paddingLeft}px`}),ref:"diagram"},[lt(o,{context:n.rootContext.head()},null,8,["context"]),lt(a,{context:n.rootContext.block()},null,8,["context"])],4)}const la=_t(sm,[["render",rm]]),im={name:"IconList",props:["types"],computed:{},methods:{icon(n){return wu[n==null?void 0:n.toLowerCase()]}}},om={role:"list",class:"mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8"},am={class:"h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md"},lm=["innerHTML","alt"],cm={class:"flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md"},um={class:"px-2 py-2 text-xs"},hm={class:"text-gray-900 font-medium hover:text-gray-600"};function fm(n,t,e,s,r,i){return O(),q("ul",om,[(O(!0),q(Ut,null,Rn(e.types,o=>(O(),q("li",{key:o,class:"col-span-1 flex flex-col shadow-sm rounded-md"},[C("div",am,[i.icon?(O(),q("i",{key:0,innerHTML:i.icon(o),class:"object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full",alt:`icon for ${o}`},null,8,lm)):Lt("",!0)]),C("div",cm,[C("div",um,[C("span",hm,"@"+Gt(o),1)])])]))),128))])}const dm={name:"TipsDialog",components:{IconList:_t(im,[["render",fm]])},computed:{standardTypes(){return["Actor","Boundary","Control","Database","Entity"]},awsServices(){return["CloudWatch","CloudFront","Cognito","DynamoDB","EBS","EC2","ECS","EFS","ElastiCache","ElasticBeantalk","ElasticFileSystem","Glacier","IAM","Kinesis","Lambda","LightSail","RDS","Redshift","S3","SNS","SQS","Sagemaker","VPC"]},azureServices(){return["AzureActiveDirectory","AzureBackup","AzureCDN","AzureDataFactory","AzureDevOps","AzureFunction","AzureSQL","CosmosDB","LogicApps","VirtualMachine"]},googleServices(){return["BigTable","BigQuery","CloudCDN","CloudDNS","CloudInterconnect","CloudLoadBalancing","CloudSQL","CloudStorage","DataLab","DataProc","GoogleIAM","GoogleSecurity","GoogleVPC","PubSub","SecurityScanner","StackDriver","VisionAPI"]}},methods:{closeTipsDialog(){var n;this.$store.state.showTips=!1;try{(n=this.$gtag)==null||n.event("close",{event_category:"help",event_label:"tips dialog"})}catch(t){console.error(t)}}}},pm={class:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block"},gm=C("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity","aria-hidden":"true"},null,-1),xm=C("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true"},"\u200B",-1),mm={class:"z-40 inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:p-2"},Lm={class:"bg-white px-4 py-5 border-b border-gray-200 sm:px-6",slot:"header"},_m=C("h3",{class:"text-xl leading-6 font-medium text-gray-900 inline-block"},"ZenUML Tips",-1),ym=[C("span",{class:"sr-only"},"Close menu",-1),C("svg",{class:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)],Cm={slot:"body"},Em={class:"relative bg-white pb-32 mt-4 overflow-hidden"},bm={class:"relative"},wm={class:"lg:mx-auto lg:max-w-11/12 lg:px-8"},Tm=Zl(`<div class="grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"><div><div class="px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"> Declare Participants </h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>// Define a Starter (optional)
457
450
  @Starter(A)
458
451
 
459
452
  // Show icons
@@ -500,63 +493,63 @@ A.method() {
500
493
  }
501
494
  A.method() {
502
495
  @return A-&gt;B: message
503
- }</code></pre></div></div>`,1),g_={class:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},x_=b("h2",{class:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900"}," Builtin Icons ",-1),m_=b("p",{class:"text-sm text-gray-500"},[pi(" Use "),b("span",{class:"rounded inline-block bg-gray-50 text-gray-600"},[b("code",{class:"text-xs"},"@Actor TheParticipant")]),pi(" to define the type of the participant. ")],-1),L_=b("hr",{class:"mt-4"},null,-1),__=b("hr",{class:"mt-4"},null,-1),y_=b("hr",{class:"mt-4"},null,-1);function C_(n,e,t,s,r,i){const o=ue("IconList");return I(),W("div",s_,[r_,i_,b("div",o_,[b("div",null,[b("div",a_,[l_,b("button",{type:"button",onClick:e[0]||(e[0]=a=>i.closeTipsDialog()),class:"float-right bg-white rounded-md inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500"},c_)]),b("div",u_,[b("div",h_,[b("div",f_,[b("div",d_,[p_,b("div",g_,[x_,m_,fe(o,{types:i.standardTypes},null,8,["types"]),L_,fe(o,{types:i.awsServices},null,8,["types"]),__,fe(o,{types:i.azureServices},null,8,["types"]),y_,fe(o,{types:i.googleServices},null,8,["types"])])])])])])])])])}const E_=Ce(n_,[["render",C_]]),cw="",b_={name:"point",props:["fill","rtl"]},$h=n=>(Kt("data-v-ca07199a"),n=n(),Yt(),n),v_={key:0,class:"arrow stroke-2",height:"10",width:"10"},w_=[$h(()=>b("polyline",{class:"right head fill-current stroke-current",points:"0,0 10,5 0,10"},null,-1))],T_={key:1,class:"arrow stroke-2",height:"10",width:"10"},A_=[$h(()=>b("polyline",{class:"left head fill-current stroke-current",points:"10,0 0,5 10,10"},null,-1))];function S_(n,e,t,s,r,i){return I(),W("div",{class:lt(["point text-skin-message-arrow",{fill:t.fill,"no-fill":!t.fill,"right-to-left":t.rtl}])},[t.rtl?ye("",!0):(I(),W("svg",v_,w_)),t.rtl?(I(),W("svg",T_,A_)):ye("",!0)],2)}const R_={name:"message",props:["content","rtl","type","color"],computed:{isAsync:function(){return this.type==="async"},borderStyle(){switch(this.type){case"sync":case"async":return"solid";case"creation":case"return":return"dashed"}return""},fill(){switch(this.type){case"sync":case"async":return!0;case"creation":case"return":return!1}return!1}},components:{Point:Ce(b_,[["render",S_],["__scopeId","data-v-ca07199a"]])}};function k_(n,e,t,s,r,i){const o=ue("point");return I(),W("div",{class:lt(["message border-skin-message-arrow border-b-2 flex items-end",{"flex-row-reverse":t.rtl,return:t.type==="return","right-to-left":t.rtl,"text-left":i.isAsync,"text-center":!i.isAsync}]),style:xe({"border-bottom-style":i.borderStyle})},[b("div",{class:"name flex-grow text-sm truncate hover:whitespace-normal hover:text-skin-message-hover hover:bg-skin-message-hover",style:xe([{color:t.color},{"padding-left":"5px",float:"left"}])},qe(t.content),5),fe(o,{class:"flex-shrink-0 transform translate-y-1/2 -my-px",fill:i.fill,rtl:t.rtl},null,8,["fill","rtl"])],6)}const Sr=Ce(R_,[["render",k_]]),O_={name:"WidthProvider",components:{Message:Sr},data:function(){return{text:"abcd"}},methods:{width:function(n,e){return console.log(n,e),this.text=n,this.$el.clientWidth}},mounted(){this.$store.state.widthProvider=this}},N_={class:"invisible"};function I_(n,e,t,s,r,i){const o=ue("message");return I(),W("div",N_,[fe(o,{content:n.text,rtl:"false",type:"sync"},null,8,["content"])])}const P_=Ce(O_,[["render",I_]]);function M_(n,e){if(n.match(/^[a-z]+:\/\//i))return n;if(n.match(/^\/\//))return window.location.protocol+n;if(n.match(/^[a-z]+:/i))return n;const t=document.implementation.createHTMLDocument(),s=t.createElement("base"),r=t.createElement("a");return t.head.appendChild(s),t.body.appendChild(r),e&&(s.href=e),r.href=n,r.href}const D_=(()=>{let n=0;const e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(n+=1,`u${e()}${n}`)})();function Sn(n){const e=[];for(let t=0,s=n.length;t<s;t++)e.push(n[t]);return e}function lo(n,e){const s=(n.ownerDocument.defaultView||window).getComputedStyle(n).getPropertyValue(e);return s?parseFloat(s.replace("px","")):0}function F_(n){const e=lo(n,"border-left-width"),t=lo(n,"border-right-width");return n.clientWidth+e+t}function $_(n){const e=lo(n,"border-top-width"),t=lo(n,"border-bottom-width");return n.clientHeight+e+t}function Bh(n,e={}){const t=e.width||F_(n),s=e.height||$_(n);return{width:t,height:s}}function B_(){let n,e;try{e=process}catch{}const t=e&&e.env?e.env.devicePixelRatio:null;return t&&(n=parseInt(t,10),Number.isNaN(n)&&(n=1)),n||window.devicePixelRatio||1}const Tt=16384;function U_(n){(n.width>Tt||n.height>Tt)&&(n.width>Tt&&n.height>Tt?n.width>n.height?(n.height*=Tt/n.width,n.width=Tt):(n.width*=Tt/n.height,n.height=Tt):n.width>Tt?(n.height*=Tt/n.width,n.width=Tt):(n.width*=Tt/n.height,n.height=Tt))}function V_(n,e={}){return n.toBlob?new Promise(t=>{n.toBlob(t,e.type?e.type:"image/png",e.quality?e.quality:1)}):new Promise(t=>{const s=window.atob(n.toDataURL(e.type?e.type:void 0,e.quality?e.quality:void 0).split(",")[1]),r=s.length,i=new Uint8Array(r);for(let o=0;o<r;o+=1)i[o]=s.charCodeAt(o);t(new Blob([i],{type:e.type?e.type:"image/png"}))})}function co(n){return new Promise((e,t)=>{const s=new Image;s.decode=()=>e(s),s.onload=()=>e(s),s.onerror=t,s.crossOrigin="anonymous",s.decoding="async",s.src=n})}async function H_(n){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(n)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function G_(n,e,t){const s="http://www.w3.org/2000/svg",r=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return r.setAttribute("width",`${e}`),r.setAttribute("height",`${t}`),r.setAttribute("viewBox",`0 0 ${e} ${t}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),r.appendChild(i),i.appendChild(n),H_(r)}function j_(n){const e=n.getPropertyValue("content");return`${n.cssText} content: '${e.replace(/'|"/g,"")}';`}function z_(n){return Sn(n).map(e=>{const t=n.getPropertyValue(e),s=n.getPropertyPriority(e);return`${e}: ${t}${s?" !important":""};`}).join(" ")}function Z_(n,e,t){const s=`.${n}:${e}`,r=t.cssText?j_(t):z_(t);return document.createTextNode(`${s}{${r}}`)}function Uh(n,e,t){const s=window.getComputedStyle(n,t),r=s.getPropertyValue("content");if(r===""||r==="none")return;const i=D_();try{e.className=`${e.className} ${i}`}catch{return}const o=document.createElement("style");o.appendChild(Z_(i,t,s)),e.appendChild(o)}function q_(n,e){Uh(n,e,":before"),Uh(n,e,":after")}const Vh="application/font-woff",Hh="image/jpeg",W_={woff:Vh,woff2:Vh,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Hh,jpeg:Hh,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function K_(n){const e=/\.([^./]*?)$/g.exec(n);return e?e[1]:""}function Ya(n){const e=K_(n).toLowerCase();return W_[e]||""}function Y_(n){return n.split(/,/)[1]}function Xa(n){return n.search(/^(data:)/)!==-1}function Gh(n,e){return`data:${e};base64,${n}`}async function jh(n,e,t){const s=await fetch(n,e);if(s.status===404)throw new Error(`Resource "${s.url}" not found`);const r=await s.blob();return new Promise((i,o)=>{const a=new FileReader;a.onerror=o,a.onloadend=()=>{try{i(t({res:s,result:a.result}))}catch(l){o(l)}},a.readAsDataURL(r)})}const Qa={};function X_(n,e,t){let s=n.replace(/\?.*/,"");return t&&(s=n),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),e?`[${e}]${s}`:s}async function Ja(n,e,t){const s=X_(n,e,t.includeQueryParams);if(Qa[s]!=null)return Qa[s];t.cacheBust&&(n+=(/\?/.test(n)?"&":"?")+new Date().getTime());let r;try{const i=await jh(n,t.fetchRequestInit,({res:o,result:a})=>(e||(e=o.headers.get("Content-Type")||""),Y_(a)));r=Gh(i,e)}catch(i){r=t.imagePlaceholder||"";let o=`Failed to fetch resource: ${n}`;i&&(o=typeof i=="string"?i:i.message),o&&console.warn(o)}return Qa[s]=r,r}async function Q_(n){const e=n.toDataURL();return e==="data:,"?n.cloneNode(!1):co(e)}async function J_(n,e){if(n.currentSrc){const i=document.createElement("canvas"),o=i.getContext("2d");i.width=n.clientWidth,i.height=n.clientHeight,o==null||o.drawImage(n,0,0,i.width,i.height);const a=i.toDataURL();return co(a)}const t=n.poster,s=Ya(t),r=await Ja(t,s,e);return co(r)}async function ey(n){var e;try{if(!((e=n==null?void 0:n.contentDocument)===null||e===void 0)&&e.body)return await uo(n.contentDocument.body,{},!0)}catch{}return n.cloneNode(!1)}async function ty(n,e){return n instanceof HTMLCanvasElement?Q_(n):n instanceof HTMLVideoElement?J_(n,e):n instanceof HTMLIFrameElement?ey(n):n.cloneNode(!1)}const ny=n=>n.tagName!=null&&n.tagName.toUpperCase()==="SLOT";async function sy(n,e,t){var s;const r=ny(n)&&n.assignedNodes?Sn(n.assignedNodes()):Sn(((s=n.shadowRoot)!==null&&s!==void 0?s:n).childNodes);return r.length===0||n instanceof HTMLVideoElement||await r.reduce((i,o)=>i.then(()=>uo(o,t)).then(a=>{a&&e.appendChild(a)}),Promise.resolve()),e}function ry(n,e){const t=e.style;if(!t)return;const s=window.getComputedStyle(n);s.cssText?(t.cssText=s.cssText,t.transformOrigin=s.transformOrigin):Sn(s).forEach(r=>{let i=s.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),t.setProperty(r,i,s.getPropertyPriority(r))})}function iy(n,e){n instanceof HTMLTextAreaElement&&(e.innerHTML=n.value),n instanceof HTMLInputElement&&e.setAttribute("value",n.value)}function oy(n,e){if(n instanceof HTMLSelectElement){const t=e,s=Array.from(t.children).find(r=>n.value===r.getAttribute("value"));s&&s.setAttribute("selected","")}}function ay(n,e){return e instanceof Element&&(ry(n,e),q_(n,e),iy(n,e),oy(n,e)),e}async function ly(n,e){const t=n.querySelectorAll?n.querySelectorAll("use"):[];if(t.length===0)return n;const s={};for(let i=0;i<t.length;i++){const a=t[i].getAttribute("xlink:href");if(a){const l=n.querySelector(a),c=document.querySelector(a);!l&&c&&!s[a]&&(s[a]=await uo(c,e,!0))}}const r=Object.values(s);if(r.length){const i="http://www.w3.org/1999/xhtml",o=document.createElementNS(i,"svg");o.setAttribute("xmlns",i),o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.overflow="hidden",o.style.display="none";const a=document.createElementNS(i,"defs");o.appendChild(a);for(let l=0;l<r.length;l++)a.appendChild(r[l]);n.appendChild(o)}return n}async function uo(n,e,t){return!t&&e.filter&&!e.filter(n)?null:Promise.resolve(n).then(s=>ty(s,e)).then(s=>sy(n,s,e)).then(s=>ay(n,s)).then(s=>ly(s,e))}const zh=/url\((['"]?)([^'"]+?)\1\)/g,cy=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,uy=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function hy(n){const e=n.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function fy(n){const e=[];return n.replace(zh,(t,s,r)=>(e.push(r),t)),e.filter(t=>!Xa(t))}async function dy(n,e,t,s,r){try{const i=t?M_(e,t):e,o=Ya(e);let a;if(r){const l=await r(i);a=Gh(l,o)}else a=await Ja(i,o,s);return n.replace(hy(e),`$1${a}$3`)}catch{}return n}function py(n,{preferredFontFormat:e}){return e?n.replace(uy,t=>{for(;;){const[s,,r]=cy.exec(t)||[];if(!r)return"";if(r===e)return`src: ${s};`}}):n}function Zh(n){return n.search(zh)!==-1}async function qh(n,e,t){if(!Zh(n))return n;const s=py(n,t);return fy(s).reduce((i,o)=>i.then(a=>dy(a,o,e,t)),Promise.resolve(s))}async function gy(n,e){var t;const s=(t=n.style)===null||t===void 0?void 0:t.getPropertyValue("background");if(s){const r=await qh(s,null,e);n.style.setProperty("background",r,n.style.getPropertyPriority("background"))}}async function xy(n,e){if(!(n instanceof HTMLImageElement&&!Xa(n.src))&&!(n instanceof SVGImageElement&&!Xa(n.href.baseVal)))return;const t=n instanceof HTMLImageElement?n.src:n.href.baseVal,s=await Ja(t,Ya(t),e);await new Promise((r,i)=>{n.onload=r,n.onerror=i;const o=n;o.decode&&(o.decode=r),n instanceof HTMLImageElement?(n.srcset="",n.src=s):n.href.baseVal=s})}async function my(n,e){const s=Sn(n.childNodes).map(r=>Wh(r,e));await Promise.all(s).then(()=>n)}async function Wh(n,e){n instanceof Element&&(await gy(n,e),await xy(n,e),await my(n,e))}function Ly(n,e){const{style:t}=n;e.backgroundColor&&(t.backgroundColor=e.backgroundColor),e.width&&(t.width=`${e.width}px`),e.height&&(t.height=`${e.height}px`);const s=e.style;return s!=null&&Object.keys(s).forEach(r=>{t[r]=s[r]}),n}const Kh={};async function Yh(n){let e=Kh[n];if(e!=null)return e;const s=await(await fetch(n)).text();return e={url:n,cssText:s},Kh[n]=e,e}async function Xh(n,e){let t=n.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,i=(t.match(/url\([^)]+\)/g)||[]).map(async o=>{let a=o.replace(s,"$1");return a.startsWith("https://")||(a=new URL(a,n.url).href),jh(a,e.fetchRequestInit,({result:l})=>(t=t.replace(o,`url(${l})`),[o,l]))});return Promise.all(i).then(()=>t)}function Qh(n){if(n==null)return[];const e=[],t=/(\/\*[\s\S]*?\*\/)/gi;let s=n.replace(t,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=r.exec(s);if(l===null)break;e.push(l[0])}s=s.replace(r,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(o,"gi");for(;;){let l=i.exec(s);if(l===null){if(l=a.exec(s),l===null)break;i.lastIndex=a.lastIndex}else a.lastIndex=i.lastIndex;e.push(l[0])}return e}async function _y(n,e){const t=[],s=[];return n.forEach(r=>{if("cssRules"in r)try{Sn(r.cssRules||[]).forEach((i,o)=>{if(i.type===CSSRule.IMPORT_RULE){let a=o+1;const l=i.href,c=Yh(l).then(u=>Xh(u,e)).then(u=>Qh(u).forEach(f=>{try{r.insertRule(f,f.startsWith("@import")?a+=1:r.cssRules.length)}catch(p){console.error("Error inserting rule from remote css",{rule:f,error:p})}})).catch(u=>{console.error("Error loading remote css",u.toString())});s.push(c)}})}catch(i){const o=n.find(a=>a.href==null)||document.styleSheets[0];r.href!=null&&s.push(Yh(r.href).then(a=>Xh(a,e)).then(a=>Qh(a).forEach(l=>{o.insertRule(l,r.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a.toString())})),console.error("Error inlining remote css file",i.toString())}}),Promise.all(s).then(()=>(n.forEach(r=>{if("cssRules"in r)try{Sn(r.cssRules||[]).forEach(i=>{t.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${r.href}`,i.toString())}}),t))}function yy(n){return n.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>Zh(e.style.getPropertyValue("src")))}async function Cy(n,e){if(n.ownerDocument==null)throw new Error("Provided element is not within a Document");const t=Sn(n.ownerDocument.styleSheets),s=await _y(t,e);return yy(s)}async function Ey(n,e){const t=await Cy(n,e);return(await Promise.all(t.map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return qh(r.cssText,i,e)}))).join(`
504
- `)}async function by(n,e){const t=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await Ey(n,e);if(t){const s=document.createElement("style"),r=document.createTextNode(t);s.appendChild(r),n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s)}}async function Jh(n,e={}){const{width:t,height:s}=Bh(n,e),r=await uo(n,e,!0);return await by(r,e),await Wh(r,e),Ly(r,e),await G_(r,t,s)}async function el(n,e={}){const{width:t,height:s}=Bh(n,e),r=await Jh(n,e),i=await co(r),o=document.createElement("canvas"),a=o.getContext("2d"),l=e.pixelRatio||B_(),c=e.canvasWidth||t,u=e.canvasHeight||s;return o.width=c*l,o.height=u*l,e.skipAutoScale||U_(o),o.style.width=`${c}`,o.style.height=`${u}`,e.backgroundColor&&(a.fillStyle=e.backgroundColor,a.fillRect(0,0,o.width,o.height)),a.drawImage(i,0,0,o.width,o.height),o}async function vy(n,e={}){return(await el(n,e)).toDataURL()}async function wy(n,e={}){return(await el(n,e)).toDataURL("image/jpeg",e.quality||1)}async function Ty(n,e={}){const t=await el(n,e);return await V_(t)}const Ay="process.env.VUE_APP_GIT_HASH",Sy="process.env.VUE_APP_GIT_BRANCH",Ry={name:"Debug",data(){return{commitHash:Ay,gitBranch:Sy}},computed:{debug(){return!!localStorage.zenumlDebug}}},ky={class:"flex flex-nowrap m-2 text-sm"},Oy={class:"ml-4 text-xs inline-flex items-center font-bold leading-sm px-3 py-1 bg-green-200 text-green-700 rounded-sm"},Ny=Wc('<svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="6" y1="3" x2="6" y2="15"></line><circle cx="18" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><path d="M18 9a9 9 0 0 1-9 9"></path></svg>',1),Iy={class:"inline-block px-2"};function Py(n,e,t,s,r,i){return Dd((I(),W("div",null,[b("div",ky,[b("div",Oy,[Ny,b("span",Iy,qe(r.gitBranch)+":"+qe(r.commitHash),1)])])],512)),[[K3,i.debug]])}const My=Ce(Ry,[["render",Py]]),Dy={name:"DiagramFrame",computed:{...L1(["showTips","scale","theme"]),...Ct(["rootContext"]),title(){var n;return this.rootContext||console.error("`rootContext` is empty. Please make sure `store` is properly configured."),(n=this.rootContext)==null?void 0:n.title()}},mounted(){this.$el.__vue__=this},methods:{..._1(["setScale"]),showTipsDialog(){var n;this.$store.state.showTips=!0;try{(n=this.$gtag)==null||n.event("view",{event_category:"help",event_label:"tips dialog"})}catch(e){console.error(e)}},toPng(){return vy(this.$refs.export,{backgroundColor:"white",filter:n=>{var e;return!((e=n==null?void 0:n.classList)!=null&&e.contains("hide-export"))}})},toSvg(){return Jh(this.$refs.export,{backgroundColor:"white",filter:n=>{var e;return!((e=n==null?void 0:n.classList)!=null&&e.contains("hide-export"))}})},toBlob(){return Ty(this.$refs.export,{backgroundColor:"white",filter:n=>{var e;return!((e=n==null?void 0:n.classList)!=null&&e.contains("hide-export"))}})},toJpeg(){return wy(this.$refs.export,{backgroundColor:"white",filter:n=>{var e;return!((e=n==null?void 0:n.classList)!=null&&e.contains("hide-export"))}})},zoomIn(){this.setScale(this.scale+.1)},zoomOut(){this.setScale(this.scale-.1)},setTheme(n){this.theme=n},setStyle(n){const e="zenuml-style";let t=document.getElementById(e);t||(t=document.createElement("style"),t.id=e,document.head.append(t)),t.textContent=n},setRemoteCss(n){const e=new URL(n).hostname;if(e==="https://github.com"||e==="https://githubusercontent.com"){fetch(n.replace("github.com","raw.githubusercontent.com").replace("blob/","")).then(r=>r.text()).then(r=>{this.setStyle(r)});return}const t="zenuml-remote-css";let s=document.getElementById(t);s||(s=document.createElement("link"),s.id=t,s.rel="stylesheet",document.head.append(s)),s.href=n}},components:{Debug:My,WidthProvider:P_,TipsDialog:E_,DiagramTitle:eL,SeqDiagram:Ka,Privacy:Ym}},Fy={ref:"content"},$y={class:"header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t"},By={class:"left hide-export"},Uy={class:"right flex-grow flex justify-between"},Vy={key:0,class:"fixed z-40 inset-0 overflow-y-auto","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"},Hy={class:"footer p-1 flex justify-between"},Gy={class:"filter grayscale",style:{width:"1em",height:"1em","vertical-align":"middle",fill:"currentColor",overflow:"hidden"},viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},jy=[b("path",{d:"M514 912c-219.9 0-398.8-178.9-398.8-398.9 0-219.9 178.9-398.8 398.8-398.8s398.9 178.9 398.9 398.8c-0.1 220-179 398.9-398.9 398.9z m0-701.5c-166.9 0-302.7 135.8-302.7 302.7S347.1 815.9 514 815.9s302.7-135.8 302.7-302.7S680.9 210.5 514 210.5z",fill:"#BDD2EF"},null,-1),b("path",{d:"M431.1 502.4c-0.1 0.3 0.3 0.4 0.4 0.2 6.9-11.7 56.5-89.1 23.4 167.3-17.4 134.7 122.9 153.6 142.3-7.9 0.1-1-1.3-1.4-1.7-0.4-11.9 37.2-49.6 104.9-4.7-155.2 18.6-107.2-127.6-146-159.7-4z",fill:"#2867CE"},null,-1),b("path",{d:"M541.3 328m-68 0a68 68 0 1 0 136 0 68 68 0 1 0-136 0Z",fill:"#2867CE"},null,-1)],zy=b("a",{target:"_blank",href:"https://zenuml.com",class:"brand text-skin-link absolute bottom-1 right-1 text-xs"},"ZenUML.com",-1);function Zy(n,e,t,s,r,i){const o=ue("debug"),a=ue("diagram-title"),l=ue("privacy"),c=ue("TipsDialog"),u=ue("seq-diagram"),f=ue("width-provider");return I(),W("div",{ref:"export",class:lt(["zenuml p-1 bg-skin-canvas",n.theme]),style:{display:"inline-block"}},[fe(o),b("div",{class:"frame text-skin-frame bg-skin-frame border-skin-frame relative m-1 origin-top-left whitespace-nowrap border rounded",style:xe({transform:`scale(${n.scale})`})},[b("div",Fy,[b("div",$y,[b("div",By,[Fd(n.$slots,"default")]),b("div",Uy,[fe(a,{context:i.title},null,8,["context"]),fe(l,{class:"hide-export flex items-center"})])]),b("div",null,[n.showTips?(I(),W("div",Vy,[fe(c)])):ye("",!0)]),fe(u,{ref:"diagram"},null,512)],512),b("div",Hy,[b("button",{class:"bottom-1 left-1 hide-export",onClick:e[0]||(e[0]=p=>i.showTipsDialog())},[(I(),W("svg",Gy,jy))]),b("div",{class:"zoom-controls bg-skin-base text-skin-control flex justify-between w-28 hide-export",style:xe({transform:`scale(${1/n.scale})`})},[b("button",{class:"zoom-in px-1",onClick:e[1]||(e[1]=p=>i.zoomIn())},"+"),b("label",null,qe(Number(n.scale*100).toFixed(0))+" %",1),b("button",{class:"zoom-out px-1",onClick:e[2]||(e[2]=p=>i.zoomOut())},"-")],4),fe(f),zy])],4)],2)}const e2=Ce(Dy,[["render",Zy]]),xw="",mw="",Lw="",_w="",yw="",Cw="",Ew="";function t2(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let Ds=t2();function qy(n){Ds=n}const Wy=/[&<>"']/,Ky=/[&<>"']/g,Yy=/[<>"']|&(?!#?\w+;)/,Xy=/[<>"']|&(?!#?\w+;)/g,Qy={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},n2=n=>Qy[n];function Ke(n,e){if(e){if(Wy.test(n))return n.replace(Ky,n2)}else if(Yy.test(n))return n.replace(Xy,n2);return n}const Jy=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function s2(n){return n.replace(Jy,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const eC=/(^|[^\[])\^/g;function Oe(n,e){n=n.source||n,e=e||"";const t={replace:(s,r)=>(r=r.source||r,r=r.replace(eC,"$1"),n=n.replace(s,r),t),getRegex:()=>new RegExp(n,e)};return t}const tC=/[^\w:]/g,nC=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function r2(n,e,t){if(n){let s;try{s=decodeURIComponent(s2(t)).replace(tC,"").toLowerCase()}catch{return null}if(s.indexOf("javascript:")===0||s.indexOf("vbscript:")===0||s.indexOf("data:")===0)return null}e&&!nC.test(t)&&(t=oC(e,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const ho={},sC=/^[^:]+:\/*[^/]*$/,rC=/^([^:]+:)[\s\S]*$/,iC=/^([^:]+:\/*[^/]*)[\s\S]*$/;function oC(n,e){ho[" "+n]||(sC.test(n)?ho[" "+n]=n+"/":ho[" "+n]=po(n,"/",!0)),n=ho[" "+n];const t=n.indexOf(":")===-1;return e.substring(0,2)==="//"?t?e:n.replace(rC,"$1")+e:e.charAt(0)==="/"?t?e:n.replace(iC,"$1")+e:n+e}const fo={exec:function(){}};function Vt(n){let e=1,t,s;for(;e<arguments.length;e++){t=arguments[e];for(s in t)Object.prototype.hasOwnProperty.call(t,s)&&(n[s]=t[s])}return n}function i2(n,e){const t=n.replace(/\|/g,(i,o,a)=>{let l=!1,c=o;for(;--c>=0&&a[c]==="\\";)l=!l;return l?"|":" |"}),s=t.split(/ \|/);let r=0;if(s[0].trim()||s.shift(),s[s.length-1].trim()||s.pop(),s.length>e)s.splice(e);else for(;s.length<e;)s.push("");for(;r<s.length;r++)s[r]=s[r].trim().replace(/\\\|/g,"|");return s}function po(n,e,t){const s=n.length;if(s===0)return"";let r=0;for(;r<s;){const i=n.charAt(s-r-1);if(i===e&&!t)r++;else if(i!==e&&t)r++;else break}return n.substr(0,s-r)}function aC(n,e){if(n.indexOf(e[1])===-1)return-1;const t=n.length;let s=0,r=0;for(;r<t;r++)if(n[r]==="\\")r++;else if(n[r]===e[0])s++;else if(n[r]===e[1]&&(s--,s<0))return r;return-1}function o2(n){n&&n.sanitize&&!n.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function a2(n,e){if(e<1)return"";let t="";for(;e>1;)e&1&&(t+=n),e>>=1,n+=n;return t+n}function l2(n,e,t,s){const r=e.href,i=e.title?Ke(e.title):null,o=n[1].replace(/\\([\[\]])/g,"$1");if(n[0].charAt(0)!=="!"){s.state.inLink=!0;const a={type:"link",raw:t,href:r,title:i,text:o,tokens:s.inlineTokens(o,[])};return s.state.inLink=!1,a}else return{type:"image",raw:t,href:r,title:i,text:Ke(o)}}function lC(n,e){const t=n.match(/^(\s+)(?:```)/);if(t===null)return e;const s=t[1];return e.split(`
496
+ }</code></pre></div></div>`,1),vm={class:"px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0"},Am=C("h2",{class:"mt-8 mb-4 text-lg leading-6 font-medium text-gray-900"}," Builtin Icons ",-1),Sm=C("p",{class:"text-sm text-gray-500"},[Mr(" Use "),C("span",{class:"rounded inline-block bg-gray-50 text-gray-600"},[C("code",{class:"text-xs"},"@Actor TheParticipant")]),Mr(" to define the type of the participant. ")],-1),Rm=C("hr",{class:"mt-4"},null,-1),km=C("hr",{class:"mt-4"},null,-1),Im=C("hr",{class:"mt-4"},null,-1);function Om(n,t,e,s,r,i){const o=at("IconList");return O(),q("div",pm,[gm,xm,C("div",mm,[C("div",null,[C("div",Lm,[_m,C("button",{type:"button",onClick:t[0]||(t[0]=a=>i.closeTipsDialog()),class:"float-right bg-white rounded-md inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500"},ym)]),C("div",Cm,[C("div",Em,[C("div",bm,[C("div",wm,[Tm,C("div",vm,[Am,Sm,lt(o,{types:i.standardTypes},null,8,["types"]),Rm,lt(o,{types:i.awsServices},null,8,["types"]),km,lt(o,{types:i.azureServices},null,8,["types"]),Im,lt(o,{types:i.googleServices},null,8,["types"])])])])])])])])])}const Nm=_t(dm,[["render",Om]]),Eb="",Pm={name:"point",props:["fill","rtl"]},ku=n=>(Ve("data-v-ca07199a"),n=n(),je(),n),Mm={key:0,class:"arrow stroke-2",height:"10",width:"10"},Fm=[ku(()=>C("polyline",{class:"right head fill-current stroke-current",points:"0,0 10,5 0,10"},null,-1))],Dm={key:1,class:"arrow stroke-2",height:"10",width:"10"},$m=[ku(()=>C("polyline",{class:"left head fill-current stroke-current",points:"10,0 0,5 10,10"},null,-1))];function Bm(n,t,e,s,r,i){return O(),q("div",{class:ne(["point text-skin-message-arrow",{fill:e.fill,"no-fill":!e.fill,"right-to-left":e.rtl}])},[e.rtl?Lt("",!0):(O(),q("svg",Mm,Fm)),e.rtl?(O(),q("svg",Dm,$m)):Lt("",!0)],2)}const Um={name:"message",props:["content","rtl","type","color"],computed:{isAsync:function(){return this.type==="async"},borderStyle(){switch(this.type){case"sync":case"async":return"solid";case"creation":case"return":return"dashed"}return""},fill(){switch(this.type){case"sync":case"async":return!0;case"creation":case"return":return!1}return!1}},components:{Point:_t(Pm,[["render",Bm],["__scopeId","data-v-ca07199a"]])}};function Hm(n,t,e,s,r,i){const o=at("point");return O(),q("div",{class:ne(["message border-skin-message-arrow border-b-2 flex items-end",{"flex-row-reverse":e.rtl,return:e.type==="return","right-to-left":e.rtl,"text-left":i.isAsync,"text-center":!i.isAsync}]),style:pt({"border-bottom-style":i.borderStyle})},[C("div",{class:"name flex-grow text-sm truncate hover:whitespace-normal hover:text-skin-message-hover hover:bg-skin-message-hover",style:pt([{color:e.color},{"padding-left":"5px",float:"left"}])},Gt(e.content),5),lt(o,{class:"flex-shrink-0 transform translate-y-1/2 -my-px",fill:i.fill,rtl:e.rtl},null,8,["fill","rtl"])],6)}const nr=_t(Um,[["render",Hm]]),Gm={name:"WidthProvider",components:{Message:nr},data:function(){return{text:"abcd"}},methods:{width:function(n,t){return console.log(n,t),this.text=n,this.$el.clientWidth}},mounted(){this.$store.state.widthProvider=this}},zm={class:"invisible"};function Vm(n,t,e,s,r,i){const o=at("message");return O(),q("div",zm,[lt(o,{content:n.text,rtl:"false",type:"sync"},null,8,["content"])])}const jm=_t(Gm,[["render",Vm]]);function Zm(n,t){if(n.match(/^[a-z]+:\/\//i))return n;if(n.match(/^\/\//))return window.location.protocol+n;if(n.match(/^[a-z]+:/i))return n;const e=document.implementation.createHTMLDocument(),s=e.createElement("base"),r=e.createElement("a");return e.head.appendChild(s),e.body.appendChild(r),t&&(s.href=t),r.href=n,r.href}const qm=(()=>{let n=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(n+=1,`u${t()}${n}`)})();function En(n){const t=[];for(let e=0,s=n.length;e<s;e++)t.push(n[e]);return t}function Ai(n,t){const s=(n.ownerDocument.defaultView||window).getComputedStyle(n).getPropertyValue(t);return s?parseFloat(s.replace("px","")):0}function Wm(n){const t=Ai(n,"border-left-width"),e=Ai(n,"border-right-width");return n.clientWidth+t+e}function Km(n){const t=Ai(n,"border-top-width"),e=Ai(n,"border-bottom-width");return n.clientHeight+t+e}function Iu(n,t={}){const e=t.width||Wm(n),s=t.height||Km(n);return{width:e,height:s}}function Ym(){let n,t;try{t=process}catch{}const e=t&&t.env?t.env.devicePixelRatio:null;return e&&(n=parseInt(e,10),Number.isNaN(n)&&(n=1)),n||window.devicePixelRatio||1}const Ee=16384;function Xm(n){(n.width>Ee||n.height>Ee)&&(n.width>Ee&&n.height>Ee?n.width>n.height?(n.height*=Ee/n.width,n.width=Ee):(n.width*=Ee/n.height,n.height=Ee):n.width>Ee?(n.height*=Ee/n.width,n.width=Ee):(n.width*=Ee/n.height,n.height=Ee))}function Qm(n,t={}){return n.toBlob?new Promise(e=>{n.toBlob(e,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(e=>{const s=window.atob(n.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),r=s.length,i=new Uint8Array(r);for(let o=0;o<r;o+=1)i[o]=s.charCodeAt(o);e(new Blob([i],{type:t.type?t.type:"image/png"}))})}function Si(n){return new Promise((t,e)=>{const s=new Image;s.decode=()=>t(s),s.onload=()=>t(s),s.onerror=e,s.crossOrigin="anonymous",s.decoding="async",s.src=n})}async function Jm(n){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(n)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function tL(n,t,e){const s="http://www.w3.org/2000/svg",r=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${e}`),r.setAttribute("viewBox",`0 0 ${t} ${e}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),r.appendChild(i),i.appendChild(n),Jm(r)}function eL(n){const t=n.getPropertyValue("content");return`${n.cssText} content: '${t.replace(/'|"/g,"")}';`}function nL(n){return En(n).map(t=>{const e=n.getPropertyValue(t),s=n.getPropertyPriority(t);return`${t}: ${e}${s?" !important":""};`}).join(" ")}function sL(n,t,e){const s=`.${n}:${t}`,r=e.cssText?eL(e):nL(e);return document.createTextNode(`${s}{${r}}`)}function Ou(n,t,e){const s=window.getComputedStyle(n,e),r=s.getPropertyValue("content");if(r===""||r==="none")return;const i=qm();try{t.className=`${t.className} ${i}`}catch{return}const o=document.createElement("style");o.appendChild(sL(i,e,s)),t.appendChild(o)}function rL(n,t){Ou(n,t,":before"),Ou(n,t,":after")}const Nu="application/font-woff",Pu="image/jpeg",iL={woff:Nu,woff2:Nu,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Pu,jpeg:Pu,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function oL(n){const t=/\.([^./]*?)$/g.exec(n);return t?t[1]:""}function ca(n){const t=oL(n).toLowerCase();return iL[t]||""}function aL(n){return n.split(/,/)[1]}function ua(n){return n.search(/^(data:)/)!==-1}function Mu(n,t){return`data:${t};base64,${n}`}async function Fu(n,t,e){const s=await fetch(n,t);if(s.status===404)throw new Error(`Resource "${s.url}" not found`);const r=await s.blob();return new Promise((i,o)=>{const a=new FileReader;a.onerror=o,a.onloadend=()=>{try{i(e({res:s,result:a.result}))}catch(l){o(l)}},a.readAsDataURL(r)})}const ha={};function lL(n,t,e){let s=n.replace(/\?.*/,"");return e&&(s=n),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),t?`[${t}]${s}`:s}async function fa(n,t,e){const s=lL(n,t,e.includeQueryParams);if(ha[s]!=null)return ha[s];e.cacheBust&&(n+=(/\?/.test(n)?"&":"?")+new Date().getTime());let r;try{const i=await Fu(n,e.fetchRequestInit,({res:o,result:a})=>(t||(t=o.headers.get("Content-Type")||""),aL(a)));r=Mu(i,t)}catch(i){r=e.imagePlaceholder||"";let o=`Failed to fetch resource: ${n}`;i&&(o=typeof i=="string"?i:i.message),o&&console.warn(o)}return ha[s]=r,r}async function cL(n){const t=n.toDataURL();return t==="data:,"?n.cloneNode(!1):Si(t)}async function uL(n,t){if(n.currentSrc){const i=document.createElement("canvas"),o=i.getContext("2d");i.width=n.clientWidth,i.height=n.clientHeight,o==null||o.drawImage(n,0,0,i.width,i.height);const a=i.toDataURL();return Si(a)}const e=n.poster,s=ca(e),r=await fa(e,s,t);return Si(r)}async function hL(n){var t;try{if(!((t=n==null?void 0:n.contentDocument)===null||t===void 0)&&t.body)return await Ri(n.contentDocument.body,{},!0)}catch{}return n.cloneNode(!1)}async function fL(n,t){return n instanceof HTMLCanvasElement?cL(n):n instanceof HTMLVideoElement?uL(n,t):n instanceof HTMLIFrameElement?hL(n):n.cloneNode(!1)}const dL=n=>n.tagName!=null&&n.tagName.toUpperCase()==="SLOT";async function pL(n,t,e){var s;const r=dL(n)&&n.assignedNodes?En(n.assignedNodes()):En(((s=n.shadowRoot)!==null&&s!==void 0?s:n).childNodes);return r.length===0||n instanceof HTMLVideoElement||await r.reduce((i,o)=>i.then(()=>Ri(o,e)).then(a=>{a&&t.appendChild(a)}),Promise.resolve()),t}function gL(n,t){const e=t.style;if(!e)return;const s=window.getComputedStyle(n);s.cssText?(e.cssText=s.cssText,e.transformOrigin=s.transformOrigin):En(s).forEach(r=>{let i=s.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),e.setProperty(r,i,s.getPropertyPriority(r))})}function xL(n,t){n instanceof HTMLTextAreaElement&&(t.innerHTML=n.value),n instanceof HTMLInputElement&&t.setAttribute("value",n.value)}function mL(n,t){if(n instanceof HTMLSelectElement){const e=t,s=Array.from(e.children).find(r=>n.value===r.getAttribute("value"));s&&s.setAttribute("selected","")}}function LL(n,t){return t instanceof Element&&(gL(n,t),rL(n,t),xL(n,t),mL(n,t)),t}async function _L(n,t){const e=n.querySelectorAll?n.querySelectorAll("use"):[];if(e.length===0)return n;const s={};for(let i=0;i<e.length;i++){const a=e[i].getAttribute("xlink:href");if(a){const l=n.querySelector(a),c=document.querySelector(a);!l&&c&&!s[a]&&(s[a]=await Ri(c,t,!0))}}const r=Object.values(s);if(r.length){const i="http://www.w3.org/1999/xhtml",o=document.createElementNS(i,"svg");o.setAttribute("xmlns",i),o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.overflow="hidden",o.style.display="none";const a=document.createElementNS(i,"defs");o.appendChild(a);for(let l=0;l<r.length;l++)a.appendChild(r[l]);n.appendChild(o)}return n}async function Ri(n,t,e){return!e&&t.filter&&!t.filter(n)?null:Promise.resolve(n).then(s=>fL(s,t)).then(s=>pL(n,s,t)).then(s=>LL(n,s)).then(s=>_L(s,t))}const Du=/url\((['"]?)([^'"]+?)\1\)/g,yL=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,CL=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function EL(n){const t=n.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function bL(n){const t=[];return n.replace(Du,(e,s,r)=>(t.push(r),e)),t.filter(e=>!ua(e))}async function wL(n,t,e,s,r){try{const i=e?Zm(t,e):t,o=ca(t);let a;if(r){const l=await r(i);a=Mu(l,o)}else a=await fa(i,o,s);return n.replace(EL(t),`$1${a}$3`)}catch{}return n}function TL(n,{preferredFontFormat:t}){return t?n.replace(CL,e=>{for(;;){const[s,,r]=yL.exec(e)||[];if(!r)return"";if(r===t)return`src: ${s};`}}):n}function $u(n){return n.search(Du)!==-1}async function Bu(n,t,e){if(!$u(n))return n;const s=TL(n,e);return bL(s).reduce((i,o)=>i.then(a=>wL(a,o,t,e)),Promise.resolve(s))}async function vL(n,t){var e;const s=(e=n.style)===null||e===void 0?void 0:e.getPropertyValue("background");if(s){const r=await Bu(s,null,t);n.style.setProperty("background",r,n.style.getPropertyPriority("background"))}}async function AL(n,t){if(!(n instanceof HTMLImageElement&&!ua(n.src))&&!(n instanceof SVGImageElement&&!ua(n.href.baseVal)))return;const e=n instanceof HTMLImageElement?n.src:n.href.baseVal,s=await fa(e,ca(e),t);await new Promise((r,i)=>{n.onload=r,n.onerror=i;const o=n;o.decode&&(o.decode=r),n instanceof HTMLImageElement?(n.srcset="",n.src=s):n.href.baseVal=s})}async function SL(n,t){const s=En(n.childNodes).map(r=>Uu(r,t));await Promise.all(s).then(()=>n)}async function Uu(n,t){n instanceof Element&&(await vL(n,t),await AL(n,t),await SL(n,t))}function RL(n,t){const{style:e}=n;t.backgroundColor&&(e.backgroundColor=t.backgroundColor),t.width&&(e.width=`${t.width}px`),t.height&&(e.height=`${t.height}px`);const s=t.style;return s!=null&&Object.keys(s).forEach(r=>{e[r]=s[r]}),n}const Hu={};async function Gu(n){let t=Hu[n];if(t!=null)return t;const s=await(await fetch(n)).text();return t={url:n,cssText:s},Hu[n]=t,t}async function zu(n,t){let e=n.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,i=(e.match(/url\([^)]+\)/g)||[]).map(async o=>{let a=o.replace(s,"$1");return a.startsWith("https://")||(a=new URL(a,n.url).href),Fu(a,t.fetchRequestInit,({result:l})=>(e=e.replace(o,`url(${l})`),[o,l]))});return Promise.all(i).then(()=>e)}function Vu(n){if(n==null)return[];const t=[],e=/(\/\*[\s\S]*?\*\/)/gi;let s=n.replace(e,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=r.exec(s);if(l===null)break;t.push(l[0])}s=s.replace(r,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(o,"gi");for(;;){let l=i.exec(s);if(l===null){if(l=a.exec(s),l===null)break;i.lastIndex=a.lastIndex}else a.lastIndex=i.lastIndex;t.push(l[0])}return t}async function kL(n,t){const e=[],s=[];return n.forEach(r=>{if("cssRules"in r)try{En(r.cssRules||[]).forEach((i,o)=>{if(i.type===CSSRule.IMPORT_RULE){let a=o+1;const l=i.href,c=Gu(l).then(u=>zu(u,t)).then(u=>Vu(u).forEach(f=>{try{r.insertRule(f,f.startsWith("@import")?a+=1:r.cssRules.length)}catch(p){console.error("Error inserting rule from remote css",{rule:f,error:p})}})).catch(u=>{console.error("Error loading remote css",u.toString())});s.push(c)}})}catch(i){const o=n.find(a=>a.href==null)||document.styleSheets[0];r.href!=null&&s.push(Gu(r.href).then(a=>zu(a,t)).then(a=>Vu(a).forEach(l=>{o.insertRule(l,r.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a.toString())})),console.error("Error inlining remote css file",i.toString())}}),Promise.all(s).then(()=>(n.forEach(r=>{if("cssRules"in r)try{En(r.cssRules||[]).forEach(i=>{e.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${r.href}`,i.toString())}}),e))}function IL(n){return n.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>$u(t.style.getPropertyValue("src")))}async function OL(n,t){if(n.ownerDocument==null)throw new Error("Provided element is not within a Document");const e=En(n.ownerDocument.styleSheets),s=await kL(e,t);return IL(s)}async function NL(n,t){const e=await OL(n,t);return(await Promise.all(e.map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return Bu(r.cssText,i,t)}))).join(`
497
+ `)}async function PL(n,t){const e=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await NL(n,t);if(e){const s=document.createElement("style"),r=document.createTextNode(e);s.appendChild(r),n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s)}}async function ju(n,t={}){const{width:e,height:s}=Iu(n,t),r=await Ri(n,t,!0);return await PL(r,t),await Uu(r,t),RL(r,t),await tL(r,e,s)}async function da(n,t={}){const{width:e,height:s}=Iu(n,t),r=await ju(n,t),i=await Si(r),o=document.createElement("canvas"),a=o.getContext("2d"),l=t.pixelRatio||Ym(),c=t.canvasWidth||e,u=t.canvasHeight||s;return o.width=c*l,o.height=u*l,t.skipAutoScale||Xm(o),o.style.width=`${c}`,o.style.height=`${u}`,t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,o.width,o.height)),a.drawImage(i,0,0,o.width,o.height),o}async function ML(n,t={}){return(await da(n,t)).toDataURL()}async function FL(n,t={}){return(await da(n,t)).toDataURL("image/jpeg",t.quality||1)}async function DL(n,t={}){const e=await da(n,t);return await Qm(e)}const $L="process.env.VUE_APP_GIT_HASH",BL="process.env.VUE_APP_GIT_BRANCH",UL={name:"Debug",data(){return{commitHash:$L,gitBranch:BL}},computed:{debug(){return!!localStorage.zenumlDebug}}},HL={class:"flex flex-nowrap m-2 text-sm"},GL={class:"ml-4 text-xs inline-flex items-center font-bold leading-sm px-3 py-1 bg-green-200 text-green-700 rounded-sm"},zL=Zl('<svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="6" y1="3" x2="6" y2="15"></line><circle cx="18" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><path d="M18 9a9 9 0 0 1-9 9"></path></svg>',1),VL={class:"inline-block px-2"};function jL(n,t,e,s,r,i){return lf((O(),q("div",null,[C("div",HL,[C("div",GL,[zL,C("span",VL,Gt(r.gitBranch)+":"+Gt(r.commitHash),1)])])],512)),[[u3,i.debug]])}const ZL=_t(UL,[["render",jL]]),qL={name:"DiagramFrame",computed:{...k1(["showTips","scale","theme"]),...me(["rootContext"]),title(){var n;return this.rootContext||console.error("`rootContext` is empty. Please make sure `store` is properly configured."),(n=this.rootContext)==null?void 0:n.title()}},mounted(){this.$el.__vue__=this},methods:{...I1(["setScale"]),showTipsDialog(){var n;this.$store.state.showTips=!0;try{(n=this.$gtag)==null||n.event("view",{event_category:"help",event_label:"tips dialog"})}catch(t){console.error(t)}},toPng(){return ML(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toSvg(){return ju(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toBlob(){return DL(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},toJpeg(){return FL(this.$refs.export,{backgroundColor:"white",filter:n=>{var t;return!((t=n==null?void 0:n.classList)!=null&&t.contains("hide-export"))}})},zoomIn(){this.setScale(this.scale+.1)},zoomOut(){this.setScale(this.scale-.1)},setTheme(n){this.theme=n},setStyle(n){const t="zenuml-style";let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.append(e)),e.textContent=n},setRemoteCss(n){const t=new URL(n).hostname;if(t==="https://github.com"||t==="https://githubusercontent.com"){fetch(n.replace("github.com","raw.githubusercontent.com").replace("blob/","")).then(r=>r.text()).then(r=>{this.setStyle(r)});return}const e="zenuml-remote-css";let s=document.getElementById(e);s||(s=document.createElement("link"),s.id=e,s.rel="stylesheet",document.head.append(s)),s.href=n}},components:{Debug:ZL,WidthProvider:jm,TipsDialog:Nm,DiagramTitle:hx,SeqDiagram:la,Privacy:ax}},WL={ref:"content"},KL={class:"header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t"},YL={class:"left hide-export"},XL={class:"right flex-grow flex justify-between"},QL={key:0,class:"fixed z-40 inset-0 overflow-y-auto","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"},JL={class:"footer p-1 flex justify-between"},t_={class:"filter grayscale",style:{width:"1em",height:"1em","vertical-align":"middle",fill:"currentColor",overflow:"hidden"},viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},e_=[C("path",{d:"M514 912c-219.9 0-398.8-178.9-398.8-398.9 0-219.9 178.9-398.8 398.8-398.8s398.9 178.9 398.9 398.8c-0.1 220-179 398.9-398.9 398.9z m0-701.5c-166.9 0-302.7 135.8-302.7 302.7S347.1 815.9 514 815.9s302.7-135.8 302.7-302.7S680.9 210.5 514 210.5z",fill:"#BDD2EF"},null,-1),C("path",{d:"M431.1 502.4c-0.1 0.3 0.3 0.4 0.4 0.2 6.9-11.7 56.5-89.1 23.4 167.3-17.4 134.7 122.9 153.6 142.3-7.9 0.1-1-1.3-1.4-1.7-0.4-11.9 37.2-49.6 104.9-4.7-155.2 18.6-107.2-127.6-146-159.7-4z",fill:"#2867CE"},null,-1),C("path",{d:"M541.3 328m-68 0a68 68 0 1 0 136 0 68 68 0 1 0-136 0Z",fill:"#2867CE"},null,-1)],n_=C("a",{target:"_blank",href:"https://zenuml.com",class:"brand text-skin-link absolute bottom-1 right-1 text-xs"},"ZenUML.com",-1);function s_(n,t,e,s,r,i){const o=at("debug"),a=at("diagram-title"),l=at("privacy"),c=at("TipsDialog"),u=at("seq-diagram"),f=at("width-provider");return O(),q("div",{ref:"export",class:ne(["zenuml p-1 bg-skin-canvas",n.theme]),style:{display:"inline-block"}},[lt(o),C("div",{class:"frame text-skin-frame bg-skin-frame border-skin-frame relative m-1 origin-top-left whitespace-nowrap border rounded",style:pt({transform:`scale(${n.scale})`})},[C("div",WL,[C("div",KL,[C("div",YL,[cf(n.$slots,"default")]),C("div",XL,[lt(a,{context:i.title},null,8,["context"]),lt(l,{class:"hide-export flex items-center"})])]),C("div",null,[n.showTips?(O(),q("div",QL,[lt(c)])):Lt("",!0)]),lt(u,{ref:"diagram"},null,512)],512),C("div",JL,[C("button",{class:"bottom-1 left-1 hide-export",onClick:t[0]||(t[0]=p=>i.showTipsDialog())},[(O(),q("svg",t_,e_))]),C("div",{class:"zoom-controls bg-skin-base text-skin-control flex justify-between w-28 hide-export",style:pt({transform:`scale(${1/n.scale})`})},[C("button",{class:"zoom-in px-1",onClick:t[1]||(t[1]=p=>i.zoomIn())},"+"),C("label",null,Gt(Number(n.scale*100).toFixed(0))+" %",1),C("button",{class:"zoom-out px-1",onClick:t[2]||(t[2]=p=>i.zoomOut())},"-")],4),lt(f),n_])],4)],2)}const Zu=_t(qL,[["render",s_]]),Rb="",kb="",Ib="",Ob="",Nb="",Pb="",Mb="";function qu(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let _s=qu();function r_(n){_s=n}const i_=/[&<>"']/,o_=/[&<>"']/g,a_=/[<>"']|&(?!#?\w+;)/,l_=/[<>"']|&(?!#?\w+;)/g,c_={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Wu=n=>c_[n];function Vt(n,t){if(t){if(i_.test(n))return n.replace(o_,Wu)}else if(a_.test(n))return n.replace(l_,Wu);return n}const u_=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Ku(n){return n.replace(u_,(t,e)=>(e=e.toLowerCase(),e==="colon"?":":e.charAt(0)==="#"?e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}const h_=/(^|[^\[])\^/g;function Tt(n,t){n=n.source||n,t=t||"";const e={replace:(s,r)=>(r=r.source||r,r=r.replace(h_,"$1"),n=n.replace(s,r),e),getRegex:()=>new RegExp(n,t)};return e}const f_=/[^\w:]/g,d_=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Yu(n,t,e){if(n){let s;try{s=decodeURIComponent(Ku(e)).replace(f_,"").toLowerCase()}catch{return null}if(s.indexOf("javascript:")===0||s.indexOf("vbscript:")===0||s.indexOf("data:")===0)return null}t&&!d_.test(e)&&(e=m_(t,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const ki={},p_=/^[^:]+:\/*[^/]*$/,g_=/^([^:]+:)[\s\S]*$/,x_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function m_(n,t){ki[" "+n]||(p_.test(n)?ki[" "+n]=n+"/":ki[" "+n]=Oi(n,"/",!0)),n=ki[" "+n];const e=n.indexOf(":")===-1;return t.substring(0,2)==="//"?e?t:n.replace(g_,"$1")+t:t.charAt(0)==="/"?e?t:n.replace(x_,"$1")+t:n+t}const Ii={exec:function(){}};function $e(n){let t=1,e,s;for(;t<arguments.length;t++){e=arguments[t];for(s in e)Object.prototype.hasOwnProperty.call(e,s)&&(n[s]=e[s])}return n}function Xu(n,t){const e=n.replace(/\|/g,(i,o,a)=>{let l=!1,c=o;for(;--c>=0&&a[c]==="\\";)l=!l;return l?"|":" |"}),s=e.split(/ \|/);let r=0;if(s[0].trim()||s.shift(),s[s.length-1].trim()||s.pop(),s.length>t)s.splice(t);else for(;s.length<t;)s.push("");for(;r<s.length;r++)s[r]=s[r].trim().replace(/\\\|/g,"|");return s}function Oi(n,t,e){const s=n.length;if(s===0)return"";let r=0;for(;r<s;){const i=n.charAt(s-r-1);if(i===t&&!e)r++;else if(i!==t&&e)r++;else break}return n.substr(0,s-r)}function L_(n,t){if(n.indexOf(t[1])===-1)return-1;const e=n.length;let s=0,r=0;for(;r<e;r++)if(n[r]==="\\")r++;else if(n[r]===t[0])s++;else if(n[r]===t[1]&&(s--,s<0))return r;return-1}function Qu(n){n&&n.sanitize&&!n.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function Ju(n,t){if(t<1)return"";let e="";for(;t>1;)t&1&&(e+=n),t>>=1,n+=n;return e+n}function t2(n,t,e,s){const r=t.href,i=t.title?Vt(t.title):null,o=n[1].replace(/\\([\[\]])/g,"$1");if(n[0].charAt(0)!=="!"){s.state.inLink=!0;const a={type:"link",raw:e,href:r,title:i,text:o,tokens:s.inlineTokens(o,[])};return s.state.inLink=!1,a}else return{type:"image",raw:e,href:r,title:i,text:Vt(o)}}function __(n,t){const e=n.match(/^(\s+)(?:```)/);if(e===null)return t;const s=e[1];return t.split(`
505
498
  `).map(r=>{const i=r.match(/^\s+/);if(i===null)return r;const[o]=i;return o.length>=s.length?r.slice(s.length):r}).join(`
506
- `)}class tl{constructor(e){this.options=e||Ds}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const s=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?s:po(s,`
507
- `)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const s=t[0],r=lC(s,t[3]||"");return{type:"code",raw:s,lang:t[2]?t[2].trim():t[2],text:r}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let s=t[2].trim();if(/#$/.test(s)){const i=po(s,"#");(this.options.pedantic||!i||/ $/.test(i))&&(s=i.trim())}const r={type:"heading",raw:t[0],depth:t[1].length,text:s,tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const s=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(s,[]),text:s}}}list(e){let t=this.rules.block.list.exec(e);if(t){let s,r,i,o,a,l,c,u,f,p,g,T,A=t[1].trim();const Y=A.length>1,q={type:"list",raw:"",ordered:Y,start:Y?+A.slice(0,-1):"",loose:!1,items:[]};A=Y?`\\d{1,9}\\${A.slice(-1)}`:`\\${A}`,this.options.pedantic&&(A=Y?A:"[*+-]");const K=new RegExp(`^( {0,3}${A})((?: [^\\n]*)?(?:\\n|$))`);for(;e&&(T=!1,!(!(t=K.exec(e))||this.rules.block.hr.test(e)));){if(s=t[0],e=e.substring(s.length),u=t[2].split(`
508
- `,1)[0],f=e.split(`
509
- `,1)[0],this.options.pedantic?(o=2,g=u.trimLeft()):(o=t[2].search(/[^ ]/),o=o>4?1:o,g=u.slice(o),o+=t[1].length),l=!1,!u&&/^ *$/.test(f)&&(s+=f+`
510
- `,e=e.substring(f.length+1),T=!0),!T){const B=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;e&&(p=e.split(`
511
- `,1)[0],u=p,this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!B.test(u));){if(u.search(/[^ ]/)>=o||!u.trim())g+=`
499
+ `)}class pa{constructor(t){this.options=t||_s}space(t){const e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const s=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?s:Oi(s,`
500
+ `)}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const s=e[0],r=__(s,e[3]||"");return{type:"code",raw:s,lang:e[2]?e[2].trim():e[2],text:r}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let s=e[2].trim();if(/#$/.test(s)){const i=Oi(s,"#");(this.options.pedantic||!i||/ $/.test(i))&&(s=i.trim())}const r={type:"heading",raw:e[0],depth:e[1].length,text:s,tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:e[0]}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){const s=e[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:e[0],tokens:this.lexer.blockTokens(s,[]),text:s}}}list(t){let e=this.rules.block.list.exec(t);if(e){let s,r,i,o,a,l,c,u,f,p,g,R,I=e[1].trim();const et=I.length>1,H={type:"list",raw:"",ordered:et,start:et?+I.slice(0,-1):"",loose:!1,items:[]};I=et?`\\d{1,9}\\${I.slice(-1)}`:`\\${I}`,this.options.pedantic&&(I=et?I:"[*+-]");const Q=new RegExp(`^( {0,3}${I})((?: [^\\n]*)?(?:\\n|$))`);for(;t&&(R=!1,!(!(e=Q.exec(t))||this.rules.block.hr.test(t)));){if(s=e[0],t=t.substring(s.length),u=e[2].split(`
501
+ `,1)[0],f=t.split(`
502
+ `,1)[0],this.options.pedantic?(o=2,g=u.trimLeft()):(o=e[2].search(/[^ ]/),o=o>4?1:o,g=u.slice(o),o+=e[1].length),l=!1,!u&&/^ *$/.test(f)&&(s+=f+`
503
+ `,t=t.substring(f.length+1),R=!0),!R){const Y=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;t&&(p=t.split(`
504
+ `,1)[0],u=p,this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!Y.test(u));){if(u.search(/[^ ]/)>=o||!u.trim())g+=`
512
505
  `+u.slice(o);else if(!l)g+=`
513
506
  `+u;else break;!l&&!u.trim()&&(l=!0),s+=p+`
514
- `,e=e.substring(p.length+1)}}q.loose||(c?q.loose=!0:/\n *\n *$/.test(s)&&(c=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(g),r&&(i=r[0]!=="[ ] ",g=g.replace(/^\[[ xX]\] +/,""))),q.items.push({type:"list_item",raw:s,task:!!r,checked:i,loose:!1,text:g}),q.raw+=s}q.items[q.items.length-1].raw=s.trimRight(),q.items[q.items.length-1].text=g.trimRight(),q.raw=q.raw.trimRight();const se=q.items.length;for(a=0;a<se;a++){this.lexer.state.top=!1,q.items[a].tokens=this.lexer.blockTokens(q.items[a].text,[]);const B=q.items[a].tokens.filter(Ne=>Ne.type==="space"),ae=B.every(Ne=>{const He=Ne.raw.split("");let te=0;for(const Ee of He)if(Ee===`
515
- `&&(te+=1),te>1)return!0;return!1});!q.loose&&B.length&&ae&&(q.loose=!0,q.items[a].loose=!0)}return q}}html(e){const t=this.rules.block.html.exec(e);if(t){const s={type:"html",raw:t[0],pre:!this.options.sanitizer&&(t[1]==="pre"||t[1]==="script"||t[1]==="style"),text:t[0]};return this.options.sanitize&&(s.type="paragraph",s.text=this.options.sanitizer?this.options.sanitizer(t[0]):Ke(t[0]),s.tokens=[],this.lexer.inline(s.text,s.tokens)),s}}def(e){const t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}table(e){const t=this.rules.block.table.exec(e);if(t){const s={type:"table",header:i2(t[1]).map(r=>({text:r})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n[ \t]*$/,"").split(`
516
- `):[]};if(s.header.length===s.align.length){s.raw=t[0];let r=s.align.length,i,o,a,l;for(i=0;i<r;i++)/^ *-+: *$/.test(s.align[i])?s.align[i]="right":/^ *:-+: *$/.test(s.align[i])?s.align[i]="center":/^ *:-+ *$/.test(s.align[i])?s.align[i]="left":s.align[i]=null;for(r=s.rows.length,i=0;i<r;i++)s.rows[i]=i2(s.rows[i],s.header.length).map(c=>({text:c}));for(r=s.header.length,o=0;o<r;o++)s.header[o].tokens=[],this.lexer.inlineTokens(s.header[o].text,s.header[o].tokens);for(r=s.rows.length,o=0;o<r;o++)for(l=s.rows[o],a=0;a<l.length;a++)l[a].tokens=[],this.lexer.inlineTokens(l[a].text,l[a].tokens);return s}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t){const s={type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const s={type:"paragraph",raw:t[0],text:t[1].charAt(t[1].length-1)===`
517
- `?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}text(e){const t=this.rules.block.text.exec(e);if(t){const s={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Ke(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):Ke(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const s=t[2].trim();if(!this.options.pedantic&&/^</.test(s)){if(!/>$/.test(s))return;const o=po(s.slice(0,-1),"\\");if((s.length-o.length)%2===0)return}else{const o=aC(t[2],"()");if(o>-1){const l=(t[0].indexOf("!")===0?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,l).trim(),t[3]=""}}let r=t[2],i="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);o&&(r=o[1],i=o[3])}else i=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(this.options.pedantic&&!/>$/.test(s)?r=r.slice(1):r=r.slice(1,-1)),l2(t,{href:r&&r.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(e,t){let s;if((s=this.rules.inline.reflink.exec(e))||(s=this.rules.inline.nolink.exec(e))){let r=(s[2]||s[1]).replace(/\s+/g," ");if(r=t[r.toLowerCase()],!r||!r.href){const i=s[0].charAt(0);return{type:"text",raw:i,text:i}}return l2(s,r,s[0],this.lexer)}}emStrong(e,t,s=""){let r=this.rules.inline.emStrong.lDelim.exec(e);if(!r||r[3]&&s.match(/[\p{L}\p{N}]/u))return;const i=r[1]||r[2]||"";if(!i||i&&(s===""||this.rules.inline.punctuation.exec(s))){const o=r[0].length-1;let a,l,c=o,u=0;const f=r[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(f.lastIndex=0,t=t.slice(-1*e.length+o);(r=f.exec(t))!=null;){if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!a)continue;if(l=a.length,r[3]||r[4]){c+=l;continue}else if((r[5]||r[6])&&o%3&&!((o+l)%3)){u+=l;continue}if(c-=l,c>0)continue;if(l=Math.min(l,l+c+u),Math.min(o,l)%2){const g=e.slice(1,o+r.index+l);return{type:"em",raw:e.slice(0,o+r.index+l+1),text:g,tokens:this.lexer.inlineTokens(g,[])}}const p=e.slice(2,o+r.index+l-1);return{type:"strong",raw:e.slice(0,o+r.index+l+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let s=t[2].replace(/\n/g," ");const r=/[^ ]/.test(s),i=/^ /.test(s)&&/ $/.test(s);return r&&i&&(s=s.substring(1,s.length-1)),s=Ke(s,!0),{type:"codespan",raw:t[0],text:s}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}autolink(e,t){const s=this.rules.inline.autolink.exec(e);if(s){let r,i;return s[2]==="@"?(r=Ke(this.options.mangle?t(s[1]):s[1]),i="mailto:"+r):(r=Ke(s[1]),i=r),{type:"link",raw:s[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(e,t){let s;if(s=this.rules.inline.url.exec(e)){let r,i;if(s[2]==="@")r=Ke(this.options.mangle?t(s[0]):s[0]),i="mailto:"+r;else{let o;do o=s[0],s[0]=this.rules.inline._backpedal.exec(s[0])[0];while(o!==s[0]);r=Ke(s[0]),s[1]==="www."?i="http://"+r:i=r}return{type:"link",raw:s[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(e,t){const s=this.rules.inline.text.exec(e);if(s){let r;return this.lexer.state.inRawBlock?r=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):Ke(s[0]):s[0]:r=Ke(this.options.smartypants?t(s[0]):s[0]),{type:"text",raw:s[0],text:r}}}}const X={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:fo,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};X._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,X._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,X.def=Oe(X.def).replace("label",X._label).replace("title",X._title).getRegex(),X.bullet=/(?:[*+-]|\d{1,9}[.)])/,X.listItemStart=Oe(/^( *)(bull) */).replace("bull",X.bullet).getRegex(),X.list=Oe(X.list).replace(/bull/g,X.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+X.def.source+")").getRegex(),X._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",X._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,X.html=Oe(X.html,"i").replace("comment",X._comment).replace("tag",X._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),X.paragraph=Oe(X._paragraph).replace("hr",X.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",X._tag).getRegex(),X.blockquote=Oe(X.blockquote).replace("paragraph",X.paragraph).getRegex(),X.normal=Vt({},X),X.gfm=Vt({},X.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),X.gfm.table=Oe(X.gfm.table).replace("hr",X.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",X._tag).getRegex(),X.gfm.paragraph=Oe(X._paragraph).replace("hr",X.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",X.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",X._tag).getRegex(),X.pedantic=Vt({},X.normal,{html:Oe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",X._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:fo,paragraph:Oe(X.normal._paragraph).replace("hr",X.hr).replace("heading",` *#{1,6} *[^
518
- ]`).replace("lheading",X.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const H={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:fo,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:fo,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};H._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",H.punctuation=Oe(H.punctuation).replace(/punctuation/g,H._punctuation).getRegex(),H.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,H.escapedEmSt=/\\\*|\\_/g,H._comment=Oe(X._comment).replace("(?:-->|$)","-->").getRegex(),H.emStrong.lDelim=Oe(H.emStrong.lDelim).replace(/punct/g,H._punctuation).getRegex(),H.emStrong.rDelimAst=Oe(H.emStrong.rDelimAst,"g").replace(/punct/g,H._punctuation).getRegex(),H.emStrong.rDelimUnd=Oe(H.emStrong.rDelimUnd,"g").replace(/punct/g,H._punctuation).getRegex(),H._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,H._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,H._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,H.autolink=Oe(H.autolink).replace("scheme",H._scheme).replace("email",H._email).getRegex(),H._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,H.tag=Oe(H.tag).replace("comment",H._comment).replace("attribute",H._attribute).getRegex(),H._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,H._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,H._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,H.link=Oe(H.link).replace("label",H._label).replace("href",H._href).replace("title",H._title).getRegex(),H.reflink=Oe(H.reflink).replace("label",H._label).replace("ref",X._label).getRegex(),H.nolink=Oe(H.nolink).replace("ref",X._label).getRegex(),H.reflinkSearch=Oe(H.reflinkSearch,"g").replace("reflink",H.reflink).replace("nolink",H.nolink).getRegex(),H.normal=Vt({},H),H.pedantic=Vt({},H.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Oe(/^!?\[(label)\]\((.*?)\)/).replace("label",H._label).getRegex(),reflink:Oe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",H._label).getRegex()}),H.gfm=Vt({},H.normal,{escape:Oe(H.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),H.gfm.url=Oe(H.gfm.url,"i").replace("email",H.gfm._extended_email).getRegex(),H.breaks=Vt({},H.gfm,{br:Oe(H.br).replace("{2,}","*").getRegex(),text:Oe(H.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function cC(n){return n.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function c2(n){let e="",t,s;const r=n.length;for(t=0;t<r;t++)s=n.charCodeAt(t),Math.random()>.5&&(s="x"+s.toString(16)),e+="&#"+s+";";return e}class gn{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Ds,this.options.tokenizer=this.options.tokenizer||new tl,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:X.normal,inline:H.normal};this.options.pedantic?(t.block=X.pedantic,t.inline=H.pedantic):this.options.gfm&&(t.block=X.gfm,this.options.breaks?t.inline=H.breaks:t.inline=H.gfm),this.tokenizer.rules=t}static get rules(){return{block:X,inline:H}}static lex(e,t){return new gn(t).lex(e)}static lexInline(e,t){return new gn(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
519
- `).replace(/\t/g," "),this.blockTokens(e,this.tokens);let t;for(;t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){this.options.pedantic&&(e=e.replace(/^ +$/gm,""));let s,r,i,o;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(s=a.call({lexer:this},e,t))?(e=e.substring(s.raw.length),t.push(s),!0):!1))){if(s=this.tokenizer.space(e)){e=e.substring(s.raw.length),s.raw.length===1&&t.length>0?t[t.length-1].raw+=`
520
- `:t.push(s);continue}if(s=this.tokenizer.code(e)){e=e.substring(s.raw.length),r=t[t.length-1],r&&(r.type==="paragraph"||r.type==="text")?(r.raw+=`
507
+ `,t=t.substring(p.length+1)}}H.loose||(c?H.loose=!0:/\n *\n *$/.test(s)&&(c=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(g),r&&(i=r[0]!=="[ ] ",g=g.replace(/^\[[ xX]\] +/,""))),H.items.push({type:"list_item",raw:s,task:!!r,checked:i,loose:!1,text:g}),H.raw+=s}H.items[H.items.length-1].raw=s.trimRight(),H.items[H.items.length-1].text=g.trimRight(),H.raw=H.raw.trimRight();const Z=H.items.length;for(a=0;a<Z;a++){this.lexer.state.top=!1,H.items[a].tokens=this.lexer.blockTokens(H.items[a].text,[]);const Y=H.items[a].tokens.filter(Mt=>Mt.type==="space"),yt=Y.every(Mt=>{const Ht=Mt.raw.split("");let J=0;for(const Ft of Ht)if(Ft===`
508
+ `&&(J+=1),J>1)return!0;return!1});!H.loose&&Y.length&&yt&&(H.loose=!0,H.items[a].loose=!0)}return H}}html(t){const e=this.rules.block.html.exec(t);if(e){const s={type:"html",raw:e[0],pre:!this.options.sanitizer&&(e[1]==="pre"||e[1]==="script"||e[1]==="style"),text:e[0]};return this.options.sanitize&&(s.type="paragraph",s.text=this.options.sanitizer?this.options.sanitizer(e[0]):Vt(e[0]),s.tokens=[],this.lexer.inline(s.text,s.tokens)),s}}def(t){const e=this.rules.block.def.exec(t);if(e)return e[3]&&(e[3]=e[3].substring(1,e[3].length-1)),{type:"def",tag:e[1].toLowerCase().replace(/\s+/g," "),raw:e[0],href:e[2],title:e[3]}}table(t){const e=this.rules.block.table.exec(t);if(e){const s={type:"table",header:Xu(e[1]).map(r=>({text:r})),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:e[3]?e[3].replace(/\n[ \t]*$/,"").split(`
509
+ `):[]};if(s.header.length===s.align.length){s.raw=e[0];let r=s.align.length,i,o,a,l;for(i=0;i<r;i++)/^ *-+: *$/.test(s.align[i])?s.align[i]="right":/^ *:-+: *$/.test(s.align[i])?s.align[i]="center":/^ *:-+ *$/.test(s.align[i])?s.align[i]="left":s.align[i]=null;for(r=s.rows.length,i=0;i<r;i++)s.rows[i]=Xu(s.rows[i],s.header.length).map(c=>({text:c}));for(r=s.header.length,o=0;o<r;o++)s.header[o].tokens=[],this.lexer.inlineTokens(s.header[o].text,s.header[o].tokens);for(r=s.rows.length,o=0;o<r;o++)for(l=s.rows[o],a=0;a<l.length;a++)l[a].tokens=[],this.lexer.inlineTokens(l[a].text,l[a].tokens);return s}}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e){const s={type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const s={type:"paragraph",raw:e[0],text:e[1].charAt(e[1].length-1)===`
510
+ `?e[1].slice(0,-1):e[1],tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}text(t){const e=this.rules.block.text.exec(t);if(e){const s={type:"text",raw:e[0],text:e[0],tokens:[]};return this.lexer.inline(s.text,s.tokens),s}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:Vt(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^<a /i.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):Vt(e[0]):e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const s=e[2].trim();if(!this.options.pedantic&&/^</.test(s)){if(!/>$/.test(s))return;const o=Oi(s.slice(0,-1),"\\");if((s.length-o.length)%2===0)return}else{const o=L_(e[2],"()");if(o>-1){const l=(e[0].indexOf("!")===0?5:4)+e[1].length+o;e[2]=e[2].substring(0,o),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let r=e[2],i="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);o&&(r=o[1],i=o[3])}else i=e[3]?e[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(this.options.pedantic&&!/>$/.test(s)?r=r.slice(1):r=r.slice(1,-1)),t2(e,{href:r&&r.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},e[0],this.lexer)}}reflink(t,e){let s;if((s=this.rules.inline.reflink.exec(t))||(s=this.rules.inline.nolink.exec(t))){let r=(s[2]||s[1]).replace(/\s+/g," ");if(r=e[r.toLowerCase()],!r||!r.href){const i=s[0].charAt(0);return{type:"text",raw:i,text:i}}return t2(s,r,s[0],this.lexer)}}emStrong(t,e,s=""){let r=this.rules.inline.emStrong.lDelim.exec(t);if(!r||r[3]&&s.match(/[\p{L}\p{N}]/u))return;const i=r[1]||r[2]||"";if(!i||i&&(s===""||this.rules.inline.punctuation.exec(s))){const o=r[0].length-1;let a,l,c=o,u=0;const f=r[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(f.lastIndex=0,e=e.slice(-1*t.length+o);(r=f.exec(e))!=null;){if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!a)continue;if(l=a.length,r[3]||r[4]){c+=l;continue}else if((r[5]||r[6])&&o%3&&!((o+l)%3)){u+=l;continue}if(c-=l,c>0)continue;if(l=Math.min(l,l+c+u),Math.min(o,l)%2){const g=t.slice(1,o+r.index+l);return{type:"em",raw:t.slice(0,o+r.index+l+1),text:g,tokens:this.lexer.inlineTokens(g,[])}}const p=t.slice(2,o+r.index+l-1);return{type:"strong",raw:t.slice(0,o+r.index+l+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let s=e[2].replace(/\n/g," ");const r=/[^ ]/.test(s),i=/^ /.test(s)&&/ $/.test(s);return r&&i&&(s=s.substring(1,s.length-1)),s=Vt(s,!0),{type:"codespan",raw:e[0],text:s}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2],[])}}autolink(t,e){const s=this.rules.inline.autolink.exec(t);if(s){let r,i;return s[2]==="@"?(r=Vt(this.options.mangle?e(s[1]):s[1]),i="mailto:"+r):(r=Vt(s[1]),i=r),{type:"link",raw:s[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(t,e){let s;if(s=this.rules.inline.url.exec(t)){let r,i;if(s[2]==="@")r=Vt(this.options.mangle?e(s[0]):s[0]),i="mailto:"+r;else{let o;do o=s[0],s[0]=this.rules.inline._backpedal.exec(s[0])[0];while(o!==s[0]);r=Vt(s[0]),s[1]==="www."?i="http://"+r:i=r}return{type:"link",raw:s[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t,e){const s=this.rules.inline.text.exec(t);if(s){let r;return this.lexer.state.inRawBlock?r=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):Vt(s[0]):s[0]:r=Vt(this.options.smartypants?e(s[0]):s[0]),{type:"text",raw:s[0],text:r}}}}const K={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Ii,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};K._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,K._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,K.def=Tt(K.def).replace("label",K._label).replace("title",K._title).getRegex(),K.bullet=/(?:[*+-]|\d{1,9}[.)])/,K.listItemStart=Tt(/^( *)(bull) */).replace("bull",K.bullet).getRegex(),K.list=Tt(K.list).replace(/bull/g,K.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+K.def.source+")").getRegex(),K._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",K._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,K.html=Tt(K.html,"i").replace("comment",K._comment).replace("tag",K._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),K.paragraph=Tt(K._paragraph).replace("hr",K.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",K._tag).getRegex(),K.blockquote=Tt(K.blockquote).replace("paragraph",K.paragraph).getRegex(),K.normal=$e({},K),K.gfm=$e({},K.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),K.gfm.table=Tt(K.gfm.table).replace("hr",K.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",K._tag).getRegex(),K.gfm.paragraph=Tt(K._paragraph).replace("hr",K.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",K.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",K._tag).getRegex(),K.pedantic=$e({},K.normal,{html:Tt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",K._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ii,paragraph:Tt(K.normal._paragraph).replace("hr",K.hr).replace("heading",` *#{1,6} *[^
511
+ ]`).replace("lheading",K.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const U={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ii,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Ii,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};U._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",U.punctuation=Tt(U.punctuation).replace(/punctuation/g,U._punctuation).getRegex(),U.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,U.escapedEmSt=/\\\*|\\_/g,U._comment=Tt(K._comment).replace("(?:-->|$)","-->").getRegex(),U.emStrong.lDelim=Tt(U.emStrong.lDelim).replace(/punct/g,U._punctuation).getRegex(),U.emStrong.rDelimAst=Tt(U.emStrong.rDelimAst,"g").replace(/punct/g,U._punctuation).getRegex(),U.emStrong.rDelimUnd=Tt(U.emStrong.rDelimUnd,"g").replace(/punct/g,U._punctuation).getRegex(),U._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,U._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,U._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,U.autolink=Tt(U.autolink).replace("scheme",U._scheme).replace("email",U._email).getRegex(),U._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,U.tag=Tt(U.tag).replace("comment",U._comment).replace("attribute",U._attribute).getRegex(),U._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,U._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,U._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,U.link=Tt(U.link).replace("label",U._label).replace("href",U._href).replace("title",U._title).getRegex(),U.reflink=Tt(U.reflink).replace("label",U._label).replace("ref",K._label).getRegex(),U.nolink=Tt(U.nolink).replace("ref",K._label).getRegex(),U.reflinkSearch=Tt(U.reflinkSearch,"g").replace("reflink",U.reflink).replace("nolink",U.nolink).getRegex(),U.normal=$e({},U),U.pedantic=$e({},U.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Tt(/^!?\[(label)\]\((.*?)\)/).replace("label",U._label).getRegex(),reflink:Tt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",U._label).getRegex()}),U.gfm=$e({},U.normal,{escape:Tt(U.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),U.gfm.url=Tt(U.gfm.url,"i").replace("email",U.gfm._extended_email).getRegex(),U.breaks=$e({},U.gfm,{br:Tt(U.br).replace("{2,}","*").getRegex(),text:Tt(U.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function y_(n){return n.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function e2(n){let t="",e,s;const r=n.length;for(e=0;e<r;e++)s=n.charCodeAt(e),Math.random()>.5&&(s="x"+s.toString(16)),t+="&#"+s+";";return t}class ln{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||_s,this.options.tokenizer=this.options.tokenizer||new pa,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const e={block:K.normal,inline:U.normal};this.options.pedantic?(e.block=K.pedantic,e.inline=U.pedantic):this.options.gfm&&(e.block=K.gfm,this.options.breaks?e.inline=U.breaks:e.inline=U.gfm),this.tokenizer.rules=e}static get rules(){return{block:K,inline:U}}static lex(t,e){return new ln(e).lex(t)}static lexInline(t,e){return new ln(e).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
512
+ `).replace(/\t/g," "),this.blockTokens(t,this.tokens);let e;for(;e=this.inlineQueue.shift();)this.inlineTokens(e.src,e.tokens);return this.tokens}blockTokens(t,e=[]){this.options.pedantic&&(t=t.replace(/^ +$/gm,""));let s,r,i,o;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(s=a.call({lexer:this},t,e))?(t=t.substring(s.raw.length),e.push(s),!0):!1))){if(s=this.tokenizer.space(t)){t=t.substring(s.raw.length),s.raw.length===1&&e.length>0?e[e.length-1].raw+=`
513
+ `:e.push(s);continue}if(s=this.tokenizer.code(t)){t=t.substring(s.raw.length),r=e[e.length-1],r&&(r.type==="paragraph"||r.type==="text")?(r.raw+=`
521
514
  `+s.raw,r.text+=`
522
- `+s.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(s);continue}if(s=this.tokenizer.fences(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.heading(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.hr(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.blockquote(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.list(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.html(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.def(e)){e=e.substring(s.raw.length),r=t[t.length-1],r&&(r.type==="paragraph"||r.type==="text")?(r.raw+=`
515
+ `+s.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(s);continue}if(s=this.tokenizer.fences(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.heading(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.hr(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.blockquote(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.list(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.html(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.def(t)){t=t.substring(s.raw.length),r=e[e.length-1],r&&(r.type==="paragraph"||r.type==="text")?(r.raw+=`
523
516
  `+s.raw,r.text+=`
524
- `+s.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text):this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title});continue}if(s=this.tokenizer.table(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.lheading(e)){e=e.substring(s.raw.length),t.push(s);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const l=e.slice(1);let c;this.options.extensions.startBlock.forEach(function(u){c=u.call({lexer:this},l),typeof c=="number"&&c>=0&&(a=Math.min(a,c))}),a<1/0&&a>=0&&(i=e.substring(0,a+1))}if(this.state.top&&(s=this.tokenizer.paragraph(i))){r=t[t.length-1],o&&r.type==="paragraph"?(r.raw+=`
517
+ `+s.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text):this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title});continue}if(s=this.tokenizer.table(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.lheading(t)){t=t.substring(s.raw.length),e.push(s);continue}if(i=t,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const l=t.slice(1);let c;this.options.extensions.startBlock.forEach(function(u){c=u.call({lexer:this},l),typeof c=="number"&&c>=0&&(a=Math.min(a,c))}),a<1/0&&a>=0&&(i=t.substring(0,a+1))}if(this.state.top&&(s=this.tokenizer.paragraph(i))){r=e[e.length-1],o&&r.type==="paragraph"?(r.raw+=`
525
518
  `+s.raw,r.text+=`
526
- `+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(s),o=i.length!==e.length,e=e.substring(s.raw.length);continue}if(s=this.tokenizer.text(e)){e=e.substring(s.raw.length),r=t[t.length-1],r&&r.type==="text"?(r.raw+=`
519
+ `+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(s),o=i.length!==t.length,t=t.substring(s.raw.length);continue}if(s=this.tokenizer.text(t)){t=t.substring(s.raw.length),r=e[e.length-1],r&&r.type==="text"?(r.raw+=`
527
520
  `+s.raw,r.text+=`
528
- `+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(s);continue}if(e){const a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,t}inline(e,t){this.inlineQueue.push({src:e,tokens:t})}inlineTokens(e,t=[]){let s,r,i,o=e,a,l,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+a2("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,a.index)+"["+a2("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.escapedEmSt.exec(o))!=null;)o=o.slice(0,a.index)+"++"+o.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(s=u.call({lexer:this},e,t))?(e=e.substring(s.raw.length),t.push(s),!0):!1))){if(s=this.tokenizer.escape(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.tag(e)){e=e.substring(s.raw.length),r=t[t.length-1],r&&s.type==="text"&&r.type==="text"?(r.raw+=s.raw,r.text+=s.text):t.push(s);continue}if(s=this.tokenizer.link(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(s.raw.length),r=t[t.length-1],r&&s.type==="text"&&r.type==="text"?(r.raw+=s.raw,r.text+=s.text):t.push(s);continue}if(s=this.tokenizer.emStrong(e,o,c)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.codespan(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.br(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.del(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.autolink(e,c2)){e=e.substring(s.raw.length),t.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(e,c2))){e=e.substring(s.raw.length),t.push(s);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const f=e.slice(1);let p;this.options.extensions.startInline.forEach(function(g){p=g.call({lexer:this},f),typeof p=="number"&&p>=0&&(u=Math.min(u,p))}),u<1/0&&u>=0&&(i=e.substring(0,u+1))}if(s=this.tokenizer.inlineText(i,cC)){e=e.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(c=s.raw.slice(-1)),l=!0,r=t[t.length-1],r&&r.type==="text"?(r.raw+=s.raw,r.text+=s.text):t.push(s);continue}if(e){const u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return t}}class nl{constructor(e){this.options=e||Ds}code(e,t,s){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(e,r);i!=null&&i!==e&&(s=!0,e=i)}return e=e.replace(/\n$/,"")+`
529
- `,r?'<pre><code class="'+this.options.langPrefix+Ke(r,!0)+'">'+(s?e:Ke(e,!0))+`</code></pre>
530
- `:"<pre><code>"+(s?e:Ke(e,!0))+`</code></pre>
531
- `}blockquote(e){return`<blockquote>
532
- `+e+`</blockquote>
533
- `}html(e){return e}heading(e,t,s,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(s)+'">'+e+"</h"+t+`>
534
- `:"<h"+t+">"+e+"</h"+t+`>
521
+ `+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(s);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,e}inline(t,e){this.inlineQueue.push({src:t,tokens:e})}inlineTokens(t,e=[]){let s,r,i,o=t,a,l,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+Ju("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,a.index)+"["+Ju("a",a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.escapedEmSt.exec(o))!=null;)o=o.slice(0,a.index)+"++"+o.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;t;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(s=u.call({lexer:this},t,e))?(t=t.substring(s.raw.length),e.push(s),!0):!1))){if(s=this.tokenizer.escape(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.tag(t)){t=t.substring(s.raw.length),r=e[e.length-1],r&&s.type==="text"&&r.type==="text"?(r.raw+=s.raw,r.text+=s.text):e.push(s);continue}if(s=this.tokenizer.link(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(s.raw.length),r=e[e.length-1],r&&s.type==="text"&&r.type==="text"?(r.raw+=s.raw,r.text+=s.text):e.push(s);continue}if(s=this.tokenizer.emStrong(t,o,c)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.codespan(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.br(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.del(t)){t=t.substring(s.raw.length),e.push(s);continue}if(s=this.tokenizer.autolink(t,e2)){t=t.substring(s.raw.length),e.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(t,e2))){t=t.substring(s.raw.length),e.push(s);continue}if(i=t,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const f=t.slice(1);let p;this.options.extensions.startInline.forEach(function(g){p=g.call({lexer:this},f),typeof p=="number"&&p>=0&&(u=Math.min(u,p))}),u<1/0&&u>=0&&(i=t.substring(0,u+1))}if(s=this.tokenizer.inlineText(i,y_)){t=t.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(c=s.raw.slice(-1)),l=!0,r=e[e.length-1],r&&r.type==="text"?(r.raw+=s.raw,r.text+=s.text):e.push(s);continue}if(t){const u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return e}}class ga{constructor(t){this.options=t||_s}code(t,e,s){const r=(e||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(t,r);i!=null&&i!==t&&(s=!0,t=i)}return t=t.replace(/\n$/,"")+`
522
+ `,r?'<pre><code class="'+this.options.langPrefix+Vt(r,!0)+'">'+(s?t:Vt(t,!0))+`</code></pre>
523
+ `:"<pre><code>"+(s?t:Vt(t,!0))+`</code></pre>
524
+ `}blockquote(t){return`<blockquote>
525
+ `+t+`</blockquote>
526
+ `}html(t){return t}heading(t,e,s,r){return this.options.headerIds?"<h"+e+' id="'+this.options.headerPrefix+r.slug(s)+'">'+t+"</h"+e+`>
527
+ `:"<h"+e+">"+t+"</h"+e+`>
535
528
  `}hr(){return this.options.xhtml?`<hr/>
536
529
  `:`<hr>
537
- `}list(e,t,s){const r=t?"ol":"ul",i=t&&s!==1?' start="'+s+'"':"";return"<"+r+i+`>
538
- `+e+"</"+r+`>
539
- `}listitem(e){return"<li>"+e+`</li>
540
- `}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+`</p>
541
- `}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),`<table>
530
+ `}list(t,e,s){const r=e?"ol":"ul",i=e&&s!==1?' start="'+s+'"':"";return"<"+r+i+`>
531
+ `+t+"</"+r+`>
532
+ `}listitem(t){return"<li>"+t+`</li>
533
+ `}checkbox(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(t){return"<p>"+t+`</p>
534
+ `}table(t,e){return e&&(e="<tbody>"+e+"</tbody>"),`<table>
542
535
  <thead>
543
- `+e+`</thead>
544
- `+t+`</table>
545
- `}tablerow(e){return`<tr>
546
- `+e+`</tr>
547
- `}tablecell(e,t){const s=t.header?"th":"td";return(t.align?"<"+s+' align="'+t.align+'">':"<"+s+">")+e+"</"+s+`>
548
- `}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,s){if(e=r2(this.options.sanitize,this.options.baseUrl,e),e===null)return s;let r='<a href="'+Ke(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+s+"</a>",r}image(e,t,s){if(e=r2(this.options.sanitize,this.options.baseUrl,e),e===null)return s;let r='<img src="'+e+'" alt="'+s+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r}text(e){return e}}class u2{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,s){return""+s}image(e,t,s){return""+s}br(){return""}}class h2{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let s=e,r=0;if(this.seen.hasOwnProperty(s)){r=this.seen[e];do r++,s=e+"-"+r;while(this.seen.hasOwnProperty(s))}return t||(this.seen[e]=r,this.seen[s]=0),s}slug(e,t={}){const s=this.serialize(e);return this.getNextSafeSlug(s,t.dryrun)}}class xn{constructor(e){this.options=e||Ds,this.options.renderer=this.options.renderer||new nl,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new u2,this.slugger=new h2}static parse(e,t){return new xn(t).parse(e)}static parseInline(e,t){return new xn(t).parseInline(e)}parse(e,t=!0){let s="",r,i,o,a,l,c,u,f,p,g,T,A,Y,q,K,se,B,ae,Ne;const He=e.length;for(r=0;r<He;r++){if(g=e[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[g.type]&&(Ne=this.options.extensions.renderers[g.type].call({parser:this},g),Ne!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(g.type))){s+=Ne||"";continue}switch(g.type){case"space":continue;case"hr":{s+=this.renderer.hr();continue}case"heading":{s+=this.renderer.heading(this.parseInline(g.tokens),g.depth,s2(this.parseInline(g.tokens,this.textRenderer)),this.slugger);continue}case"code":{s+=this.renderer.code(g.text,g.lang,g.escaped);continue}case"table":{for(f="",u="",a=g.header.length,i=0;i<a;i++)u+=this.renderer.tablecell(this.parseInline(g.header[i].tokens),{header:!0,align:g.align[i]});for(f+=this.renderer.tablerow(u),p="",a=g.rows.length,i=0;i<a;i++){for(c=g.rows[i],u="",l=c.length,o=0;o<l;o++)u+=this.renderer.tablecell(this.parseInline(c[o].tokens),{header:!1,align:g.align[o]});p+=this.renderer.tablerow(u)}s+=this.renderer.table(f,p);continue}case"blockquote":{p=this.parse(g.tokens),s+=this.renderer.blockquote(p);continue}case"list":{for(T=g.ordered,A=g.start,Y=g.loose,a=g.items.length,p="",i=0;i<a;i++)K=g.items[i],se=K.checked,B=K.task,q="",K.task&&(ae=this.renderer.checkbox(se),Y?K.tokens.length>0&&K.tokens[0].type==="paragraph"?(K.tokens[0].text=ae+" "+K.tokens[0].text,K.tokens[0].tokens&&K.tokens[0].tokens.length>0&&K.tokens[0].tokens[0].type==="text"&&(K.tokens[0].tokens[0].text=ae+" "+K.tokens[0].tokens[0].text)):K.tokens.unshift({type:"text",text:ae}):q+=ae),q+=this.parse(K.tokens,Y),p+=this.renderer.listitem(q,B,se);s+=this.renderer.list(p,T,A);continue}case"html":{s+=this.renderer.html(g.text);continue}case"paragraph":{s+=this.renderer.paragraph(this.parseInline(g.tokens));continue}case"text":{for(p=g.tokens?this.parseInline(g.tokens):g.text;r+1<He&&e[r+1].type==="text";)g=e[++r],p+=`
549
- `+(g.tokens?this.parseInline(g.tokens):g.text);s+=t?this.renderer.paragraph(p):p;continue}default:{const te='Token with "'+g.type+'" type was not found.';if(this.options.silent){console.error(te);return}else throw new Error(te)}}}return s}parseInline(e,t){t=t||this.renderer;let s="",r,i,o;const a=e.length;for(r=0;r<a;r++){if(i=e[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(o=this.options.extensions.renderers[i.type].call({parser:this},i),o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){s+=o||"";continue}switch(i.type){case"escape":{s+=t.text(i.text);break}case"html":{s+=t.html(i.text);break}case"link":{s+=t.link(i.href,i.title,this.parseInline(i.tokens,t));break}case"image":{s+=t.image(i.href,i.title,i.text);break}case"strong":{s+=t.strong(this.parseInline(i.tokens,t));break}case"em":{s+=t.em(this.parseInline(i.tokens,t));break}case"codespan":{s+=t.codespan(i.text);break}case"br":{s+=t.br();break}case"del":{s+=t.del(this.parseInline(i.tokens,t));break}case"text":{s+=t.text(i.text);break}default:{const l='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(l);return}else throw new Error(l)}}}return s}}function Q(n,e,t){if(typeof n>"u"||n===null)throw new Error("marked(): input parameter is undefined or null");if(typeof n!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected");if(typeof e=="function"&&(t=e,e=null),e=Vt({},Q.defaults,e||{}),o2(e),t){const s=e.highlight;let r;try{r=gn.lex(n,e)}catch(a){return t(a)}const i=function(a){let l;if(!a)try{e.walkTokens&&Q.walkTokens(r,e.walkTokens),l=xn.parse(r,e)}catch(c){a=c}return e.highlight=s,a?t(a):t(null,l)};if(!s||s.length<3||(delete e.highlight,!r.length))return i();let o=0;Q.walkTokens(r,function(a){a.type==="code"&&(o++,setTimeout(()=>{s(a.text,a.lang,function(l,c){if(l)return i(l);c!=null&&c!==a.text&&(a.text=c,a.escaped=!0),o--,o===0&&i()})},0))}),o===0&&i();return}try{const s=gn.lex(n,e);return e.walkTokens&&Q.walkTokens(s,e.walkTokens),xn.parse(s,e)}catch(s){if(s.message+=`
550
- Please report this to https://github.com/markedjs/marked.`,e.silent)return"<p>An error occurred:</p><pre>"+Ke(s.message+"",!0)+"</pre>";throw s}}Q.options=Q.setOptions=function(n){return Vt(Q.defaults,n),qy(Q.defaults),Q},Q.getDefaults=t2,Q.defaults=Ds,Q.use=function(...n){const e=Vt({},...n),t=Q.defaults.extensions||{renderers:{},childTokens:{}};let s;n.forEach(r=>{if(r.extensions&&(s=!0,r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if(i.renderer){const o=t.renderers?t.renderers[i.name]:null;o?t.renderers[i.name]=function(...a){let l=i.renderer.apply(this,a);return l===!1&&(l=o.apply(this,a)),l}:t.renderers[i.name]=i.renderer}if(i.tokenizer){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");t[i.level]?t[i.level].unshift(i.tokenizer):t[i.level]=[i.tokenizer],i.start&&(i.level==="block"?t.startBlock?t.startBlock.push(i.start):t.startBlock=[i.start]:i.level==="inline"&&(t.startInline?t.startInline.push(i.start):t.startInline=[i.start]))}i.childTokens&&(t.childTokens[i.name]=i.childTokens)})),r.renderer){const i=Q.defaults.renderer||new nl;for(const o in r.renderer){const a=i[o];i[o]=(...l)=>{let c=r.renderer[o].apply(i,l);return c===!1&&(c=a.apply(i,l)),c}}e.renderer=i}if(r.tokenizer){const i=Q.defaults.tokenizer||new tl;for(const o in r.tokenizer){const a=i[o];i[o]=(...l)=>{let c=r.tokenizer[o].apply(i,l);return c===!1&&(c=a.apply(i,l)),c}}e.tokenizer=i}if(r.walkTokens){const i=Q.defaults.walkTokens;e.walkTokens=function(o){r.walkTokens.call(this,o),i&&i.call(this,o)}}s&&(e.extensions=t),Q.setOptions(e)})},Q.walkTokens=function(n,e){for(const t of n)switch(e.call(Q,t),t.type){case"table":{for(const s of t.header)Q.walkTokens(s.tokens,e);for(const s of t.rows)for(const r of s)Q.walkTokens(r.tokens,e);break}case"list":{Q.walkTokens(t.items,e);break}default:Q.defaults.extensions&&Q.defaults.extensions.childTokens&&Q.defaults.extensions.childTokens[t.type]?Q.defaults.extensions.childTokens[t.type].forEach(function(s){Q.walkTokens(t[s],e)}):t.tokens&&Q.walkTokens(t.tokens,e)}},Q.parseInline=function(n,e){if(typeof n>"u"||n===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof n!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected");e=Vt({},Q.defaults,e||{}),o2(e);try{const t=gn.lexInline(n,e);return e.walkTokens&&Q.walkTokens(t,e.walkTokens),xn.parseInline(t,e)}catch(t){if(t.message+=`
551
- Please report this to https://github.com/markedjs/marked.`,e.silent)return"<p>An error occurred:</p><pre>"+Ke(t.message+"",!0)+"</pre>";throw t}},Q.Parser=xn,Q.parser=xn.parse,Q.Renderer=nl,Q.TextRenderer=u2,Q.Lexer=gn,Q.lexer=gn.lex,Q.Tokenizer=tl,Q.Slugger=h2,Q.parse=Q,Q.options,Q.setOptions,Q.use,Q.walkTokens,Q.parseInline,xn.parse,gn.lex;function sl(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(function(e){var t=n[e];typeof t=="object"&&!Object.isFrozen(t)&&sl(t)}),n}var f2=sl,uC=sl;f2.default=uC;class d2{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Fs(n){return n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Rn(n,...e){const t=Object.create(null);for(const s in n)t[s]=n[s];return e.forEach(function(s){for(const r in s)t[r]=s[r]}),t}const hC="</span>",p2=n=>!!n.kind;class fC{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=Fs(e)}openNode(e){if(!p2(e))return;let t=e.kind;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){!p2(e)||(this.buffer+=hC)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}class rl{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(s=>this._walk(e,s)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&(!e.children||(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{rl._collapse(t)})))}}class dC extends rl{constructor(e){super(),this.options=e}addKeyword(e,t){e!==""&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){e!==""&&this.add(e)}addSublanguage(e,t){const s=e.root;s.kind=t,s.sublanguage=!0,this.add(s)}toHTML(){return new fC(this,this.options).value()}finalize(){return!0}}function pC(n){return new RegExp(n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function Rr(n){return n?typeof n=="string"?n:n.source:null}function gC(...n){return n.map(t=>Rr(t)).join("")}function xC(...n){return"("+n.map(t=>Rr(t)).join("|")+")"}function mC(n){return new RegExp(n.toString()+"|").exec("").length-1}function LC(n,e){const t=n&&n.exec(e);return t&&t.index===0}const _C=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function yC(n,e="|"){let t=0;return n.map(s=>{t+=1;const r=t;let i=Rr(s),o="";for(;i.length>0;){const a=_C.exec(i);if(!a){o+=i;break}o+=i.substring(0,a.index),i=i.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+r):(o+=a[0],a[0]==="("&&t++)}return o}).map(s=>`(${s})`).join(e)}const CC=/\b\B/,g2="[a-zA-Z]\\w*",il="[a-zA-Z_]\\w*",ol="\\b\\d+(\\.\\d+)?",x2="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",m2="\\b(0b[01]+)",EC="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",bC=(n={})=>{const e=/^#![ ]*\//;return n.binary&&(n.begin=gC(e,/.*\b/,n.binary,/\b.*/)),Rn({className:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,s)=>{t.index!==0&&s.ignoreMatch()}},n)},kr={begin:"\\\\[\\s\\S]",relevance:0},vC={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[kr]},wC={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[kr]},L2={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},go=function(n,e,t={}){const s=Rn({className:"comment",begin:n,end:e,contains:[]},t);return s.contains.push(L2),s.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),s},TC=go("//","$"),AC=go("/\\*","\\*/"),SC=go("#","$"),RC={className:"number",begin:ol,relevance:0},kC={className:"number",begin:x2,relevance:0},OC={className:"number",begin:m2,relevance:0},NC={className:"number",begin:ol+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},IC={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[kr,{begin:/\[/,end:/\]/,relevance:0,contains:[kr]}]}]},PC={className:"title",begin:g2,relevance:0},MC={className:"title",begin:il,relevance:0},DC={begin:"\\.\\s*"+il,relevance:0};var xo=Object.freeze({__proto__:null,MATCH_NOTHING_RE:CC,IDENT_RE:g2,UNDERSCORE_IDENT_RE:il,NUMBER_RE:ol,C_NUMBER_RE:x2,BINARY_NUMBER_RE:m2,RE_STARTERS_RE:EC,SHEBANG:bC,BACKSLASH_ESCAPE:kr,APOS_STRING_MODE:vC,QUOTE_STRING_MODE:wC,PHRASAL_WORDS_MODE:L2,COMMENT:go,C_LINE_COMMENT_MODE:TC,C_BLOCK_COMMENT_MODE:AC,HASH_COMMENT_MODE:SC,NUMBER_MODE:RC,C_NUMBER_MODE:kC,BINARY_NUMBER_MODE:OC,CSS_NUMBER_MODE:NC,REGEXP_MODE:IC,TITLE_MODE:PC,UNDERSCORE_TITLE_MODE:MC,METHOD_GUARD:DC,END_SAME_AS_BEGIN:function(n){return Object.assign(n,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function FC(n,e){n.input[n.index-1]==="."&&e.ignoreMatch()}function $C(n,e){!e||!n.beginKeywords||(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=FC,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function BC(n,e){!Array.isArray(n.illegal)||(n.illegal=xC(...n.illegal))}function UC(n,e){if(!!n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function VC(n,e){n.relevance===void 0&&(n.relevance=1)}const HC=["of","and","for","in","not","or","if","then","parent","list","value"],GC="keyword";function _2(n,e,t=GC){const s={};return typeof n=="string"?r(t,n.split(" ")):Array.isArray(n)?r(t,n):Object.keys(n).forEach(function(i){Object.assign(s,_2(n[i],e,i))}),s;function r(i,o){e&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){const l=a.split("|");s[l[0]]=[i,jC(l[0],l[1])]})}}function jC(n,e){return e?Number(e):zC(n)?0:1}function zC(n){return HC.includes(n.toLowerCase())}function ZC(n,{plugins:e}){function t(a,l){return new RegExp(Rr(a),"m"+(n.case_insensitive?"i":"")+(l?"g":""))}class s{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,l]),this.matchAt+=mC(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(c=>c[1]);this.matcherRe=t(yC(l),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(l);if(!c)return null;const u=c.findIndex((p,g)=>g>0&&p!==void 0),f=this.matchIndexes[u];return c.splice(0,u),Object.assign(c,f)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const c=new s;return this.rules.slice(l).forEach(([u,f])=>c.addRule(u,f)),c.compile(),this.multiRegexes[l]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,c){this.rules.push([l,c]),c.type==="begin"&&this.count++}exec(l){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let u=c.exec(l);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const f=this.getMatcher(0);f.lastIndex=this.lastIndex+1,u=f.exec(l)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function i(a){const l=new r;return a.contains.forEach(c=>l.addRule(c.begin,{rule:c,type:"begin"})),a.terminatorEnd&&l.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&l.addRule(a.illegal,{type:"illegal"}),l}function o(a,l){const c=a;if(a.isCompiled)return c;[UC].forEach(f=>f(a,l)),n.compilerExtensions.forEach(f=>f(a,l)),a.__beforeBegin=null,[$C,BC,VC].forEach(f=>f(a,l)),a.isCompiled=!0;let u=null;if(typeof a.keywords=="object"&&(u=a.keywords.$pattern,delete a.keywords.$pattern),a.keywords&&(a.keywords=_2(a.keywords,n.case_insensitive)),a.lexemes&&u)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return u=u||a.lexemes||/\w+/,c.keywordPatternRe=t(u,!0),l&&(a.begin||(a.begin=/\B|\b/),c.beginRe=t(a.begin),a.endSameAsBegin&&(a.end=a.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(c.endRe=t(a.end)),c.terminatorEnd=Rr(a.end)||"",a.endsWithParent&&l.terminatorEnd&&(c.terminatorEnd+=(a.end?"|":"")+l.terminatorEnd)),a.illegal&&(c.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(f){return qC(f==="self"?a:f)})),a.contains.forEach(function(f){o(f,c)}),a.starts&&o(a.starts,l),c.matcher=i(c),c}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=Rn(n.classNameAliases||{}),o(n)}function y2(n){return n?n.endsWithParent||y2(n.starts):!1}function qC(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return Rn(n,{variants:null},e)})),n.cachedVariants?n.cachedVariants:y2(n)?Rn(n,{starts:n.starts?Rn(n.starts):null}):Object.isFrozen(n)?Rn(n):n}var WC="10.7.3";function KC(n){return Boolean(n||n==="")}function YC(n){const e={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!n.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,Fs(this.code);let s={};return this.autoDetect?(s=n.highlightAuto(this.code),this.detectedLanguage=s.language):(s=n.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),s.value},autoDetect(){return!this.language||KC(this.autodetect)},ignoreIllegals(){return!0}},render(s){return s("pre",{},[s("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:e,VuePlugin:{install(s){s.component("highlightjs",e)}}}}const XC={"after:highlightElement":({el:n,result:e,text:t})=>{const s=C2(n);if(!s.length)return;const r=document.createElement("div");r.innerHTML=e.value,e.value=QC(s,C2(r),t)}};function al(n){return n.nodeName.toLowerCase()}function C2(n){const e=[];return function t(s,r){for(let i=s.firstChild;i;i=i.nextSibling)i.nodeType===3?r+=i.nodeValue.length:i.nodeType===1&&(e.push({event:"start",offset:r,node:i}),r=t(i,r),al(i).match(/br|hr|img|input/)||e.push({event:"stop",offset:r,node:i}));return r}(n,0),e}function QC(n,e,t){let s=0,r="";const i=[];function o(){return!n.length||!e.length?n.length?n:e:n[0].offset!==e[0].offset?n[0].offset<e[0].offset?n:e:e[0].event==="start"?n:e}function a(u){function f(p){return" "+p.nodeName+'="'+Fs(p.value)+'"'}r+="<"+al(u)+[].map.call(u.attributes,f).join("")+">"}function l(u){r+="</"+al(u)+">"}function c(u){(u.event==="start"?a:l)(u.node)}for(;n.length||e.length;){let u=o();if(r+=Fs(t.substring(s,u[0].offset)),s=u[0].offset,u===n){i.reverse().forEach(l);do c(u.splice(0,1)[0]),u=o();while(u===n&&u.length&&u[0].offset===s);i.reverse().forEach(a)}else u[0].event==="start"?i.push(u[0].node):i.pop(),c(u.splice(0,1)[0])}return r+Fs(t.substr(s))}const E2={},ll=n=>{console.error(n)},b2=(n,...e)=>{console.log(`WARN: ${n}`,...e)},It=(n,e)=>{E2[`${n}/${e}`]||(console.log(`Deprecated as of ${n}. ${e}`),E2[`${n}/${e}`]=!0)},cl=Fs,v2=Rn,w2=Symbol("nomatch");var JC=function(n){const e=Object.create(null),t=Object.create(null),s=[];let r=!0;const i=/(^(<[^>]+>|\t|)+|\n)/gm,o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:dC};function c(w){return l.noHighlightRe.test(w)}function u(w){let j=w.className+" ";j+=w.parentNode?w.parentNode.className:"";const ge=l.languageDetectRe.exec(j);if(ge){const Ae=Xe(ge[1]);return Ae||(b2(o.replace("{}",ge[1])),b2("Falling back to no-highlight mode for this block.",w)),Ae?ge[1]:"no-highlight"}return j.split(/\s+/).find(Ae=>c(Ae)||Xe(Ae))}function f(w,j,ge,Ae){let Se="",Mt="";typeof j=="object"?(Se=w,ge=j.ignoreIllegals,Mt=j.language,Ae=void 0):(It("10.7.0","highlight(lang, code, ...args) has been deprecated."),It("10.7.0",`Please use highlight(code, options) instead.
552
- https://github.com/highlightjs/highlight.js/issues/2277`),Mt=w,Se=j);const At={code:Se,language:Mt};kn("before:highlight",At);const nt=At.result?At.result:p(At.language,At.code,ge,Ae);return nt.code=At.code,kn("after:highlight",nt),nt}function p(w,j,ge,Ae){function Se(F,z){const ie=P.case_insensitive?z[0].toLowerCase():z[0];return Object.prototype.hasOwnProperty.call(F.keywords,ie)&&F.keywords[ie]}function Mt(){if(!y.keywords){D.addText($);return}let F=0;y.keywordPatternRe.lastIndex=0;let z=y.keywordPatternRe.exec($),ie="";for(;z;){ie+=$.substring(F,z.index);const ve=Se(y,z);if(ve){const[Ge,cs]=ve;if(D.addText(ie),ie="",J+=cs,Ge.startsWith("_"))ie+=z[0];else{const st=P.classNameAliases[Ge]||Ge;D.addKeyword(z[0],st)}}else ie+=z[0];F=y.keywordPatternRe.lastIndex,z=y.keywordPatternRe.exec($)}ie+=$.substr(F),D.addText(ie)}function At(){if($==="")return;let F=null;if(typeof y.subLanguage=="string"){if(!e[y.subLanguage]){D.addText($);return}F=p(y.subLanguage,$,!0,Z[y.subLanguage]),Z[y.subLanguage]=F.top}else F=T($,y.subLanguage.length?y.subLanguage:null);y.relevance>0&&(J+=F.relevance),D.addSublanguage(F.emitter,F.language)}function nt(){y.subLanguage!=null?At():Mt(),$=""}function _t(F){return F.className&&D.openNode(P.classNameAliases[F.className]||F.className),y=Object.create(F,{parent:{value:y}}),y}function Dt(F,z,ie){let ve=LC(F.endRe,ie);if(ve){if(F["on:end"]){const Ge=new d2(F);F["on:end"](z,Ge),Ge.isMatchIgnored&&(ve=!1)}if(ve){for(;F.endsParent&&F.parent;)F=F.parent;return F}}if(F.endsWithParent)return Dt(F.parent,z,ie)}function d(F){return y.matcher.regexIndex===0?($+=F[0],1):(_e=!0,0)}function x(F){const z=F[0],ie=F.rule,ve=new d2(ie),Ge=[ie.__beforeBegin,ie["on:begin"]];for(const cs of Ge)if(!!cs&&(cs(F,ve),ve.isMatchIgnored))return d(z);return ie&&ie.endSameAsBegin&&(ie.endRe=pC(z)),ie.skip?$+=z:(ie.excludeBegin&&($+=z),nt(),!ie.returnBegin&&!ie.excludeBegin&&($=z)),_t(ie),ie.returnBegin?0:z.length}function C(F){const z=F[0],ie=j.substr(F.index),ve=Dt(y,F,ie);if(!ve)return w2;const Ge=y;Ge.skip?$+=z:(Ge.returnEnd||Ge.excludeEnd||($+=z),nt(),Ge.excludeEnd&&($=z));do y.className&&D.closeNode(),!y.skip&&!y.subLanguage&&(J+=y.relevance),y=y.parent;while(y!==ve.parent);return ve.starts&&(ve.endSameAsBegin&&(ve.starts.endRe=ve.endRe),_t(ve.starts)),Ge.returnEnd?0:z.length}function v(){const F=[];for(let z=y;z!==P;z=z.parent)z.className&&F.unshift(z.className);F.forEach(z=>D.openNode(z))}let E={};function k(F,z){const ie=z&&z[0];if($+=F,ie==null)return nt(),0;if(E.type==="begin"&&z.type==="end"&&E.index===z.index&&ie===""){if($+=j.slice(z.index,z.index+1),!r){const ve=new Error("0 width match regex");throw ve.languageName=w,ve.badRule=E.rule,ve}return 1}if(E=z,z.type==="begin")return x(z);if(z.type==="illegal"&&!ge){const ve=new Error('Illegal lexeme "'+ie+'" for mode "'+(y.className||"<unnamed>")+'"');throw ve.mode=y,ve}else if(z.type==="end"){const ve=C(z);if(ve!==w2)return ve}if(z.type==="illegal"&&ie==="")return 1;if(be>1e5&&be>z.index*3)throw new Error("potential infinite loop, way more iterations than matches");return $+=ie,ie.length}const P=Xe(w);if(!P)throw ll(o.replace("{}",w)),new Error('Unknown language: "'+w+'"');const S=ZC(P,{plugins:s});let N="",y=Ae||S;const Z={},D=new l.__emitter(l);v();let $="",J=0,oe=0,be=0,_e=!1;try{for(y.matcher.considerAll();;){be++,_e?_e=!1:y.matcher.considerAll(),y.matcher.lastIndex=oe;const F=y.matcher.exec(j);if(!F)break;const z=j.substring(oe,F.index),ie=k(z,F);oe=F.index+ie}return k(j.substr(oe)),D.closeAllNodes(),D.finalize(),N=D.toHTML(),{relevance:Math.floor(J),value:N,language:w,illegal:!1,emitter:D,top:y}}catch(F){if(F.message&&F.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:F.message,context:j.slice(oe-100,oe+100),mode:F.mode},sofar:N,relevance:0,value:cl(j),emitter:D};if(r)return{illegal:!1,relevance:0,value:cl(j),emitter:D,language:w,top:y,errorRaised:F};throw F}}function g(w){const j={relevance:0,emitter:new l.__emitter(l),value:cl(w),illegal:!1,top:a};return j.emitter.addText(w),j}function T(w,j){j=j||l.languages||Object.keys(e);const ge=g(w),Ae=j.filter(Xe).filter(de).map(_t=>p(_t,w,!1));Ae.unshift(ge);const Se=Ae.sort((_t,Dt)=>{if(_t.relevance!==Dt.relevance)return Dt.relevance-_t.relevance;if(_t.language&&Dt.language){if(Xe(_t.language).supersetOf===Dt.language)return 1;if(Xe(Dt.language).supersetOf===_t.language)return-1}return 0}),[Mt,At]=Se,nt=Mt;return nt.second_best=At,nt}function A(w){return l.tabReplace||l.useBR?w.replace(i,j=>j===`
553
- `?l.useBR?"<br>":j:l.tabReplace?j.replace(/\t/g,l.tabReplace):j):w}function Y(w,j,ge){const Ae=j?t[j]:ge;w.classList.add("hljs"),Ae&&w.classList.add(Ae)}const q={"before:highlightElement":({el:w})=>{l.useBR&&(w.innerHTML=w.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
554
- `))},"after:highlightElement":({result:w})=>{l.useBR&&(w.value=w.value.replace(/\n/g,"<br>"))}},K=/^(<[^>]+>|\t)+/gm,se={"after:highlightElement":({result:w})=>{l.tabReplace&&(w.value=w.value.replace(K,j=>j.replace(/\t/g,l.tabReplace)))}};function B(w){let j=null;const ge=u(w);if(c(ge))return;kn("before:highlightElement",{el:w,language:ge}),j=w;const Ae=j.textContent,Se=ge?f(Ae,{language:ge,ignoreIllegals:!0}):T(Ae);kn("after:highlightElement",{el:w,result:Se,text:Ae}),w.innerHTML=Se.value,Y(w,ge,Se.language),w.result={language:Se.language,re:Se.relevance,relavance:Se.relevance},Se.second_best&&(w.second_best={language:Se.second_best.language,re:Se.second_best.relevance,relavance:Se.second_best.relevance})}function ae(w){w.useBR&&(It("10.3.0","'useBR' will be removed entirely in v11.0"),It("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=v2(l,w)}const Ne=()=>{if(Ne.called)return;Ne.called=!0,It("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(B)};function He(){It("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),te=!0}let te=!1;function Ee(){if(document.readyState==="loading"){te=!0;return}document.querySelectorAll("pre code").forEach(B)}function Ie(){te&&Ee()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Ie,!1);function Ye(w,j){let ge=null;try{ge=j(n)}catch(Ae){if(ll("Language definition for '{}' could not be registered.".replace("{}",w)),r)ll(Ae);else throw Ae;ge=a}ge.name||(ge.name=w),e[w]=ge,ge.rawDefinition=j.bind(null,n),ge.aliases&&tt(ge.aliases,{languageName:w})}function Ze(w){delete e[w];for(const j of Object.keys(t))t[j]===w&&delete t[j]}function Ht(){return Object.keys(e)}function Bs(w){It("10.4.0","requireLanguage will be removed entirely in v11."),It("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const j=Xe(w);if(j)return j;throw new Error("The '{}' language is required, but not loaded.".replace("{}",w))}function Xe(w){return w=(w||"").toLowerCase(),e[w]||e[t[w]]}function tt(w,{languageName:j}){typeof w=="string"&&(w=[w]),w.forEach(ge=>{t[ge.toLowerCase()]=j})}function de(w){const j=Xe(w);return j&&!j.disableAutodetect}function pe(w){w["before:highlightBlock"]&&!w["before:highlightElement"]&&(w["before:highlightElement"]=j=>{w["before:highlightBlock"](Object.assign({block:j.el},j))}),w["after:highlightBlock"]&&!w["after:highlightElement"]&&(w["after:highlightElement"]=j=>{w["after:highlightBlock"](Object.assign({block:j.el},j))})}function Pt(w){pe(w),s.push(w)}function kn(w,j){const ge=w;s.forEach(function(Ae){Ae[ge]&&Ae[ge](j)})}function ls(w){return It("10.2.0","fixMarkup will be removed entirely in v11.0"),It("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),A(w)}function On(w){return It("10.7.0","highlightBlock will be removed entirely in v12.0"),It("10.7.0","Please use highlightElement now."),B(w)}Object.assign(n,{highlight:f,highlightAuto:T,highlightAll:Ee,fixMarkup:ls,highlightElement:B,highlightBlock:On,configure:ae,initHighlighting:Ne,initHighlightingOnLoad:He,registerLanguage:Ye,unregisterLanguage:Ze,listLanguages:Ht,getLanguage:Xe,registerAliases:tt,requireLanguage:Bs,autoDetection:de,inherit:v2,addPlugin:Pt,vuePlugin:YC(n).VuePlugin}),n.debugMode=function(){r=!1},n.safeMode=function(){r=!0},n.versionString=WC;for(const w in xo)typeof xo[w]=="object"&&f2(xo[w]);return Object.assign(n,xo),n.addPlugin(q),n.addPlugin(XC),n.addPlugin(se),n}({}),as=JC;function eE(n){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}var tE=eE;const T2="[A-Za-z$_][0-9A-Za-z$_]*",nE=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],sE=["true","false","null","undefined","NaN","Infinity"],rE=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],iE=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],oE=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],aE=["arguments","this","super","console","window","document","localStorage","module","global"],lE=[].concat(oE,aE,rE,iE);function cE(n){return n?typeof n=="string"?n:n.source:null}function A2(n){return ul("(?=",n,")")}function ul(...n){return n.map(t=>cE(t)).join("")}function uE(n){const e=(B,{after:ae})=>{const Ne="</"+B[0].slice(1);return B.input.indexOf(Ne,ae)!==-1},t=T2,s={begin:"<>",end:"</>"},r={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(B,ae)=>{const Ne=B[0].length+B.index,He=B.input[Ne];if(He==="<"){ae.ignoreMatch();return}He===">"&&(e(B,{after:Ne})||ae.ignoreMatch())}},i={$pattern:T2,keyword:nE,literal:sE,built_in:lE},o="[0-9](_?[0-9])*",a=`\\.(${o})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${a})|\\.)?|(${a}))[eE][+-]?(${o})\\b`},{begin:`\\b(${l})\\b((${a})\\b|\\.)?|(${a})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},f={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},p={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"css"}},g={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,u]},A={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:t+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},Y=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,p,g,c,n.REGEXP_MODE];u.contains=Y.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(Y)});const q=[].concat(A,u.contains),K=q.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(q)}]),se={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:K};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:K},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,p,g,A,c,{begin:ul(/[{,\n]\s*/,A2(ul(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,t+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:t+A2("\\s*:"),relevance:0}]},{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[A,n.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:K}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:s.begin,end:s.end},{begin:r.begin,"on:begin":r.isTrulyOpeningTag,end:r.end}],subLanguage:"xml",contains:[{begin:r.begin,end:r.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:i,contains:["self",n.inherit(n.TITLE_MODE,{begin:t}),se],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[se,n.inherit(n.TITLE_MODE,{begin:t})]},{variants:[{begin:"\\."+t},{begin:"\\$"+t}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},n.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[n.inherit(n.TITLE_MODE,{begin:t}),"self",se]},{begin:"(get|set)\\s+(?="+t+"\\()",end:/\{/,keywords:"get set",contains:[n.inherit(n.TITLE_MODE,{begin:t}),{begin:/\(\)/},se]},{begin:/\$[(.]/}]}}var hE=uE;function fE(n){return n?typeof n=="string"?n:n.source:null}function dE(...n){return n.map(t=>fE(t)).join("")}function pE(n){const e={},t={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[e]}]};Object.assign(e,{className:"variable",variants:[{begin:dE(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},t]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},r={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,e,s]};s.contains.push(i);const o={className:"",begin:/\\"/},a={className:"string",begin:/'/,end:/'/},l={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,e]},c=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],u=n.SHEBANG({binary:`(${c.join("|")})`,relevance:10}),f={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[n.inherit(n.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[u,n.SHEBANG(),f,l,n.HASH_COMMENT_MODE,r,i,o,a,e]}}var gE=pE;function xE(n){var e="true false yes no null",t="[\\w#;/?:@&=+$,.~*'()[\\]]+",s={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[n.BACKSLASH_ESCAPE,r]},o=n.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a="[0-9]{4}(-[0-9][0-9]){0,2}",l="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",u="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+a+l+c+u+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},g={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},T={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},A=[s,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+t},{className:"type",begin:"!<"+t+">"},{className:"type",begin:"!"+t},{className:"type",begin:"!!"+t},{className:"meta",begin:"&"+n.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+n.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},n.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},f,{className:"number",begin:n.C_NUMBER_RE+"\\b",relevance:0},g,T,i],Y=[...A];return Y.pop(),Y.push(o),p.contains=Y,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:A}}var mE=xE;const ww="";as.registerLanguage("plaintext",tE),as.registerLanguage("javascript",hE),as.registerLanguage("bash",gE),as.registerLanguage("yaml",mE);const LE={codespan(n){let t=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi.exec(n);return(t==null?void 0:t.length)===3?`
536
+ `+t+`</thead>
537
+ `+e+`</table>
538
+ `}tablerow(t){return`<tr>
539
+ `+t+`</tr>
540
+ `}tablecell(t,e){const s=e.header?"th":"td";return(e.align?"<"+s+' align="'+e.align+'">':"<"+s+">")+t+"</"+s+`>
541
+ `}strong(t){return"<strong>"+t+"</strong>"}em(t){return"<em>"+t+"</em>"}codespan(t){return"<code>"+t+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(t){return"<del>"+t+"</del>"}link(t,e,s){if(t=Yu(this.options.sanitize,this.options.baseUrl,t),t===null)return s;let r='<a href="'+Vt(t)+'"';return e&&(r+=' title="'+e+'"'),r+=">"+s+"</a>",r}image(t,e,s){if(t=Yu(this.options.sanitize,this.options.baseUrl,t),t===null)return s;let r='<img src="'+t+'" alt="'+s+'"';return e&&(r+=' title="'+e+'"'),r+=this.options.xhtml?"/>":">",r}text(t){return t}}class n2{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,e,s){return""+s}image(t,e,s){return""+s}br(){return""}}class s2{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,e){let s=t,r=0;if(this.seen.hasOwnProperty(s)){r=this.seen[t];do r++,s=t+"-"+r;while(this.seen.hasOwnProperty(s))}return e||(this.seen[t]=r,this.seen[s]=0),s}slug(t,e={}){const s=this.serialize(t);return this.getNextSafeSlug(s,e.dryrun)}}class cn{constructor(t){this.options=t||_s,this.options.renderer=this.options.renderer||new ga,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new n2,this.slugger=new s2}static parse(t,e){return new cn(e).parse(t)}static parseInline(t,e){return new cn(e).parseInline(t)}parse(t,e=!0){let s="",r,i,o,a,l,c,u,f,p,g,R,I,et,H,Q,Z,Y,yt,Mt;const Ht=t.length;for(r=0;r<Ht;r++){if(g=t[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[g.type]&&(Mt=this.options.extensions.renderers[g.type].call({parser:this},g),Mt!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(g.type))){s+=Mt||"";continue}switch(g.type){case"space":continue;case"hr":{s+=this.renderer.hr();continue}case"heading":{s+=this.renderer.heading(this.parseInline(g.tokens),g.depth,Ku(this.parseInline(g.tokens,this.textRenderer)),this.slugger);continue}case"code":{s+=this.renderer.code(g.text,g.lang,g.escaped);continue}case"table":{for(f="",u="",a=g.header.length,i=0;i<a;i++)u+=this.renderer.tablecell(this.parseInline(g.header[i].tokens),{header:!0,align:g.align[i]});for(f+=this.renderer.tablerow(u),p="",a=g.rows.length,i=0;i<a;i++){for(c=g.rows[i],u="",l=c.length,o=0;o<l;o++)u+=this.renderer.tablecell(this.parseInline(c[o].tokens),{header:!1,align:g.align[o]});p+=this.renderer.tablerow(u)}s+=this.renderer.table(f,p);continue}case"blockquote":{p=this.parse(g.tokens),s+=this.renderer.blockquote(p);continue}case"list":{for(R=g.ordered,I=g.start,et=g.loose,a=g.items.length,p="",i=0;i<a;i++)Q=g.items[i],Z=Q.checked,Y=Q.task,H="",Q.task&&(yt=this.renderer.checkbox(Z),et?Q.tokens.length>0&&Q.tokens[0].type==="paragraph"?(Q.tokens[0].text=yt+" "+Q.tokens[0].text,Q.tokens[0].tokens&&Q.tokens[0].tokens.length>0&&Q.tokens[0].tokens[0].type==="text"&&(Q.tokens[0].tokens[0].text=yt+" "+Q.tokens[0].tokens[0].text)):Q.tokens.unshift({type:"text",text:yt}):H+=yt),H+=this.parse(Q.tokens,et),p+=this.renderer.listitem(H,Y,Z);s+=this.renderer.list(p,R,I);continue}case"html":{s+=this.renderer.html(g.text);continue}case"paragraph":{s+=this.renderer.paragraph(this.parseInline(g.tokens));continue}case"text":{for(p=g.tokens?this.parseInline(g.tokens):g.text;r+1<Ht&&t[r+1].type==="text";)g=t[++r],p+=`
542
+ `+(g.tokens?this.parseInline(g.tokens):g.text);s+=e?this.renderer.paragraph(p):p;continue}default:{const J='Token with "'+g.type+'" type was not found.';if(this.options.silent){console.error(J);return}else throw new Error(J)}}}return s}parseInline(t,e){e=e||this.renderer;let s="",r,i,o;const a=t.length;for(r=0;r<a;r++){if(i=t[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(o=this.options.extensions.renderers[i.type].call({parser:this},i),o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){s+=o||"";continue}switch(i.type){case"escape":{s+=e.text(i.text);break}case"html":{s+=e.html(i.text);break}case"link":{s+=e.link(i.href,i.title,this.parseInline(i.tokens,e));break}case"image":{s+=e.image(i.href,i.title,i.text);break}case"strong":{s+=e.strong(this.parseInline(i.tokens,e));break}case"em":{s+=e.em(this.parseInline(i.tokens,e));break}case"codespan":{s+=e.codespan(i.text);break}case"br":{s+=e.br();break}case"del":{s+=e.del(this.parseInline(i.tokens,e));break}case"text":{s+=e.text(i.text);break}default:{const l='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(l);return}else throw new Error(l)}}}return s}}function X(n,t,e){if(typeof n>"u"||n===null)throw new Error("marked(): input parameter is undefined or null");if(typeof n!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected");if(typeof t=="function"&&(e=t,t=null),t=$e({},X.defaults,t||{}),Qu(t),e){const s=t.highlight;let r;try{r=ln.lex(n,t)}catch(a){return e(a)}const i=function(a){let l;if(!a)try{t.walkTokens&&X.walkTokens(r,t.walkTokens),l=cn.parse(r,t)}catch(c){a=c}return t.highlight=s,a?e(a):e(null,l)};if(!s||s.length<3||(delete t.highlight,!r.length))return i();let o=0;X.walkTokens(r,function(a){a.type==="code"&&(o++,setTimeout(()=>{s(a.text,a.lang,function(l,c){if(l)return i(l);c!=null&&c!==a.text&&(a.text=c,a.escaped=!0),o--,o===0&&i()})},0))}),o===0&&i();return}try{const s=ln.lex(n,t);return t.walkTokens&&X.walkTokens(s,t.walkTokens),cn.parse(s,t)}catch(s){if(s.message+=`
543
+ Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+Vt(s.message+"",!0)+"</pre>";throw s}}X.options=X.setOptions=function(n){return $e(X.defaults,n),r_(X.defaults),X},X.getDefaults=qu,X.defaults=_s,X.use=function(...n){const t=$e({},...n),e=X.defaults.extensions||{renderers:{},childTokens:{}};let s;n.forEach(r=>{if(r.extensions&&(s=!0,r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if(i.renderer){const o=e.renderers?e.renderers[i.name]:null;o?e.renderers[i.name]=function(...a){let l=i.renderer.apply(this,a);return l===!1&&(l=o.apply(this,a)),l}:e.renderers[i.name]=i.renderer}if(i.tokenizer){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[i.level]?e[i.level].unshift(i.tokenizer):e[i.level]=[i.tokenizer],i.start&&(i.level==="block"?e.startBlock?e.startBlock.push(i.start):e.startBlock=[i.start]:i.level==="inline"&&(e.startInline?e.startInline.push(i.start):e.startInline=[i.start]))}i.childTokens&&(e.childTokens[i.name]=i.childTokens)})),r.renderer){const i=X.defaults.renderer||new ga;for(const o in r.renderer){const a=i[o];i[o]=(...l)=>{let c=r.renderer[o].apply(i,l);return c===!1&&(c=a.apply(i,l)),c}}t.renderer=i}if(r.tokenizer){const i=X.defaults.tokenizer||new pa;for(const o in r.tokenizer){const a=i[o];i[o]=(...l)=>{let c=r.tokenizer[o].apply(i,l);return c===!1&&(c=a.apply(i,l)),c}}t.tokenizer=i}if(r.walkTokens){const i=X.defaults.walkTokens;t.walkTokens=function(o){r.walkTokens.call(this,o),i&&i.call(this,o)}}s&&(t.extensions=e),X.setOptions(t)})},X.walkTokens=function(n,t){for(const e of n)switch(t.call(X,e),e.type){case"table":{for(const s of e.header)X.walkTokens(s.tokens,t);for(const s of e.rows)for(const r of s)X.walkTokens(r.tokens,t);break}case"list":{X.walkTokens(e.items,t);break}default:X.defaults.extensions&&X.defaults.extensions.childTokens&&X.defaults.extensions.childTokens[e.type]?X.defaults.extensions.childTokens[e.type].forEach(function(s){X.walkTokens(e[s],t)}):e.tokens&&X.walkTokens(e.tokens,t)}},X.parseInline=function(n,t){if(typeof n>"u"||n===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof n!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected");t=$e({},X.defaults,t||{}),Qu(t);try{const e=ln.lexInline(n,t);return t.walkTokens&&X.walkTokens(e,t.walkTokens),cn.parseInline(e,t)}catch(e){if(e.message+=`
544
+ Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+Vt(e.message+"",!0)+"</pre>";throw e}},X.Parser=cn,X.parser=cn.parse,X.Renderer=ga,X.TextRenderer=n2,X.Lexer=ln,X.lexer=ln.lex,X.Tokenizer=pa,X.Slugger=s2,X.parse=X,X.options,X.setOptions,X.use,X.walkTokens,X.parseInline,cn.parse,ln.lex;function xa(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(function(t){var e=n[t];typeof e=="object"&&!Object.isFrozen(e)&&xa(e)}),n}var r2=xa,C_=xa;r2.default=C_;class i2{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function ys(n){return n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function bn(n,...t){const e=Object.create(null);for(const s in n)e[s]=n[s];return t.forEach(function(s){for(const r in s)e[r]=s[r]}),e}const E_="</span>",o2=n=>!!n.kind;class b_{constructor(t,e){this.buffer="",this.classPrefix=e.classPrefix,t.walk(this)}addText(t){this.buffer+=ys(t)}openNode(t){if(!o2(t))return;let e=t.kind;t.sublanguage||(e=`${this.classPrefix}${e}`),this.span(e)}closeNode(t){!o2(t)||(this.buffer+=E_)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}class ma{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const e={kind:t,children:[]};this.add(e),this.stack.push(e)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,e){return typeof e=="string"?t.addText(e):e.children&&(t.openNode(e),e.children.forEach(s=>this._walk(t,s)),t.closeNode(e)),t}static _collapse(t){typeof t!="string"&&(!t.children||(t.children.every(e=>typeof e=="string")?t.children=[t.children.join("")]:t.children.forEach(e=>{ma._collapse(e)})))}}class w_ extends ma{constructor(t){super(),this.options=t}addKeyword(t,e){t!==""&&(this.openNode(e),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,e){const s=t.root;s.kind=e,s.sublanguage=!0,this.add(s)}toHTML(){return new b_(this,this.options).value()}finalize(){return!0}}function T_(n){return new RegExp(n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function sr(n){return n?typeof n=="string"?n:n.source:null}function v_(...n){return n.map(e=>sr(e)).join("")}function A_(...n){return"("+n.map(e=>sr(e)).join("|")+")"}function S_(n){return new RegExp(n.toString()+"|").exec("").length-1}function R_(n,t){const e=n&&n.exec(t);return e&&e.index===0}const k_=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function I_(n,t="|"){let e=0;return n.map(s=>{e+=1;const r=e;let i=sr(s),o="";for(;i.length>0;){const a=k_.exec(i);if(!a){o+=i;break}o+=i.substring(0,a.index),i=i.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+r):(o+=a[0],a[0]==="("&&e++)}return o}).map(s=>`(${s})`).join(t)}const O_=/\b\B/,a2="[a-zA-Z]\\w*",La="[a-zA-Z_]\\w*",_a="\\b\\d+(\\.\\d+)?",l2="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",c2="\\b(0b[01]+)",N_="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",P_=(n={})=>{const t=/^#![ ]*\//;return n.binary&&(n.begin=v_(t,/.*\b/,n.binary,/\b.*/)),bn({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,s)=>{e.index!==0&&s.ignoreMatch()}},n)},rr={begin:"\\\\[\\s\\S]",relevance:0},M_={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[rr]},F_={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[rr]},u2={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Ni=function(n,t,e={}){const s=bn({className:"comment",begin:n,end:t,contains:[]},e);return s.contains.push(u2),s.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),s},D_=Ni("//","$"),$_=Ni("/\\*","\\*/"),B_=Ni("#","$"),U_={className:"number",begin:_a,relevance:0},H_={className:"number",begin:l2,relevance:0},G_={className:"number",begin:c2,relevance:0},z_={className:"number",begin:_a+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},V_={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[rr,{begin:/\[/,end:/\]/,relevance:0,contains:[rr]}]}]},j_={className:"title",begin:a2,relevance:0},Z_={className:"title",begin:La,relevance:0},q_={begin:"\\.\\s*"+La,relevance:0};var Pi=Object.freeze({__proto__:null,MATCH_NOTHING_RE:O_,IDENT_RE:a2,UNDERSCORE_IDENT_RE:La,NUMBER_RE:_a,C_NUMBER_RE:l2,BINARY_NUMBER_RE:c2,RE_STARTERS_RE:N_,SHEBANG:P_,BACKSLASH_ESCAPE:rr,APOS_STRING_MODE:M_,QUOTE_STRING_MODE:F_,PHRASAL_WORDS_MODE:u2,COMMENT:Ni,C_LINE_COMMENT_MODE:D_,C_BLOCK_COMMENT_MODE:$_,HASH_COMMENT_MODE:B_,NUMBER_MODE:U_,C_NUMBER_MODE:H_,BINARY_NUMBER_MODE:G_,CSS_NUMBER_MODE:z_,REGEXP_MODE:V_,TITLE_MODE:j_,UNDERSCORE_TITLE_MODE:Z_,METHOD_GUARD:q_,END_SAME_AS_BEGIN:function(n){return Object.assign(n,{"on:begin":(t,e)=>{e.data._beginMatch=t[1]},"on:end":(t,e)=>{e.data._beginMatch!==t[1]&&e.ignoreMatch()}})}});function W_(n,t){n.input[n.index-1]==="."&&t.ignoreMatch()}function K_(n,t){!t||!n.beginKeywords||(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=W_,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function Y_(n,t){!Array.isArray(n.illegal)||(n.illegal=A_(...n.illegal))}function X_(n,t){if(!!n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function Q_(n,t){n.relevance===void 0&&(n.relevance=1)}const J_=["of","and","for","in","not","or","if","then","parent","list","value"],ty="keyword";function h2(n,t,e=ty){const s={};return typeof n=="string"?r(e,n.split(" ")):Array.isArray(n)?r(e,n):Object.keys(n).forEach(function(i){Object.assign(s,h2(n[i],t,i))}),s;function r(i,o){t&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){const l=a.split("|");s[l[0]]=[i,ey(l[0],l[1])]})}}function ey(n,t){return t?Number(t):ny(n)?0:1}function ny(n){return J_.includes(n.toLowerCase())}function sy(n,{plugins:t}){function e(a,l){return new RegExp(sr(a),"m"+(n.case_insensitive?"i":"")+(l?"g":""))}class s{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,l]),this.matchAt+=S_(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(c=>c[1]);this.matcherRe=e(I_(l),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(l);if(!c)return null;const u=c.findIndex((p,g)=>g>0&&p!==void 0),f=this.matchIndexes[u];return c.splice(0,u),Object.assign(c,f)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const c=new s;return this.rules.slice(l).forEach(([u,f])=>c.addRule(u,f)),c.compile(),this.multiRegexes[l]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,c){this.rules.push([l,c]),c.type==="begin"&&this.count++}exec(l){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let u=c.exec(l);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const f=this.getMatcher(0);f.lastIndex=this.lastIndex+1,u=f.exec(l)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function i(a){const l=new r;return a.contains.forEach(c=>l.addRule(c.begin,{rule:c,type:"begin"})),a.terminatorEnd&&l.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&l.addRule(a.illegal,{type:"illegal"}),l}function o(a,l){const c=a;if(a.isCompiled)return c;[X_].forEach(f=>f(a,l)),n.compilerExtensions.forEach(f=>f(a,l)),a.__beforeBegin=null,[K_,Y_,Q_].forEach(f=>f(a,l)),a.isCompiled=!0;let u=null;if(typeof a.keywords=="object"&&(u=a.keywords.$pattern,delete a.keywords.$pattern),a.keywords&&(a.keywords=h2(a.keywords,n.case_insensitive)),a.lexemes&&u)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return u=u||a.lexemes||/\w+/,c.keywordPatternRe=e(u,!0),l&&(a.begin||(a.begin=/\B|\b/),c.beginRe=e(a.begin),a.endSameAsBegin&&(a.end=a.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(c.endRe=e(a.end)),c.terminatorEnd=sr(a.end)||"",a.endsWithParent&&l.terminatorEnd&&(c.terminatorEnd+=(a.end?"|":"")+l.terminatorEnd)),a.illegal&&(c.illegalRe=e(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(f){return ry(f==="self"?a:f)})),a.contains.forEach(function(f){o(f,c)}),a.starts&&o(a.starts,l),c.matcher=i(c),c}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=bn(n.classNameAliases||{}),o(n)}function f2(n){return n?n.endsWithParent||f2(n.starts):!1}function ry(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(t){return bn(n,{variants:null},t)})),n.cachedVariants?n.cachedVariants:f2(n)?bn(n,{starts:n.starts?bn(n.starts):null}):Object.isFrozen(n)?bn(n):n}var iy="10.7.3";function oy(n){return Boolean(n||n==="")}function ay(n){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!n.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,ys(this.code);let s={};return this.autoDetect?(s=n.highlightAuto(this.code),this.detectedLanguage=s.language):(s=n.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),s.value},autoDetect(){return!this.language||oy(this.autodetect)},ignoreIllegals(){return!0}},render(s){return s("pre",{},[s("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(s){s.component("highlightjs",t)}}}}const ly={"after:highlightElement":({el:n,result:t,text:e})=>{const s=d2(n);if(!s.length)return;const r=document.createElement("div");r.innerHTML=t.value,t.value=cy(s,d2(r),e)}};function ya(n){return n.nodeName.toLowerCase()}function d2(n){const t=[];return function e(s,r){for(let i=s.firstChild;i;i=i.nextSibling)i.nodeType===3?r+=i.nodeValue.length:i.nodeType===1&&(t.push({event:"start",offset:r,node:i}),r=e(i,r),ya(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:i}));return r}(n,0),t}function cy(n,t,e){let s=0,r="";const i=[];function o(){return!n.length||!t.length?n.length?n:t:n[0].offset!==t[0].offset?n[0].offset<t[0].offset?n:t:t[0].event==="start"?n:t}function a(u){function f(p){return" "+p.nodeName+'="'+ys(p.value)+'"'}r+="<"+ya(u)+[].map.call(u.attributes,f).join("")+">"}function l(u){r+="</"+ya(u)+">"}function c(u){(u.event==="start"?a:l)(u.node)}for(;n.length||t.length;){let u=o();if(r+=ys(e.substring(s,u[0].offset)),s=u[0].offset,u===n){i.reverse().forEach(l);do c(u.splice(0,1)[0]),u=o();while(u===n&&u.length&&u[0].offset===s);i.reverse().forEach(a)}else u[0].event==="start"?i.push(u[0].node):i.pop(),c(u.splice(0,1)[0])}return r+ys(e.substr(s))}const p2={},Ca=n=>{console.error(n)},g2=(n,...t)=>{console.log(`WARN: ${n}`,...t)},Re=(n,t)=>{p2[`${n}/${t}`]||(console.log(`Deprecated as of ${n}. ${t}`),p2[`${n}/${t}`]=!0)},Ea=ys,x2=bn,m2=Symbol("nomatch");var uy=function(n){const t=Object.create(null),e=Object.create(null),s=[];let r=!0;const i=/(^(<[^>]+>|\t|)+|\n)/gm,o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:w_};function c(w){return l.noHighlightRe.test(w)}function u(w){let j=w.className+" ";j+=w.parentNode?w.parentNode.className:"";const ct=l.languageDetectRe.exec(j);if(ct){const ut=Ie(ct[1]);return ut||(g2(o.replace("{}",ct[1])),g2("Falling back to no-highlight mode for this block.",w)),ut?ct[1]:"no-highlight"}return j.split(/\s+/).find(ut=>c(ut)||Ie(ut))}function f(w,j,ct,ut){let Dt="",Je="";typeof j=="object"?(Dt=w,ct=j.ignoreIllegals,Je=j.language,ut=void 0):(Re("10.7.0","highlight(lang, code, ...args) has been deprecated."),Re("10.7.0",`Please use highlight(code, options) instead.
545
+ https://github.com/highlightjs/highlight.js/issues/2277`),Je=w,Dt=j);const Kt={code:Dt,language:Je};hn("before:highlight",Kt);const de=Kt.result?Kt.result:p(Kt.language,Kt.code,ct,ut);return de.code=Kt.code,hn("after:highlight",de),de}function p(w,j,ct,ut){function Dt(D,W){const ot=v.case_insensitive?W[0].toLowerCase():W[0];return Object.prototype.hasOwnProperty.call(D.keywords,ot)&&D.keywords[ot]}function Je(){if(!A.keywords){F.addText(G);return}let D=0;A.keywordPatternRe.lastIndex=0;let W=A.keywordPatternRe.exec(G),ot="";for(;W;){ot+=G.substring(D,W.index);const ht=Dt(A,W);if(ht){const[Yt,Zt]=ht;if(F.addText(ot),ot="",st+=Zt,Yt.startsWith("_"))ot+=W[0];else{const Ne=v.classNameAliases[Yt]||Yt;F.addKeyword(W[0],Ne)}}else ot+=W[0];D=A.keywordPatternRe.lastIndex,W=A.keywordPatternRe.exec(G)}ot+=G.substr(D),F.addText(ot)}function Kt(){if(G==="")return;let D=null;if(typeof A.subLanguage=="string"){if(!t[A.subLanguage]){F.addText(G);return}D=p(A.subLanguage,G,!0,V[A.subLanguage]),V[A.subLanguage]=D.top}else D=R(G,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(st+=D.relevance),F.addSublanguage(D.emitter,D.language)}function de(){A.subLanguage!=null?Kt():Je(),G=""}function pe(D){return D.className&&F.openNode(v.classNameAliases[D.className]||D.className),A=Object.create(D,{parent:{value:A}}),A}function d(D,W,ot){let ht=R_(D.endRe,ot);if(ht){if(D["on:end"]){const Yt=new i2(D);D["on:end"](W,Yt),Yt.isMatchIgnored&&(ht=!1)}if(ht){for(;D.endsParent&&D.parent;)D=D.parent;return D}}if(D.endsWithParent)return d(D.parent,W,ot)}function x(D){return A.matcher.regexIndex===0?(G+=D[0],1):(It=!0,0)}function y(D){const W=D[0],ot=D.rule,ht=new i2(ot),Yt=[ot.__beforeBegin,ot["on:begin"]];for(const Zt of Yt)if(!!Zt&&(Zt(D,ht),ht.isMatchIgnored))return x(W);return ot&&ot.endSameAsBegin&&(ot.endRe=T_(W)),ot.skip?G+=W:(ot.excludeBegin&&(G+=W),de(),!ot.returnBegin&&!ot.excludeBegin&&(G=W)),pe(ot),ot.returnBegin?0:W.length}function b(D){const W=D[0],ot=j.substr(D.index),ht=d(A,D,ot);if(!ht)return m2;const Yt=A;Yt.skip?G+=W:(Yt.returnEnd||Yt.excludeEnd||(G+=W),de(),Yt.excludeEnd&&(G=W));do A.className&&F.closeNode(),!A.skip&&!A.subLanguage&&(st+=A.relevance),A=A.parent;while(A!==ht.parent);return ht.starts&&(ht.endSameAsBegin&&(ht.starts.endRe=ht.endRe),pe(ht.starts)),Yt.returnEnd?0:W.length}function E(){const D=[];for(let W=A;W!==v;W=W.parent)W.className&&D.unshift(W.className);D.forEach(W=>F.openNode(W))}let k={};function M(D,W){const ot=W&&W[0];if(G+=D,ot==null)return de(),0;if(k.type==="begin"&&W.type==="end"&&k.index===W.index&&ot===""){if(G+=j.slice(W.index,W.index+1),!r){const ht=new Error("0 width match regex");throw ht.languageName=w,ht.badRule=k.rule,ht}return 1}if(k=W,W.type==="begin")return y(W);if(W.type==="illegal"&&!ct){const ht=new Error('Illegal lexeme "'+ot+'" for mode "'+(A.className||"<unnamed>")+'"');throw ht.mode=A,ht}else if(W.type==="end"){const ht=b(W);if(ht!==m2)return ht}if(W.type==="illegal"&&ot==="")return 1;if(mt>1e5&&mt>W.index*3)throw new Error("potential infinite loop, way more iterations than matches");return G+=ot,ot.length}const v=Ie(w);if(!v)throw Ca(o.replace("{}",w)),new Error('Unknown language: "'+w+'"');const P=sy(v,{plugins:s});let T="",A=ut||P;const V={},F=new l.__emitter(l);E();let G="",st=0,dt=0,mt=0,It=!1;try{for(A.matcher.considerAll();;){mt++,It?It=!1:A.matcher.considerAll(),A.matcher.lastIndex=dt;const D=A.matcher.exec(j);if(!D)break;const W=j.substring(dt,D.index),ot=M(W,D);dt=D.index+ot}return M(j.substr(dt)),F.closeAllNodes(),F.finalize(),T=F.toHTML(),{relevance:Math.floor(st),value:T,language:w,illegal:!1,emitter:F,top:A}}catch(D){if(D.message&&D.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:D.message,context:j.slice(dt-100,dt+100),mode:D.mode},sofar:T,relevance:0,value:Ea(j),emitter:F};if(r)return{illegal:!1,relevance:0,value:Ea(j),emitter:F,language:w,top:A,errorRaised:D};throw D}}function g(w){const j={relevance:0,emitter:new l.__emitter(l),value:Ea(w),illegal:!1,top:a};return j.emitter.addText(w),j}function R(w,j){j=j||l.languages||Object.keys(t);const ct=g(w),ut=j.filter(Ie).filter(St).map(pe=>p(pe,w,!1));ut.unshift(ct);const Dt=ut.sort((pe,d)=>{if(pe.relevance!==d.relevance)return d.relevance-pe.relevance;if(pe.language&&d.language){if(Ie(pe.language).supersetOf===d.language)return 1;if(Ie(d.language).supersetOf===pe.language)return-1}return 0}),[Je,Kt]=Dt,de=Je;return de.second_best=Kt,de}function I(w){return l.tabReplace||l.useBR?w.replace(i,j=>j===`
546
+ `?l.useBR?"<br>":j:l.tabReplace?j.replace(/\t/g,l.tabReplace):j):w}function et(w,j,ct){const ut=j?e[j]:ct;w.classList.add("hljs"),ut&&w.classList.add(ut)}const H={"before:highlightElement":({el:w})=>{l.useBR&&(w.innerHTML=w.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
547
+ `))},"after:highlightElement":({result:w})=>{l.useBR&&(w.value=w.value.replace(/\n/g,"<br>"))}},Q=/^(<[^>]+>|\t)+/gm,Z={"after:highlightElement":({result:w})=>{l.tabReplace&&(w.value=w.value.replace(Q,j=>j.replace(/\t/g,l.tabReplace)))}};function Y(w){let j=null;const ct=u(w);if(c(ct))return;hn("before:highlightElement",{el:w,language:ct}),j=w;const ut=j.textContent,Dt=ct?f(ut,{language:ct,ignoreIllegals:!0}):R(ut);hn("after:highlightElement",{el:w,result:Dt,text:ut}),w.innerHTML=Dt.value,et(w,ct,Dt.language),w.result={language:Dt.language,re:Dt.relevance,relavance:Dt.relevance},Dt.second_best&&(w.second_best={language:Dt.second_best.language,re:Dt.second_best.relevance,relavance:Dt.second_best.relevance})}function yt(w){w.useBR&&(Re("10.3.0","'useBR' will be removed entirely in v11.0"),Re("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=x2(l,w)}const Mt=()=>{if(Mt.called)return;Mt.called=!0,Re("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(Y)};function Ht(){Re("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),J=!0}let J=!1;function Ft(){if(document.readyState==="loading"){J=!0;return}document.querySelectorAll("pre code").forEach(Y)}function kt(){J&&Ft()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",kt,!1);function le(w,j){let ct=null;try{ct=j(n)}catch(ut){if(Ca("Language definition for '{}' could not be registered.".replace("{}",w)),r)Ca(ut);else throw ut;ct=a}ct.name||(ct.name=w),t[w]=ct,ct.rawDefinition=j.bind(null,n),ct.aliases&&jt(ct.aliases,{languageName:w})}function ke(w){delete t[w];for(const j of Object.keys(e))e[j]===w&&delete e[j]}function Be(){return Object.keys(t)}function zn(w){Re("10.4.0","requireLanguage will be removed entirely in v11."),Re("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const j=Ie(w);if(j)return j;throw new Error("The '{}' language is required, but not loaded.".replace("{}",w))}function Ie(w){return w=(w||"").toLowerCase(),t[w]||t[e[w]]}function jt(w,{languageName:j}){typeof w=="string"&&(w=[w]),w.forEach(ct=>{e[ct.toLowerCase()]=j})}function St(w){const j=Ie(w);return j&&!j.disableAutodetect}function Et(w){w["before:highlightBlock"]&&!w["before:highlightElement"]&&(w["before:highlightElement"]=j=>{w["before:highlightBlock"](Object.assign({block:j.el},j))}),w["after:highlightBlock"]&&!w["after:highlightElement"]&&(w["after:highlightElement"]=j=>{w["after:highlightBlock"](Object.assign({block:j.el},j))})}function un(w){Et(w),s.push(w)}function hn(w,j){const ct=w;s.forEach(function(ut){ut[ct]&&ut[ct](j)})}function fn(w){return Re("10.2.0","fixMarkup will be removed entirely in v11.0"),Re("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),I(w)}function Oe(w){return Re("10.7.0","highlightBlock will be removed entirely in v12.0"),Re("10.7.0","Please use highlightElement now."),Y(w)}Object.assign(n,{highlight:f,highlightAuto:R,highlightAll:Ft,fixMarkup:fn,highlightElement:Y,highlightBlock:Oe,configure:yt,initHighlighting:Mt,initHighlightingOnLoad:Ht,registerLanguage:le,unregisterLanguage:ke,listLanguages:Be,getLanguage:Ie,registerAliases:jt,requireLanguage:zn,autoDetection:St,inherit:x2,addPlugin:un,vuePlugin:ay(n).VuePlugin}),n.debugMode=function(){r=!1},n.safeMode=function(){r=!0},n.versionString=iy;for(const w in Pi)typeof Pi[w]=="object"&&r2(Pi[w]);return Object.assign(n,Pi),n.addPlugin(H),n.addPlugin(ly),n.addPlugin(Z),n}({}),Gn=uy;function hy(n){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}var fy=hy;const L2="[A-Za-z$_][0-9A-Za-z$_]*",dy=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],py=["true","false","null","undefined","NaN","Infinity"],gy=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],xy=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],my=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Ly=["arguments","this","super","console","window","document","localStorage","module","global"],_y=[].concat(my,Ly,gy,xy);function yy(n){return n?typeof n=="string"?n:n.source:null}function _2(n){return ba("(?=",n,")")}function ba(...n){return n.map(e=>yy(e)).join("")}function Cy(n){const t=(Y,{after:yt})=>{const Mt="</"+Y[0].slice(1);return Y.input.indexOf(Mt,yt)!==-1},e=L2,s={begin:"<>",end:"</>"},r={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Y,yt)=>{const Mt=Y[0].length+Y.index,Ht=Y.input[Mt];if(Ht==="<"){yt.ignoreMatch();return}Ht===">"&&(t(Y,{after:Mt})||yt.ignoreMatch())}},i={$pattern:L2,keyword:dy,literal:py,built_in:_y},o="[0-9](_?[0-9])*",a=`\\.(${o})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${a})|\\.)?|(${a}))[eE][+-]?(${o})\\b`},{begin:`\\b(${l})\\b((${a})\\b|\\.)?|(${a})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},f={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},p={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,u],subLanguage:"css"}},g={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,u]},I={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:e+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},et=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,p,g,c,n.REGEXP_MODE];u.contains=et.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(et)});const H=[].concat(I,u.contains),Q=H.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(H)}]),Z={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:Q};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:Q},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,f,p,g,I,c,{begin:ba(/[{,\n]\s*/,_2(ba(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,e+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:e+_2("\\s*:"),relevance:0}]},{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[I,n.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:Q}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:s.begin,end:s.end},{begin:r.begin,"on:begin":r.isTrulyOpeningTag,end:r.end}],subLanguage:"xml",contains:[{begin:r.begin,end:r.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:i,contains:["self",n.inherit(n.TITLE_MODE,{begin:e}),Z],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[Z,n.inherit(n.TITLE_MODE,{begin:e})]},{variants:[{begin:"\\."+e},{begin:"\\$"+e}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},n.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[n.inherit(n.TITLE_MODE,{begin:e}),"self",Z]},{begin:"(get|set)\\s+(?="+e+"\\()",end:/\{/,keywords:"get set",contains:[n.inherit(n.TITLE_MODE,{begin:e}),{begin:/\(\)/},Z]},{begin:/\$[(.]/}]}}var Ey=Cy;function by(n){return n?typeof n=="string"?n:n.source:null}function wy(...n){return n.map(e=>by(e)).join("")}function Ty(n){const t={},e={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:wy(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},e]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},r={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,t,s]};s.contains.push(i);const o={className:"",begin:/\\"/},a={className:"string",begin:/'/,end:/'/},l={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,t]},c=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],u=n.SHEBANG({binary:`(${c.join("|")})`,relevance:10}),f={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[n.inherit(n.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[u,n.SHEBANG(),f,l,n.HASH_COMMENT_MODE,r,i,o,a,t]}}var vy=Ty;function Ay(n){var t="true false yes no null",e="[\\w#;/?:@&=+$,.~*'()[\\]]+",s={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[n.BACKSLASH_ESCAPE,r]},o=n.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a="[0-9]{4}(-[0-9][0-9]){0,2}",l="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",u="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+a+l+c+u+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},g={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},R={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},I=[s,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+e},{className:"type",begin:"!<"+e+">"},{className:"type",begin:"!"+e},{className:"type",begin:"!!"+e},{className:"meta",begin:"&"+n.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+n.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},n.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},f,{className:"number",begin:n.C_NUMBER_RE+"\\b",relevance:0},g,R,i],et=[...I];return et.pop(),et.push(o),p.contains=et,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:I}}var Sy=Ay;const $b="";Gn.registerLanguage("plaintext",fy),Gn.registerLanguage("javascript",Ey),Gn.registerLanguage("bash",vy),Gn.registerLanguage("yaml",Sy);const Ry={codespan(n){let e=/(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi.exec(n);return(e==null?void 0:e.length)===3?`
555
548
  <code class="rest-api">
556
- <span class="http-method-${t[1].toLowerCase()}">${t[1]}</span>
557
- <span class="http-path">${t[2]}</span>
549
+ <span class="http-method-${e[1].toLowerCase()}">${e[1]}</span>
550
+ <span class="http-path">${e[2]}</span>
558
551
  </code>
559
- `:`<code>${n}</code>`}};Q.setOptions({highlight:function(n,e){if(!e)return as.highlightAuto(n).value;const t=as.getLanguage(e)?e:"plaintext";return as.highlight(t,n).value},breaks:!0}),Q.use({renderer:LE});const _E={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var n,e;return((n=this.commentObj)==null?void 0:n.text)&&Q.parse((e=this.commentObj)==null?void 0:e.text)||this.comment&&Q.parse(this.comment)},color(){var n;return(n=this.commentObj)==null?void 0:n.color}}},yE=["innerHTML"];function CE(n,e,t,s,r,i){return I(),W("div",{class:"comments text-skin-comment min-w-[100px] flex justify-around text-left text-sm opacity-50 hover:opacity-100",style:xe({color:i.color})},[b("div",{innerHTML:i.markedComment},null,8,yE)],4)}const Or=Ce(_E,[["render",CE],["__scopeId","data-v-15224042"]]),Tw="",Aw="",EE={name:"occurrence",props:["context","selfCallIndent","participant","rtl"],data:function(){return{center:0}},computed:{...Ct(["centerOf","messageLayerLeft"]),...L1(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(n){return console.error(n),0}}}},bE=["data-belongs-to","data-x-offset","data-debug-center-of"];function vE(n,e,t,s,r,i){const o=ue("block");return I(),W("div",{class:lt(["occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",{"right-to-left":t.rtl}]),"data-el-type":"occurrence","data-belongs-to":t.participant,"data-x-offset":n.center,"data-debug-center-of":i.computedCenter},[this.context.braceBlock()?(I(),Re(o,{key:0,context:t.context.braceBlock().block(),selfCallIndent:t.selfCallIndent},null,8,["context","selfCallIndent"])):ye("",!0)],10,bE)}const S2=Ce(EE,[["render",vE],["__scopeId","data-v-054f42d1"]]);class $s{constructor(e,t,s,r){U(this,"start");U(this,"stop");this.start={line:e,col:t},this.stop={line:s,col:r}}static from(e){const t=e.start,s=e.stop;return new $s(t.line,t.column,s.line,s.column+s.text.length)}}const R2=Hs.child({name:"Creation"}),wE={name:"creation",props:["context","comment","selfCallIndent"],computed:{...Ct(["cursor","onElementClick","distance"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let n=Math.abs(this.distance(this.to,this.from)),e=this.selfCallIndent||0;return n+(this.rightToLeft?e:-e)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function n(r){return r&&r.getFormattedText()||""}let e=this.creation.creationBody().assignment();if(!e)return"";let t=n(e.assignee());const s=n(e.type());return t+(s?":"+s:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)}},mounted(){this.layoutMessageContainer(),R2.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),R2.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){(()=>{if(!this.$refs.participantPlaceHolder||!this.$refs.messageContainer)return;const e=this.$refs.participantPlaceHolder.offsetWidth/2;this.$refs.messageContainer.style.width=`calc(100% + ${e+6}px`,this.rightToLeft&&(this.$refs.messageContainer.style.transform=`translateX( ${-(e+6)}px`)})()},onClick(){this.onElementClick($s.from(this.context))}},components:{Participant:Ih,Comment:Or,Occurrence:S2,Message:Sr}},TE=["data-signature"],AE=["data-to"],SE={ref:"participantPlaceHolder",class:"invisible right-0 flex flex-col justify-center flex-shrink-0"};function RE(n,e,t,s,r,i){const o=ue("comment"),a=ue("message"),l=ue("participant"),c=ue("occurrence");return I(),W("div",{class:lt(["interaction creation sync text-center transform",{"right-to-left":i.rightToLeft,"-translate-x-full":i.rightToLeft,highlight:i.isCurrent}]),onClick:e[0]||(e[0]=mi((...u)=>i.onClick&&i.onClick(...u),["stop"])),"data-signature":i.signature,style:xe({width:i.interactionWidth+"px"})},[t.comment?(I(),Re(o,{key:0,comment:t.comment},null,8,["comment"])):ye("",!0),b("div",{ref:"messageContainer",class:lt(["message-container pointer-events-none flex items-center h-10",{"flex-row-reverse":i.rightToLeft}]),"data-type":"creation","data-to":i.to},[fe(a,{ref:"messageEl",class:"invocation w-full transform -translate-y-1/2 pointer-events-auto",content:i.signature,rtl:i.rightToLeft,type:"creation"},null,8,["content","rtl"]),b("div",SE,[fe(l,{entity:{name:i.to}},null,8,["entity"])],512)],10,AE),fe(c,{context:i.creation,class:"pointer-events-auto",participant:i.to},null,8,["context","participant"]),i.assignee?(I(),Re(a,{key:1,class:"return transform -translate-y-full pointer-events-auto",content:i.assignee,rtl:!i.rightToLeft,type:"return"},null,8,["content","rtl"])):ye("",!0)],14,TE)}const kE=Ce(wE,[["render",RE]]),OE={name:"self-invocation",props:["content","assignee"]},NE={class:"message self text-sm flex items-start",style:{"border-width":"0"}},IE=b("svg",{class:"arrow text-skin-message-arrow",width:"30",height:"24"},[b("polyline",{class:"line stroke-current fill-none stroke-2",points:"0,2 28,2 28,15 14,15"}),b("polyline",{class:"head stroke-current fill-current stroke-2",points:"18,9 8,15 18,21"})],-1),PE={class:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},ME={key:0};function DE(n,e,t,s,r,i){return I(),W("div",NE,[IE,b("label",PE,[t.assignee?(I(),W("span",ME,qe(t.assignee)+" = ",1)):ye("",!0),pi(" "+qe(t.content),1)])])}const FE=Ce(OE,[["render",DE]]),Sw="",$E={name:"interaction",props:["context","selfCallIndent","commentObj"],computed:{...Ct(["participants","distance2","cursor","onElementClick"]),hasComment(){var n,e;return((n=this.commentObj)==null?void 0:n.text)!==""||((e=this.commentObj)==null?void 0:e.color)!==""},color(){var n;return(n=this.commentObj)==null?void 0:n.color},message:function(){var n;return(n=this.context)==null?void 0:n.message()},providedFrom:function(){var n,e;return(e=(n=this.context)==null?void 0:n.message())==null?void 0:e.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var e;let n=(e=this.message)==null?void 0:e.Assignment();return n?n.getText():""},signature:function(){var n;return(n=this.message)==null?void 0:n.SignatureText()},translateX:function(){if(!this.rightToLeft&&!this.outOfBand)return 0;const e=this.rightToLeft?this.to:this.providedFrom,t=this.distance2(this.origin,e),s=this.selfCallIndent||0;return t+0-s},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var n;return(n=this.message)==null?void 0:n.isCurrent(this.cursor)},showStarter(){return this.participants.Starter().name!=="_STARTER_"},isRootBlock(){var n,e;return((e=(n=this.context)==null?void 0:n.parentCtx)==null?void 0:e.parentCtx)instanceof Om},origin:function(){var n;return(n=this.context)==null?void 0:n.Origin()},passOnOffset:function(){return this.isSelf?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let n=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-n)},to:function(){var n,e;return(e=(n=this.context)==null?void 0:n.message())==null?void 0:e.Owner()},isSelf:function(){return!this.to||this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"}},methods:{onClick(){this.onElementClick($s.from(this.context))}},components:{Message:Sr,SelfInvocation:FE,Comment:Or,Occurrence:S2}},BE=["data-to","data-signature"];function UE(n,e,t,s,r,i){const o=ue("comment"),a=ue("occurrence"),l=ue("message");return I(),W("div",{class:lt(["interaction sync inline-block",{highlight:i.isCurrent,self:i.isSelf}]),onClick:e[0]||(e[0]=mi((...c)=>i.onClick&&i.onClick(...c),["stop"])),"data-to":i.to,"data-type":"interaction","data-signature":i.signature,style:xe({width:!i.isSelf&&i.interactionWidth+"px",transform:"translateX("+i.translateX+"px)"})},[i.showStarter&&i.isRootBlock||i.outOfBand?(I(),W("div",{key:0,class:lt(["occurrence source border-2",{"right-to-left":i.rightToLeft}])},null,2)):ye("",!0),i.hasComment?(I(),Re(o,{key:1,commentObj:t.commentObj},null,8,["commentObj"])):ye("",!0),(I(),Re(qo(i.invocation),{class:"text-center",color:i.color,content:i.signature,assignee:i.assignee,rtl:i.rightToLeft,type:"sync"},null,8,["color","content","assignee","rtl"])),fe(a,{context:i.message,participant:i.to,selfCallIndent:i.passOnOffset,rtl:i.rightToLeft},null,8,["context","participant","selfCallIndent","rtl"]),i.assignee&&!i.isSelf?(I(),Re(l,{key:2,class:"return transform -translate-y-full",content:i.assignee,rtl:!i.rightToLeft,type:"return"},null,8,["content","rtl"])):ye("",!0)],14,BE)}const VE=Ce($E,[["render",UE],["__scopeId","data-v-86ce6a08"]]),Rw="",HE={name:"self-invocation-async",props:["content"]},GE=n=>(Kt("data-v-25f755f6"),n=n(),Yt(),n),jE={class:"message self flex items-start",style:{"border-width":"0"}},zE=GE(()=>b("svg",{class:"arrow text-skin-message-arrow",width:"34",height:"34"},[b("polyline",{class:"stroke-current stroke-2 fill-none",points:"0,2 28,2 28,25 1,25"}),b("polyline",{class:"head stroke-current stroke-2 fill-none",points:"11,19 1,25 11,31"})],-1)),ZE={class:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"};function qE(n,e,t,s,r,i){return I(),W("div",jE,[zE,b("label",ZE,qe(t.content),1)])}const WE=Ce(HE,[["render",qE],["__scopeId","data-v-25f755f6"]]),kw="";function hl(n){return n==null}const KE={name:"interaction-async",props:["context","comment","selfCallIndent"],computed:{...Ct(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.asyncMessage()},interactionWidth:function(){var n;return this.isSelf?10*(((n=this.signature)==null?void 0:n.length)||0)+100:Math.abs(this.distance(this.target,this.source))},translateX:function(){return this.rightToLeft?this.distance(this.target,this.from):this.distance(this.source,this.from)},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,e;return(e=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:e.getFormattedText()},source:function(){var n,e;return((e=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:e.getFormattedText())||this.from},target:function(){var n,e;return(e=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:e.getFormattedText()},isCurrent:function(){const n=this.asyncMessage.start.start,e=this.asyncMessage.stop.stop+1;return hl(this.cursor)||hl(n)||hl(e)?!1:this.cursor>=n&&this.cursor<=e},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"}},methods:{onClick(){this.onElementClick($s.from(this.context))}},components:{Comment:Or,SelfInvocationAsync:WE,Message:Sr}},YE=["data-signature"];function XE(n,e,t,s,r,i){const o=ue("comment");return I(),W("div",{class:lt(["interaction async",{"right-to-left":i.rightToLeft,highlight:i.isCurrent}]),onClick:e[0]||(e[0]=mi((...a)=>i.onClick&&i.onClick(...a),["stop"])),"data-signature":i.signature,style:xe({width:i.interactionWidth+"px",transform:"translateX("+i.translateX+"px)"})},[t.comment?(I(),Re(o,{key:0,comment:t.comment},null,8,["comment"])):ye("",!0),(I(),Re(qo(i.invocation),{content:i.signature,rtl:i.rightToLeft,type:"async"},null,8,["content","rtl"]))],14,YE)}const QE=Ce(KE,[["render",XE],["__scopeId","data-v-4d783075"]]),Ow="",JE={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj"],mixins:[Ar],computed:{from:function(){return this.context.Origin()},alt:function(){return this.context.alt()},blockInIfBlock:function(){var n,e,t;return(t=(e=(n=this.alt)==null?void 0:n.ifBlock())==null?void 0:e.braceBlock())==null?void 0:t.block()},condition:function(){var n;return this.conditionFromIfElseBlock((n=this.alt)==null?void 0:n.ifBlock())},elseBlock:function(){var n,e,t;return(t=(e=(n=this.alt)==null?void 0:n.elseBlock())==null?void 0:e.braceBlock())==null?void 0:t.block()}},methods:{conditionFromIfElseBlock(n){var e,t;return(t=(e=n==null?void 0:n.parExpr())==null?void 0:e.condition())==null?void 0:t.getFormattedText()},blockInElseIfBlock(n){var e;return(e=n==null?void 0:n.braceBlock())==null?void 0:e.block()}}},fl=n=>(Kt("data-v-c5cae879"),n=n(),Yt(),n),eb={class:"segment"},tb=fl(()=>b("div",{class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[b("div",{class:"name font-semibold p-1 border-b"},[b("label",{class:"p-0"},"Alt")])],-1)),nb={class:"segment"},sb={class:"text-skin-fragment"},rb={class:"condition p-1"},ib=fl(()=>b("label",{class:"else-if hidden"},"else if",-1)),ob={class:"condition p-1"},ab={key:0,class:"segment mt-2 border-t border-solid"},lb=fl(()=>b("div",{class:"text-skin-fragment"},[b("label",{class:"p-1"},"[else]")],-1));function cb(n,e,t,s,r,i){const o=ue("comment"),a=ue("block");return I(),W("div",{class:"fragment alt border-skin-fragment rounded",style:xe(n.fragmentStyle)},[b("div",eb,[t.comment?(I(),Re(o,{key:0,comment:t.comment,commentObj:t.commentObj},null,8,["comment","commentObj"])):ye("",!0),tb,b("div",nb,[b("div",sb,[b("label",rb,"["+qe(i.condition)+"]",1)]),i.blockInIfBlock?(I(),Re(a,{key:0,style:xe({paddingLeft:`${n.offsetX}px`}),context:i.blockInIfBlock,selfCallIndent:t.selfCallIndent},null,8,["style","context","selfCallIndent"])):ye("",!0)])]),(I(!0),W(Ve,null,Zn(i.alt.elseIfBlock(),(l,c)=>(I(),W("div",{key:c+500,class:"segment mt-2 border-t border-solid"},[(I(),W("div",{class:"text-skin-fragment",key:c+1e3},[ib,b("label",ob,"["+qe(i.conditionFromIfElseBlock(l))+"]",1)])),(I(),Re(a,{style:xe({paddingLeft:`${n.offsetX}px`}),context:i.blockInElseIfBlock(l),selfCallIndent:t.selfCallIndent,key:c+2e3},null,8,["style","context","selfCallIndent"]))]))),128)),i.elseBlock?(I(),W("div",ab,[lb,fe(a,{style:xe({paddingLeft:`${n.offsetX}px`}),context:i.elseBlock,selfCallIndent:t.selfCallIndent},null,8,["style","context","selfCallIndent"])])):ye("",!0)],4)}const ub=Ce(JE,[["render",cb],["__scopeId","data-v-c5cae879"]]),Nw="",Iw="",hb={name:"fragment-par",props:["context","comment","selfCallIndent"],mixins:[Ar],computed:{from:function(){return this.context.Origin()},par:function(){return this.context.par()}}},fb=(n=>(Kt("data-v-bc96f29d"),n=n(),Yt(),n))(()=>b("div",{class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[b("div",{class:"name font-semibold p-1 border-b"},[b("label",null,"Par")])],-1));function db(n,e,t,s,r,i){const o=ue("comment"),a=ue("block");return I(),W("div",{class:"fragment par border-skin-fragment rounded",style:xe(n.fragmentStyle)},[t.comment?(I(),Re(o,{key:0,comment:t.comment},null,8,["comment"])):ye("",!0),fb,fe(a,{style:xe({paddingLeft:`${n.offsetX}px`}),context:i.par.braceBlock().block(),selfCallIndent:t.selfCallIndent},null,8,["style","context","selfCallIndent"])],4)}const pb=Ce(hb,[["render",db],["__scopeId","data-v-bc96f29d"]]),Mw="",gb={name:"fragment-loop",props:["context","comment","selfCallIndent"],mixins:[Ar],computed:{from:function(){return this.context.Origin()},loop:function(){return this.context.loop()},blockInLoop:function(){var n,e;return(e=(n=this.loop)==null?void 0:n.braceBlock())==null?void 0:e.block()},condition:function(){var n,e,t;return(t=(e=(n=this.loop)==null?void 0:n.parExpr())==null?void 0:e.condition())==null?void 0:t.getFormattedText()}}},xb=(n=>(Kt("data-v-62b3ca90"),n=n(),Yt(),n))(()=>b("div",{class:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4"},[b("div",{class:"name font-semibold p-1 border-b"},[b("label",{class:"p-0"},"Loop")])],-1)),mb={class:"segment"},Lb={class:"text-skin-fragment"},_b={class:"condition p-1"};function yb(n,e,t,s,r,i){const o=ue("comment"),a=ue("block");return I(),W("div",{class:"fragment loop border-skin-fragment rounded",style:xe(n.fragmentStyle)},[t.comment?(I(),Re(o,{key:0,comment:t.comment},null,8,["comment"])):ye("",!0),xb,b("div",mb,[b("div",Lb,[b("label",_b,"["+qe(i.condition)+"]",1)]),fe(a,{style:xe({paddingLeft:`${n.offsetX}px`}),context:i.blockInLoop,selfCallIndent:t.selfCallIndent},null,8,["style","context","selfCallIndent"])])],4)}const Cb=Ce(gb,[["render",yb],["__scopeId","data-v-62b3ca90"]]),Fw="",Eb={name:"fragment-opt",props:["context","comment","selfCallIndent"],mixins:[Ar],computed:{from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}}},bb=(n=>(Kt("data-v-e9cc75db"),n=n(),Yt(),n))(()=>b("div",{class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4"},[b("div",{class:"name font-semibold p-1 border-b"},[b("label",null,"Opt")])],-1));function vb(n,e,t,s,r,i){const o=ue("comment"),a=ue("block");return I(),W("div",{class:"fragment opt border-skin-fragment rounded",style:xe(n.fragmentStyle)},[t.comment?(I(),Re(o,{key:0,comment:t.comment},null,8,["comment"])):ye("",!0),bb,fe(a,{style:xe({paddingLeft:`${n.offsetX}px`}),context:i.opt.braceBlock().block(),selfCallIndent:t.selfCallIndent},null,8,["style","context","selfCallIndent"])],4)}const wb=Ce(Eb,[["render",vb],["__scopeId","data-v-e9cc75db"]]),Bw="",Tb={name:"fragment-tcf",props:["context","comment","selfCallIndent"],mixins:[Ar],computed:{from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var n,e,t;return(t=(e=(n=this.tcf)==null?void 0:n.tryBlock())==null?void 0:e.braceBlock())==null?void 0:t.block()},finallyBlock:function(){var n,e,t;return(t=(e=(n=this.tcf)==null?void 0:n.finallyBlock())==null?void 0:e.braceBlock())==null?void 0:t.block()}},methods:{exception(n){var e;return(e=n==null?void 0:n.invocation())==null?void 0:e.parameters().getText()},blockInCatchBlock(n){var e;return(e=n==null?void 0:n.braceBlock())==null?void 0:e.block()}}},dl=n=>(Kt("data-v-107670fe"),n=n(),Yt(),n),Ab={class:"segment"},Sb=dl(()=>b("div",{class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[b("div",{class:"name font-semibold p-1 border-b"},[b("label",null,"Try")])],-1)),Rb=dl(()=>b("label",{class:"keyword catch p-1"},"catch",-1)),kb={class:"exception p-1"},Ob={key:0,class:"segment mt-2 border-t border-solid"},Nb=dl(()=>b("div",{class:"header text-skin-fragment finally"},[b("label",{class:"keyword finally p-1"},"finally")],-1));function Ib(n,e,t,s,r,i){const o=ue("comment"),a=ue("block");return I(),W("div",{class:"fragment tcf border-skin-fragment rounded",style:xe(n.fragmentStyle)},[b("div",Ab,[t.comment?(I(),Re(o,{key:0,comment:t.comment},null,8,["comment"])):ye("",!0),Sb,i.blockInTryBlock?(I(),Re(a,{key:1,style:xe({paddingLeft:`${n.offsetX}px`}),context:i.blockInTryBlock,selfCallIndent:t.selfCallIndent},null,8,["style","context","selfCallIndent"])):ye("",!0)]),(I(!0),W(Ve,null,Zn(i.tcf.catchBlock(),(l,c)=>(I(),W("div",{key:c+500,class:"segment mt-2 border-t border-solid"},[(I(),W("div",{class:"header text-skin-fragment",key:c+1e3},[Rb,b("label",kb,qe(i.exception(l)),1)])),(I(),Re(a,{style:xe({paddingLeft:`${n.offsetX}px`}),context:i.blockInCatchBlock(l),selfCallIndent:t.selfCallIndent,key:c+2e3},null,8,["style","context","selfCallIndent"]))]))),128)),i.finallyBlock?(I(),W("div",Ob,[Nb,fe(a,{style:xe({paddingLeft:`${n.offsetX}px`}),context:i.finallyBlock,selfCallIndent:t.selfCallIndent},null,8,["style","context","selfCallIndent"])])):ye("",!0)],4)}const Pb=Ce(Tb,[["render",Ib],["__scopeId","data-v-107670fe"]]),Mb={name:"return",props:["context","comment"],computed:{...Ct(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.ret().asyncMessage()},width:function(){return this.isSelf?ro(this.signature,Ps.MessageContent):Math.abs(this.distance(this.target,this.source))},left:function(){return this.rightToLeft?this.distance(this.target,this.from)+2:this.distance(this.source,this.from)+2},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,e,t,s,r;return((e=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:e.getFormattedText())||((r=(s=(t=this.context)==null?void 0:t.ret())==null?void 0:s.expr())==null?void 0:r.getFormattedText())},source:function(){var n,e;return((e=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:e.getFormattedText())||this.from},target:function(){var n,e,t,s;return((e=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:e.getFormattedText())||((s=(t=this.context)==null?void 0:t.ret())==null?void 0:s.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target}},methods:{onClick(){this.onElementClick($s.from(this.context))}},components:{Comment:Or,Message:Sr}},Db=["data-signature"],Fb={key:1,class:"flex items-center"},$b=b("svg",{class:"w-3 h-3 flex-shrink-0 fill-current m-1",viewBox:"0 0 512 512"},[b("path",{class:"cls-1",d:"M256 0C114.84 0 0 114.84 0 256s114.84 256 256 256 256-114.84 256-256S397.16 0 256 0Zm0 469.33c-117.63 0-213.33-95.7-213.33-213.33S138.37 42.67 256 42.67 469.33 138.37 469.33 256 373.63 469.33 256 469.33Z"}),b("path",{class:"cls-1",d:"M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"})],-1),Bb={class:"name text-sm"};function Ub(n,e,t,s,r,i){const o=ue("comment"),a=ue("Message");return I(),W("div",{class:lt(["interaction return relative",{"right-to-left":i.rightToLeft,highlight:i.isCurrent}]),onClick:e[0]||(e[0]=mi((...l)=>i.onClick&&i.onClick(...l),["stop"])),"data-signature":i.signature,style:xe({width:i.width+"px",left:i.left+"px"})},[t.comment?(I(),Re(o,{key:0,comment:t.comment},null,8,["comment"])):ye("",!0),i.isSelf?(I(),W("div",Fb,[$b,b("span",Bb,qe(i.signature),1)])):ye("",!0),i.isSelf?ye("",!0):(I(),Re(a,{key:2,content:i.signature,rtl:i.rightToLeft,type:"return"},null,8,["content","rtl"]))],14,Db)}const Vb=Ce(Mb,[["render",Ub]]),Uw="",Hb={name:"divider",props:["context"],computed:{...Ct(["participants","centerOf"]),width(){let n=this.participants.Names().pop();return this.centerOf(n)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},name:function(){return this.context.divider().Note()}}},k2=n=>(Kt("data-v-9e567e69"),n=n(),Yt(),n),Gb=k2(()=>b("div",{class:"left bg-skin-divider"},null,-1)),jb={class:"name"},zb=k2(()=>b("div",{class:"right bg-skin-divider"},null,-1));function Zb(n,e,t,s,r,i){return I(),W("div",{class:"divider",style:xe({width:i.width+"px",transform:"translateX("+(-1*i.centerOfFrom+10)+"px)"})},[Gb,b("div",jb,qe(i.name),1),zb],4)}const qb=Ce(Hb,[["render",Zb],["__scopeId","data-v-9e567e69"]]);class Wb{constructor(e){U(this,"text");U(this,"color");const t=e.split(`
560
- `);this.color=t.find(r=>r.trimStart().startsWith("[red]"))?"red":void 0;const s=t.map(r=>r.replace("[red]",""));this.text=s.join(`
561
- `),this.text=this.text.trimEnd()}}const Kb={name:"statement",props:["context","selfCallIndent"],computed:{comment:function(){return this.context.getComment()?this.context.getComment():""},commentObj:function(){return new Wb(this.comment)},subStatement:function(){let n=this,e={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},t=Object.keys(e).find(s=>n.context[s]()!==null);return e[t]}},components:{Creation:kE,Interaction:VE,InteractionAsync:QE,FragmentAlt:ub,FragmentPar:pb,FragmentOpt:wb,FragmentTryCatchFinally:Pb,FragmentLoop:Cb,Divider:qb,Return:Vb}};function Yb(n,e,t,s,r,i){return I(),Re(qo(i.subStatement),{class:"text-left text-sm text-skin-message",context:t.context,comment:i.comment,commentObj:i.commentObj,selfCallIndent:t.selfCallIndent},null,8,["context","comment","commentObj","selfCallIndent"])}const Xb={name:"block",props:["context","selfCallIndent"],computed:{statements:function(){var n;return(n=this.context)==null?void 0:n.stat()}},components:{Statement:Ce(Kb,[["render",Yb]])}},Qb={class:"block"};function Jb(n,e,t,s,r,i){const o=ue("statement");return I(),W("div",Qb,[(I(!0),W(Ve,null,Zn(i.statements,(a,l)=>(I(),W("div",{class:"statement-container mt-1",key:l},[fe(o,{context:a,selfCallIndent:t.selfCallIndent},null,8,["context","selfCallIndent"])]))),128))])}const ev=Ce(Xb,[["render",Jb]]),tv=Hs.child({name:"core"});class nv{constructor(e,t=!1){U(this,"el");U(this,"_code");U(this,"_theme");U(this,"store");U(this,"app");this.el=e,this.store=A0(Ah()),this.app=u0(t?Ka:e2),this.app.component("Comment",Or),this.app.component("Block",ev),this.app.use(this.store),this.app.mount(this.el)}async render(e,t){return tv.debug("rendering",e,t),this._code=e||this._code,this._theme=t||this._theme,this.store.state.theme=this._theme||"default",await this.store.dispatch("updateCode",{code:this._code}),Promise.resolve(this)}get code(){return this._code}get theme(){return this._theme}async getPng(){return this.el.children[0].__vue__.toPng()}}const sv={createApp:u0,createStore:A0,Store:Ah,SeqDiagram:Ka,DiagramFrame:e2};yt.VueSequence=sv,yt.default=nv,Object.defineProperties(yt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
552
+ `:`<code>${n}</code>`}};X.setOptions({highlight:function(n,t){if(!t)return Gn.highlightAuto(n).value;const e=Gn.getLanguage(t)?t:"plaintext";return Gn.highlight(e,n).value},breaks:!0}),X.use({renderer:Ry});const ky={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)&&X.parse((t=this.commentObj)==null?void 0:t.text)||this.comment&&X.parse(this.comment)},color(){var n;return(n=this.commentObj)==null?void 0:n.color}}},Iy=["innerHTML"];function Oy(n,t,e,s,r,i){return O(),q("div",{class:"comments text-skin-comment min-w-[100px] flex justify-around text-left text-sm opacity-50 hover:opacity-100",style:pt({color:i.color})},[C("div",{innerHTML:i.markedComment},null,8,Iy)],4)}const ir=_t(ky,[["render",Oy],["__scopeId","data-v-15224042"]]),Bb="",Ub="",Ny={name:"occurrence",props:["context","selfCallIndent","participant","rtl"],data:function(){return{center:0}},computed:{...me(["centerOf","messageLayerLeft"]),...k1(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(n){return console.error(n),0}}}},Py=["data-belongs-to","data-x-offset","data-debug-center-of"];function My(n,t,e,s,r,i){const o=at("block");return O(),q("div",{class:ne(["occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",{"right-to-left":e.rtl}]),"data-el-type":"occurrence","data-belongs-to":e.participant,"data-x-offset":n.center,"data-debug-center-of":i.computedCenter},[this.context.braceBlock()?(O(),bt(o,{key:0,context:e.context.braceBlock().block(),selfCallIndent:e.selfCallIndent},null,8,["context","selfCallIndent"])):Lt("",!0)],10,Py)}const y2=_t(Ny,[["render",My],["__scopeId","data-v-054f42d1"]]);class Cs{constructor(t,e,s,r){$(this,"start");$(this,"stop");this.start={line:t,col:e},this.stop={line:s,col:r}}static from(t){const e=t.start,s=t.stop;return new Cs(e.line,e.column,s.line,s.column+s.text.length)}}const C2=ws.child({name:"Creation"}),Fy={name:"creation",props:["context","comment","selfCallIndent"],computed:{...me(["cursor","onElementClick","distance"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let n=Math.abs(this.distance(this.to,this.from)),t=this.selfCallIndent||0;return n+(this.rightToLeft?t:-t)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function n(r){return r&&r.getFormattedText()||""}let t=this.creation.creationBody().assignment();if(!t)return"";let e=n(t.assignee());const s=n(t.type());return e+(s?":"+s:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)}},mounted(){this.layoutMessageContainer(),C2.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),C2.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){(()=>{if(!this.$refs.participantPlaceHolder||!this.$refs.messageContainer)return;const t=this.$refs.participantPlaceHolder.offsetWidth/2;this.$refs.messageContainer.style.width=`calc(100% + ${t+6}px`,this.rightToLeft&&(this.$refs.messageContainer.style.transform=`translateX( ${-(t+6)}px`)})()},onClick(){this.onElementClick(Cs.from(this.context))}},components:{Participant:Tu,Comment:ir,Occurrence:y2,Message:nr}},Dy=["data-signature"],$y=["data-to"],By={ref:"participantPlaceHolder",class:"invisible right-0 flex flex-col justify-center flex-shrink-0"};function Uy(n,t,e,s,r,i){const o=at("comment"),a=at("message"),l=at("participant"),c=at("occurrence");return O(),q("div",{class:ne(["interaction creation sync text-center transform",{"right-to-left":i.rightToLeft,"-translate-x-full":i.rightToLeft,highlight:i.isCurrent}]),onClick:t[0]||(t[0]=Dr((...u)=>i.onClick&&i.onClick(...u),["stop"])),"data-signature":i.signature,style:pt({width:i.interactionWidth+"px"})},[e.comment?(O(),bt(o,{key:0,comment:e.comment},null,8,["comment"])):Lt("",!0),C("div",{ref:"messageContainer",class:ne(["message-container pointer-events-none flex items-center h-10",{"flex-row-reverse":i.rightToLeft}]),"data-type":"creation","data-to":i.to},[lt(a,{ref:"messageEl",class:"invocation w-full transform -translate-y-1/2 pointer-events-auto",content:i.signature,rtl:i.rightToLeft,type:"creation"},null,8,["content","rtl"]),C("div",By,[lt(l,{entity:{name:i.to}},null,8,["entity"])],512)],10,$y),lt(c,{context:i.creation,class:"pointer-events-auto",participant:i.to},null,8,["context","participant"]),i.assignee?(O(),bt(a,{key:1,class:"return transform -translate-y-full pointer-events-auto",content:i.assignee,rtl:!i.rightToLeft,type:"return"},null,8,["content","rtl"])):Lt("",!0)],14,Dy)}const Hy=_t(Fy,[["render",Uy]]),Gy={name:"self-invocation",props:["content","assignee"]},zy={class:"message self text-sm flex items-start",style:{"border-width":"0"}},Vy=C("svg",{class:"arrow text-skin-message-arrow",width:"30",height:"24"},[C("polyline",{class:"line stroke-current fill-none stroke-2",points:"0,2 28,2 28,15 14,15"}),C("polyline",{class:"head stroke-current fill-current stroke-2",points:"18,9 8,15 18,21"})],-1),jy={class:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},Zy={key:0};function qy(n,t,e,s,r,i){return O(),q("div",zy,[Vy,C("label",jy,[e.assignee?(O(),q("span",Zy,Gt(e.assignee)+" = ",1)):Lt("",!0),Mr(" "+Gt(e.content),1)])])}const Wy=_t(Gy,[["render",qy]]),Hb="",Ky={name:"interaction",props:["context","selfCallIndent","commentObj"],computed:{...me(["participants","distance2","cursor","onElementClick"]),hasComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)!==""||((t=this.commentObj)==null?void 0:t.color)!==""},color(){var n;return(n=this.commentObj)==null?void 0:n.color},message:function(){var n;return(n=this.context)==null?void 0:n.message()},providedFrom:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var t;let n=(t=this.message)==null?void 0:t.Assignment();return n?n.getText():""},signature:function(){var n;return(n=this.message)==null?void 0:n.SignatureText()},translateX:function(){if(!this.rightToLeft&&!this.outOfBand)return 0;const t=this.rightToLeft?this.to:this.providedFrom,e=this.distance2(this.origin,t),s=this.selfCallIndent||0;return e+0-s},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var n;return(n=this.message)==null?void 0:n.isCurrent(this.cursor)},showStarter(){return this.participants.Starter().name!=="_STARTER_"},isRootBlock(){var n,t;return((t=(n=this.context)==null?void 0:n.parentCtx)==null?void 0:t.parentCtx)instanceof Gg},origin:function(){var n;return(n=this.context)==null?void 0:n.Origin()},passOnOffset:function(){return this.isSelf?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let n=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-n)},to:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.Owner()},isSelf:function(){return!this.to||this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"}},methods:{onClick(){this.onElementClick(Cs.from(this.context))}},components:{Message:nr,SelfInvocation:Wy,Comment:ir,Occurrence:y2}},Yy=["data-to","data-signature"];function Xy(n,t,e,s,r,i){const o=at("comment"),a=at("occurrence"),l=at("message");return O(),q("div",{class:ne(["interaction sync inline-block",{highlight:i.isCurrent,self:i.isSelf}]),onClick:t[0]||(t[0]=Dr((...c)=>i.onClick&&i.onClick(...c),["stop"])),"data-to":i.to,"data-type":"interaction","data-signature":i.signature,style:pt({width:!i.isSelf&&i.interactionWidth+"px",transform:"translateX("+i.translateX+"px)"})},[i.showStarter&&i.isRootBlock||i.outOfBand?(O(),q("div",{key:0,class:ne(["occurrence source border-2",{"right-to-left":i.rightToLeft}])},null,2)):Lt("",!0),i.hasComment?(O(),bt(o,{key:1,commentObj:e.commentObj},null,8,["commentObj"])):Lt("",!0),(O(),bt(h1(i.invocation),{class:"text-center",color:i.color,content:i.signature,assignee:i.assignee,rtl:i.rightToLeft,type:"sync"},null,8,["color","content","assignee","rtl"])),lt(a,{context:i.message,participant:i.to,selfCallIndent:i.passOnOffset,rtl:i.rightToLeft},null,8,["context","participant","selfCallIndent","rtl"]),i.assignee&&!i.isSelf?(O(),bt(l,{key:2,class:"return transform -translate-y-full",content:i.assignee,rtl:!i.rightToLeft,type:"return"},null,8,["content","rtl"])):Lt("",!0)],14,Yy)}const Qy=_t(Ky,[["render",Xy],["__scopeId","data-v-86ce6a08"]]),Gb="",Jy={name:"self-invocation-async",props:["content"]},tC=n=>(Ve("data-v-25f755f6"),n=n(),je(),n),eC={class:"message self flex items-start",style:{"border-width":"0"}},nC=tC(()=>C("svg",{class:"arrow text-skin-message-arrow",width:"34",height:"34"},[C("polyline",{class:"stroke-current stroke-2 fill-none",points:"0,2 28,2 28,25 1,25"}),C("polyline",{class:"head stroke-current stroke-2 fill-none",points:"11,19 1,25 11,31"})],-1)),sC={class:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"};function rC(n,t,e,s,r,i){return O(),q("div",eC,[nC,C("label",sC,Gt(e.content),1)])}const iC=_t(Jy,[["render",rC],["__scopeId","data-v-25f755f6"]]),zb="";function wa(n){return n==null}const oC={name:"interaction-async",props:["context","comment","selfCallIndent"],computed:{...me(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.asyncMessage()},interactionWidth:function(){var n;return this.isSelf?10*(((n=this.signature)==null?void 0:n.length)||0)+100:Math.abs(this.distance(this.target,this.source))},translateX:function(){return this.rightToLeft?this.distance(this.target,this.from):this.distance(this.source,this.from)},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText()},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText()},isCurrent:function(){const n=this.asyncMessage.start.start,t=this.asyncMessage.stop.stop+1;return wa(this.cursor)||wa(n)||wa(t)?!1:this.cursor>=n&&this.cursor<=t},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"}},methods:{onClick(){this.onElementClick(Cs.from(this.context))}},components:{Comment:ir,SelfInvocationAsync:iC,Message:nr}},aC=["data-signature"];function lC(n,t,e,s,r,i){const o=at("comment");return O(),q("div",{class:ne(["interaction async",{"right-to-left":i.rightToLeft,highlight:i.isCurrent}]),onClick:t[0]||(t[0]=Dr((...a)=>i.onClick&&i.onClick(...a),["stop"])),"data-signature":i.signature,style:pt({width:i.interactionWidth+"px",transform:"translateX("+i.translateX+"px)"})},[e.comment?(O(),bt(o,{key:0,comment:e.comment},null,8,["comment"])):Lt("",!0),(O(),bt(h1(i.invocation),{content:i.signature,rtl:i.rightToLeft,type:"async"},null,8,["content","rtl"]))],14,aC)}const cC=_t(oC,[["render",lC],["__scopeId","data-v-4d783075"]]),Vb="",uC={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj"],mixins:[er],computed:{from:function(){return this.context.Origin()},alt:function(){return this.context.alt()},blockInIfBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.ifBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},condition:function(){var n;return this.conditionFromIfElseBlock((n=this.alt)==null?void 0:n.ifBlock())},elseBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.elseBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{conditionFromIfElseBlock(n){var t,e;return(e=(t=n==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()},blockInElseIfBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},Ta=n=>(Ve("data-v-c5cae879"),n=n(),je(),n),hC={class:"segment"},fC=Ta(()=>C("div",{class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[C("div",{class:"name font-semibold p-1 border-b"},[C("label",{class:"p-0"},"Alt")])],-1)),dC={class:"segment"},pC={class:"text-skin-fragment"},gC={class:"condition p-1"},xC=Ta(()=>C("label",{class:"else-if hidden"},"else if",-1)),mC={class:"condition p-1"},LC={key:0,class:"segment mt-2 border-t border-solid"},_C=Ta(()=>C("div",{class:"text-skin-fragment"},[C("label",{class:"p-1"},"[else]")],-1));function yC(n,t,e,s,r,i){const o=at("comment"),a=at("block");return O(),q("div",{class:"fragment alt border-skin-fragment rounded",style:pt(n.fragmentStyle)},[C("div",hC,[e.comment?(O(),bt(o,{key:0,comment:e.comment,commentObj:e.commentObj},null,8,["comment","commentObj"])):Lt("",!0),fC,C("div",dC,[C("div",pC,[C("label",gC,"["+Gt(i.condition)+"]",1)]),i.blockInIfBlock?(O(),bt(a,{key:0,style:pt({paddingLeft:`${n.offsetX}px`}),context:i.blockInIfBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])):Lt("",!0)])]),(O(!0),q(Ut,null,Rn(i.alt.elseIfBlock(),(l,c)=>(O(),q("div",{key:c+500,class:"segment mt-2 border-t border-solid"},[(O(),q("div",{class:"text-skin-fragment",key:c+1e3},[xC,C("label",mC,"["+Gt(i.conditionFromIfElseBlock(l))+"]",1)])),(O(),bt(a,{style:pt({paddingLeft:`${n.offsetX}px`}),context:i.blockInElseIfBlock(l),selfCallIndent:e.selfCallIndent,key:c+2e3},null,8,["style","context","selfCallIndent"]))]))),128)),i.elseBlock?(O(),q("div",LC,[_C,lt(a,{style:pt({paddingLeft:`${n.offsetX}px`}),context:i.elseBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])])):Lt("",!0)],4)}const CC=_t(uC,[["render",yC],["__scopeId","data-v-c5cae879"]]),jb="",Zb="",EC={name:"fragment-par",props:["context","comment","selfCallIndent"],mixins:[er],computed:{from:function(){return this.context.Origin()},par:function(){return this.context.par()}}},bC=(n=>(Ve("data-v-bc96f29d"),n=n(),je(),n))(()=>C("div",{class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[C("div",{class:"name font-semibold p-1 border-b"},[C("label",null,"Par")])],-1));function wC(n,t,e,s,r,i){const o=at("comment"),a=at("block");return O(),q("div",{class:"fragment par border-skin-fragment rounded",style:pt(n.fragmentStyle)},[e.comment?(O(),bt(o,{key:0,comment:e.comment},null,8,["comment"])):Lt("",!0),bC,lt(a,{style:pt({paddingLeft:`${n.offsetX}px`}),context:i.par.braceBlock().block(),selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])],4)}const TC=_t(EC,[["render",wC],["__scopeId","data-v-bc96f29d"]]),Wb="",vC={name:"fragment-loop",props:["context","comment","selfCallIndent"],mixins:[er],computed:{from:function(){return this.context.Origin()},loop:function(){return this.context.loop()},blockInLoop:function(){var n,t;return(t=(n=this.loop)==null?void 0:n.braceBlock())==null?void 0:t.block()},condition:function(){var n,t,e;return(e=(t=(n=this.loop)==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()}}},AC=(n=>(Ve("data-v-62b3ca90"),n=n(),je(),n))(()=>C("div",{class:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4"},[C("div",{class:"name font-semibold p-1 border-b"},[C("label",{class:"p-0"},"Loop")])],-1)),SC={class:"segment"},RC={class:"text-skin-fragment"},kC={class:"condition p-1"};function IC(n,t,e,s,r,i){const o=at("comment"),a=at("block");return O(),q("div",{class:"fragment loop border-skin-fragment rounded",style:pt(n.fragmentStyle)},[e.comment?(O(),bt(o,{key:0,comment:e.comment},null,8,["comment"])):Lt("",!0),AC,C("div",SC,[C("div",RC,[C("label",kC,"["+Gt(i.condition)+"]",1)]),lt(a,{style:pt({paddingLeft:`${n.offsetX}px`}),context:i.blockInLoop,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])])],4)}const OC=_t(vC,[["render",IC],["__scopeId","data-v-62b3ca90"]]),Yb="",NC={name:"fragment-opt",props:["context","comment","selfCallIndent"],mixins:[er],computed:{from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}}},PC=(n=>(Ve("data-v-e9cc75db"),n=n(),je(),n))(()=>C("div",{class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4"},[C("div",{class:"name font-semibold p-1 border-b"},[C("label",null,"Opt")])],-1));function MC(n,t,e,s,r,i){const o=at("comment"),a=at("block");return O(),q("div",{class:"fragment opt border-skin-fragment rounded",style:pt(n.fragmentStyle)},[e.comment?(O(),bt(o,{key:0,comment:e.comment},null,8,["comment"])):Lt("",!0),PC,lt(a,{style:pt({paddingLeft:`${n.offsetX}px`}),context:i.opt.braceBlock().block(),selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])],4)}const FC=_t(NC,[["render",MC],["__scopeId","data-v-e9cc75db"]]),Qb="",DC={name:"fragment-tcf",props:["context","comment","selfCallIndent"],mixins:[er],computed:{from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.tryBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},finallyBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.finallyBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{exception(n){var t;return(t=n==null?void 0:n.invocation())==null?void 0:t.parameters().getText()},blockInCatchBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},va=n=>(Ve("data-v-107670fe"),n=n(),je(),n),$C={class:"segment"},BC=va(()=>C("div",{class:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[C("div",{class:"name font-semibold p-1 border-b"},[C("label",null,"Try")])],-1)),UC=va(()=>C("label",{class:"keyword catch p-1"},"catch",-1)),HC={class:"exception p-1"},GC={key:0,class:"segment mt-2 border-t border-solid"},zC=va(()=>C("div",{class:"header text-skin-fragment finally"},[C("label",{class:"keyword finally p-1"},"finally")],-1));function VC(n,t,e,s,r,i){const o=at("comment"),a=at("block");return O(),q("div",{class:"fragment tcf border-skin-fragment rounded",style:pt(n.fragmentStyle)},[C("div",$C,[e.comment?(O(),bt(o,{key:0,comment:e.comment},null,8,["comment"])):Lt("",!0),BC,i.blockInTryBlock?(O(),bt(a,{key:1,style:pt({paddingLeft:`${n.offsetX}px`}),context:i.blockInTryBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])):Lt("",!0)]),(O(!0),q(Ut,null,Rn(i.tcf.catchBlock(),(l,c)=>(O(),q("div",{key:c+500,class:"segment mt-2 border-t border-solid"},[(O(),q("div",{class:"header text-skin-fragment",key:c+1e3},[UC,C("label",HC,Gt(i.exception(l)),1)])),(O(),bt(a,{style:pt({paddingLeft:`${n.offsetX}px`}),context:i.blockInCatchBlock(l),selfCallIndent:e.selfCallIndent,key:c+2e3},null,8,["style","context","selfCallIndent"]))]))),128)),i.finallyBlock?(O(),q("div",GC,[zC,lt(a,{style:pt({paddingLeft:`${n.offsetX}px`}),context:i.finallyBlock,selfCallIndent:e.selfCallIndent},null,8,["style","context","selfCallIndent"])])):Lt("",!0)],4)}const jC=_t(DC,[["render",VC],["__scopeId","data-v-107670fe"]]),ZC={name:"return",props:["context","comment"],computed:{...me(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.ret().asyncMessage()},width:function(){return this.isSelf?bi(this.signature,ms.MessageContent):Math.abs(this.distance(this.target,this.source))},left:function(){return this.rightToLeft?this.distance(this.target,this.from)+2:this.distance(this.source,this.from)+2},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t,e,s,r;return((t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText())||((r=(s=(e=this.context)==null?void 0:e.ret())==null?void 0:s.expr())==null?void 0:r.getFormattedText())},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t,e,s;return((t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText())||((s=(e=this.context)==null?void 0:e.ret())==null?void 0:s.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target}},methods:{onClick(){this.onElementClick(Cs.from(this.context))}},components:{Comment:ir,Message:nr}},qC=["data-signature"],WC={key:1,class:"flex items-center"},KC=C("svg",{class:"w-3 h-3 flex-shrink-0 fill-current m-1",viewBox:"0 0 512 512"},[C("path",{class:"cls-1",d:"M256 0C114.84 0 0 114.84 0 256s114.84 256 256 256 256-114.84 256-256S397.16 0 256 0Zm0 469.33c-117.63 0-213.33-95.7-213.33-213.33S138.37 42.67 256 42.67 469.33 138.37 469.33 256 373.63 469.33 256 469.33Z"}),C("path",{class:"cls-1",d:"M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"})],-1),YC={class:"name text-sm"};function XC(n,t,e,s,r,i){const o=at("comment"),a=at("Message");return O(),q("div",{class:ne(["interaction return relative",{"right-to-left":i.rightToLeft,highlight:i.isCurrent}]),onClick:t[0]||(t[0]=Dr((...l)=>i.onClick&&i.onClick(...l),["stop"])),"data-signature":i.signature,style:pt({width:i.width+"px",left:i.left+"px"})},[e.comment?(O(),bt(o,{key:0,comment:e.comment},null,8,["comment"])):Lt("",!0),i.isSelf?(O(),q("div",WC,[KC,C("span",YC,Gt(i.signature),1)])):Lt("",!0),i.isSelf?Lt("",!0):(O(),bt(a,{key:2,content:i.signature,rtl:i.rightToLeft,type:"return"},null,8,["content","rtl"]))],14,qC)}const QC=_t(ZC,[["render",XC]]),Jb="",JC={name:"divider",props:["context"],computed:{...me(["participants","centerOf"]),width(){let n=this.participants.Names().pop();return this.centerOf(n)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},name:function(){return this.context.divider().Note()}}},E2=n=>(Ve("data-v-9e567e69"),n=n(),je(),n),tE=E2(()=>C("div",{class:"left bg-skin-divider"},null,-1)),eE={class:"name"},nE=E2(()=>C("div",{class:"right bg-skin-divider"},null,-1));function sE(n,t,e,s,r,i){return O(),q("div",{class:"divider",style:pt({width:i.width+"px",transform:"translateX("+(-1*i.centerOfFrom+10)+"px)"})},[tE,C("div",eE,Gt(i.name),1),nE],4)}const rE=_t(JC,[["render",sE],["__scopeId","data-v-9e567e69"]]);class iE{constructor(t){$(this,"text");$(this,"color");const e=t.split(`
553
+ `);this.color=e.find(r=>r.trimStart().startsWith("[red]"))?"red":void 0;const s=e.map(r=>r.replace("[red]",""));this.text=s.join(`
554
+ `),this.text=this.text.trimEnd()}}const oE={name:"statement",props:["context","selfCallIndent"],computed:{comment:function(){return this.context.getComment()?this.context.getComment():""},commentObj:function(){return new iE(this.comment)},subStatement:function(){let n=this,t={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},e=Object.keys(t).find(s=>n.context[s]()!==null);return t[e]}},components:{Creation:Hy,Interaction:Qy,InteractionAsync:cC,FragmentAlt:CC,FragmentPar:TC,FragmentOpt:FC,FragmentTryCatchFinally:jC,FragmentLoop:OC,Divider:rE,Return:QC}};function aE(n,t,e,s,r,i){return O(),bt(h1(i.subStatement),{class:"text-left text-sm text-skin-message",context:e.context,comment:i.comment,commentObj:i.commentObj,selfCallIndent:e.selfCallIndent},null,8,["context","comment","commentObj","selfCallIndent"])}const lE={name:"block",props:["context","selfCallIndent"],computed:{statements:function(){var n;return(n=this.context)==null?void 0:n.stat()}},components:{Statement:_t(oE,[["render",aE]])}},cE={class:"block"};function uE(n,t,e,s,r,i){const o=at("statement");return O(),q("div",cE,[(O(!0),q(Ut,null,Rn(i.statements,(a,l)=>(O(),q("div",{class:"statement-container mt-1",key:l},[lt(o,{context:a,selfCallIndent:e.selfCallIndent},null,8,["context","selfCallIndent"])]))),128))])}const hE=_t(lE,[["render",uE]]),fE=ws.child({name:"core"});class dE{constructor(t,e=!1){$(this,"el");$(this,"_code");$(this,"_theme");$(this,"store");$(this,"app");this.el=t,this.store=_c(_u()),this.app=ic(e?la:Zu),this.app.component("Comment",ir),this.app.component("Block",hE),this.app.use(this.store),this.app.mount(this.el)}async render(t,e){return fE.debug("rendering",t,e),this._code=t||this._code,this._theme=e||this._theme,this.store.state.theme=this._theme||"default",await this.store.dispatch("updateCode",{code:this._code}),Promise.resolve(this)}get code(){return this._code}get theme(){return this._theme}async getPng(){return this.el.children[0].__vue__.toPng()}}const pE={createApp:ic,createStore:_c,Store:_u,SeqDiagram:la,DiagramFrame:Zu};ge.VueSequence=pE,ge.default=dE,Object.defineProperties(ge,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
562
555
  //# sourceMappingURL=zenuml.js.map